How to unlock all tracks in Linux version of SuperTuxKart

How to unlock all tracks in Linux version of SuperTuxKart

Postby peterpandam » 11 May 2018, 09:06

I want to set up an open-source gaming party, kinda small, in my local area, all of the machines running Ubuntu. One of the games I plan on have there is SuperTuxKart, specifically the 0.9 version. I want to unlock everything in the game without taking the time to play through the entire campaign mode, so I figured that I would cheat. I've seen millions of guides telling you to modify ~/.config/supertuxkart/challenges.xml, but for the life of me I cannot find that file in that location. Please help, I need this up and running in a week or so.
peterpandam
 
Posts: 2
Joined: 11 May 2018, 08:59

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby Auria » 12 May 2018, 21:25

Hi,

see "where is the configuration stored" on the FAQ: https://supertuxkart.net/FAQ , it can vary depending on your distribution but is usually ~/.config/supertuxkart/0.8.2/players.xml
Image
User avatar
Auria
STK Moderator
 
Posts: 2913
Joined: 07 Dec 2009, 03:52

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby Alayan » 12 May 2018, 21:30

This is probably spam.

The EXACT SAME QUESTION was asked on askubuntu in APRIL 2016 : https://askubuntu.com/questions/758410/ ... uxkart-0-9
Alayan
 
Posts: 118
Joined: 25 Mar 2012, 22:11

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby theofilus » 23 May 2018, 16:05

I have tried, but the solution in the FAQ doesn't work, at least, not for me, since the file players.xml seems to be some kind of binary file, and I can't edit it in gedit or any other text editor. How do I go about editing this file?
(I have no interest in editing the high scores but, if it helps, the file hiscores.xml also seems to be a binary file.)
theofilus
 
Posts: 2
Joined: 23 May 2018, 15:51

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby Auria » 24 May 2018, 00:10

players.xml is a text file, but is encoded using the uncommon UTF-16 encoding, which it seems gedit has trouble handling by default. You could try another text editor, or maybe there is an option somewhere in gedit to handle utf-16 files
Image
User avatar
Auria
STK Moderator
 
Posts: 2913
Joined: 07 Dec 2009, 03:52

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby Arthur » 24 May 2018, 00:29

Yes you can make it open as UTF-16 in gedit, however gedit is not able to do it properly on the fly so you will need to restart it. Considering adding this to our FAQ.
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
__________________________________________________________________________
Image
User avatar
Arthur
 
Posts: 1066
Joined: 06 Dec 2009, 00:49

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby QwertyChouskie » 24 May 2018, 00:46

Is there any good reason for these to be in a non-standard encoding? This should probably be fixed to avoid confusion (though for the record, Mousepad seems to work with the files just fine).
Not an official dev, but a huge fan of STK!
User avatar
QwertyChouskie
 
Posts: 224
Joined: 29 Jun 2016, 14:57

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby Alayan » 24 May 2018, 01:01

The encoding is supposed to be like that to allow the correct storage of players name (which can use unicode characters). I don't see why UTF-16 is used rather than UTF-8, however. Wouldn't be 8 more economical space-wise, and more supported ?
Alayan
 
Posts: 118
Joined: 25 Mar 2012, 22:11

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby QwertyChouskie » 24 May 2018, 01:18

Not an official dev, but a huge fan of STK!
User avatar
QwertyChouskie
 
Posts: 224
Joined: 29 Jun 2016, 14:57

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby theofilus » 24 May 2018, 01:49

Thank you for your answers. I downloaded Mouspad as QwertyChouskie suggested, and it opened the file without any problems. I had tried different encodings, including UTF 16, in Gedit, but it didn't work there. Now I can get back to racing like I did before I got a new computer.
theofilus
 
Posts: 2
Joined: 23 May 2018, 15:51

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby deve » 24 May 2018, 06:01

I never liked these UTF-16 files :P And btw. in config.xml there is "everything_unlocked" parameter that should work too.
deve
 
Posts: 232
Joined: 23 Jan 2014, 13:45

Re: How to unlock all tracks in Linux version of SuperTuxKar

Postby QwertyChouskie » 06 Jun 2018, 04:13

This has now been fixed in the git version.
Not an official dev, but a huge fan of STK!
User avatar
QwertyChouskie
 
Posts: 224
Joined: 29 Jun 2016, 14:57

Who is online

Users browsing this forum: No registered users and 1 guest

cron