Back to the Vavoom Forum Archives


Forum

-progs cmd param troubles

Tue, 03 Oct 2006 18:53:15

scen

Hi, i've some trouble to use the command line parameter -progs. The wiki says ( from <!-- m --><a class="postlink" href="http://vavoom-engine.com/wiki/index.php?title=Command_line_arguments#Custom_games_and_development">http://vavoom-engine.com/wiki/index.php ... evelopment</a><!-- m --> ) :
-PROGS specifies directory where to look for progs. Server progs are loaded from file svprogs.dat, client progs - clprogs.dat. Path must include ending slash. -progs <directory> Example: -progs progs/myprogs/
I've modified some Hexen progs (for 3d models usage) and these are the operations i have followed (on Linux): [list:28kqm1a3] [*:28kqm1a3]Vavoom game dir is /usr/share/games/vavoom, i've put clprogs.dat,shared.dat and svprogs.dat in /usr/share/games/vavoom/basev/hexen/progs[/*:m:28kqm1a3] [*:28kqm1a3]Run with the following params (i'v tried several combinations):
1) vavoom -hexen -window -opengl -debug -progs basev/hexen/progs/
2) vavoom -hexen -window -opengl -debug -progs hexen/progs/
3) vavoom -hexen -window -opengl -debug -progs progs/
[/*:m:28kqm1a3][/list:u:28kqm1a3] None of them works fine (the custom progs aren't loeaded). What's wrong? <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> [EDIT] This happens with current SVN version, but also with 1.21.2 on Windows (using similar paths) [/EDIT]
Wed, 04 Oct 2006 13:30:31

Firebrand

Why don't you try something like:
vavoom -game hexen -window -opengl -debug -progs bassev/hexen/progs/
The problem seems to be in the "-game" parameter being missing. Also, you can place your ".dat" (compiled progs) files inside a wad0.wad in any subfolder inside the Vavoom installation you've got and run the game like this:
vavoom -game name -window -opengl -debug
This will specify the engine to load the files from the folder named "name", hope this helps you out <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->.
Wed, 04 Oct 2006 17:49:57

Janis Legzdinsh

Wiki aparently is out of date. This option has been removed in version 1.20. With current version you'll have to set up a custom game directory to do this.
Wed, 04 Oct 2006 19:02:15

scen

[quote="Firebrand":6c4j7rnu]Also, you can place your ".dat" (compiled progs) files inside a wad0.wad in any subfolder inside the Vavoom installation This solution works fine, but i would to test my mods in a quicker way (loading directly the *.dat progs from a specific directory) [quote="Janis Legzdinsh":6c4j7rnu]Wiki aparently is out of date. This option has been removed in version 1.20. Ok, in fact in actual vavoom.txt doc this param is not mentioned. [quote="Janis Legzdinsh":6c4j7rnu] With current version you'll have to set up a custom game directory to do this. Ehm... <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> What are the steps to setup a custom game dir? I've done some attempt, unsuccessfully <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> (i can't find any useful documentation)
Thu, 05 Oct 2006 07:38:45

Crimson Wizard

[quote="scen":276fer6p][quote="Firebrand":276fer6p]Also, you can place your ".dat" (compiled progs) files inside a wad0.wad in any subfolder inside the Vavoom installation This solution works fine, but i would to test my mods in a quicker way (loading directly the *.dat progs from a specific directory) You may call vlumpy.exe from compile.bat to automatically import dat files into wad. Syntax is (if I remember this correctly) - vlumpy.exe <name of vlumpy script> <name of resulting wad file>. For example: vlumpy.exe mymod.ls mymod.wad Vlumpy script should contain simply a list of files that ought to be placed in wad. For example:
$PR_START    (?? afaik this is how marker is made, but I am not sure)
shared.dat
clprogs.dat
svprogs.dat
$PR_END
animdefs.txt
terrain.txt
......
The problem is that you also must have basic lumps there, such as animdefs, terrains, info etc scripts and such. You may possibly export these from original wad0.wad and put in the same folder where your progs are located for compilation. Write down all the filenames necessary to vlumpy script. [quote="scen":276fer6p]Ehm... <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> What are the steps to setup a custom game dir? I've done some attempt, unsuccessfully <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> (i can't find any useful documentation) Here: <!-- m --><a class="postlink" href="http://www.vavoom-engine.com/wiki/index.php?title=Editing#Making_a_mod">http://www.vavoom-engine.com/wiki/index ... king_a_mod</a><!-- m -->.
Thu, 05 Oct 2006 14:27:27

scen

Thanks a lot, it works like a charm! <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) -->

Back to the Vavoom Forum Archives