ZDoom / Raze

Build engine port backed by GZDoom tech. Currently supports Duke Nukem 3D, Blood, Shadow Warrior, Redneck Rampage and Powerslave/Exhumed.
691 stars 59 forks source link

[Question] [Duke 3D] Loading HRP from .zip #258

Closed laxdragon closed 3 years ago

laxdragon commented 3 years ago

With eduke3d I can just plop the duke3d_hrp.zip into the autoload dir and it loads the HRP just fine. I've been unable to get Raze to accomplish the same thing.

config:

[GameSearch.Directories]
Path=.
Path=./games
Path=./games/blood
Path=./games/duke3d
Path=./games/redneck
Path=./games/sw

[FileSearch.Directories]
Path=$PROGDIR
Path=$GAMEDIR

In ./games/duke3d I have an autoload subdir, and my .zip for the HRP is there. I've also tried moving the .zip to right next to the .grp and that didn't work either.

coelckers commented 3 years ago

Raze does not have an "autoload" directory. With an engine supporting multiple games that have nothing in common but the rendering engine this would not work because such files would get picked up by all games.

Autoloading works through the INI file. Add a section:

[Duke.Autoload] Path=path_to_hrp\duke3d_hrp.zip

laxdragon commented 3 years ago

Thanks. This wasn't documented or included in the default .ini.