Corrupted girlpacks

Moderator: ok666

Locked
User avatar
ok666
Scoreville-User
Posts: 2552
Joined: Mon 25. Nov 2013, 15:16
Location: Germany

Corrupted girlpacks

Post by ok666 »

I think I finally found the reason why girlpacks sometimes get corrupted:
  • Open a girlpack without physical files for the positions, this way the data has to be loaded/stored from the girlpack itself.
  • Switch two positions or switch scenes or delete positions, do anything resulting in new data offsets.
  • Save the girlpack. Data will be taken from the old offset, which was initialized during load of the girlpack. The new data offsets will be saved to a temporary file. After the save is complete, the temporary file is renamed to the orginal girlpack filename.
  • Save the girlpack again. The old offsets are still attached to the positions, but the girlpack is the new one. Now the girlpack is corrupted.
This has been fixed for the next release. To avoid the error, all girlpack creators should either work with physical files the whole time or do a reload after each save.
Locked