Command Line Switches
The NPatch adds and enables a few new command lines switches, though these are for diagnostic purposes and not for game enhancement or cheating.
-log
The degugging switch. Westwood initially removed it before releasing the game, but it still provides interesting information. However, when -log is running, the game plays noticeably slower. After exiting, a debug.txt file will be dumped into your \RA2\ directory.
-outmissingstrs
Useful for modders hunting for missing CSF entries. When switched on, and upon exiting the game, a new file titled "misstrout.txt" will be dumped into the \RA2\ directory and it will display missing strings, which can appear multiple times.
Using The Command Switches
This can be done in a few ways...
- Open your \RA2\ directory and type ra2md -switchname in the Address bar.
- Right-click shortcut > Properties > add -switchname to the Target Box > OK.
- Open ra2md.lcf in a text editor, add -switchname to the RUN line and save.