ebkr / r2modmanPlus

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

[FEATURE REQUEST] - Start from CLI #1398

Open Kommynct opened 1 month ago

Kommynct commented 1 month ago

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.

MythicManiac commented 1 month ago

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)

Kommynct commented 1 month ago

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