All Gun, Ammo, Keys
Platform: PC

Press "ILM" in game at the same time.
You will receive full ammo, all guns, and keys, but you will lose your score.
Codes
Platform: PC

To load type:
Wolf3d - goobers
while playing press [Alt]+[Shift]+[Backspace]
now the following work:
Tab+key
G Gode Mode On/Off
W Change level
S Slow mode On/Off
or
Wolf3d - Next
while playing press [Alt]+[Ctrl]+[Enter]
Tab+key
G Gode Mode On/Off
W Change level
N enables you to walk through walls.
Codes and CL Parameters
Platform: PC

Wolfenstein 3D cheat codes:

Known Cheat
------------------
Pressing I L M simultaneously will give you both keys and 100% health. It will also take your score to zero. This cheat will work in both the shareware and the registered version.

Unsupported Cheats
--------------------------
The debug mode is activated with a different command line parameter depending on what version of the game you have.
v1.0 use -next Once in the game, press CTRL + TAB + ENTER to activate.
v1.1+ use -goobers Once in the game, press LSHIFT + ALT + BACKSPACE to activate.
Spear of Destiny use -debugmode Once in the game, press LSHIFT + ALT + BACKSPACE to activate.
Once activated, these are the keys you can use:
TAB + Q - Quit
TAB + W - Warp to level xx
TAB + E - Exit to next level
TAB + T - Debug info in memory
TAB + I - Free items
TAB + O - Map of level (only works in beta versions of Wolf3D)
TAB + S - Slow motion
TAB + F - Position info
TAB + G - God mode
TAB + H - Hurt yourself
TAB + X - Extra stuff (???)
TAB + C - Statistics
TAB + V - Add extra VBLs (Vertical Blanking Signal -- this will do nothing for most users except maybe increase or decrease the game speed.)
TAB + B - Change border color
TAB + M - Memory map
TAB + N - No clipping (walk through walls) - (This works only in Wolf3D v1.0 shareware. This mode can cause really bad things to happen to the game, including corrupting itself, which is why it was taken out.)

Jukebox
-----------
Hold down M when the game is starting to access a jukebox. It only brings up a few songs at a time; if you keep on doing this, it will randomly pick a separate list of songs for you to pick from.

Spear of Destiny Only
---------------------------
To get a Gang Screen, choose the window resize option, change the window size, press ENTER to confirm, then immediately hold down I + D together. If you do nothing in the game for 30 seconds, BJ will either cross his eyes or stick his tongue out at you. It happens quickly, so you have to watch carefully. You can repeat this as many times as you like.
God mode is accessible in Spear without the use of the -debugmode command line parameter. Simply hold TAB + G + F10 down together to toggle it.

Debug Command Line Parameters
-----------------------------------------
HIDDENCARD - Disable checking for video card. 
NOJOYS - Disable checking for joysticks. 
NOMOUSE - Disable checking for mouse. 
NOMAIN - Disable checking for main memory. 
NOXMS - Disable checking for XMS memory. 
NOAL - Disable checking for Adlib. 
NOSB - Disable checking for Sound Blaster. 
NOPRO - Disable checking for Sound Blaster Pro. 
NOSS - Disable checking for Sound Source. 
SST - Disable checking for Tandy Sound Source. 
SS1 - Disable checking for Sound Source on LPT1. 
SS2 - Disable checking for Sound Source on LPT2. 
SS3 - Disable checking for Sound Source on LPT3. 
NO386 - Disable checking for 386. 

Miscelleanous
------------------
The "NOWAIT" command line parameter will start the game directly from the main menu. 
If you press B + A + T simultaneously, you''ll get a message asking why you''re trying to cheat, since this is the old Keen Galaxy cheat code.