Hi everyone,
I have been working through the guide document on using Binary data, and reading a lot of the forum posts, and I think I have it halfway working... I am trying to use an INI file that contains all the level unlocks and scores for my game, and include it as a Binary Data element. As far as reading/writing to the temporary binary file, so far so good--everything is cool until I exit and restart the application. Upon exiting and restarting, the game is no longer able to locate the save data from the previous session! I am using these actions:
Extract Binary File: Apppath$ + "SaveGame01.ini"
Set current file to: BinFileTempName$(Apppath$ + "SaveGame01.ini" )
(Saving to/Loading from INI...)
Release binary File: BinFileTempName$(Apppath$ + "SaveGame01.ini" )
The actual path where the file exists is [C:\Disastr_Blastr\SaveGame01.ini]... I tried using this in the Extract and Release actions (as Danny does in the .pdf guide) and it did not work, nothing was saved or loaded unless I created the directory C:\Disastr_Blastr--in this case the game would generate a normal INI.
Does anyone know what the problem is? How can I get my .exe to recover existing Binary Data after exiting and restarting the application? Thanks!