GothicKit / ZenKit

A re-implementation of file formats used by the early 2000's ZenGin
http://zk.gothickit.dev/
MIT License
44 stars 10 forks source link

[v1.1.0] Original Savegame Support #16

Closed lmichaelis closed 1 year ago

lmichaelis commented 1 year ago

phoenix should support the original save-game format.

lmichaelis commented 1 year ago

Implemented as unstable. Documentation can be found in the wiki.

lmichaelis commented 1 year ago

Sadly, this isn't fully done yet. As it turns out, saved world data contains additional VObs that are not yet correctly parsed (line oCNpc:zCVob).

93392e91711b6d253bf032a16a509349c3290f59 adds an initial implementation which does not currently work correctly with all saves.

lmichaelis commented 1 year ago

phoenix now fully parses BIN_SAFE worlds in save-games. BINARY worlds don't work yet due to an apparent issue with archive_reader_binary which I can't quite isolate.

To create a save-game loadable by phoenix, set zFastSaveGames=0 in Gothic.ini and save the game again. This saves the world and its VOb-tree as a BIN_SAFE archive.

lmichaelis commented 1 year ago

Fast save-games now work. The only thing left to do is to actually save the newly parsed fields.

lmichaelis commented 1 year ago

All done :>