-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running on Linux? #77
Comments
Linux is not supported yet. I will adapt it soon. |
I can maybe help you port to Linux, if needed. Any insights would be greaty appreciated. |
Fonts are different. I noticed about it 2/3 days ago. So, I have issues detecting battle list monsters. Do you have another solution? |
same on mac. maybe we can have the characters of each OS and make the images of names of the monsters the first time the program run |
So tkinter is being used to detect the fonts of the client? I tried every tutorial I could find on installing tkinter on Linux, none seemed to work. |
PyTibia is little different since a pre-compute everything to reach incredible performance. Example: I already have all monsters pre-computed in an object in hash/name style like this
When I compute monsters from battleList, I clean the "gray" from behind, slice the part of the name, make a hash to get it from I didnt know about different fonts in OS/Linux. Im a noob player and I always played on Windows. |
Yeah. I read almost all the code. what I say is to not have the monster names folder in the repository and generate them from the characters depending on the OS. so as not to have two folders with the same for each os since there are many monsters. I don't know if I expressed my idea well |
I always play on Windows too. So can you enlighten me on what exactly is tkinter being used for? This way maybe we can move away from this library on Linux, if needed. (since I can't get this damn thing installed) |
So what you are saying is to instead of having the images already on the folder, the code compiles a list of images based on the monsters names using the OS font? |
Tkinter is only used for UI configuration. |
Yes it possible :) but the ideal is to do a check and it can be time consuming since there are 1000+ monsters. |
|
Yo, is there a plan to adapt this for MacOS? |
Hi @lucasmonstrox, do you plan porting PyTibia to MacOS? I can try to help with potential testing :) |
Anyone was able to run this on Linux?
I was able to install poetry and poetry was able to install everything.
But whenever I run "poetry run ..." it says tkinter wasn't installed.
I tried everything but couldn't get it to work.
If anyone can help me, it would be greatly appreciated.
Note: I'm running this on a VM on Linux Lite 6.4, which is derived from Ubuntu.
The text was updated successfully, but these errors were encountered: