Cannot create directory C:/Users/<Profile>/Documents/Hedgewars/Saves

4 replies [Last post]
emoteen134
User offline. Last seen 12 years 1 week ago. Offline
Joined: 2012-10-28
Posts: 3

Hi. I'm Roy, and i just started using Hedgewars. I'm using the portable version of Hedgewars and I'm on a Windows 7 Public Library computer and when i start the game these errors show up:

Cannot create directory C:/Users/%Profile%/Documents/Hedgewars/Saves
Cannot create directory C:/Users/%Profile%/Documents/Hedgewars/Screenshots
Cannot create directory C:/Users/%Profile%/Documents/Hedgewars/Teams
Cannot create directory
C:/Users/%Profile%/Documents/Hedgewars/Logs

I was just wondering if you knew how to configure the settings to move these defaults to my flash drive? thank you in advanced. Smile

nemo
nemo's picture
User offline. Last seen 19 weeks 4 days ago. Offline
Joined: 2009-01-28
Posts: 1861

hedgewars --config-dir "someconfig" --data-dir "Data"

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

emoteen134
User offline. Last seen 12 years 1 week ago. Offline
Joined: 2012-10-28
Posts: 3

"hedgewars --config-dir "someconfig" --data-dir "Data""

Im sorry, but i dont know what that means. if you could specify? im good with computers, but is that a parameter command? i cant use the properties submenu with the computers im using. Thanks again! but i am trying to find a way to do it using Cmd.exe. (Portable Apps Version) Smile

Edit: Cmd.exe did not work. Any other ways? Thanks again! Smile

nemo
nemo's picture
User offline. Last seen 19 weeks 4 days ago. Offline
Joined: 2009-01-28
Posts: 1861

emoteen134 allegedly wrote:

"hedgewars --config-dir "someconfig" --data-dir "Data""

Im sorry, but i dont know what that means. if you could specify? im good with computers, but is that a parameter command? i cant use the properties submenu with the computers im using. Thanks again! but i am trying to find a way to do it using Cmd.exe. (Portable Apps Version) Smile

Edit: Cmd.exe did not work. Any other ways? Thanks again! Smile

Create a windows shortcut on your USB drive to hedgewars.exe
Edit that shortcut and add after hedgewars.exe...
--config-dir "Path/To/A/Place/To/Keep/Your/Config/Probably/On/The/USB/Drive" --data-dir "Path/To/The/Location/Of/The/Hedgewars/Folder/Called/Data"

These paths can be relative.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

emoteen134
User offline. Last seen 12 years 1 week ago. Offline
Joined: 2012-10-28
Posts: 3

It worked. Thanks. Smile

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]