-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add Growtopia game #136
base: master
Are you sure you want to change the base?
Add Growtopia game #136
Conversation
Actually, I noticed two more issues. Really unsure how I can fix either...
Any ideas would be appreciated. |
you can install it into /var/data that's the only possible way i can think of. |
I already install it there, the problem is the game requires you to install new .exes for updates. |
I've never played this game, don't know how it updates and maybe it's a very stupid idea but can't you put something like this into /app/bin/growtopia? ... wine /var/data/... and add the updater's url to sources or extra-data. edit: nvm, i get it, you have to reinstall the game every update |
From my understanding, the game only knows there's an update when it connects to the servers so that wouldn't work :( I'm almost thinking about checking the hashes of https://growtopiagame.com/Growtopia-Installer.exe each time you want to start the game and comparing it to the last known hash but that's 90MB each time.. Idk how else it could be done :/ |
:( i thought rather to download only the headers it's from (https://superuser.com/questions/619592/get-modification-time-of-remote-file-over-http-in-bash-script) but Last-Modified isn't reliable and it doesn't work if it was redirected so (https://growtopiagame.com/Growtopia-Installer.exe) doesn't work. it's for sure possible to make it to work but who knows how. I found out that edit: I think /dosdevices/c:/Program Files (x86)/Growtopia should be changed to something like /dosdevices/c:/users/$USER/Local Settings/Application Data/Growtopia |
I didn't know how to do $USER because I'm a big noob but yes, that'd be much better than telling users to put it somewhere else than the default location. That curl command could be used although I don't know how to implement that in the script. Even if the file is the same, if the date changed, it might be a new executable so it's worth trying. |
don't worry about being noob. Everybody is like that We have to destroy something to learn how it works. And my English is noobish so no one is perfect :). Maybe i'm not too helpful to you but i don't want to leave you with this problem alone. I've been thinking about it for a while and It seems that the best way to do it is to add it as a source file as i said in my second comment. Most projects work in this way and it seems that people don't care to automate it. When there is an update then someone updates the url to keep it working. You can see it in flathub's repositories. They are on github (though you probably know it). I've had the same problem with homm3 and that's how i resolved it (I still have to manually force it to update though). No one has reviewed it so I don't know if it's the way it's supposed to be done, but that's the way I think is the best. you can see it at user5145/applications in this file I hope it's at least a bit helpful to you. Edit: |
Everything should be working except a pop-up because (I assumed) touch emulation is not a thing in WINE, once that's dismissed, everything works.
Things to note :