You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

213 lines
9.2 KiB

  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>The Command Line </title>
  8. <meta name="viewport" content="width=device-width">
  9. <meta name="title" content="The Command Line ">
  10. <meta name="generator" content="docfx 2.48.0.0">
  11. <link rel="shortcut icon" href="../favicon.ico">
  12. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  13. <link rel="stylesheet" href="../styles/docfx.css">
  14. <link rel="stylesheet" href="../styles/main.css">
  15. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  16. <meta property="docfx:navrel" content="../toc.html">
  17. <meta property="docfx:tocrel" content="toc.html">
  18. <meta property="docfx:rel" content="../">
  19. <meta property="docfx:newtab" content="true">
  20. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../index.html">
  33. <img id="logo" class="svg" src="../logo.svg" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div class="container body-content">
  54. <div id="search-results">
  55. <div class="search-list"></div>
  56. <div class="sr-items">
  57. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  58. </div>
  59. <ul id="pagination"></ul>
  60. </div>
  61. </div>
  62. <div role="main" class="container body-content hide-when-search">
  63. <div class="sidenav hide-when-search">
  64. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  65. <div class="sidetoggle collapse" id="sidetoggle">
  66. <div id="sidetoc"></div>
  67. </div>
  68. </div>
  69. <div class="article row grid-right">
  70. <div class="col-md-10">
  71. <article class="content wrap" id="_content" data-uid="">
  72. <h1 id="the-command-line">The Command Line</h1>
  73. <p>BSIPA has 2 command lines: the installer, and the game.</p>
  74. <p>Their documentation is below.</p>
  75. <div class="tabGroup" id="tabgroup_8icGlBCLD4">
  76. <ul role="tablist">
  77. <li role="presentation">
  78. <a href="#tabpanel_8icGlBCLD4_installer" role="tab" aria-controls="tabpanel_8icGlBCLD4_installer" data-tab="installer" tabindex="0" aria-selected="true">The Installer (<code>IPA.exe</code>)</a>
  79. </li>
  80. <li role="presentation">
  81. <a href="#tabpanel_8icGlBCLD4_game" role="tab" aria-controls="tabpanel_8icGlBCLD4_game" data-tab="game" tabindex="-1">The Game</a>
  82. </li>
  83. </ul>
  84. <section id="tabpanel_8icGlBCLD4_installer" role="tabpanel" data-tab="installer">
  85. <p>The installer has quite a few options, which are documented inline with the <code>-h</code> or <code>--help</code> flag.</p>
  86. <p>This is what it currently looks like:</p>
  87. <pre><code name="IPA command line" title="the result of IPA.exe -h">usage:
  88. IPA.exe [FLAGS] [ARGUMENTS]
  89. flags:
  90. -h, --help
  91. prints this message
  92. -w, --waitfor=PID
  93. waits for the specified PID to exit
  94. -f, --force
  95. forces the operation to go through
  96. -r, --revert
  97. reverts the IPA installation
  98. -n, --nowait
  99. doesn&#39;t wait for user input after the operation
  100. -s, --start=ARGUMENTS
  101. uses value_ as arguments to start the game after the patch/unpatch
  102. -l, --launch
  103. uses positional parameters as arguments to start the game after patch/unpatch
  104. </code></pre></section>
  105. <section id="tabpanel_8icGlBCLD4_game" role="tabpanel" data-tab="game" aria-hidden="true" hidden="hidden">
  106. <p>The game <em>also</em> gets quite a few command line options, though there isn&#39;t anything as convenient as a help page for them.</p>
  107. <p>Here&#39;s a quick list of what they are and what they do.</p>
  108. <ul>
  109. <li><p><code>--verbose</code></p>
  110. <blockquote><p>Makes a console appear with log information at startup.</p>
  111. </blockquote>
  112. </li>
  113. <li><p><code>--debug</code></p>
  114. <blockquote><p>Enables the loading of debug information in Mono. The debugging information must be in the portable PDB format,
  115. in the same location as the DLL that it&#39;s for.</p>
  116. <p>This option also forces BSIPA to show all debug messages in the console, as well as where they were called.</p>
  117. <p>This overrides the config settings <code>Debug.ShowDebug</code> and <code>Debug.ShowCallSource</code>.</p>
  118. </blockquote>
  119. </li>
  120. <li><p><code>--trace</code></p>
  121. <blockquote><p>Enables trace level messages. By default, they do not ever enter the message queue, and thus cost almost nothing.
  122. When this or the config option is used, they are added and logged with the same rules as Debug messages.</p>
  123. <p>This overrides the config setting <code>Debug.ShowTrace</code>.</p>
  124. </blockquote>
  125. </li>
  126. <li><p><code>--mono-debug</code></p>
  127. <blockquote><p>Enables the built-in Mono soft debugger engine.</p>
  128. <p>By default, it acts as a client, and requires that there be a soft
  129. debugger server running on port 10000 on <code>localhost</code>.</p>
  130. <p>Implies <code>--debug</code>.</p>
  131. </blockquote>
  132. </li>
  133. <li><p><code>--server</code></p>
  134. <blockquote><p>Does nothing on its own.</p>
  135. <p>When paired with <code>--mono-debug</code>, this option makes the Mono soft debugger act in server mode. It begins listening on
  136. port 10000 on any address, and will pause startup (with no window) until a debugger is connected. I recommend using
  137. SDB, but that is a command line debugger and a lot of people don&#39;t care for those.</p>
  138. </blockquote>
  139. </li>
  140. <li><p><code>--no-yeet</code></p>
  141. <blockquote><p>Disables mod yeeting.</p>
  142. <p>By default, whenever BSIPA detects that the game is now running a newer version than previous runs, it will move all
  143. mods to another folder and not load them. (They still get checked for updates though.) When this is enabled, that
  144. behaviour is disabled.</p>
  145. <p>Overrides the config setting <code>YeetMods</code>.</p>
  146. </blockquote>
  147. </li>
  148. <li><p><code>--condense-logs</code></p>
  149. <blockquote><p>Reduces the number of log files BSIPA will output for a given session.</p>
  150. <p>By default, BSIPA will create a subfolder in the <code>Logs</code> folder for each mod sublog, as well as each mod. This disables
  151. that behaviour, and restricts it to only create a global log and mod logs.</p>
  152. <p>Overrides the config setting <code>Debug.CondenseModLogs</code>.</p>
  153. </blockquote>
  154. </li>
  155. <li><p><code>--no-updates</code></p>
  156. <blockquote><p>Disables automatic updating.</p>
  157. <p>By default, BSIPA will check <a href="http://beatmods.com">BeatMods</a> for all of the loaded mods to see if there is a new version
  158. avaliable. If there is, it will be downloaded and installed on the next run. This flag disables that behaviour.</p>
  159. <p>Overrides the config settings <code>Updates.AutoCheckUpdates</code> and <code>Updates.AutoUpdate</code>.</p>
  160. </blockquote>
  161. </li>
  162. </ul>
  163. </section>
  164. </div>
  165. </article>
  166. </div>
  167. <div class="hidden-sm col-md-2" role="complementary">
  168. <div class="sideaffix">
  169. <div class="contribution">
  170. <ul class="nav">
  171. <li>
  172. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/735a533d192f5d46f1329326822c53d06ecc29ce/docs/articles/command-line.md/#L1" class="contribution-link">Improve this Doc</a>
  173. </li>
  174. </ul>
  175. </div>
  176. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  177. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  178. </nav>
  179. </div>
  180. </div>
  181. </div>
  182. </div>
  183. <footer>
  184. <div class="grad-bottom"></div>
  185. <div class="footer">
  186. <div class="container">
  187. <span class="pull-right">
  188. <a href="#top">Back to top</a>
  189. </span>
  190. <span>Generated by <strong>DocFX</strong></span>
  191. </div>
  192. </div>
  193. </footer>
  194. </div>
  195. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  196. <script type="text/javascript" src="../styles/docfx.js"></script>
  197. <script type="text/javascript" src="../styles/main.js"></script>
  198. </body>
  199. </html>