MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / PrintCommandLineHelp

Method PrintCommandLineHelp

pcsx2-qt/QtHost.cpp:2134–2170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2132}
2133
2134void QtHost::PrintCommandLineHelp(const std::string_view progname)
2135{
2136 PrintCommandLineVersion();
2137 fmt::print(stderr, "Usage: {} [parameters] [--] [boot filename]\n", progname);
2138 std::fprintf(stderr, "\n");
2139 std::fprintf(stderr, " -help: Displays this information and exits.\n");
2140 std::fprintf(stderr, " -version: Displays version information and exits.\n");
2141 std::fprintf(stderr, " -batch: Enables batch mode (exits after shutting down).\n");
2142 std::fprintf(stderr, " -nogui: Hides main window while running (implies batch mode).\n");
2143 std::fprintf(stderr, " -portable: Force enable portable mode to store data in local PCSX2 path instead of the default configuration path. Overrides '-datapath'.\n");
2144 std::fprintf(stderr, " -datapath <path>: Specify the directory to be used for all application data.\n");
2145 std::fprintf(stderr, " -elf <file>: Overrides the boot ELF with the specified filename.\n");
2146 std::fprintf(stderr, " -gameargs <string>: passes the specified quoted space-delimited string of launch arguments.\n");
2147 std::fprintf(stderr, " -disc <path>: Uses the specified host DVD drive as a source.\n");
2148 std::fprintf(stderr, " -logfile <path>: Writes the application log to path instead of emulog.txt.\n");
2149 std::fprintf(stderr, " -bios: Starts the BIOS (System Menu/OSDSYS).\n");
2150 std::fprintf(stderr, " -fastboot: Force fast boot for provided filename.\n");
2151 std::fprintf(stderr, " -slowboot: Force slow boot for provided filename.\n");
2152 std::fprintf(stderr, " -state <index>: Loads specified save state by index.\n");
2153 std::fprintf(stderr, " -statefile <filename>: Loads state from the specified filename.\n");
2154 std::fprintf(stderr, " -fullscreen: Enters fullscreen mode immediately after starting.\n");
2155 std::fprintf(stderr, " -nofullscreen: Prevents fullscreen mode from triggering if enabled.\n");
2156 std::fprintf(stderr, " -bigpicture: Forces PCSX2 to use the Big Picture mode (useful for controller-only and couch play).\n");
2157 std::fprintf(stderr, " -earlyconsolelog: Forces logging of early console messages to console.\n");
2158 std::fprintf(stderr, " -testconfig: Initializes configuration and checks version, then exits.\n");
2159 std::fprintf(stderr, " -setupwizard: Forces initial setup wizard to run.\n");
2160 std::fprintf(stderr, " -debugger: Open debugger and break on entry point.\n");
2161 std::fprintf(stderr, " -turbo: Enters turbo (fast forward) mode after starting.\n");
2162 std::fprintf(stderr, " -unlimited: Enters unlimited (fast forward) mode after starting.\n");
2163#ifdef ENABLE_RAINTEGRATION
2164 std::fprintf(stderr, " -raintegration: Use RAIntegration instead of built-in achievement support.\n");
2165#endif
2166 std::fprintf(stderr, " --: Signals that no more arguments will follow and the remaining\n"
2167 " parameters make up the filename. Use when the filename contains\n"
2168 " spaces or starts with a dash.\n");
2169 std::fprintf(stderr, "\n");
2170}
2171
2172std::shared_ptr<VMBootParameters>& QtHost::AutoBoot(std::shared_ptr<VMBootParameters>& autoboot)
2173{

Callers

nothing calls this directly

Calls 3

PrintCommandLineVersionFunction · 0.85
fprintfFunction · 0.85
printFunction · 0.50

Tested by

no test coverage detected