#1 Compiling with VC++ 6.0

open
nobody
None
5
2013-04-28
2004-06-03
Bernhard Doebler
No

Hi,

I just downloaded the source and wanted to compile it
myself. I simply tried the standard "Debug_Remote"-Build
and got some linker-Errors because of missing libraries. I
corrected the list of the libraries to link against to:
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
opengl32.lib glu32.lib .\libs\libjpeg.lib winmm.lib
for Debug-Builds and to:
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
opengl32.lib glu32.lib .\libs\___\jpeg.lib winmm.lib
for Release-Builds. That works fine for me.

Why I downloaded the source...despite of playing
Wolf3D...I wanted to play in God-Mode. I read on the
internet I have to start the Wolf-executable with the
parameter "goobers". I didn't exactly understand how to
pass the parameter and nothing worked. Some websites
say I have to pass the parameters separated by a "-"
char to the EXE. Studying your code I finally found out
it's wrong (not your bad :-). The parameters must be
passed separated by a "+" (Plus-sign). Now something
happens when I start the game...but the screen stays
black...I in fact see the bar on the bottom of the screen
informing about health and ammo etc., I see the weapon
but I don't see walls and doors. Neither with your build
nor with my self-compiled exe. I don't want do delve so
deep into the code that I find out the reason myself...

Can you explain how the game is intended to act when
the parameter "+goobers" is given?

Best,
Bernhard

Discussion

  • David O'Shea
    David O'Shea
    2013-04-28

    What were the linker errors you got?

    Passing "+goobers" on the command line causes the "goobers" console command to be executed once the game has started. That command gives you full ammunition, weapons and keys (and maybe health), which is not exactly what you want - you just want to enable cheats, but that is not something you need to do via the command line. All you need to do is start the game normally, then once you've actually selected a mission and difficulty level, hit the key to display the console, type "god" and hit enter to enable god mode, then hit the key again to close the console.

    It seems to be a bug that if you pass any command on the command line other than "+set" - therefore including "+goobers" - and don't cause a map to be loaded using "+map " or "+load <savegame number="">", you end up with this black screen. "NewWolf.exe +map 1 +god" will start the game and automatically load map 1 and enter god mode, bypassing the startup screens and menu, without the black screen problem.