Quote: "I thought there would be an easy way to do this with the basic DBP file handling commands."
It is possible with
file commands, but not as easy as with INI files.
The reason there is no single solution for save game commands is that the whole point is for you to define what you mean by save game; you have the control to create your own save states. Every game is unique, what works for saving a platform game state would not suffice for a strategy game or something.
I mentioned above that you should think of it as setting variables. If you know how to store the players position in a variable; then you should understand what this demonstration is doing:
Make Object Cube Player, 1
Position Object Player, 10, 30, 40
` Save player position
Make Lookup 1
Set Lookup 1, "Player\PositionX", Str$( Object Position X(Player) )
Set Lookup 1, "Player\PositionY", Str$( Object Position Y(Player) )
Set Lookup 1, "Player\PositionZ", Str$( Object Position Z(Player) )
Save Lookup To Ini "File.dat", 1
` Load back the player position
Make Lookup From Ini "File.dat", 2
X# = Val( Lookup$( 2, "Player\PositionX", "0") )
Y# = Val( Lookup$( 2, "Player\PositionY", "0") )
Z# = Val( Lookup$( 2, "Player\PositionZ", "0") )
Position Object Player, x#, y#, z#
So you simply save the information, then load it back; it is up to you how it all works.