You are here

Redirecting %APPDATA%\folder to Data\folder

5 posts / 0 new
Last post
kilmargames
Offline
Last seen: 13 years 7 months ago
Joined: 2010-09-19 12:25
Redirecting %APPDATA%\folder to Data\folder

How can I do this? I have looked over the forums and haven't found solutions that work. I don't really know what I should post. I have come no closer to finding a solution by myself... So I am turning towards you guys.
Thanks,
Brian

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 10 months ago
Joined: 2007-04-15 21:08
PAL

With the PortableApps.com Launcher, the most consistent and reliable way to do it is to move the directory:

[DirectoriesMove]
folder=%APPDATA%\folder

You can also try changing the APPDATA environment variable; this may or may not work - if an app uses system calls to get APPDATA, changing APPDATA will just break it, but many apps just look at the APPDATA environment variable, so in the case of many games it becomes OK to change it. It needs a bit of experimentation in general, and if in doubt, move the directory instead.

[Environment]
APPDATA=%PAL:DataDir%

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

kilmargames
Offline
Last seen: 13 years 7 months ago
Joined: 2010-09-19 12:25
Well... It kinda worked. The

Well... It kinda worked. The second one didn't find the stuff in APPDATA and the first didn't either, but it did move it.

I am making a game portable for my personal use because there are places I'd like to play it that I do not have the rights to install/download it. The game is Minecraft if you are wondering.

Brando212
Brando212's picture
Offline
Last seen: 5 years 8 months ago
Joined: 2007-04-26 17:09
i too would like to see

i too would like to see minecraft made portable

it's great to play when i finish with my work and am waiting for my class to get out at school, and it would be nice to be able to take my saves with me

Never knock on Death's door: ring the bell and run away! Death really hates that!
Matt Frewer

Ruji
Offline
Last seen: 13 years 7 months ago
Joined: 2010-09-29 11:26
Maybe this will help

I found this while looking on for a portable version

http://en.kioskea.net/faq/9814-portable-minecraft-minecraft-on-your-usb-key

They create a bat file and use this code:
set APPDATA=%CD%\data
bin\minecraft.exe

Would love to see this in "app format" so I could add it to my suite.

See the link for more info.

Hope I helped.

Log in or register to post comments