Need HELP with Configuration and Parameter files

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
Kappes Buur
 
 
Posts: 4007
Joined: Thu Jul 17, 2003 12:19 am
Location: British Columbia, Canada

Need HELP with Configuration and Parameter files

Post by Kappes Buur »

.
Maybe someone can clarify this:

I am using UNLEASHED to load pwads etc.
Two of the options are to load 'Configuration Files' and 'Parameter Files'.
I do know, that configuration files are loaded with i.e.:

-exec someconfig.cfg
or
+exec someconfig.cfg

but, UNLEASHED enters on the command line

-config someconfig.cfg
or as an ini file
-config someconfig.ini

which screws up all my settings.

And, UNLEASHED can load 'Parameter Files', which I have never heard of.

I posed that question to Martin, who programmed UNLEASHED and this was his response:
Should I use +EXEC instead of -CONFIG? Maybe its causing problems because
you are using .cfg files instead of .ini files, which are now used.

The Parameter File can be used to list parameters passed to ZDoom to provide
settings for a set of WADs or settings for the game in general. For
example, the contents of a File called 'alientc.txt' might be:

-FILE D:\Games\ZDoom\WADs\AlienTC\ALITCSF.WAD
D:\Games\ZDoom\WADs\AlienTC\ALITCSND.WAD
D:\Games\ZDoom\WADs\AlienTC\ALITCWAD.WAD
D:\Games\ZDoom\WADs\AlienTC\atczd123.wad -WARP 2 1 -SKILL 4

ZDoom will say:

Found response file: D:\Games\ZDoom\WADs\AlienTC\alientc.txt!

on the console. With Unleashed, you can use the .unl files to do the same
thing i.e. save settings for a WAD or other settings for ZDoom.
How does this all work correctly?
.
Last edited by Kappes Buur on Fri Oct 24, 2003 10:15 pm, edited 1 time in total.
User avatar
randi
Site Admin
Posts: 7728
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

A config file is the .ini file where all your settings are stored. A parameter file is a file whose contents are appended to the ZDoom command line. And an exec file is a list of console commands, which it sounds like Unleashed doesn't support.
User avatar
Kappes Buur
 
 
Posts: 4007
Joined: Thu Jul 17, 2003 12:19 am
Location: British Columbia, Canada

Post by Kappes Buur »

.
Thanks Randy.

But I still do not understand, exactly, how this works.
What is the proper command-line setting for either ini file? That is, for the configuration or the parameter file.

Does anyone have a sample for the way these are used?

Whenever I load an ini_file -config bind_q.ini with just the following as contents
bind q = toggle vid_fps
ZDoom overwrites it with the same stuff it puts into zdoom-username.ini, and bind q doesn't do anything.
.

Return to “General”