08-18-2019, 09:30 PM
What is the best way to make a save file that multiple GM Studio games can access?
Back in 2012, I started putting a "Stop 'n Swop" system in almost all of my games. This was a save file that multiple games could write to. This way, you could share data between different games. Finishing an objective in one game might unlock a special secret in another game. I never fully implemented cross-game unlockables, but the data is there so I could make it happen. I know @Hello has done some things like this.
My old friend GM 8.0 has served most of my game-making needs for the past decade. While I still prefer GM 8 in a lot of ways, GM 8 is showing its age, and it's harder to run it on my new PC. So I've doing more things in GM Studio 1.4 and GM Studio 2.
GM 8.0 lets you read and write to files pretty much wherever you want. However, newer versions of GM are a lot more restrictive with file access permissions - it's hard to access folders outside of working_directory. Some of the workarounds I've seen are pretty complex, requiring third-party plugins and other things that add layers of complexity.
Is there an easier way to save files in GM Studio 1.4 or GM Studio 2 without having to rely on the working_directory variable?
Back in 2012, I started putting a "Stop 'n Swop" system in almost all of my games. This was a save file that multiple games could write to. This way, you could share data between different games. Finishing an objective in one game might unlock a special secret in another game. I never fully implemented cross-game unlockables, but the data is there so I could make it happen. I know @Hello has done some things like this.
My old friend GM 8.0 has served most of my game-making needs for the past decade. While I still prefer GM 8 in a lot of ways, GM 8 is showing its age, and it's harder to run it on my new PC. So I've doing more things in GM Studio 1.4 and GM Studio 2.
GM 8.0 lets you read and write to files pretty much wherever you want. However, newer versions of GM are a lot more restrictive with file access permissions - it's hard to access folders outside of working_directory. Some of the workarounds I've seen are pretty complex, requiring third-party plugins and other things that add layers of complexity.
Is there an easier way to save files in GM Studio 1.4 or GM Studio 2 without having to rely on the working_directory variable?