LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.48k stars 479 forks source link

Add External Command Line Arguments #730

Closed HAHOOS closed 2 months ago

HAHOOS commented 2 months ago

Adds a new Dictionary variable in MelonLaunchOptions.cs called ExternalArguments which contains a list of names & values (if found) of command line arguments that are not used by MelonLoader. This can be useful for mods and/or plugins to have the option to use command line arguments. I have tested the changes and it doesn't seem to have any issues. It's not something that will be often used by developers, but I think it would be a great little addition.

HerpDerpinstine commented 2 months ago

This needs to be rebased to the alpha-development branch. Otherwise everything looks good and can be merged in.

HAHOOS commented 2 months ago

This needs to be rebased to the alpha-development branch. Otherwise everything looks good and can be merged in.

Done