Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rpcs3: Add --silent and --no-precompile flags for headless PKG installation#18713

Draft
Vishrut2403 wants to merge 1 commit into
RPCS3:masterfrom
Vishrut2403:feat/cli-silent-pkg-install
Draft

rpcs3: Add --silent and --no-precompile flags for headless PKG installation#18713
Vishrut2403 wants to merge 1 commit into
RPCS3:masterfrom
Vishrut2403:feat/cli-silent-pkg-install

Conversation

@Vishrut2403
Copy link
Copy Markdown
Contributor

@Vishrut2403 Vishrut2403 commented May 11, 2026

Closes #18616

Problem

The existing --installpkg flag opens the PKG installation dialog and requires a manual click to proceed, making scripted installs impossible.

Changes

--silent bypasses the dialog and installs with the same defaults as the dialog. Precompile caches enabled, no shortcuts created.

--no-precompile can be combined with it to skip cache precompilation after install.

Also added null checks for m_game_list_frame in HandlePackageInstallation since it's null in CLI mode and would crash after installation otherwise.

Testing

Tested with a PS3 update PKG (God of War III, BCUS98111):

·! 0:00:00.508651 SYS: Option passed via command line: installpkg ...
·! 0:00:00.511993 GUI: About to install packages:
·S 0:00:00.588351 GUI: Successfully installed ... (title_id=BCUS98111, title=God of War® III, version=01.03).

No dialog appeared. Normal --installpkg behavior is unchanged.

@arshkumarsingh
Copy link
Copy Markdown
Contributor

--no-precompile help text should note it only works with --silent, like --fullscreen does with --no-gui

@Vishrut2403
Copy link
Copy Markdown
Contributor Author

--no-precompile help text should note it only works with --silent, like --fullscreen does with --no-gui

I'll look into making --no-precompile work independently of --silent. Maybe the maintainers can weigh in on how they would want this to work.

@Megamouse Megamouse added the CLI Anything that involves starting RPCS3 through the command line interface label May 11, 2026
@Vishrut2403 Vishrut2403 marked this pull request as draft May 11, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI Anything that involves starting RPCS3 through the command line interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] Headless/silent PKG installation via CLI (--installpkg --silent, --no-precompile, --no-shortcuts...)

3 participants