creation diary
Spoiler :
Guess I found the issue :
The early file allocation is erased by the allocation of the "loading" function.
Thus, the allocation will have to be done at the beginning of the .Scn file (if new game) with specificities for the industries distribution
For now, I tricked it by putting the state allocation instead of the unserialization, then saving the file, allowing that right structure allocation to be serialized.
Removed that "trick", and the unserialize(buffer) is now providing the right state structure, removing the error.
The early file allocation is erased by the allocation of the "loading" function.
Thus, the allocation will have to be done at the beginning of the .Scn file (if new game) with specificities for the industries distribution
For now, I tricked it by putting the state allocation instead of the unserialization, then saving the file, allowing that right structure allocation to be serialized.
Removed that "trick", and the unserialize(buffer) is now providing the right state structure, removing the error.
Last edited: