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.

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