You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the state of the game is saved in two formats:
AcidState/safecopy for the players profile (including library)
JSON for the games.
The game state is essentially a serie of events, such as "propose rule", "input update". When the game is re-loaded, all the events are played one by one to obtain the same state than before. This is mandatory because the state contain functions, that cannot be serialized.
When the internal structures of the game changes, they need to be updated in the save files too.
AcidState/safecopy comes with an update mechanism.
However, the JSON save file need to be updated by hand, which is very tedious, for several reasons:
there are dependencies between the events in the event list. It's not easy to delete just one.
the save file contains a lot of code that need to be interpreted. If the signature of the Nomyx functions changes, the interpretation will not work.
The text was updated successfully, but these errors were encountered:
Currently the state of the game is saved in two formats:
The game state is essentially a serie of events, such as "propose rule", "input update". When the game is re-loaded, all the events are played one by one to obtain the same state than before. This is mandatory because the state contain functions, that cannot be serialized.
When the internal structures of the game changes, they need to be updated in the save files too.
AcidState/safecopy comes with an update mechanism.
However, the JSON save file need to be updated by hand, which is very tedious, for several reasons:
The text was updated successfully, but these errors were encountered: