Pages: [1]
  Print  
Author Topic: app data folder  (Read 15455 times)
onykage
Half-Nub


Cakes 1
Posts: 63



WWW
« on: December 03, 2008, 10:16:35 PM »

is there a specific reason that oa puts everything in the user/app data folder instead of OA's home folder where the *.exe is run from?

with this be changed later??
Logged
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #1 on: December 04, 2008, 08:20:37 AM »

So people can have preferences on the same computer and it keeps the OA folder tidy (for stuff like reinstallations, upgrades, etc)
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Neon_Knight
In the year 3000
***

Cakes 49
Posts: 3775


Trickster God.


« Reply #2 on: December 04, 2008, 09:25:39 AM »

Can we change that folder to another if we like?
Logged


"Detailed" is nice, but if it gets in the way of clarity, it ceases being a nice addition and becomes a problem. - TVT
Want to contribute? Read this.
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #3 on: December 04, 2008, 09:29:59 AM »

Can we change that folder to another if we like?
You can compile a binary with a different setting or use a startup parameter like "+set fs_homepath ."

It is always a bad idea to store user settings outside a users personal folders. Soon no games will do that.
Logged

There are nothing offending in my posts.
fufinha
stop making alt accounts and self-termination
Member


Cakes 7
Posts: 584


retired


« Reply #4 on: December 04, 2008, 11:27:53 AM »

I can understand why servers are set like that. But since some of the exe's are compiled to store maps there, while others dl maps to the primary baseoa then it's a bad idea for me as I keep game stuff on a different drive which has alot more space.

You could always create a shortcut. You might also need to do /fs_homepath "." in console when it first loads if the home folder is set in the config. You should only need to do that once (You cant change it once you connect to a server).

If your running different versions the downside is you will probably have duplicate maps in each baseoa. There's probably other/better ways to manage it.


« Last Edit: December 04, 2008, 11:29:55 AM by missbehaving » Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #5 on: December 04, 2008, 12:17:17 PM »

You might also need to do /fs_homepath "." in console when it first loads if the home folder is set in the config.
fs_homepath cannot be stored in config files or be changed through the console as it is set by the engine on launch. Servers can (could?) theoretically change it forcefully but they never do.
Logged

There are nothing offending in my posts.
fufinha
stop making alt accounts and self-termination
Member


Cakes 7
Posts: 584


retired


« Reply #6 on: December 04, 2008, 12:30:55 PM »

i see. I was changing the value to it's current setting so the console didnt report the write protect.

I'm sure it didnt work first time I tried this but if anyone starts a game like this then you can verify it works by doing /cvarlist and the fs_ values are usually at the bottom. The fs_homepath should show a . (current folder) rather than the apps one.

Logged
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #7 on: December 04, 2008, 01:02:41 PM »

You don't change fs_homepath once the game is initialized.
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
sittingduck
Half-Nub


Cakes 1
Posts: 81



WWW
« Reply #8 on: December 04, 2008, 01:28:15 PM »

I just clear anything extra out of the app data folders periodically.
I too, like to have programs on a separate drive, and usually make my windows partition fairly small. I might try fs_homepath, I usually launch from shortcuts that have the server IP in them anyway.
Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #9 on: December 04, 2008, 01:33:09 PM »

I no longer use Windows enough to care. But I think that it is possible to move Application Data to another drive (or mount the folder on another drive), so that you can keep all your settings in one place and easy to remember in your backup routines. 
Logged

There are nothing offending in my posts.
Neon_Knight
In the year 3000
***

Cakes 49
Posts: 3775


Trickster God.


« Reply #10 on: December 04, 2008, 03:16:19 PM »

I asked that because I have D&S in a 2GB partition, (I have an 80GB HD) in case I need to format and not to lose anything I (and the others) have.
Logged


"Detailed" is nice, but if it gets in the way of clarity, it ceases being a nice addition and becomes a problem. - TVT
Want to contribute? Read this.
damocles
Bigger member


Cakes 0
Posts: 158


May cause drowsiness


« Reply #11 on: December 05, 2008, 12:03:27 AM »

Armageddon_Man, if you are comfortable with the Windows registry, and don't care about the times and dates of files:

You can do this (or read Microsoft's version) for Windows 2000 or XP.

Attempt at your own risk.
Logged
Neon_Knight
In the year 3000
***

Cakes 49
Posts: 3775


Trickster God.


« Reply #12 on: December 05, 2008, 03:41:43 AM »

That's what I actually did.
Logged


"Detailed" is nice, but if it gets in the way of clarity, it ceases being a nice addition and becomes a problem. - TVT
Want to contribute? Read this.
Pages: [1]
  Print  
 
Jump to: