Add game_save_id

Reporter: time-killer-games  |  Status: closed  |  Last Modified: February 17, 2019, 01:54:25 PM

This is almost exactly how GM does it, apart from the fact we do not build application bundles automatically yet, so I had to take a different approach on Mac that was more similar to the Linux method.

On Windows, this is what game_save_id returns in this PR:
"C:\Users\[UserName]\AppData\Local\[GameName]\"

On Mac, this is what game_save_id returns in this PR:
"/Users/[UserName]/.config/[GameName]/"

On Linux, this is what game_save_id returns in this PR:
"/home/[UserName]/.config/[GameName]/"

Demo Executable (Windows): [GameName].zip

https://docs.yoyogames.com/source/dadiospice/002_reference/miscellaneous/game_save_id.html

codecov[bot]  
>Codecov Report

Merging #1501 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1501      +/-   ##
==========================================
+ Coverage    17.6%   17.64%   +0.04%     
==========================================
  Files         165      165              
  Lines       17127    17136       +9     
==========================================
+ Hits         3015     3024       +9     
  Misses      14112    14112
Impacted Files Coverage Δ
ENIGMAsystem/SHELL/Platforms/General/PFmain.cpp 82.14% <100%> (+0.32%) ⬆️
...NIGMAsystem/SHELL/Platforms/General/POSIX/main.cpp 91.66% <100%> (+4.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ae572c...0518165. Read the comment docs.

Please sign in to post comments, or you can view this issue on GitHub.