Difference between revisions of "Command Line Arguments"

From OpenKore Wiki
Jump to navigation Jump to search
m (Reverted edits by Ifasite (Talk) to last revision by EternalHarvest)
 
(13 intermediate revisions by 5 users not shown)
Line 3: Line 3:
  
 
<noinclude>
 
<noinclude>
=== --interface ===
+
----
[[:Category:Interfaces|Interface]] to load on start.
+
=== General path options: ===
 +
==== --control=PATHS ====
 +
Directories to look in for [[:Category:control|control]] files (delimited with <code>:</code>).
  
=== --lockdown ===
+
==== --tables=PATHS ====
Disable potentially insecure features (including, but not limited to [[eval]] and [[plugin]] commands).
+
Directories to look in for [[:Category:tables|tables]].
  
=== --no-connect ===
+
==== --plugins=PATHS ====
Initialize, but do not [[connect]].
+
Directories to load [[:Category:Plugins|plugins]] from.
  
=== --control ===
+
==== --fields=PATHS ====
Directories to look in for [[control]] files (delimited with <code>:</code>).
+
Directory to look in for [[:Category:fields|fields]].
  
=== --tables ===
+
==== --logs=PATHS ====
Directories to look in for [[tables]].
+
Directory to save logs in.
 
 
=== --plugins ===
 
Directories to load [[plugins]] from.
 
 
 
=== --fields ===
 
Directory to look in for [[fields]].
 
  
=== --logs ===
+
==== --maps=PATHS ====
Directory to save logs in.
+
Directory to file with map image, autogenerated if needed.
  
=== --config ===
+
----
File to use instead of [[config.txt]].
+
=== Control files lookup options: ===
 +
==== --config=FILENAME ====
 +
File to use instead of [[:Category:config.txt|config.txt]].
  
=== --mon_control ===
+
==== --mon_control=FILENAME ====
 
File to use instead of [[mon_control.txt]].
 
File to use instead of [[mon_control.txt]].
  
=== --items_control ===
+
==== --items_control=FILENAME ====
 
File to use instead of [[items_control.txt]].
 
File to use instead of [[items_control.txt]].
  
=== --shop ===
+
==== --shop=FILENAME ====
 
File to use instead of [[shop.txt]].
 
File to use instead of [[shop.txt]].
  
=== --sys ===
+
==== --buyer_shop=FILENAME ====
 +
File to use instead of [[buyer_shop.txt]].
 +
 
 +
==== --chat-log=FILENAME ====
 +
File to use instead of chat.txt
 +
 
 +
==== --console-log=FILENAME ====
 +
File to use instead of console.txt
 +
 
 +
==== --storage-log=FILENAME ====
 +
File to use instead of storage.txt
 +
 
 +
==== --sys=FILENAME ====
 
File to use instead of [[sys.txt]].
 
File to use instead of [[sys.txt]].
  
=== --char-log ===
 
  
=== --storage-log ===
+
=== Other options: ===
 +
==== --interface ====
 +
[[:Category:Interfaces|Interface]] to load on start.
 +
 
 +
==== --lockdown ====
 +
Disable potentially insecure features (including, but not limited to [[eval]] and [[plugin]] commands, [[eventMacro#Perl_Subroutines]] ).
 +
 
 +
==== --ai <value> ====
 +
Starting AI mode (on, manual, off) (default: on)
 +
 
 +
==== --command=COMMAND ====
 +
Initial command to place on the AI queue
 +
 
 +
==== --version ====
 +
Displays the program version.
 +
 
 +
=== Developer options: ===
 +
==== --no-connect ====
 +
Initialize, but do not [[connect]].
 +
 
 +
 
  
 
[[Category:Reference]]
 
[[Category:Reference]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:10, 29 April 2021

--help

Display up to date information about command line arguments and exit.



General path options:

--control=PATHS

Directories to look in for control files (delimited with :).

--tables=PATHS

Directories to look in for tables.

--plugins=PATHS

Directories to load plugins from.

--fields=PATHS

Directory to look in for fields.

--logs=PATHS

Directory to save logs in.

--maps=PATHS

Directory to file with map image, autogenerated if needed.


Control files lookup options:

--config=FILENAME

File to use instead of config.txt.

--mon_control=FILENAME

File to use instead of mon_control.txt.

--items_control=FILENAME

File to use instead of items_control.txt.

--shop=FILENAME

File to use instead of shop.txt.

--buyer_shop=FILENAME

File to use instead of buyer_shop.txt.

--chat-log=FILENAME

File to use instead of chat.txt

--console-log=FILENAME

File to use instead of console.txt

--storage-log=FILENAME

File to use instead of storage.txt

--sys=FILENAME

File to use instead of sys.txt.


Other options:

--interface

Interface to load on start.

--lockdown

Disable potentially insecure features (including, but not limited to eval and plugin commands, eventMacro#Perl_Subroutines ).

--ai <value>

Starting AI mode (on, manual, off) (default: on)

--command=COMMAND

Initial command to place on the AI queue

--version

Displays the program version.

Developer options:

--no-connect

Initialize, but do not connect.