How to unblok all levels?!

How to unblok all levels?!

Postby zequinha » 22 Dec 2016, 14:23

Hi,

I want to unblock all the levels of supertuxkart 0.9.2, but I cannot find the file ''/home/USERNAME/.config/supertuxkart/challenges.xml''. My system install created a folder ''/home/USERNAME/.config/supertuxkart/0.8.2'' which is odd because the version I am using is 0.9.2. Also this folder contains no challenges.xml, neither have i found this file anywhere on my sistem. What a nightmare.

I tried the static build for GNU/Linux and the challenges.xml file is not there either!

Need help please! I have got an impatient 5 year old here. My goodness, we really need to implement a simple button in the options to ''unblock all tracks and characters''. It is an absurd having to mess with install folders (which on Unix-like systems are a maze) to find a possibly inexisting file to unblock all tracks and characters. My operating system is Antergos. Thank you!
zequinha
 
Posts: 29
Joined: 27 Jul 2014, 09:41

Re: How to unblok all levels?!

Postby farrer » 22 Dec 2016, 16:58

zequinha {l Wrote}:Hi,
My system install created a folder ''/home/USERNAME/.config/supertuxkart/0.8.2'


Go to that folder, open players.xml file and you see, for each defined player, something like:

{l Code}: {l Select All Code}
<story-mode first-time="false">
        <abyss solved="none"/>
        <city solved="none"/>
        <farm solved="medium"/>
        <fortmagma solved="none"/>
        <gp1 solved="medium"/>


Just edit each 'solved="none"' to a completion level.

and also:

{l Code}: {l Select All Code}
<achievement id="1" achieved="false">
          <abyss value="0"/>
          <city value="1"/>
          <cocoa_temple value="1"/>
          <farm value="1"/>


change achieved to "true" and values from "0" to "1".
User avatar
farrer
 
Posts: 41
Joined: 24 Feb 2014, 21:00

Re: How to unblok all levels?!

Postby zequinha » 22 Dec 2016, 19:36

Thank you so much! It really helped and my nephew enjoyed! :)

I think it would be a great idea to implement a simple ''Unlock game levels" toggle button somerwhere on the game settings.
zequinha
 
Posts: 29
Joined: 27 Jul 2014, 09:41

Re: How to unblok all levels?!

Postby onpon4 » 22 Dec 2016, 23:16

That kind of thing would probably be better as a password, considering they're supposed to be unlockable. Maybe it could be possible to create a player from a password that sets the completion level of the tracks based on it, ostensibly to keep your progress when you migrate between machines (but also so you can more easily cheat your way into unlocking everything).
User avatar
onpon4
 
Posts: 347
Joined: 13 Mar 2014, 18:38

Who is online

Users browsing this forum: No registered users and 1 guest