I'm messing around with launch arguments and .def files.
I successfully redirected the music files and .grp's to their own folders using .def files and loading them with the '-h [file.def]' command-line argument trough an .xml.
It works for both Duke it out in D.C. and Life's a Beach.
However Nuclear Winter requires 'SelectedGRP = "nwinter.grp"' set in the eduke32.cfg.
This could be solved with loading an alternative .cfg with a command-line argument, but i could not get it to work correctly.
A few struggles:
- It seems the -cfg argument isn't recognized by eDuke.
- Only one command-line argument is accepted at once.
- Loading an additional folder -j [folder], with an alternative .cfg or .def doesn't override the ones in the game-root.
Any chance of getting this working, or could you shed some light on what would be the best way to launch mods?
Also, you mentioned setting the working-dir in the .xml, could you explain on what commands i could use?