supertuxkart not saving

supertuxkart not saving

Postby CalebW » 25 Mar 2013, 03:49

I downloaded Supertuxkart .8 from the Ubuntu ppa:stk/dev. I use Linux Mint 13 which is based off of Ubuntu. Supertuxkart installed and runs fine, however, for some reason every time I start the game it replaces the config file with the one it was installed with. So all my progress is deleted every time I try to play it.
CalebW
 
Posts: 4
Joined: 25 Mar 2013, 03:34

Re: supertuxkart not saving

Postby hiker » 25 Mar 2013, 11:50

CalebW {l Wrote}:I downloaded Supertuxkart .8 from the Ubuntu ppa:stk/dev. I use Linux Mint 13 which is based off of Ubuntu. Supertuxkart installed and runs fine, however, for some reason every time I start the game it replaces the config file with the one it was installed with. So all my progress is deleted every time I try to play it.

Can you start STK in a terminal and post the messages printed at startup?

Thanks!
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: supertuxkart not saving

Postby CalebW » 25 Mar 2013, 22:24

Here the output of "supertuxkart"
{l Code}: {l Select All Code}
Irrlicht Engine version 1.8.0
Linux 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart'
[FileManager] Addons files will be stored in '/home/caleb/.local/share/supertuxkart/addons'.
[translate] Env var LANGUAGE = 'en_US.UTF-8'
[translate] Env var LANGUAGE = 'en_US.UTF-8', which corresponds to 'English (United States)'
Adding language fallback en
[IrrDriver] Trying OpenGL rendering.
Error messages and other text output will be logged to /home/caleb/.config/supertuxkart/stdout.log and /home/caleb/.config/supertuxkart/stderr.log


I also compiled and installed Supertuxkart from the source code and it does the exact same thing.

I found it will keep my save data if I leave my config file alone, but when I try to change the "a r t i s t _ d e b u g _ m o d e v a l u e" to "true" then it restores the original config file.
CalebW
 
Posts: 4
Joined: 25 Mar 2013, 03:34

Re: supertuxkart not saving

Postby hiker » 26 Mar 2013, 02:39

CalebW {l Wrote}:
{l Code}: {l Select All Code}
Error messages and other text output will be logged to /home/caleb/.config/supertuxkart/stdout.log and /home/caleb/.config/supertuxkart/stderr.log


OK, that means we now need the content of those two files.

I also compiled and installed Supertuxkart from the source code and it does the exact same thing.

I found it will keep my save data if I leave my config file alone, but when I try to change the "a r t i s t _ d e b u g _ m o d e v a l u e" to "true" then it restores the original config file.

Is it possible that the editor you are using is not saving the file as an UTF file? I am not sure, but that might cause STK not to be able to read the file. Do a
{l Code}: {l Select All Code}
$ file $HOME/.config/supertuxkart/config.xml
config.xml: Unicode text, UTF-32, little-endian

to verify this.

If this doesn't help, could you also post the config file - best before you change it and after?

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: supertuxkart not saving

Postby CalebW » 26 Mar 2013, 03:16

Thanks, I couldn't read the file in my text-editor, I had to use wine's notepad because I couldn't figure out what the character encoding was. Well, now that I can read the file in my linux text-editor it saves it in the right encoding and works now.
CalebW
 
Posts: 4
Joined: 25 Mar 2013, 03:34

Re: supertuxkart not saving

Postby Funto » 26 Mar 2013, 09:11

Hmm, Wine vs Linux text editor,maybe it's a newline problem and not an encoding problem then?
Funto
 
Posts: 459
Joined: 09 Dec 2009, 13:47
Location: Bordeaux, France

Re: supertuxkart not saving

Postby Auria » 27 Mar 2013, 00:45

don't use wine! just use something like Kate
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: supertuxkart not saving

Postby CalebW » 27 Mar 2013, 18:33

No, the problem was I didn't know that the config file was UTF-32, I thought it was UTF-8 or something, so my linux text-editor "pluma" wouldn't read it.
CalebW
 
Posts: 4
Joined: 25 Mar 2013, 03:34

Who is online

Users browsing this forum: No registered users and 1 guest

cron