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.

207 lines
8.9 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.44.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>--mono-debug</code></p>
  121. <blockquote><p>Enables the built-in Mono soft debugger engine.</p>
  122. <p>By default, it acts as a client, and requires that there be a soft
  123. debugger server running on port 10000 on <code>localhost</code>.</p>
  124. <p>Implies <code>--debug</code>.</p>
  125. </blockquote>
  126. </li>
  127. <li><p><code>--server</code></p>
  128. <blockquote><p>Does nothing on its own.</p>
  129. <p>When paired with <code>--mono-debug</code>, this option makes the Mono soft debugger act in server mode. It begins listening on
  130. port 10000 on any address, and will pause startup (with no window) until a debugger is connected. I recommend using
  131. SDB, but that is a command line debugger and a lot of people don&#39;t care for those.</p>
  132. </blockquote>
  133. </li>
  134. <li><p><code>--no-yeet</code></p>
  135. <blockquote><p>Disables mod yeeting.</p>
  136. <p>By default, whenever BSIPA detects that the game is now running a newer version than previous runs, it will move all
  137. mods to another folder and not load them. (They still get checked for updates though.) When this is enabled, that
  138. behaviour is disabled.</p>
  139. <p>Overrides the config setting <code>YeetMods</code>.</p>
  140. </blockquote>
  141. </li>
  142. <li><p><code>--condense-logs</code></p>
  143. <blockquote><p>Reduces the number of log files BSIPA will output for a given session.</p>
  144. <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
  145. that behaviour, and restricts it to only create a global log and mod logs.</p>
  146. <p>Overrides the config setting <code>Debug.CondenseModLogs</code>.</p>
  147. </blockquote>
  148. </li>
  149. <li><p><code>--no-updates</code></p>
  150. <blockquote><p>Disables automatic updating.</p>
  151. <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
  152. avaliable. If there is, it will be downloaded and installed on the next run. This flag disables that behaviour.</p>
  153. <p>Overrides the config settings <code>Updates.AutoCheckUpdates</code> and <code>Updates.AutoUpdate</code>.</p>
  154. </blockquote>
  155. </li>
  156. </ul>
  157. </section>
  158. </div>
  159. </article>
  160. </div>
  161. <div class="hidden-sm col-md-2" role="complementary">
  162. <div class="sideaffix">
  163. <div class="contribution">
  164. <ul class="nav">
  165. <li>
  166. <a href="https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded/blob/1368e6dd6f85d0ff7ed0a203ec915fc5d49ca955/docs/articles/command-line.md/#L1" class="contribution-link">Improve this Doc</a>
  167. </li>
  168. </ul>
  169. </div>
  170. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  171. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  172. </nav>
  173. </div>
  174. </div>
  175. </div>
  176. </div>
  177. <footer>
  178. <div class="grad-bottom"></div>
  179. <div class="footer">
  180. <div class="container">
  181. <span class="pull-right">
  182. <a href="#top">Back to top</a>
  183. </span>
  184. <span>Generated by <strong>DocFX</strong></span>
  185. </div>
  186. </div>
  187. </footer>
  188. </div>
  189. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  190. <script type="text/javascript" src="../styles/docfx.js"></script>
  191. <script type="text/javascript" src="../styles/main.js"></script>
  192. </body>
  193. </html>