project-navigation
Personal tools

Author Topic: Version 2.1.1 release - the load/save system doesn't work  (Read 8915 times)

Offline smalul

  • Rookie
  • ***
  • Posts: 35
    • View Profile
Version 2.1.1 release - the load/save system doesn't work
« 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...

Offline Zenerka

  • Sergeant
  • *****
  • Posts: 301
    • View Profile
Version 2.1.1 release - the load/save system doesn't work
« Reply #1 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.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Version 2.1.1 release - the load/save system doesn't work
« Reply #2 on: May 01, 2007, 02:43:42 pm »
updated windows installer is online, too

ColeonyxOnline

  • Guest
Version 2.1.1 release - the load/save system doesn't work
« Reply #3 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?

Offline LeSanglier

  • Rookie
  • ***
  • Posts: 35
    • View Profile
Version 2.1.1 release - the load/save system doesn't work
« Reply #4 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 !!

Shrimpcraft

  • Guest
Version 2.1.1 release - the load/save system doesn't work
« Reply #5 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

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Version 2.1.1 release - the load/save system doesn't work
« Reply #6 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

Shrimpcraft

  • Guest
Version 2.1.1 release - the load/save system doesn't work
« Reply #7 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:

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Version 2.1.1 release - the load/save system doesn't work
« Reply #8 on: May 01, 2007, 07:42:48 pm »
if you are using the svn - do a svn up and recompile the game

Ran

  • Guest
Version 2.1.1 release - the load/save system doesn't work
« Reply #9 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.

Offline Zenerka

  • Sergeant
  • *****
  • Posts: 301
    • View Profile
Version 2.1.1 release - the load/save system doesn't work
« Reply #10 on: May 02, 2007, 04:49:46 pm »
Even when trying new game (not loading old saves)?

Ran

  • Guest
Version 2.1.1 release - the load/save system doesn't work
« Reply #11 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. :)

Offline Zenerka

  • Sergeant
  • *****
  • Posts: 301
    • View Profile
Version 2.1.1 release - the load/save system doesn't work
« Reply #12 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.

Patola

  • Guest
Version 2.1.1 release - the load/save system doesn't work
« Reply #13 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).

Offline Bonbadil

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Version 2.1.1 release - the load/save system doesn't work
« Reply #14 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.