project-navigation
Personal tools

Author Topic: savegame compatability  (Read 4372 times)

Offline Grufff

  • Rookie
  • ***
  • Posts: 10
    • View Profile
savegame compatability
« on: November 20, 2010, 07:01:54 pm »
Are savegames from 2.3 stable compatible with latest 2.3 dev version?
ufoai-2.3-dev-30387-Debug-pentium3-O1-sse-7z-small-win32.exe

If so can I just copy a .savx file to the new folder?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: savegame compatability
« Reply #1 on: November 20, 2010, 08:44:55 pm »
Are savegames from 2.3 stable compatible with latest 2.3 dev version?
ufoai-2.3-dev-30387-Debug-pentium3-O1-sse-7z-small-win32.exe

If so can I just copy a .savx file to the new folder?

Yes, they are.

-geever

Offline Grufff

  • Rookie
  • ***
  • Posts: 10
    • View Profile
Re: savegame compatability
« Reply #2 on: November 21, 2010, 12:27:22 pm »
The attached save game is from 2.3 stable and loads fine in 2.3 stable. But when I load in 2.3 dev 30387 most of the game is missing. I have bases and buildings but no aircraft, no employees, time won't advance.

I see this error in ufoconsole.log

Code: [Select]
2010/11/21 11:19:17 2010/11/21 11:19:17 Load 'slot1' 18 subsystems
2010/11/21 11:19:17 ...Running subsystem 'base'
2010/11/21 11:19:17 ...subsystem 'base' - loaded.
2010/11/21 11:19:17 ...Running subsystem 'research'
2010/11/21 11:19:17 ...subsystem 'research' - loaded.
2010/11/21 11:19:17 ...Running subsystem 'campaign'
2010/11/21 11:19:17 ********************
2010/11/21 11:19:17 ERROR: BS_InitMarket: Could not add item flashbang to the market - not marked as researched in campaign easy
2010/11/21 11:19:17 ********************

savegame and ufoconsole.log attached

should I post to bug tracker?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: savegame compatability
« Reply #3 on: November 21, 2010, 02:23:45 pm »
The attached save game is from 2.3 stable and loads fine in 2.3 stable. But when I load in 2.3 dev 30387 most of the game is missing. I have bases and buildings but no aircraft, no employees, time won't advance.

It's not a 2.3 save. 2.3 never had flashbangs.

30387? Don't use SVN, it's closed! The latest fixes - even for 2.3 branch are only in Git!

-geever

Offline Grufff

  • Rookie
  • ***
  • Posts: 10
    • View Profile
Re: savegame compatability
« Reply #4 on: November 21, 2010, 02:51:50 pm »
thank you very much for responding but I don't understand how this savegame could not be from 2.3.

I have only installed 2 versions of UFOAI
1) 2.3 stable from the download page
and
2)  2.3 dev 30387 posted by Muton on November 9
Game only, no Radiant, no sources
W2k support (Windows 2000)
no Admin right needed to install and uninstall
Will update the Official installer too

Full installer
ufoai-2.3-dev-30387-Debug-pentium3-O1-sse-7z-small-win32.exe

Will update any installer >= 30387
ufoai-2.3-Update-30387-to-1288002986-Debug-pentium3-O1-sse-7z-small-win32.exe

Watch out its not a dev release anymore
choose the right installpath!

Install over your current installation

I have not compiled any versions myself, or tried using SVN or GIT

In the ufoconsole.log that I attached it says...
Code: [Select]
2010/11/21 11:19:16 Loading savegame xml (size 227610)
2010/11/21 11:19:16 Loading savegame
...version: 4
...game version: 2.3
...xml Size: 2958993, compressed? y

I am no expert but I think this save game is from 2.3 - could it be that the savegame is corrupted?

is there any other information I can provide to help diagnose this?

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: savegame compatability
« Reply #5 on: November 21, 2010, 03:49:15 pm »
means last commit on 2.3 branch at
Mon, 25 Oct 2010 10:36:26 GMT

Offline Grufff

  • Rookie
  • ***
  • Posts: 10
    • View Profile
Re: savegame compatability
« Reply #6 on: November 22, 2010, 10:15:43 am »
I have since noticed that while 2.3 stable can load this savx, when I play further and save the game crashes to desktop. So I don't think I am experiencing an issue with savegame compatability between 2.3 stable vs 2.3 dev 30387. To me (not a developer) it seems like the savegame is corrupted and that the way 2.3 dev 30387 is reading the file is different i.e. it is realizing there is a problem and stops loading the rest of the game while 2.3 stable continues loading.

And I guess the cause for my save games being corrupt is me having more than 64 aircraft.
Bug 3114362 http://sourceforge.net/tracker/?func=detail&aid=3114362&group_id=157793&atid=805242

Is there any way I (as a non-developer) can edit a .savx file and try to find / fix what is corrupted?

Any advice/help welcomed as I am a long way into the campaign (650 missions) and would like to finish the campaign before trying 2.4

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: savegame compatability
« Reply #7 on: November 22, 2010, 10:44:16 am »
You can open a ticket on the bugtracker for this one too, and I'll investigate it.

-geever

Offline Grufff

  • Rookie
  • ***
  • Posts: 10
    • View Profile
Re: savegame compatability
« Reply #8 on: November 22, 2010, 12:48:54 pm »
Reported on bugtracker
https://sourceforge.net/tracker/?func=detail&aid=3115394&group_id=157793&atid=805242

geever, thank you very much for any help you can provide