You are here

Hedgewars portable – do not copy to Documents directory

4 posts / 0 new
Last post
t1m013y
t1m013y's picture
Offline
Last seen: 1 week 5 days ago
Joined: 2024-01-26 07:49
Hedgewars portable – do not copy to Documents directory

When I launch Hedgewars portable, the launcher automatically copies the game to the Documents directory. How can I disable copying and force it launch the game directly from the installation directory (from the USB drive)?

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 23 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Game Data in Documents

Hedgewars has to have its game data in Documents and APPDATA to function. There is no way to alter this unfortunately. So the HedgewarsPortable.exe launcher will move your game data to and from those locations on start and exit, backing up and restoring any data that may exist there while the app is running. These files are not left behind after you close the game and the app itself runs from the portable folder.

Sometimes, the impossible can become possible, if you're awesome!

t1m013y
t1m013y's picture
Offline
Last seen: 1 week 5 days ago
Joined: 2024-01-26 07:49
Game Data in Documents

Is this hard-coded in Hedgewars source code? I know that it deletes the directory in Documents, but if the power is suddenly off or Hedgewars process fails because of error or killed in task manager, all my data including account password remains in Documents directory and can be accessed by someone else on public computers.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 23 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Yes

As stated there is no way to alter the location. It is hard coded. If the power goes off and you run the app again, it will clean itself up.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments