ebkr / r2modmanPlus

A simple and easy to use mod manager for several games using Thunderstore
MIT License
1.2k stars 186 forks source link

[FEATURE REQUEST] - Command Line startup arguments (--game, --profile) #448

Open jahshuwaa opened 3 years ago

jahshuwaa commented 3 years ago

What problem does the feature request solve? Adding command line arguments to any number of custom shortcuts would allow the user to bypass Game selection, Profile selection, or both.

Example mock-up (optional) r2modman.exe --game=Valheim --profile="MP Server modset"

Additional information (optional)

cedws commented 3 years ago

I would also like to request a parameter to override the data directory, so something like --data-dir. This would make the program easier to package manage.

MarSond commented 3 years ago

I would really love this

Combined with a "create shortcut on desktop" to start current game+profile modded

kevindevm commented 2 years ago

yes, this please

paulosincos commented 1 year ago

I came to suggest exactly what this request asks.

Arguments for game, profile and data-dir.

gamrtiem commented 1 year ago

hi hello can yog add this pretty please !!!!! would be nice to launch profiles through steam skipping the gui !!!!!!!!!

21Joakim commented 8 months ago

I would love if there was some basic support for command line options, I want to make it as easy as possible for my friends to import a profile from a code and launch into it automatically. This way I can just give them a single command to run and avoid having to walk them through what to do as that is time consuming and takes away from the time we have to play games.

On-top of the already proposed --game and --profile options I suggest another one for importing a profile, --import, it would probably be best if it auto-detects whether it is from a code or file but if that's not ideal it could be separated into --import-from-code and --import-from-file (mutually exclusive).

Example usage r2modman.exe --game="Lethal Company" --profile=MyAwesomeModpack --import=9a0e567d-5a77-42ee-bb56-91b68af8bcff

Proposed behaviour

  1. It will use the --profile option to determine which profile to import to, if it is not specified it will use the name of the profile from the code
  2. If a profile with that name already exists it can either
    1. Replace it without warning
    2. Not do anything unless a new --overwrite option is also specified. I think this would be preferable for my use-case as I could simply give my friends the following command line r2modman.exe --game="Lethal Company" --import=9a0e567d-5a77-42ee-bb56-91b68af8bcff and it would install it if it doesn't exist otherwise just select the existing one, reducing the friction
  3. After the profile has been imported it will automatically be selected
SirenGlitch commented 6 months ago

Glad I went looking for this, any news on efforts towards it?