r2modmanPlus icon indicating copy to clipboard operation
r2modmanPlus copied to clipboard

[FEATURE REQUEST] - Start from CLI

Open Kommynct opened this issue 1 year ago • 3 comments

What problem does the feature request solve? I'd like to make it so that my steam games automatically launch with the mods on linux.

Example mock-up (optional) r2modman --startmodded "gamenamehere"

you'd also want a --profile but without it it should go to default.

edit: I now realize there's no reason to start vanilla from the CLI so --startmodded is probably unnecessary

This would make it so that I can set that as a launch option and have it automatically start modded without having to open r2modman every time.

Kommynct avatar Jul 08 '24 21:07 Kommynct

FYI https://github.com/thunderstore-io/thunderstore-cli is intended to take over any cli-related needs in the future & to be used as the backbone for GUI based mod managers as well. As of writing this I'd not recommend relying on it for game launches, so in the meanwhile you can create your own startup script as a workaround (If I remember correctly, the game launch command & arguments being passed to it are shown on the manager somewhere. If not, you can take a look at the process itself post-launch and inspect the launch command)

MythicManiac avatar Jul 11 '24 09:07 MythicManiac

I have no idea what you're saying honestly, is there any way you could give an example in the documentation?

I can't find that info in the mod manager

Kommynct avatar Jul 13 '24 04:07 Kommynct

FYI https://github.com/thunderstore-io/thunderstore-cli is intended to take over any cli-related needs in the future & to be used as the backbone for GUI based mod managers as well. As of writing this I'd not recommend relying on it for game launches, so in the meanwhile you can create your own startup script as a workaround (If I remember correctly, the game launch command & arguments being passed to it are shown on the manager somewhere. If not, you can take a look at the process itself post-launch and inspect the launch command)

This works perfectly, thanks! I used process explorer

Image

Going to 'properties' allows for an easy copy-paste:

Image

Moosdijk avatar Nov 03 '25 18:11 Moosdijk