ZDoom / Raze

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

[Feature] Add Game and File Search Directories from command line #1060

Open fgsfds opened 6 months ago

fgsfds commented 6 months ago

Raze version

1.9.1

Which game are you running with Raze?

Duke Nukem 3D

What Operating System are you using?

Windows 10

If Other OS, please describe

No response

Is your feature request related to a problem? Please describe.

I don't think there's currently a way to add folders to game and file search directories from command line, only from config:

[GameSearch.Directories]
Path=

[FileSearch.Directories]
Path=

-game_dir doesn't seem to do anything

Describe the solution you'd like

Add command line parameters like -game_search_dir PATH_TO_FOLDER and -file_search_dir PATH_TO_FOLDER2 that will have the same result as adding

[GameSearch.Directories]
Path=PATH_TO_FOLDER

[FileSearch.Directories]
Path=PATH_TO_FOLDER2

to the config.

Describe alternatives you've considered

No response

Add any other context or screenshots about the feature request here.

No response