Playing from my flash drive?

Playing from my flash drive?

Postby tuxkartkaye » 19 Jan 2020, 18:16

Hello Friends

I've been playing STK in my Linux system for awhile now and I was wondering if I could transfer the whole thing to my USB flash drive?

What I want to achieve is to be able to install STK in my flash drive, play it from there, and all configurations and game achievements would be stored in the flash drive, so that I could take the game

and all my game achievements and play anywhere and continue where I left off, for example if I have unlocked 5 tracks, the next time I play from the flash drive I would still have 5 unlocked tracks,

regardless of the computer where the flash drive is inserted into, i.e. I could stick the flash drive into my friends desktop computer and I would unlock another track, making it 6 tracks total, and I

would go home and I would try to unlock the 7th track (because the 6th was unlocked thru my friend's computer earlier).

Thank you!
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby DoggoOfSpeed » 19 Jan 2020, 19:14

Is this what you are looking for?
https://supertuxkart.net/FAQ

The intended in-game way is to play story mode and beat all challenges. If however you want to unlock everything without playing story mode, you can also cheat by editing a config file. Open the folder mentioned above in question "Where does STK store the user config file". From there, open the folder "config-0.10" then open the file "players.xml". Replace all occurrences of "none" with "hard" (or "easy" or "medium", indicating the highest level at which you have solved a challenge).
Fast as frick boi
DoggoOfSpeed
 
Posts: 23
Joined: 05 Sep 2019, 16:50

Re: Playing from my flash drive?

Postby tuxkartkaye » 20 Jan 2020, 02:30

No, it's not. I'm talking about playing from my flash drive.
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby benau » 20 Jan 2020, 11:53

You need to use environment variable to save config to flash drive instead of home folder
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Playing from my flash drive?

Postby eltomito » 20 Jan 2020, 18:21

Or, you can copy the stk config directory between the machines. On my Ubuntu 18.04, it's
{l Code}: {l Select All Code}
~/.config/supertuxkart/config-0.10/

Actually, maybe all you really need to copy back and forth is this file:
{l Code}: {l Select All Code}
~/.config/supertuxkart/config-0.10/players.xml
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

Re: Playing from my flash drive?

Postby dulsi » 20 Jan 2020, 19:04

But that would overwrite someone else progress unless you backed it up first and restored it afterwards. Additionally it assumes the machine has SuperTuxKart or you can install it. If you setup the Windows version on the flash drive as well, you could play on someone's windows computer. I don't have a need for it but I could see it being useful.
dulsi
 
Posts: 570
Joined: 18 Feb 2016, 15:24

Re: Playing from my flash drive?

Postby eltomito » 20 Jan 2020, 20:29

dulsi {l Wrote}:But that would overwrite someone else progress unless you backed it up first and restored it afterwards. Additionally it assumes the machine has SuperTuxKart or you can install it. If you setup the Windows version on the flash drive as well, you could play on someone's windows computer. I don't have a need for it but I could see it being useful.


Agree but the copying thing works today and it's platform independent - as long as you find where the config file is :lol:
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

Re: Playing from my flash drive?

Postby tuxkartkaye » 21 Jan 2020, 02:52

Hi friends, I'm the OP.

What if I've been playing 1.0 for a while and I've made quite a few achievements already, and now 1.1 has come out. What should I do? Or do I have to start from zero again?
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby benau » 21 Jan 2020, 03:50

1.1 and 1.0 profile are compatible
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Playing from my flash drive?

Postby tuxkartkaye » 22 Jan 2020, 17:05

Hello friends
Copying the entire config-0.10 does absolutely nothing with regards to the unlocked tracks, as well as my high scores on Normal Race.
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby eltomito » 23 Jan 2020, 23:47

tuxkartkaye {l Wrote}:Hello friends
Copying the entire config-0.10 does absolutely nothing with regards to the unlocked tracks, as well as my high scores on Normal Race.


Beats me! @Benau? Any idea?
I think it has to work. Maybe the config directory is called something else on the other system? Find the right config dirs on both systems. It's gotta work!
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

Re: Playing from my flash drive?

Postby benau » 24 Jan 2020, 02:14

all your unlocked tracks is stored in players.xml inside config-0.10, so whats your problem?
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Playing from my flash drive?

Postby tuxkartkaye » 29 Jan 2020, 17:10

You need to use environment variable to save config to flash drive instead of home folder


How do I do that?
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby benau » 29 Jan 2020, 18:06

try SUPERTUXKART_SAVEDIR=/some/folder bin/supertuxkart (or ./run_game.sh), then in your /some/folder/config-0.10 will have players.xml which saved the list of unlocked track
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Playing from my flash drive?

Postby tuxkartkaye » 08 Mar 2020, 12:54

Before I try that, can anyone please explain to me why I've already unlocked several tracks, as you can see in the attached file, but my

/home/user/.config/supertuxkart/config-0.10

looks like this:

{l Code}: {l Select All Code}
<?xml version="1.0"?>
<players version="1" >
    <current player="kaye"/>
    <player name="kaye" guest="false" use-frequency="15"
            icon-filename="1.png"
            unique-id="1" saved-session="false"
            saved-user="0" saved-token=""
            last-online-name="tuxkartkaye" last-was-online="true"
            remember-password="false"
            default-kart-color="0">
      <story-mode first-time="true">
        <abyss solved="none" best_while_slower="false"/>
        <candela_city solved="none" best_while_slower="false"/>
        <cocoa_temple solved="none" best_while_slower="false"/>
        <cornfield_crossing solved="none" best_while_slower="false"/>
        <fortmagma solved="none" best_while_slower="false"/>
        <gp1 solved="none" best_while_slower="false"/>
        <gp2 solved="none" best_while_slower="false"/>
        <gp3 solved="none" best_while_slower="false"/>
        <gp4 solved="none" best_while_slower="false"/>
        <granparadiso_island solved="none" best_while_slower="false"/>
        <green_valley solved="none" best_while_slower="false"/>
        <hacienda solved="none" best_while_slower="false"/>
        <lighthouse solved="none" best_while_slower="false"/>
        <mansion solved="none" best_while_slower="false"/>
        <mines solved="none" best_while_slower="false"/>
        <minigolf solved="none" best_while_slower="false"/>
        <olivermath solved="none" best_while_slower="false"/>
        <sandtrack solved="none" best_while_slower="false"/>
        <scotland solved="none" best_while_slower="false"/>
        <snowmountain solved="none" best_while_slower="false"/>
        <snowpeak solved="none" best_while_slower="false"/>
        <stk_enterprise solved="none" best_while_slower="false"/>
        <unlock_bonus_kart1 solved="none" best_while_slower="false"/>
        <unlock_bonus_kart2 solved="none" best_while_slower="false"/>
        <unlock_supertux solved="none" best_while_slower="false"/>
        <volcano_island solved="none" best_while_slower="false"/>
        <xr591 solved="none" best_while_slower="false"/>
        <zengarden solved="none" best_while_slower="false"/>
      </story-mode>
      <achievements online="true">
        <achievement id="1" achieved="false"/>
        <achievement id="2" achieved="false"/>
        <achievement id="3" achieved="false"/>
        <achievement id="4" achieved="false"/>
        <achievement id="5" achieved="false"/>
        <achievement id="6" achieved="false"/>
        <achievement id="7" achieved="true"/>
        <achievement id="8" achieved="false"/>
        <achievement id="9" achieved="false"/>
        <achievement id="10" achieved="false"/>
        <achievement id="11" achieved="false"/>
        <achievement id="12" achieved="false"/>
          <data version="4"/>
          <var counter="2"/>
          <var counter="2"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="2"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="2"/>
          <var counter="2"/>
          <var counter="30"/>
          <var counter="20"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="33"/>
          <var counter="22"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="165"/>
          <var counter="0"/>
          <var counter="11"/>
          <var counter="2"/>
          <var counter="0"/>
          <var counter="1"/>
          <var counter="4"/>
          <var counter="0"/>
          <var counter="1"/>
          <var counter="20"/>
          <var counter="0"/>
          <var counter="4"/>
          <var counter="21"/>
          <var counter="0"/>
          <var counter="3"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <var counter="0"/>
          <track_stats ident="abyss" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="black_forest" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="candela_city" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="cocoa_temple" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="cornfield_crossing" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="fortmagma" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="gran_paradiso_island" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="hacienda" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="lighthouse" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="mines" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="minigolf" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="olivermath" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="ravenbridge_mansion" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="sandtrack" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="scotland" sta="31" fin="22" won="2" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="snowmountain" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="snowtuxpeak" sta="1" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="stk_enterprise" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="volcano_island" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="xr591" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
          <track_stats ident="zengarden" sta="0" fin="0" won="0" fin_rev="0" fin_al="0" l_laps="0" m_laps="0" t_laps="0" eh_sta="0" eh_fin="0"/>
      </achievements>
    </player>
</players>


I always play "Hard" level. Shouldn't there be "Hard" instead of "none" , as in the above code:
zengarden solved="none"

Thank you for your time!
Attachments
supertuxkart.jpg
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby benau » 08 Mar 2020, 13:54

Your game assets seem got mixed up, for example i see bovine barnyard in standard track menu Image
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Playing from my flash drive?

Postby tuxkartkaye » 08 Mar 2020, 14:29

quote]Your game assets seem got mixed up, for example i see bovine barnyard in standard track menu [/quote]

Do you mean bovine barnyard should not be in standard track menu? How did it get that way? and can anything be done about it? How do I transfer my achievements then?
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby benau » 08 Mar 2020, 15:13

Maybe you are not even playing stk 1.0 in the past...

Where / how did you install stk?
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Playing from my flash drive?

Postby QwertyChouskie » 10 Mar 2020, 05:19

Yeah, that screenshot looks like STK 0.9.2...
Contributor to/fan of STK (Upstreamed Cartoon theme, numerous random big fixes/tweaks)
User avatar
QwertyChouskie
 
Posts: 559
Joined: 29 Jun 2016, 14:57

Re: Playing from my flash drive?

Postby tuxkartkaye » 10 Mar 2020, 19:23

Maybe I messed up with the installation? Probably installed older version then installed again but with a newer version?

I guess there's no other way but to purge everything and install the latest version and start from scratch?
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby benau » 11 Mar 2020, 02:58

possible
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Playing from my flash drive?

Postby tuxkartkaye » 11 Mar 2020, 04:06

benau {l Wrote}:try SUPERTUXKART_SAVEDIR=/some/folder bin/supertuxkart (or ./run_game.sh), then in your /some/folder/config-0.10 will have players.xml which saved the list of unlocked track



If it's not too much trouble, can you please explain it to me.

In what file do I add the line:

SUPERTUXKART_SAVEDIR=/some/folder bin/supertuxkart ?
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby benau » 11 Mar 2020, 05:32

How do u install stk 1.1?
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Playing from my flash drive?

Postby tuxkartkaye » 29 Mar 2020, 17:35

Hi benau! Sorry for the late response.

Perhaps you should tell me how I should install stk 1.1 in order for me to do what I want to do? (Playing entirely from my flash drive, like I do with some very old dos games; I can take my flash drive anywhere and plug it in any computer and just play, and my achievements would still be there, and any future achievements would be saved there)

In Synaptic, the version of stk is 0.9.3-2 , so obviously I cannot install via Synaptic.

In my Linux distro's Package Manager, it seems the same as in Synaptic.

So maybe I should install directly from your website https://supertuxkart.net/Main_Page and extract?
tuxkartkaye
 
Posts: 16
Joined: 19 Nov 2019, 03:31

Re: Playing from my flash drive?

Postby benau » 30 Mar 2020, 01:30

Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Who is online

Users browsing this forum: No registered users and 1 guest

cron