OpenJK
OpenJK copied to clipboard
crashes on trying to load a checkpoint save
ERROR: EvaluateFields(): variable-sized chunk 'GCLI' without handler!
I've archived the save files and uploaded them here:
https://dl.dropboxusercontent.com/u/3371527/openjk_saves.tar.bz2
Always crashes when opting to load the checkpoint. I'm using the latest build published on 18/08/2015. The same thing happens with a self built binary.
New saves or before the a specific build?
Architecture?
Using the 64bit build. All the save files were created with the build I mentioned above. No older save files.
Where you using custom mods for different player model mods for more Jaden skins?
No. All vanilla content.
Where you using cheat codes to get different Jaden skins, like the hoth set?
No cheat codes either.
Inside of sv_savegame.cpp
// Find length of chunk and make sure it matches the requested length...
//
if( iLength ) // .. but only if there was one specified
{
if(iLength != (int)uiLoadedLength)
{
if (!qbSGReadIsTestOnly)
{
Com_Error(ERR_DROP, "Loaded chunk (%s) has different length than requested", SG_GetChidText(chid));//This spot here
}
return 0;
}
}
iLength = uiLoadedLength; // for retval
your file is giving a giSaveGameVersion of 1252, while the game is expecting 1496.
I have no idea why.
I have this problem with 2015-11-09 build too. No plugins/mods etc.
Saves are not yet cross-architecture; i.e. 64 bit saves are incompatible with 32 bit builds and vice-versa.
If we are going for backwards compatibility they may never be either. Or have you begun looking at the files?
Not yet, but I'm certain we can be backwards compatible with old 32 bit windows saves across architectures/operating systems; it's just a matter of rewriting the loading/saving. Should I prioritize that?
I think the priority is to just get it working with jasp/josp saves & 32 for sure.
As in the 32 bit windows build should still support legacy saves? Doesn't it already do that?
Its not confirmed as to whether saves are compliant. The JK2 saves are definitely derped.
See also #739.
This should be fixed in bb0b2f0a541117aba77fc7b59ee51defda99a5b6. However any saves created with openjk may not necessarily be compatible all the way through anymore because base of both games should now be compatible save game wise.
Note: there's no up to date Windows builds currently to test so you'd need to make your own build from the source to confirm currently.