Page 1 of 1
DP vs. user folder (Windows)
Posted: Sun Aug 17, 2014 10:13 pm
by frag.machine
I'd like to know if there's a way to configure Darkplaces to NOT USE the C:\Users\<username>\Documents\My Games\darkplaces folder, thus restoring the original behavior of reading and saving FRIK_FILE files under the <mod> folder instead. I know that this may make sense when handling data that theoretically is user-related, but in the case of FRIK_FILE this is not always the case.
Re: DP vs. user folder (Windows)
Posted: Mon Aug 18, 2014 1:32 am
by Johnny Law
Try using -nohome on the command line.
Re: DP vs. user folder (Windows)
Posted: Mon Aug 18, 2014 2:42 am
by Baker
frag.machine, please share more info about the "why" ... I, for one, am curious.
Re: DP vs. user folder (Windows)
Posted: Mon Aug 18, 2014 12:14 pm
by frag.machine
@Johnny Law: thanks for the tip, I'll check it later.
@Baker: I am working in a mod that builds tile-based map sectors reading info from external files, allowing for a persistent world that can be changed during gameplay (portions of the world can be destroyed, closed or opened, monsters and npcs added or removed, etc). Thus the sector data files can't be restricted to a player only (specially in the case of coop).
Re: DP vs. user folder (Windows)
Posted: Mon Aug 18, 2014 7:40 pm
by Spike
> Thus the sector data files can't be restricted to a player only (specially in the case of coop).
home dir or quake dir, either way you'd need to copy it manually, so I don't see what difference it makes.
assuming you're using csqc, you're going to have to use some sort of download mechanism. stuffcmd it line-by-line from the server or whatever.
Re: DP vs. user folder (Windows)
Posted: Mon Aug 18, 2014 10:48 pm
by frag.machine
@Spike: sorry, I should've mentioned that the sector files are procedurally generated (minecraft-style), so manual copies aren't an option.
Re: DP vs. user folder (Windows)
Posted: Tue Aug 19, 2014 4:23 pm
by mankrip
Johnny Law wrote:-nohome
-nohome -nojoy