Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Mon May 20, 2013 6:13 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Using a Gamex86.dll outside PK4?
PostPosted: Sat Oct 16, 2004 3:32 pm 
Offline
has joined the game

Joined: Tue Sep 07, 2004 10:59 am
Posts: 39
This is probably a stupid question, but how can I force D3 to use the gamex86.dll outside the PK4? If there's a gamex86.dll in a PK4 in my mod-directory, D3 extracts it and uses it. If there's not, it copies the DLL from the base-directory.
I tried si_pure and devmap, didn't help :-(


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 5:21 pm 
Offline
has joined the game

Joined: Sat Aug 28, 2004 2:02 pm
Posts: 46
Did you put the gamex86.dll in the mod directory outside of a PK4 and try that? I assume you did. I remember back in the Q3 days (I believe) that you had to have the gamex86.dll in a pk4 to run properly.. Try backing up your existing DLL in the base folder and putting it there for testing, may save some time.

_________________
Site Head: http://www.doomcentral.net


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 5:25 pm 
Offline
has joined the game

Joined: Tue Sep 07, 2004 10:59 am
Posts: 39
In Q3 you definitely could use the DLL outside the PK3-File. I've no idea how else I'm supposed to use the Visual Studio debugger...

Unfortunately, putting my newly compiled dll into the base folder doesn't help either.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 5:35 pm 
Offline
has joined the game

Joined: Sat Aug 28, 2004 2:02 pm
Posts: 46
Still waiting for it to download, so it will be a bit before I can really try to figure it out.

_________________
Site Head: http://www.doomcentral.net


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 5:39 pm 
Offline
has joined the game

Joined: Sat Aug 28, 2004 2:02 pm
Posts: 46
BTW, what compiler are you using?

_________________
Site Head: http://www.doomcentral.net


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 5:44 pm 
Offline
has joined the game

Joined: Tue Sep 07, 2004 10:59 am
Posts: 39
I'm using VS .NET 2003. After some minor changes the debug buiild compiled fine, but the release build gives me an internal compiler error - not good....

id used .NET 2002 AFAIK.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 5:46 pm 
Offline
has joined the game

Joined: Sat Aug 28, 2004 2:02 pm
Posts: 46
AH.. I have MSVC6... Who knows what I will run into..

_________________
Site Head: http://www.doomcentral.net


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 7:28 pm 
Offline
has joined the game

Joined: Tue Sep 07, 2004 10:59 am
Posts: 39
I've got it working now. I had to rename not only the .DLL-file, but also the game00.pk4 file in the base directory.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 7:54 pm 
Offline
picked up a pistol

Joined: Sun Aug 08, 2004 6:09 pm
Posts: 52
In Quake2 you needed to put your gamex86.dll in a seperate folder. When you start up Q2 you had to give it the old +set game foldername command line switch. Then Q2 will look first in that folder for any files before looking in other folders. At least that's how I did it...I believe the Q2 SDK explains all of that. If you have a Q2 mission pack then take a look at how they did it.

What you are doing is not going to work if you want to share your work. I think most people don't want their original game to be disabled.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 7:58 pm 
Offline
has joined the game

Joined: Tue Sep 07, 2004 10:59 am
Posts: 39
For final packaging I will of course put the file in a PK4... This is just so that I can access the file by the debugger...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 18, 2004 3:16 am 
Offline
picked up a pistol

Joined: Sun Aug 08, 2004 6:09 pm
Posts: 52
Ahhh, OK. I had to rename AND move the orignal game00.pk4 out of the base directory before it would run my gamex86.dll.

Initially I renamed the game00.pk4 zipfile to game00_original.pk4 then created my own game00.pk4 zipfile located where the original was with my binary.conf file and gamex86.dll in it. Doom3.exe looked for and found it's own gamex86.dll and copied it into the base directory. I figured...OK I'll have my own gamex86.dll in that directory so it will use that instead of looking into the other .pk4 files...no dice...Doom3.exe simply replaced my file with it's own.

I had to move the game00_original.pk4 out of the base folder before it would use the gamex86.dll from my game00.pk4 zipfile.

Have you been able to get a debugger working? What debugger are you using?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Gzegzolka and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group