S
Sam (Deleted User)
Guest
Ubuntu currently stores all of its external assets, (besides the executable itself), in a subfolder called "/assets/". Here's the basic file structure layout for the Ubuntu module (and the 3 Raspberry Pi game ports @Mike made):
Or, perhaps instead of making that the only option, perhaps making a Global Game Settings / Game Options checkbox that determines whether to put that stuff in a subfolder (for both Windows and Ubuntu) and a textbox for when it is checked to specify the name of that subfolder (like what we can already do with the HTML5 module, where "/html5game/" is the default).
This would be very useful for all those users who have been asking YYG to "bring back the single runtime executable" feature. Even though this will not make it all one file, it will make it better organized and leave much less to see in the root directory of the application.
Due to how things are set up in the GMS 1 and 2 runners, this feature may only work with the YYC targets. The VM runners rely on an IFF file (i.e. data.win, game.unx, etc.) to determine where stuff goes, so the location of the IFF file itself can only be set by YYG either way.
Since Mac apps are really just a folder, it's good that all those files go inside the app itself like it already does, so no need for a change on Mac. Similarly for Android and iOS where they are basically just a ZIP.
Anyone like these ideas?
- "runner" (linux executables don't have a file extension)
- "/assets/game.unx" (same file as data.win on Windows)
- "/assets/icon.png" (the 64x64 pixel icon file for the game)
- "/assets/options.ini" (compiler settings configuration file)
- "/assets/*.ogg/*.mp3/*.wav" (all audio and sound files)
- "/assets/*.*" (All included files imported in the project)
Or, perhaps instead of making that the only option, perhaps making a Global Game Settings / Game Options checkbox that determines whether to put that stuff in a subfolder (for both Windows and Ubuntu) and a textbox for when it is checked to specify the name of that subfolder (like what we can already do with the HTML5 module, where "/html5game/" is the default).
This would be very useful for all those users who have been asking YYG to "bring back the single runtime executable" feature. Even though this will not make it all one file, it will make it better organized and leave much less to see in the root directory of the application.
Due to how things are set up in the GMS 1 and 2 runners, this feature may only work with the YYC targets. The VM runners rely on an IFF file (i.e. data.win, game.unx, etc.) to determine where stuff goes, so the location of the IFF file itself can only be set by YYG either way.
Since Mac apps are really just a folder, it's good that all those files go inside the app itself like it already does, so no need for a change on Mac. Similarly for Android and iOS where they are basically just a ZIP.
Anyone like these ideas?
Last edited by a moderator: