clipmove / NotBlood

Gameplay Mod For NBlood
https://github.com/clipmove/NotBlood/releases
62 stars 3 forks source link

Command-line option for loading extra .rff files. #78

Closed lsri2 closed 10 months ago

lsri2 commented 10 months ago

Hi. Would you be able to add a command-line option for loading extra .rff files? For instance, there is the -rff and -snd, but those seem to replace the base blood.rff and sounds.rff instead of being in addition to. There does appear to be a mechanism that already autoloads .grp, .zip, etc. in the game directory, so I guess it could be made to also autoload .rff files. But, since that doesn't appear to be recursive, I think a specific command might be best for now. For example:

notblood -game_dir "ira" -ini ira.ini -extrarff voxfs.rff -extrarff sndfs.rff

The reason for it is that some mods will only include the minimal extra / changed files as .rff files and so the -rff and -snd don't work unless you repackage the files with the blood.rff and sounds.rff files.

tmyqlfpir commented 10 months ago

The resource system of NBlood only supports a single RFF file, same goes for the sound file itself. Supporting multiple RFF files appears to require a refactor of the resource system, and is not within scope of NotBlood.

Regardless, this should be requested upstream as it would make modding easier in general.