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] [SW] Start addons from command line #1061

Closed fgsfds closed 5 months ago

fgsfds commented 6 months ago

Raze version

1.9.1

Which game are you running with Raze?

Shadow Warrior

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.

Currently, there's no way to start Shadow Warrior addons from command line. Unlike Duke 3D, that has -addon 0/1/2/3 command

Describe the solution you'd like

Add -swaddon 0/1/2 that starts base Shadow Warrior, Wanton Destruction and Twin Dragon respectively.

Describe alternatives you've considered

No response

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

No response

coelckers commented 5 months ago

I chose not to because unlike Duke there is no naming convention here. I've seen Wanton.grp, WT.grp, TwinDrag.grp and TD.grp. The -addon switch doesn't do more than -gamegrp with the respective files, so adding it here seems rather pointless.

fgsfds commented 4 months ago

I chose not to because unlike Duke there is no naming convention here. I've seen Wanton.grp, WT.grp, TwinDrag.grp and TD.grp. The -addon switch doesn't do more than -gamegrp with the respective files, so adding it here seems rather pointless.

There's some hardcoded stuff for SW addons, like episode and map names. It won't work if addons are loaded with -file parameter.