Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Cheating in SuperTuxKart

I have recently installed SuperTuxKart, which is available in Devuan GNU+Linux of course. It's a great example of a FLOSS game. It's a fun little kart racing game. With only a few week's practice, I can now actually beat most tracks on expert difficulty (out of novice, intermediate, hard, and SuperTux options).

I first started by cracking the data files to make the expert difficulty as easy as the novice difficulty. I love open source games because it's easy to cheat at first, and then easy to restore when you're good enough. I put it back when I got good enough to compete, and if I slip up too much in a game, I will not come in first. I modified /usr/share/games/supertuxkart/stk_config.xml section <ai><hard>

<hard   time-full-steer="0.1"
        straight-length-for-zipper="35"
        use-slipstream="false"
        disable-slipstream-usage="true"
        shield-incoming-radius="0"
        false-start-probability="0.08"
        min-start-delay="0.3" max-start-delay="0.5"
        nitro-usage="0"
        item-skill="1"
        collect-avoid-items="false"
        handle-bomb="false"
        first-speed-cap="-100:1.0 -50:0.9 0:0.85 100:0.65"
        last-speed-cap="-150:0.92 -50:0.75 50:0.6"
        max-item-angle="0.7" max-item-angle-high-speed="0.3"
        bad-item-closeness="6"
        collect-item-probability="0:0"
        rb-skid-probability="0:0.0"
        skidding-threshold="4.0"
        />

I also modified ~/.config/supertuxkart/config-0.10/players.xml by editing node <story-mode> subnodes:

<gp1 solved="hard"/>

Just change any story-mode track name to solved="difficulty" of ["easy","medium","hard","best"]. By changing these, you are telling the game that you've completed various challenges of the story mode, so it unlocks later things for you.

My thoughts

My favorite tracks are Black Forest, Nessie's Pond, Ravenbridge Mansion, and Volcan Island. Some of these have fun music, and some are just pretty tracks.

I like to play just the time trials. I think the presents are superfluous.

Comments