[W:ET] autoexec.cfg not working on Et 2.6?


(Theimon) #1

I got the following situation:

I have Wolfenstein: Enemy Territory version 2.55 installed in C:\Program files\etc. And I installed W:ET version 2.6 on E:\Wolfenstein. On v2.6 I still get the “Valid cdkey not reaching Guidauth server”-error but I guess that will never be fixed. Very annoying, but I got a bigger problem. I copied my autoexec.cfg from v2.55 to my v2.6 folder. When I start v2.6 however, it won’t use the config file but enters game state at the default settings. On v2.55 the autoexec.cfg works fine, so maybe someone knows how to work around this?

TIA


(Ragnar_40k) #2

For me it works. But you can always do a:

/exex autoexec.cfg
/vid_restart

in console to run it manually.


(Theimon) #3

Is there a way to automize this as well? :slight_smile:

I was glad I finally got it working under v2.55 and now I got the same sh*t under v2.6 :expressionless:


(SCDS_reyalP) #4

Autoexec works fine for me in 2.6. How are you start ET ? through a server browser, or just running the game ?

Do your settings not get set on all servers, or only specific mods ?


(squadjot) #5

Theimon i beleive its being executed…

try for an example to test like add this line

seta IfThisCustomCvarIsListed "autoexec has been executed"

now…after u have fired up ET …pull down console…type “I” ( as in icebear :stuck_out_tongue: )+ press tab, and see if your cvar is listed… if its there…well then the autoexec.cfg has set this var.

try this first… and i beleive it will be listed…

edit: during testing this… i tried to make a blunt debug test, i added :

echo “^1autoexec was executed”

…but it was not to be seen in console… maybe thers moer rational reasons to that…so i tried something that would leave “proof”, that this command had been executed

writeconfig “autoexec_was_executed.cfg”

but… id did infact not gimme any output… it didnt write me any file… tried with condump also…

so…started doubting it might be heavier commands that would get skipped… but then i tried with a noobish “wait 200” …and that infact worked ^^ …now the funny part… i wanted to see how much i could cut it down.and it seems that one single “wait” command does the trick…

so… try add this in first line…before anything

wait

^^ cheers


(Theimon) #6

I start ET straight from the start menu, created by installation. Not through All-seeing-eye Settings aren’t set at all, mods or servers aren’t relevant in this case.


(Theimon) #7

squadjot

I tried the “wait” command, it seems to be partially working (how strange is that :banghead: )

I’m using a small autoexec.cfg, for convenience, here it is:


wait

seta name "^1Theimon.^8nl" seems to be working

seta cl_allowdownload "0" not working, according to options menu

seta r_mode "-1" not working
seta r_customwidth  "1024" not working
seta r_customheight "768" not working
seta r_gamma 2.00 working

seta cg_crosshairsize "24" working
seta cg_crosshairpulse "0" working
seta cg_crosshaircolor "White" working
seta cg_crosshairAlpha "white" working
seta cg_drawfps "1" working

seta cl_punkbuster "1"  just something to workaround the Valid cdkey-thing, ain't working

So it’s very selective, the r_gamma entry I added just recently and by that I could see the config file does something. But not all is working.
When you start the game you get a small window showing you detals about pk3 files and so on. It gave me a warning but it went by to fast. so I tried your manual method and it gave me this:


WARNING: refusing to create relative path E:\Wolfenstein - Enemy Territory 2.6\profiles\Theimon.nl\etconfig.cfg
couldn't write profiles\Theimon.nl\etconfig.cfg

If you have anymore suggestions, I’d like to hear 'm. Thanks for your help so far.


(squadjot) #8

about the “WARNING: refusing to create relative path E:\Wolfenstein - Enemy Territory 2.6\profiles\Theimon.nl\etconfig.cfg” …isnt your etconfig just “read-only”? could sound like it?

for the other stuff… ive found out yet another REALLY akward thing… or…i was just not aware :smiley: …lol but… oke i think i cracked it…

try removing all the "'s

so instead

wait 

seta name ^1Theimon.^8nl

seta cl_allowdownload 0

seta r_mode -1 
seta r_customwidth 1024
seta r_customheight 768
seta r_gamma 2.01

seta cg_crosshairsize 24
seta cg_crosshairpulse 0
seta cg_crosshaircolor White
seta cg_crosshairAlpha white
seta cg_drawfps 1
seta cl_punkbuster 1

^^ cheers


(Theimon) #9

I’ve removed all the “”, and now it seems to do the trick. In my v2.55 autoexec I had to keep the “”, otherwise settings wouldn’t get through.
I was looking for a way to set my conection type as well through autoexec, but I couldn’t find the right command for that one. I have LAN/Cable but I fear ET is going to reset it to ISDN all the time.
But the config IS WORKING!!

So :drink: for thinking along! :slight_smile:


(squadjot) #10

well for the net settings…its a combination of cvars, that make your menu show “LAN/CABLE”…or “ISDN”… but…dont bother, my nettings make the menu show…nothing… like…nothing is selected…but it is. (u’ll get used to setup/check ur stuff thru console…and not thru menu, infact…most/all things u can do in menu…is things u can do in console, you probably already know that…but if i was you i would check up on some cvar explanations…

http://www.rtcw.jolt.co.uk/content/enemy_territory/cmdcvarlist/index.html

regarding the net cvars, i use different setups…but i hardly feel difference… regarding netsettnigs i would recommend something like:

seta cl_maxpackets 100 //(100 is max, cable default is 30 i beleive, u can try with 40/50/60/80 also… any number infact, but theres some stories…too long for this post anyways :P)
seta rate 25000 //(max,- 15000 is also perfectly playable)
seta snaps 40 //(most servers run sv_fps 20, so theoretically 20 should be enough…stories about this one also… search in forum)

seta cl_packetdup 1 //wont hurt
seta b_antilag 1 //etpro only


(Theimon) #11

K thanks for the tips, I’ll go play with that for a while. I’ve been playing the game for some time now, but it never hurts to “optimize” some settings :wink:

Thanks for your help :slight_smile:


(squadjot) #12

your very welcome …

btw …i posted : r_gamma 2.01

… u better set it 2.0 cause…some servers kicks u if u got above 2.