Modding discussion for Driver.
User avatar
By Fireboyd78
#17475
I have found something VERY interesting in game.exe
Code: Select all
         SKID    CARSHAD         Driver  X                           "V     2        €?  €?                                             Driver - Log File - Driver (c)1998-1999 Reflections Interactive Mucho respectomondo to Driver PC coder(s):  Dirty Wayne, Evil Russ, Gentleman Jim, Guru Naif, Hodgy Hax, Steve Royston, Slurpy Chris.   [WinMain] InitWindow failed ACCELERATOR [WinMain] Failed to initialise timers.  Exit!   The lead car went out of range! REPLAYDATA\USER\$TEMP$.CAMS ERROR   /DOREP: /DOREP: %s  /TESTTRAIL  /SAVETRAIL: /SAVETRAIL: %d  /NODENT /NOPLUG /DOSS   /NOTEXT /GLIDEW /GLIDEF /RECORD /REPLAY /0  /1  /2  /3  /4  /5  /6  /M  /M  %d  /NOINTERP   /NOFMV  /AUSSIE /TITLE  /CREDITS    /NO8BIT /TRIPLEBUFFER   /UNLOCK /FLAT   /DEV    /NOSHINY    /MIRROR /RES320 /RES512 /RES640 /RES800 /RES1024    /RES1280    /RES1600    /NIGHT  /LIGHTNING  /RAIN   /FOG    /SNOW   /DAWN   /DUSK   /MSET   /MCAR:  /MCAR:  %d  /MCARPAL:   /MCARPAL:   %d  /INTERVIEW  /MREC:  /MREC:  %s  /MREP:  /MREP:  %s  /NOPEDS /PCAR   /TRAINING   /RECTRAINING    /RAVE   /NOFRAMELOCK    /NOJOY  /AUTO   /SMOUSE /LOWPRI /REALTIME   /PLAYCD Driver V1.2 Application Error
Click OK to close.    Driver Exception Handler
Could these be arguments? If so, how could we enter them? I love the sound of /DEV
User avatar
By someone972
Registration Days Posts Posts Posts Avatar
#17506
This appears to be a section of the log file. If you go to your driver directory and open debug.txt you will see that it has the same first lines. %s outputs a sting in C input/output functions, and %d will output a number. Here is a peice of sample code that would be what would produce that:
Code: Select all
int number = 100;
char* text = "driver is awesome.\0";
printf("I would give driver %d out of 100 points because %s",number,text);
This code would output 'I would give driver 100 out of 100 points because driver is awesome.' You can't see what's being outputed in game.exe with the %s tags because it is an adress (such as 0x01763782) that points to the actual data.

What this means for you is that changing this would only change the log file. It also would mess everything up too. When you change the positions of a part of the file the data gets realigned. This would make the adresses used in the program to point to corrupt data.

Sorry to be such a "wet blanket", but I hope this has been informative. If you have any questions feel free to ask.
User avatar
By Fireboyd78
#17507
I know thats the log file, but this is all i can get out -
Code: Select all
Driver - Log File -
Driver (c)1998-1999 Reflections Interactive

Mucho respectomondo to Driver PC coder(s): 
Dirty Wayne, Evil Russ, Gentleman Jim, Guru Naif, Hodgy Hax, Steve Royston, Slurpy Chris.

GetCDTOC: Query # CD tracks failed
* LoadMission *
Attempting to load: Scripts\Missions\Mission46.dms
>> LoadMission Complete - Routine Terminated <<
*** Loading cosmetics data ***
*** Cosmetics data loaded ***
*** Loading denting data ***
*** Dentings data loaded ***

Attempting to process Chair placement lump.
Map is 420 cells wide and 540 cells high, pointer is 4 bytes long required memory is 907200 (885k).
ProcessChairLump completed successfully (109 chairs retrieved), routine terminated.

Attempting to initialise motion capture data...
Attempting to load file: WALK.MCD
File loaded successfully.
Attempting to load file: RUN.MCD
File loaded successfully.
Attempting to load file: DIVE.MCD
File loaded successfully.
Attempting to load file: SITTING.MCD
File loaded successfully.
Motion capture has been initialised.

Attempting to compile event script "Scripts\Events\Miami_19.des".
Script file compiled successfully.  Operation complete.

Interview 0, Training 0, mode 2, chaseHQmode 0
Also, thanks for your awesome help someone. You can be one of the people that helps us get Driver moddable, like GTA and all the other games have!
Felony Rework

Don't know if you're still active, but I seem to h[…]

https://youtu.be/hN0qiEBPCY8 Maserati Huge Stunt […]

Free Chat

Happy new year, 2025 :turnah: :specialdriver:

Driv3r: Definitive Edition Mod

The new update for Driv3r Definitive Edition is ou[…]