clipmove / NotBlood

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

Fresh Supply Style Addon Menu #22

Closed OpenRift412 closed 1 year ago

OpenRift412 commented 1 year ago

Would it be in the scope of this port to have an in-game Addons selection menu, akin to what's in Fresh Supply? This would replace the old eDuke-style launcher, as most of the settings in said launcher can be changed in-game. Since NotBlood doesn't really support loading addons while in the game, loading an addon could restart the game with the proper parameters. Is that doable?

tmyqlfpir commented 1 year ago

Restarting an application with arguments is one of those things that differ per OS, and even per Windows version. Ideally the proper way to handle this is by using an external exe that will handle the in-between calls notblood.exe->restart.exe->notblood.exe -ini dw.ini. This is how programs like thunderbird and some emulators install updates.

Even with a dummy bootloader program, I don't know how much additional work it'd take to get it working across all supported platforms (Win7+/WinXP/Linux/MacOS), and I'm only able to test half of those platforms. This suggestion would be better given to upstream, perhaps then they'll be able to rewrite the assets loading system to support switching addons without a restart.

Sorry but I must decline the suggestion.