UFO:Alien Invasion

Technical support => Feature Requests => Topic started by: smalul on May 01, 2007, 12:25:31 pm

Title: Version 2.1.1 release - the load/save system doesn't work
Post by: smalul on May 01, 2007, 12:25:31 pm
Here we go again... I just downloaded the new release version and installed it. I tried to load games from the previous version (2.1.1 beta from April 29th, 2007), but I got the "error in loading subsystem" message. So I've started a new game, and then saved, but when I tried to load it, I got the same error. Here is the log:

Started and saved the game:
Code: [Select]

Activate stage intro
Initializing aircraft and aircraft-items ...
...aircraft and aircraft-items inited
Changing to Singleplayer
Save 'slot0'
...subsystem 'base' - saved 5716 bytes
...subsystem 'campaign' - saved 263 bytes
...subsystem 'hospital' - saved 2 bytes
...subsystem 'market' - saved 2176 bytes
...subsystem 'research' - saved 6288 bytes
...subsystem 'employee' - saved 12740 bytes
...subsystem 'aliencont' - saved 0 bytes
...subsystem 'production' - saved 35 bytes
...subsystem 'aircraft' - saved 1 bytes
...subsystem 'messagesystem' - saved 971 bytes
...subsystem 'stats' - saved 28 bytes
...subsystem 'nations' - saved 32 bytes
Campaign 'Shai1' saved.


Saved again:
Code: [Select]

Save 'slot1'
...subsystem 'base' - saved 5716 bytes
...subsystem 'campaign' - saved 263 bytes
...subsystem 'hospital' - saved 2 bytes
...subsystem 'market' - saved 2176 bytes
...subsystem 'research' - saved 6288 bytes
...subsystem 'employee' - saved 12751 bytes
...subsystem 'aliencont' - saved 0 bytes
...subsystem 'production' - saved 35 bytes
...subsystem 'aircraft' - saved 1 bytes
...subsystem 'messagesystem' - saved 971 bytes
...subsystem 'stats' - saved 28 bytes
...subsystem 'nations' - saved 32 bytes
Campaign 'Shai2' saved.


Then I tried to load the second saved game:
Code: [Select]

Loading savegame
...version: 1
...game version: 2.1.1
Global data loaded - size (null)u bytes
...techs: 131
...buildings: 18
...ranks: 8
...nations: 8

Load 'slot1'
...subsystem 'base' - loaded 34473 bytes
...subsystem 'base' could not be loaded correctly - savegame might be broken (ffffffff)
Unknown command "game_timestop"
Changing to Singleplayer


Trying to load first saved game:
Code: [Select]

Loading savegame
...version: 1
...game version: 2.1.1
Global data loaded - size (null)u bytes
...techs: 131
...buildings: 18
...ranks: 8
...nations: 8

Load 'slot0'
...subsystem 'base' - loaded 34473 bytes
...subsystem 'base' could not be loaded correctly - savegame might be broken (ffffffff)
Unknown command "game_timestop"
Changing to Singleplayer


Well, at least the problem isn't with the message system...
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Zenerka on May 01, 2007, 01:14:26 pm
You are right - one of the last commits to the ufoai_2.1 branch broken it.
Hotfixes and fixed installer on its way.
EDIT
Hotfix online: http://downloads.sourceforge.net/ufoai/ufoai-2.1.1-save_hotfix.tar.bz2?use_mirror=osdn
Fixed installer will follow.
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Mattn on May 01, 2007, 02:43:42 pm
updated windows installer is online, too
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: ColeonyxOnline on May 01, 2007, 04:59:02 pm
Quote from: "Mattn"
updated windows installer is online, too


The sourceforge file is dated yesterday, is that the updated installer, or are you talking about the hotfix?
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: LeSanglier on May 01, 2007, 06:01:56 pm
Hello !

Must I download the latest source code  for this hot fix ??

Thanks for this great game !!
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Shrimpcraft on May 01, 2007, 07:19:07 pm
hi i've updated the hotfix...but now when i run the game (i use ubuntu 6.06), it won't load. it says:
Code: [Select]
/lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./ufo)

how do i fix this? or where should i dl this file?

-thx
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Mattn on May 01, 2007, 07:24:10 pm
Shrimpcraft: you should download the source code and compile it for your system. the game was compiled on a newer ubuntu version - and the newer ubuntu version uses a newer glibc

there are updated full windows and linux installers now - they already have the hotfix included - but there is also a hotfix (with only a few megabytes) downloadable for those who haven't enough bandwidth to redownload everything again.

best regards
martin
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Shrimpcraft on May 01, 2007, 07:40:36 pm
Quote from: "Mattn"
Shrimpcraft: you should download the source code and compile it for your system. the game was compiled on a newer ubuntu version - and the newer ubuntu version uses a newer glibc

