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.

197 lines
8.7 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.57.2.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 rel="stylesheet" href="../styles/fix.css">
  16. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  17. <meta property="docfx:navrel" content="../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../">
  20. <meta property="docfx:newtab" content="true">
  21. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../index.html">
  34. <img id="logo" class="svg" src="../logo.svg" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="articles.command_line">
  73. <h1 id="the-command-line">The Command Line</h1>
  74. <p>BSIPA has 2 command lines: the installer, and the game.</p>
  75. <p>Their documentation is below.</p>
  76. <div class="tabGroup" id="tabgroup_lvD3mivo-k">
  77. <ul role="tablist">
  78. <li role="presentation">
  79. <a href="#tabpanel_lvD3mivo-k_installer" role="tab" aria-controls="tabpanel_lvD3mivo-k_installer" data-tab="installer" tabindex="0" aria-selected="true">The Installer (<code>IPA.exe</code>)</a>
  80. </li>
  81. <li role="presentation">
  82. <a href="#tabpanel_lvD3mivo-k_game" role="tab" aria-controls="tabpanel_lvD3mivo-k_game" data-tab="game" tabindex="-1">The Game</a>
  83. </li>
  84. </ul>
  85. <section id="tabpanel_lvD3mivo-k_installer" role="tabpanel" data-tab="installer">
  86. <p>The installer has quite a few options, which are documented inline with the <code>-h</code> or <code>--help</code> flag.</p>
  87. <p>This is what it currently looks like:</p>
  88. <!-- Can not find reference _ipa_command_line.txt -->
  89. </section>
  90. <section id="tabpanel_lvD3mivo-k_game" role="tabpanel" data-tab="game" aria-hidden="true" hidden="hidden">
  91. <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>
  92. <p>Here&#39;s a quick list of what they are and what they do.</p>
  93. <ul>
  94. <li><p><code>--verbose</code></p>
  95. <blockquote><p>Makes a console appear with log information at startup.</p>
  96. </blockquote>
  97. </li>
  98. <li><p><code>--debug</code></p>
  99. <blockquote><p>Enables the loading of debug information in Mono. The debugging information must be in the portable PDB format,
  100. in the same location as the DLL that it&#39;s for.</p>
  101. <p>This option also forces BSIPA to show all debug messages in the console, as well as where they were called.</p>
  102. <p>This overrides the config settings <code>Debug.ShowDebug</code> and <code>Debug.ShowCallSource</code>.</p>
  103. </blockquote>
  104. </li>
  105. <li><p><code>--trace</code></p>
  106. <blockquote><p>Enables trace level messages. By default, they do not ever enter the message queue, and thus cost almost nothing.
  107. When this or the config option is used, they are added and logged with the same rules as Debug messages.</p>
  108. <p>This overrides the config setting <code>Debug.ShowTrace</code>.</p>
  109. </blockquote>
  110. </li>
  111. <li><p><code>--mono-debug</code></p>
  112. <blockquote><p>Enables the built-in Mono soft debugger engine.</p>
  113. <p>By default, it acts as a client, and requires that there be a soft
  114. debugger server running on port 10000 on <code>localhost</code>.</p>
  115. <p>Implies <code>--debug</code>.</p>
  116. </blockquote>
  117. </li>
  118. <li><p><code>--server</code></p>
  119. <blockquote><p>Does nothing on its own.</p>
  120. <p>When paired with <code>--mono-debug</code>, this option makes the Mono soft debugger act in server mode. It begins listening on
  121. port 10000 on any address, and will pause startup (with no window) until a debugger is connected. I recommend using
  122. SDB, but that is a command line debugger and a lot of people don&#39;t care for those.</p>
  123. </blockquote>
  124. </li>
  125. <li><p><code>--no-yeet</code></p>
  126. <blockquote><p>Disables mod yeeting.</p>
  127. <p>By default, whenever BSIPA detects that the game is now running a newer version than previous runs, it will move all
  128. mods to another folder and not load them. (They still get checked for updates though.) When this is enabled, that
  129. behaviour is disabled.</p>
  130. <p>Overrides the config setting <code>YeetMods</code>.</p>
  131. </blockquote>
  132. </li>
  133. <li><p><code>--condense-logs</code></p>
  134. <blockquote><p>Reduces the number of log files BSIPA will output for a given session.</p>
  135. <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
  136. that behaviour, and restricts it to only create a global log and mod logs.</p>
  137. <p>Overrides the config setting <code>Debug.CondenseModLogs</code>.</p>
  138. </blockquote>
  139. </li>
  140. <li><p><code>--plugin-logs</code></p>
  141. <blockquote><p>Causes each plugins&#39; log messages to be written to files in their own folder for ease of debugging.</p>
  142. <p>This was the default through 4.1.6, however is now disabled by default.</p>
  143. <p>Overrides the config setting <code>Debug.CreateModLogs</code>.</p>
  144. </blockquote>
  145. </li>
  146. </ul>
  147. </section>
  148. </div>
  149. </article>
  150. </div>
  151. <div class="hidden-sm col-md-2" role="complementary">
  152. <div class="sideaffix">
  153. <div class="contribution">
  154. <ul class="nav">
  155. <li>
  156. <a href="https://github.com/bsmg/BeatSaber-IPA-Reloaded/blob/8b17eca4f311b7f39e3937f8b8ad101fdc989ed1/docs/articles/command-line.md/#L1" class="contribution-link">Improve this Doc</a>
  157. </li>
  158. </ul>
  159. </div>
  160. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  161. <h5>In This Article</h5>
  162. <div></div>
  163. </nav>
  164. </div>
  165. </div>
  166. </div>
  167. </div>
  168. <footer>
  169. <div class="grad-bottom"></div>
  170. <div class="footer">
  171. <div class="container">
  172. <span class="pull-right">
  173. <a href="#top">Back to top</a>
  174. </span>
  175. <span>Generated by <strong>DocFX</strong></span>
  176. </div>
  177. </div>
  178. </footer>
  179. </div>
  180. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  181. <script type="text/javascript" src="../styles/docfx.js"></script>
  182. <script type="text/javascript" src="../styles/main.js"></script>
  183. </body>
  184. </html>