Forum

Darkplaces not saving/loading cfgs?

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

Darkplaces not saving/loading cfgs?

Postby ceriux » Wed Aug 21, 2013 7:16 am

Hey so iv been having problems with darkplaces not loading or saving cfg files. i set gl_texture mode to nearest, changed my controls in options, and used saveconfig in the console. yet everytime i load up a game/mod its set back to default. iv also noticed that water transparency doesnt work...
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Darkplaces not saving/loading cfgs?

Postby frag.machine » Thu Aug 22, 2013 12:23 am

Some cvars aren't persisted on config.cfg; I'd suggest you to use autoexec.cfg to force them on engine startup.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Re: Darkplaces not saving/loading cfgs?

Postby Nahuel » Thu Aug 22, 2013 4:58 am

ceriux wrote:Hey so iv been having problems with darkplaces not loading or saving cfg files. i set gl_texture mode to nearest, changed my controls in options, and used saveconfig in the console. yet everytime i load up a game/mod its set back to default. iv also noticed that water transparency doesnt work...

check "my documents/mygames/darkplaces" i also have the same problem :/
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: Darkplaces not saving/loading cfgs?

Postby ceriux » Thu Aug 22, 2013 11:59 am

that location didnt exsist but i moved my main installation there. ill have to try the autoexe.cfg (my binds dont stay in the options menu., but do when playing regularly.
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Darkplaces not saving/loading cfgs?

Postby Spike » Thu Aug 22, 2013 12:22 pm

seta varname $varname
should cause the engine to save that cvar by default (and will save it next time around too)
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Darkplaces not saving/loading cfgs?

Postby ceriux » Thu Aug 22, 2013 12:31 pm

Spike wrote:seta varname $varname
should cause the engine to save that cvar by default (and will save it next time around too)


spike id be using fte except i cant find any csqc documentation or a csqc scratch progs for fte that doesnt give me an out of date warning. -.-
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Darkplaces not saving/loading cfgs?

Postby Spike » Thu Aug 22, 2013 1:12 pm

@ceriux:
[offtopic]
in a recent enough build of fte, use this command at the console:
pr_dumpplatform -Tcs
that'll generate a defs.qc-equivelent for csqc with all the builtins and fields and stuff that supported by fte
you can include it before any other csqc-from-scratch code and fix that up to match this generated file.
[/offtopic]
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Darkplaces not saving/loading cfgs?

Postby ceriux » Thu Aug 22, 2013 2:06 pm

thanks ill check into that!
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests