S
syscall
Guest
Hello,
I have found that whenever you compile your game in GMS2 for Windows platform, it will compress your game into GameMaker engine-friendly format, .win file, which could then be launched with "Runner" program to run the game.
Each time you compile for Windows platform, a new subfolder is created in GMS2TEMP along with the .win file inside the subfolder.
The .win file is stored in subfolder under (sort the folder list by last created date to find your last compiled):
The Runner can be located per runtime you used to compile the game in GMS2:
Where "%RUNTIME_VERSION%" is the runtime version you used to compile the game.
After locating the .win file, you could run the game like so:
Where "%WIN_FILE%" is the full path to your .win (Windows-cached compiled game) file.
But, I have a question:
Is there an option to stop GMS2 from automatically creating the cache (subfolders in GMS2TEMP)?
This takes up disk space if you have a game with bunch of resources... If you have any extensions/include files which are copied for Windows, then those files are copied over as well (i.e. DLL files).
More info:
Cool stuff, this can be very useful to recover your lost work.
I have tried performing "Build -> Clean" from GMS2 IDE, but it doesn't seem to cleanup any of those folders.
The whole GMS2TEMP folder is deleted only when you normally close GMS2 IDE.
However, if the system is shutdown unexpectedly (or if you use Task Manager to force-close GMS2 IDE process), then all of those files/folders will remain there!
Best regards.
I have found that whenever you compile your game in GMS2 for Windows platform, it will compress your game into GameMaker engine-friendly format, .win file, which could then be launched with "Runner" program to run the game.
Each time you compile for Windows platform, a new subfolder is created in GMS2TEMP along with the .win file inside the subfolder.
The .win file is stored in subfolder under (sort the folder list by last created date to find your last compiled):
Code:
%LocalAppData%\GameMakerStudio2\GMS2TEMP
Code:
%ProgramData%\GameMakerStudio2\Cache\runtimes\runtime-%RUNTIME_VERSION%\windows\Runner.exe
After locating the .win file, you could run the game like so:
Code:
Runner.exe -game "%WIN_FILE%"
But, I have a question:
Is there an option to stop GMS2 from automatically creating the cache (subfolders in GMS2TEMP)?
This takes up disk space if you have a game with bunch of resources... If you have any extensions/include files which are copied for Windows, then those files are copied over as well (i.e. DLL files).
More info:
Cool stuff, this can be very useful to recover your lost work.
I have tried performing "Build -> Clean" from GMS2 IDE, but it doesn't seem to cleanup any of those folders.
The whole GMS2TEMP folder is deleted only when you normally close GMS2 IDE.
However, if the system is shutdown unexpectedly (or if you use Task Manager to force-close GMS2 IDE process), then all of those files/folders will remain there!
Best regards.
Last edited by a moderator: