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: 6
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: 6
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: 183
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: 149
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: 378
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: 149
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: 6
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: 183
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: 6
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: 149
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: 183
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: 6
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: 183
Joined: 08 Dec 2015, 17:32

Who is online

Users browsing this forum: No registered users and 1 guest

cron