project-navigation
Personal tools

Author Topic: Save Game Bug -> any Workaround ?  (Read 3782 times)

Offline Maybe

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Save Game Bug -> any Workaround ?
« on: July 20, 2010, 06:17:53 am »
Morinin all,

first of all I would like to congratulate the team and community for a great game. it got me hooked.
But, there's this annoying thing that keeps me ... awake.

I am playing on Linux Ubuntu 10.04.
I recently installed from source, UFOAI playing 2.3.
The game works very well.
but I cannot save any game.
well I can but once I completely stop UFOAI, the save games disappear.
I know it's been listed on the bug-list, but I wonder if there might be any way to work around it ? my search didn't find any clues.
please help !

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Save Game Bug -> any Workaround ?
« Reply #1 on: July 20, 2010, 09:33:40 am »
I know it's been listed on the bug-list, but I wonder if there might be any way to work around it ? my search didn't find any clues.

No, it's not on any lists yet. It's something strange... Please tell me more about it, please!

-geever

Offline Maybe

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Re: Save Game Bug -> any Workaround ?
« Reply #2 on: July 20, 2010, 10:22:31 am »
well,
the game works fine , saving game also seems to work.
but there are no save games in the list once I completely close the application, then restart and try to load that saved game...

what kind of additional infos do you need ?

"version" is "UFO: Alien Invasion 2.3 IA-32 Jul 19 2010 Linux DEBUG build 31041

on attemtpted save the console says:
Calling subsystems
...subsystem 'base' - saved
...subsystem 'research' - saved
...subsystem 'campaign' - saved
...subsystem 'hospital' - saved
...subsystem 'market' - saved
...subsystem 'employee' - saved
...subsystem 'aliencont' - saved
...subsystem 'aircraft' - saved
...subsystem 'installation' - saved
...subsystem 'ufostores' - saved
...subsystem 'production' - saved
...subsystem 'messagesystem' - saved
...subsystem 'stats' - saved
...subsystem 'nations' - saved
...subsystem 'transfer' - saved
...subsystem 'alien base' - saved
...subsystem 'xvirate' - saved
...subsystem 'messageoptions' - saved
XML Written to buffer (413687 Bytes)

after restart and trying to load, empty save-games-list. after click into first "slot " of save games,
this:
Switch grab input off
...using language: en_ZW.utf8
SDL_ttf version 2.0.9 - we need at least 2.0.7
...registering 10 fonts
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added base subsystem
added research subsystem
added campaign subsystem
added hospital subsystem
added market subsystem
added employee subsystem
added aliencont subsystem
added aircraft subsystem
added installation subsystem
added ufostores subsystem
added production subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added alien base subsystem
added xvirate subsystem
added messageoptions subsystem
Campaign data loaded - size 4458784 bytes
...techs: 189
...buildings: 19
...ranks: 16
...nations: 8
...cities: 457

Unknown command "game_timestop" - wasn't sent to server

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Save Game Bug -> any Workaround ?
« Reply #3 on: July 20, 2010, 03:34:03 pm »
well,
the game works fine , saving game also seems to work.
but there are no save games in the list once I completely close the application, then restart and try to load that saved game...

what kind of additional infos do you need ?

"version" is "UFO: Alien Invasion 2.3 IA-32 Jul 19 2010 Linux DEBUG build 31041

Please check if save files are in ~/.ufoai/2.3/base/saves.
If so, upload one of them, also upload the full ufoconsole.log.

-geever

Offline Maybe

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Re: Save Game Bug -> any Workaround ?
« Reply #4 on: July 20, 2010, 06:05:57 pm »
there's no /saves folder anywhere to find....

problem compiling ?
shopuld I just create one ? what permissions are needed ?

ufoconsole.log is found where ?

sorry for those dumb questions.
regards
lutz

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile

Offline Maybe

  • Cannon Fodder
  • **
  • Posts: 4
    • View Profile
Re: Save Game Bug -> any Workaround ? - SOLVED
« Reply #6 on: July 20, 2010, 06:37:06 pm »
Hey there,

finally found out: gotta start the game not only with
./ufo
but with
sudo ./ufo

now saving / loading all works fine.

thanks again

Offline Lew Yard

  • Squad Leader
  • ****
  • Posts: 111
    • View Profile
Re: Save Game Bug -> any Workaround ?
« Reply #7 on: July 20, 2010, 06:59:11 pm »
That makes no sense unless that was how you started running it...

'sudo chown -R yourusername .ufo'

to restore ownership...