- Jan 4, 2018
- 677
- 754
A lot of Ren'Py games that get shared here, and elsewhere, have had their Linux files stripped out. While these games will run fine in Wine, there is no real reason to settle for a less than native experience. For that there is a great little script available on GitHub to restore the missing Linux files.
To get started, save the renpy2linux.sh file from the above link to the directory above the one where your target game is located. So if you have the game stored somewhere like "~/games/RenPy Game" where "RenPy Game" is the name of the game and the dir where its files are stored, then you would want to save the script to the parent "games" dir. Also make sure the script is flagged as executable.
Once you have the script the next step is to discover which version of Ren'Py the game is using. Often times you will find a log.txt file in the game dir. If not, then start the game with Wine to generate one, basically as soon as it reaches the title screen you can just shut it down and check the game dir for the newly made log file. In it, near the top, you will see a line like: "Ren'Py 6.99.11.1749". You just need the first 3 sets of numbers; the "6.99.11" part of that.
Once you have that version number it is time to go back to the dir above your game, open a console in it, so that the working path matches it. Then run the shell script with the following formatting:
./renpy2linux.sh "game dir name" "Ren'Py version #"
Using the above example, it would look something like:
./renpy2linux.sh "RenPy Game" 6.9.11
Now you just wait for the script to do its thing. It could take a few minutes, longer if the Ren'Py server is being a bit slow/unresponsive, so just wait until it is done. That is pretty much it, you can now go into the game's dir and launch it using the newly generated shell script you will find there.
You must be registered to see the links
To get started, save the renpy2linux.sh file from the above link to the directory above the one where your target game is located. So if you have the game stored somewhere like "~/games/RenPy Game" where "RenPy Game" is the name of the game and the dir where its files are stored, then you would want to save the script to the parent "games" dir. Also make sure the script is flagged as executable.
Once you have the script the next step is to discover which version of Ren'Py the game is using. Often times you will find a log.txt file in the game dir. If not, then start the game with Wine to generate one, basically as soon as it reaches the title screen you can just shut it down and check the game dir for the newly made log file. In it, near the top, you will see a line like: "Ren'Py 6.99.11.1749". You just need the first 3 sets of numbers; the "6.99.11" part of that.
Once you have that version number it is time to go back to the dir above your game, open a console in it, so that the working path matches it. Then run the shell script with the following formatting:
./renpy2linux.sh "game dir name" "Ren'Py version #"
Using the above example, it would look something like:
./renpy2linux.sh "RenPy Game" 6.9.11
Now you just wait for the script to do its thing. It could take a few minutes, longer if the Ren'Py server is being a bit slow/unresponsive, so just wait until it is done. That is pretty much it, you can now go into the game's dir and launch it using the newly generated shell script you will find there.