How to run modifications?


(WalterBennet) #1

After my previous thread about compiling modifications, I now have another problem: how do I run mods? I made a folder in ~/.etwolf and put the just-compiled libraries in there and ran “et +set fs_game mod” but it didn’t work. For some reason ET copies the stock libraries to my mod folder. I tried using “+set sv_pure 0” like someone suggested, but that didn’t make a difference. Does anyone know how I run my mod?

Thanks alot in advance.


(nUllSkillZ) #2

The way I start my mods:

[ul]
[li]I create a directory at same height as “etmain” with the name of my mod (e.g. mymod).
[/li]The directorys should look like this:
…\WOLFENSTEIN - ENEMY TERRITORY
…\WOLFENSTEIN - ENEMY TERRITORY\etmain
…\WOLFENSTEIN - ENEMY TERRITORY\mymod
[li]I copy the .dll-files to the directory “mymod”
[/li][li]I create a shortcut with the following in the field “target”:
[/li]“C:\Programme\Wolfenstein - Enemy Territory\ET.exe” +set fs_game mymod +set sv_pure 0
[li]I start the mod by doubleclicking the shortcut.
[/li][/ul]


(WalterBennet) #3

That is ± what I am doing, but everytime I end up with the default ET and with the default libraries in my mod folder for some reason :???:


(CooperHawkes) #4

I had this problem too… until 5 minutes ago :wink:

The solution was quite strange: just create an empty “hunkusage.dat” inside your mod dir… at least it worked for me.

I found that out when I started ET with sv_pure 1 and the mod worked fine… so I checked the mod directory and found the hunkusage.dat which wasn’t there when I started ET with sv_pure 0… so I tried it with an empty hunkusage… and voila… :slight_smile:
so I think you should pack this dummy hunkusage.dat also in your pk3 when you plan to release your mod… just to be sure.


(mohaa_rox) #5

well, i did the same, but i copied the .dlls into my mod as i didn’t know about programming. then to make sure my mod is running, i added some custom .pk3s into my mod folder. then i made the shortcut. when i run the shortcut, the custom .pk3 runs, allowing me to see only my custom menu in my mod.


(TFate) #6

If I try to do this it says “cannot find C:/Program” and then totally disregards the rest of the shortcut after the space.

Here’s what I’m trying to do, but for some reason it doesn’t detect the spaces.

C:/Program Files/Wolfenstein - Enemy Territory/ET.exe +set fs_game baconet +set sv_pure 0 +set g_gametype 2

EDIT: solved problem by adding quotes.


(Pie stealing dingo) #7

of course it doesnt, it reads the first thing u type, so in ur case u have to use quotes:
instead of C:/Program Files/Wolfenstein - Enemy Territory/ET.exe +set fs_game baconet +set sv_pure 0 +set g_gametype 2
do “C:/Program Files/Wolfenstein - Enemy Territory/ET.exe” +set fs_game baconet +set sv_pure 0 +set g_gametype 2
that should work, if not use
“C:/Program Files/Wolfenstein - Enemy Territory/ET.exe +set fs_game baconet +set sv_pure 0 +set g_gametype 2”