View Issue Details

IDProjectCategoryView StatusLast Update
0004549The Dark ModCodingpublic05.07.2017 03:33
Reporterstgatilov Assigned Tostgatilov  
Status resolvedResolutionfixed 
Product VersionSVN 
Target VersionTDM 2.06Fixed in VersionTDM 2.06 
Summary0004549: Savegames are incompatible between Windows and Linux builds
DescriptionWhile Win32 and Win64 builds are compatible, we cannot move Linux save to Windows and vice versa.

Saves do not load because script programs are different.
And they are different because event indices are different.
And they are different because each of them is registered at the moment when idEventDef global variable is initialized.
And C++ does not guarantee order of globals initialization across cpp files.
TagsNo tags attached.


related to 0004520 resolvedstgatilov Make savegames of x86 and x64 builds interchangeable 




04.07.2017 18:07

administrator   ~0008963

Fixed in svn rev 7000.
Now Linux and Windows savegames can be passed both ways without problem.

Aside from the general problem of EventDef order (whcih is solved by sorting), there was also a problem with "long" type and "TimerValue" struct layout.

Issue History

Date Modified Username Field Change
28.06.2017 03:23 stgatilov New Issue
28.06.2017 03:23 stgatilov Status new => assigned
28.06.2017 03:23 stgatilov Assigned To => stgatilov
28.06.2017 03:24 stgatilov Relationship added related to 0004520
04.07.2017 18:07 stgatilov Note Added: 0008963
05.07.2017 02:24 stgatilov Status assigned => resolved
05.07.2017 02:24 stgatilov Resolution open => fixed
05.07.2017 03:33 nbohr1more Product Version TDM 2.06 => SVN
05.07.2017 03:33 nbohr1more Fixed in Version => TDM 2.06