How do I run command-line arguments?
You can run these arguments to make the simulator behave differently, by running Kernel Simulator like below examples:
choco install ks
"Kernel Simulator.exe" createConf
"Kernel Simulator.exe" testMod ModToBeTested.mUseful arguments
createConf: Used in the KS Config Tool. It only creates a log then exits.
testMod: Checks the integrity of the mod by compiling then exits.
testInteractive: Opens the test interactive shell.
debug: Alternative way to turn on kernel debugging.
args: Makes the kernel prompt the user to write arguments on boot.
Arguments for CI environments
These arguments may only run on CI environments. It may work locally, but it's recommended not to use them, unless you're on the CI environment.
CI-TestPrint: Tests printing the string.
CI-TestWdbg: Writes debug log to the console when the kernel has successfully booted then exits.
CI-TestConfig: Writes content of generated config file then exits.
CI-TestInitialize: Measures how much time taken to successfully boot the kernel in milliseconds.
CI-TestEval: Tests string evaluation, then exits.
CI-TestStrTrunc: Tests string truncation, then exits.
CI-TestSSEs: Checks the processor if SSE, SSE2, and SSE3 instructions are supported.
CI-TestMOTD: Reads MOTD, writes it to the console, then exits.
CI-TestMAL: Reads MAL, writs it to the console, then exits.
CI-TestPlace: Parses the placeholders, then exits.
CI-TestCalc: Tests the DataTable.Compute function on three expressions, then exits.
Last updated