Page 1 of 1

Driver 2 missions script (MISSIONS.BLK)

Posted: Mon Jan 23, 2017 8:46 am
by francof514
Hi i want to create this forum to post reseach about mission scripts into the file MISSION.BLK i have found there are all missions, format should be similar in some way to Driver 1 dms.

Generic file research.

MISSIONS.BLK contains 137 D2MS chunks, so we can suppose there are 137 scripts, but not only for missions, those are like 37, take a ride 8, multiplayer take a ride 8, driving games 24, multiplayer games 16.
In result 37+8+8+24+16=93 mission scripts

D2MS format
Header 4 bytes (SM2D)
+4 City id (byte)
+3 Time of day/night/sunset(byte)
+3 Climate rain/fine (byte)



Mission list offset.

1 - Survelliance - 0x800
2 - Chase witness - 0x1000
3 - Train pursuit 0x1800

Re: Driver 2 missions script (MISSIONS.BLK)

Posted: Mon Jan 23, 2017 9:45 am
by helegad
I'm guessing the commands would be very similar to Driver PC mission scripts; just gotta find out what means what, I guess.

Remember, there's new mission features in Driver 2:

- in-engine cutscenes
- tailing missions
- on-foot sections

We'd have to find out how those work too. I'm guessing this is a real rock and a hard place.

Re: Driver 2 missions script (MISSIONS.BLK)

Posted: Wed Jan 25, 2017 9:26 am
by francof514
helegad wrote:I'm guessing the commands would be very similar to Driver PC mission scripts; just gotta find out what means what, I guess.

Remember, there's new mission features in Driver 2:

- in-engine cutscenes
- tailing missions
- on-foot sections

We'd have to find out how those work too. I'm guessing this is a real rock and a hard place.
Yes, its hard to edit those in binary format, only what im able to change is mission text and starting times. Will need more time for testing stuff.