Patch:Nowait switch
The nowait switch is an executable switch that has two main effects. The first thing it does is skip the B800 waiting screen shown when the game is first started. The second effect is to automatically enable debug mode which allows quicker access to the cheat codes. Both of these effects make the game easier and quicker to debug when testing.
The -nowait switch is used by running the game with the string \nowait on the command line (E.g. Keen4e.exe \nowait.) or adding -nowait to the batch file for mods. (E.g. ck4patch.exe Keen4e.exe -nowait.) It should be noted that the '\' or '-' is not usually necessary for the switch to work but is best kept since under rare circumstances it may be needed.
Switch text
This is the text required to 'activate' the switch. Making this '$00' will cause the switch to always be active. Text should be all in capitals.
Keen
#Keen 4 :
%patch $33226 [$45E3W]
%patch $33453 "NOWAIT" $00
#Keen 5 :
%patch $33F75 "NOWAIT" $00
#Keen 6 :
%patch $34D13 "NOWAIT" $00
Nowait and debug
The nowait switch sets the debug variable to 1 which is checked for each time a cheat code is entered. If this is changed then nowait will no longer automatically enable debug mode. It can however be used to change other variables instead.
Set variable with -nowait switch
#Set variable with -nowait switch - Keen 4
%patch $3EC6 {$7A16W} [$0001W]
#Set variable with -nowait switch - Keen 5
%patch $3EC0 {$6F14W} [$0001W]
#Set variable with -nowait switch - Keen 6
%patch $3CEF {$754EW} [$0001W]
Nowait doesn't change debug variable
This patch stops the nowait switch from changing the debug variable at all. This disables automatically setting debug mode. This will not affect skipping the B800 screen.
Nowait switch doesn't affect debug mode
#Nowait switch doesn't affect debug mode - Keen 4
%patch $3EB6 $EB $12
#Nowait switch doesn't affect debug mode - Keen 5
%patch $3EB0 $EB $12
#Nowait switch doesn't affect debug mode - Keen 6
%patch $3CDF $EB $12