Wolf3d Haven Forum

A Friendly Wolfenstein 3D Community, About Wolfenstein 3D, the game that gave birth to First Person Shooters...

Logged as Anonymous. You last visited on

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Game won't compile! on Tue Jul 29, 2008 6:30 pm

Batmanifestdestiny


Wolf3d Newbie
Capricorn Monkey
Hello, I was changing the name of the level difficulties, and every step of the compilation works fine except for the "Compile|Link" step, it says that it needs "c0(zero).obj" and I can't find it anywhere! I even did a search of my whole pc, and nothing! Does anyone know where to get this elusive file?


UPDATE:I've learned that using Build All works, but everytime I fix one error, another comes to take its place! It's now complaining about 32-bit records in GAMEPAL.BIN

2 Re: Game won't compile! on Wed Jul 30, 2008 7:14 am

Nexion


Subi
Subi
Capricorn Tiger
C0.obj is created by C0.asm but Gamepal.bin? Isn't it Gamepal.obj? Some compiler tutorials are quite confusing. So here is my version:

Install Borland 3.1 to C:\YourCompilerName 
(keep in mind that Dos stuff shortens words which have more than 8 letters).

Install the Wolfsource code to C:\somewhere or c:\somewhere\nowhere (8 letters)
Create a 'OBJ' folder in your source code directory. C:\somewhere\obj
The compiled exe should appear there.

Start the compiler - BC.exe
Click on 'Project' and 'Open Project' (c:\somewhere\wolf.prj)
Click on 'Options' and 'Directories'
-C:\YourCompilerName\Include
-C:\YourCompilerName\Lib
-obj (output folder)
-leave it blank or c:\whereismysourcecode\

Click on your Project File window.
Remove the gamepal.obj and signon.obj from your project file (Key_delete) and insert them again (Key_insert).

Click 'Compile' and 'Build All'

At least it works for me without any problems.

3 Re: Game won't compile! on Thu Jul 31, 2008 12:41 am

Batmanifestdestiny


Wolf3d Newbie
Capricorn Monkey
it still won't compile, I get this error:

Code:
*Linker Error: 32-bit record encountered in module GAMEPAL.BIN

4 Re: Game won't compile! on Thu Jul 31, 2008 8:45 am

Nexion


Subi
Subi
Capricorn Tiger
Have you changed or modified the gamepal.obj?
I tried the compiler stuff of your alpha package. I unzipped it, changed the project 
directories, reinserted the signon.obj, gamepal.obj and it works without any problems.

5 Re: Game won't compile! on Thu Jul 31, 2008 10:21 am

Batmanifestdestiny


Wolf3d Newbie
Capricorn Monkey
not that I'm aware of, maybe I need to redownload gamepal.obj.

and did you try editing anything in the alpha before compiling it? That's my big problem.

EDIT:T_T They say that with every error fixed, another comes, and I think that they're right. I fixed the gamepal thing, but now it's saying "*TRANSFER TO PROGRAM: Turbo Assembler /MX /ZI /O C0.ASM,OBJ\C0.OBJ

6 Re: Game won't compile! on Thu Jul 31, 2008 2:32 pm

Nexion


Subi
Subi
Capricorn Tiger
If that's the one and only error which appears then I guess you don't have a 'OBJ' folder in your source code directory or the project directories are wrong.

OK. Plan B. Download your Alpha rar file (the one with the source) and unzip it to C:\
I don't know if G:\ works but D:\ works.
Then go to C:\CQ Mod\Bin\BC.exe
1. http://img140.imageshack.us/img140/6756/new1ii8.png
2. http://img50.imageshack.us/img50/4872/new2jh9.png
3. http://img50.imageshack.us/img50/4851/new3qc3.png
4. Delete and reinsert Signon/Gamepal
http://img98.imageshack.us/img98/9576/new4on4.png
5. Compile

7 Re: Game won't compile! on Thu Jul 31, 2008 3:02 pm

Batmanifestdestiny


Wolf3d Newbie
Capricorn Monkey
Thanks for the tip, I'll try it.

The error could be because I've been using my K drive.

EDIT:It worked! the only problem is that when I run it in DOSBox, it freezes, and in windows, it freezes, and I really don't like WinWolf3D

EDIT2:I figured out about my stupidity, and moved wolf3d.exe into the main folder, but when I load it, it just sits at the "one moment" screen.

EDIT3:I fixed that problem, but the graphics are weird, I know that there is an answer, as I've found it before, but I can't find it anymore, any help?

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions of this forum:
You cannot reply to topics in this forum