Skip to content

add in extra command line flags for testing, usage#1959

Merged
Exzap merged 4 commits into
cemu-project:mainfrom
Mythra:mythra/add-cli-flags
Jun 23, 2026
Merged

add in extra command line flags for testing, usage#1959
Exzap merged 4 commits into
cemu-project:mainfrom
Mythra:mythra/add-cli-flags

Conversation

@Mythra

@Mythra Mythra commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

fixes #1958

this adds in a series of extra command line flags that should make it easier to run games directly from the command line. these flags include:

  • a way to mount extra host directories (for one off runs where you want to write to a temporary directory)
  • a way to forward OSReport/etc. to stderr.
  • a way to specify the arguments to a game when launching it directly through the command line.

fixes cemu-project#1958

this adds in a series of extra command line flags that should make
it easier to run games directly from the command line. these flags
include:

- a way to mount extra host directories (for one off runs where you want
  to write to a temporary directory)
- a way to forward OSReport/etc. to stderr.
- a way to specify the arguments to a game when launching it directly
  through the command line.
Comment thread src/Cafe/OS/libs/coreinit/coreinit_Misc.cpp Outdated
Comment thread src/Cafe/CafeSystem.cpp
@Mythra Mythra requested a review from Exzap June 21, 2026 18:01
@Exzap

Exzap commented Jun 22, 2026

Copy link
Copy Markdown
Member

One more nitpick, can you rename the option strings:
standalone-title-arguments -> cos-argstr (cos.xml calls it "argstr" so I think this is a bit more consistent if we reuse that term)
extra-mounts -> cos-mounts
A little shorter and I kinda prefer having the cos prefix because it indicates that this applies to the emulated OS and not Cemu itself.

- renamed cli flags (and their associated API functions as requested)
- title arguments can now apply to non standalone titles.
  - are cleared after first RPX is launched.
@Mythra

Mythra commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

That all makes sense to me, I've made all the associated changes in the latest commit.

@Exzap Exzap merged commit a3d6395 into cemu-project:main Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding CLI flags for Better Terminal/Testing Experience

2 participants