there are updated full windows and linux installers now - they already have the hotfix included - but there is also a hotfix (with only a few megabytes) downloadable for those who haven't enough bandwidth to redownload everything again.

best regards
martin


yup when i first download this game yesterday(how the wiki told us to download through the terminal), i compiled everything on my system....then i tried saving the game today and it won't save, so i went to this forum and download+patch in the hotfix. After that i tired running the game and it showed the error above  :cry:
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Mattn on May 01, 2007, 07:42:48 pm
if you are using the svn - do a svn up and recompile the game
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Ran on May 02, 2007, 04:16:14 pm
I've tried the hotfix (I assume it involves replacing ufo.exe with the copy within the .tar), and I still get the "subsystem" message the first poster noted. This is on the win32 build of 2.1.1. using the version of 2.1.1. available at Sourceforge.
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Zenerka on May 02, 2007, 04:49:46 pm
Even when trying new game (not loading old saves)?
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Ran on May 02, 2007, 04:59:58 pm
Quote from: "Zenerka"
Even when trying new game (not loading old saves)?


Guess it works there. I had understood that the hotfix would allow previous save games to work, but I must have misunderstood. :)
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Zenerka on May 02, 2007, 05:12:33 pm
Hotfix fixed the bug in the code regarding saving and loading some parts of the game data. That means the savegame subsystem had changed once again which makes the old saves not working.
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Patola on May 04, 2007, 02:16:41 pm
Well, I am sorry to say that I experienced this bug with the *patched* version, with two savegames that were saved with this same version. This is what happens:

Load 'slot3'
...subsystem 'base' - loaded 23056 bytes
Initializing aircraft and aircraft-items ...
...aircraft and aircraft-items inited
Cmd_AddCommand: popup_aircraft_action_click already defined
Cmd_AddCommand: ships_click already defined
Cmd_AddCommand: ships_rclick already defined
Cmd_AddCommand: multi_select_click already defined
Activate stage intro
...subsystem 'campaign' - loaded 269 bytes
...subsystem 'hospital' - loaded 2 bytes
...subsystem 'market' - loaded 2176 bytes
...subsystem 'research' - loaded 6288 bytes
...subsystem 'employee' - loaded 4945 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 22 bytes
...subsystem 'aircraft' - loaded 1 bytes
...subsystem 'messagesystem' - loaded 6836 bytes
...subsystem 'messagesystem' could not be loaded correctly - savegame might be broken (3e)
Changing to Singleplayer

I don't know how to reproduce it, though. I have previously left the game a dozen times and loaded the two savegames with no problems. I also tried to start a new campaign, play a little, save now and then, leaving the game, and trying to load it again and it worked. So it may need a special trigger that I don't know.

BTW, I still have two other savegames that are from 2.1.1 beta, and they show the exact same message. So, this might be some leftover from the 2.1.1beta code that makes the game be saved incorrectly or with old-style data.

I am using 2.1.1 (the latest installer; I got the patch and saw that the "ufo" executable was the same as this one) on Ubuntu Feisty Fawn (7.04).
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Bonbadil on May 04, 2007, 10:14:44 pm
Hello everybody.
I'm in the same case that Patola, but I'm under Windows 2000. And my 3 first and only savegames since I discover this good game never work.
Title: The game saved with version 2.1.1 which shows errors
Post by: Patola on May 04, 2007, 10:34:36 pm
In case you want the savegame, I've put it here: http://patola.ath.cx/slot3.sav

This way you can see if you have the same error message and if it was generated by a bug in the code. Hope it helps!
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Ran on May 05, 2007, 01:17:35 pm
I've also got a savegame not working. My first five are fine. I suspect the trigger event may have been some sort of research I completed.

Also, a separate thing maybe, I can't seem to see particle rifle or pistol accelarators (the glowy ammo things) when assigning equipment to soldiers. The weapons I see, but not the ammo. I'm not sure if maybe the idea is that you can't reload those during missions? I ended up giving one guy two particle pistols so that he could drop one and use the other if the first ran out of ammunition.
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Mattn on May 05, 2007, 06:38:55 pm
we already fixed this issue

i'm currently preparing updated installers and there is already a hotfix available for download (http://downloads.sourceforge.net/ufoai/ufoai-2.1.1-save_hotfix2.tar.bz2)

feedback is welcome
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Patola on May 05, 2007, 07:59:41 pm
Thanks to the developers! The hotfix at http://sourceforge.net/project/downloading.php?groupname=ufoai&filename=ufoai-2.1.1-save_hotfix2.tar.bz2&use_mirror=osdn solved my problem and now the savegames are working nicely.
Title: Version 2.1.1 release - the load/save system doesn't work
Post by: Bonbadil on May 06, 2007, 04:08:57 pm
Me too :)