Put Save Files on Flash Drive

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Desent
Low Yeek
Posts: 5
Joined: Tue Sep 25, 2012 1:12 am

Put Save Files on Flash Drive

#1 Post by Desent »

Does anybody know how to set up tome so that it is completely contained on a flash drive? My main problem is that I cannot figure out how to set save file location in order that it always saves into the flash drive.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Put Save Files on Flash Drive

#2 Post by HousePet »

I don't think this is possible without some sort of secondary program that would manage it.
My feedback meter decays into coding. Give me feedback and I make mods.

Castler
Thalore
Posts: 153
Joined: Mon Mar 25, 2013 10:09 pm

Re: Put Save Files on Flash Drive

#3 Post by Castler »

ToME's command line arguments can let you do this. For example, on Windows, create a shortcut to t-engine.exe and add

Code: Select all

--home f:\
to the end of the command (if F: is your flash drive).
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.

Desent
Low Yeek
Posts: 5
Joined: Tue Sep 25, 2012 1:12 am

Re: Put Save Files on Flash Drive

#4 Post by Desent »

Alright, thanks a lot Castler! That's real nifty.

Just to make sure, you put the --home f:\ at the end of the file address? So it would look something like

Code: Select all

f:\tome.exe -- home f:\
?

And this should work for all windows computers? On other operating systems, I guess they put the flash drive somewhere else.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Put Save Files on Flash Drive

#5 Post by HousePet »

Obivously replace f with the correct drive letter.
My feedback meter decays into coding. Give me feedback and I make mods.

Castler
Thalore
Posts: 153
Joined: Mon Mar 25, 2013 10:09 pm

Re: Put Save Files on Flash Drive

#6 Post by Castler »

Desent wrote:Just to make sure, you put the --home f:\ at the end of the file address?
Yes, but there's no space after the --.

Code: Select all

f:\tome.exe --home f:\
Like HousePet said, replace f: with whatever the drive letter is for your computer.

Other OSes should work similar, although they refer to flash drives differently.
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.

Post Reply