Stunts Forum

Stunts - the Game => Stunts Reverse Engineering => Topic started by: llm on July 30, 2021, 11:04:37 AM

Title: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on July 30, 2021, 11:04:37 AM
MD15.DRV "Versions" in several DSI games


Game                                   ~Release    Filesize MD5

Stunts 1.0                             11.10.1990  1667     7048D28F2A0FE8C8C09141D5C89706DB <- Part of my Reversed-MT15.DRV Projekt
4D Sports Boxing 1.0                   05.10.1990  1667     7048D28F2A0FE8C8C09141D5C89706DB
Bill Elliotts Nascar Challenge         ~1991       1667     7048D28F2A0FE8C8C09141D5C89706DB
Stunts 1.1                             ~1991       1750     ACC5D03D038F1EF0AFA0CF4DCAD72EF9 <- Part of my Reversed-MT15.DRV Projekt
4D Sports Boxing 1.1                   22.04.1991  1788     B17BBC19ED37C9413DD68E20D4D9848F - Sounds correct with Stunts!
Mission Impossible                     22.04.1991  1788     B17BBC19ED37C9413DD68E20D4D9848F - Sounds correct with Stunts!
World Tour Tennis                      ~1993       1789     53F6BCAEBC097893868C69CE994A3321 - Sounds correct with Stunts!
4D Sports Tennis                       03.03.1992  1789     53F6BCAEBC097893868C69CE994A3321 - Sounds correct with Stunts!
Michael Jordan in Flight               21.12.1992  1813     372ED87FEE4FB0762D2531DC8BB34337 - Sounds correct with Stunts!
The Simpsons: Barts House of Weirdness ~1991       1982     8326A348DCC756EEB77466AD53F742EA - Sounds correct with Stunts!


would be interesting to check:
-what are the additional bytes in the other versions (more Data, more Code?) i thinks mostly timing code differences (primary bug source)

btw: nearly equal size does not mean small differences
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on July 30, 2021, 07:42:35 PM
also interesting - the differences between the other audio drivers

Stunts 1.0        AD15.DRV 11.10.1990  3285  21E1849619CDCB4EE513F742A197C12E
Stunts 1.1        AD15.DRV 12.03.1991  3571  96F0FCEB8F29F52F77180855A58808FC
4D Stunts Driving AD15.DRV ~1991       3285  F764EE225F304936A04FF96F830823F4
                                           
Stunts 1.0        PC15.DRV 11.10.1990  2190  D711316E939D7E9526E53966D6ADB48A
Stunts 1.1        PC15.DRV 12.03.1991  2227  D38A4EC236DC2957F5963E366AB41407
4D Stunts Driving PC15.DRV ~1991       2190  D711316E939D7E9526E53966D6ADB48A
                                           
Stunts 1.0        TD15.DRV 11.10.1990  2826  ACDD9D011D1FCD69C9F5FE49FF3E0ABB
Stunts 1.1        TD15.DRV 12.03.1991  2993  7A60C1A14E4A52AE0345DE6D18720020
4D Stunts Driving TD15.DRV ~1991       2993  7A60C1A14E4A52AE0345DE6D18720020
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on July 30, 2021, 07:48:45 PM
or the differences in the MT32.PLB (contains midi sounds for motor, screeching tires, crash,...)

Stunts 1.0                             11.10.1990    1271   A7A3E9EFA284123036E73AB8477D5DCA
Stunts 1.1                             12.03.1991    1271   A7A3E9EFA284123036E73AB8477D5DCA
4D Stunts Driving                      ~1991         1271   A7A3E9EFA284123036E73AB8477D5DCA
Bill Elliotts Nascar Challenge         ~1991         1271   A7A3E9EFA284123036E73AB8477D5DCA
4D Sports Boxing                       06.11.1990    1779   0EA5CFFD36BB690DEC7387AF7E86B450
Mission Impossible                     27.06.1991    4605   7C0F1C9C8BB045D63F89D9A0FE2AA665
Michael Jordan in Flight               21.12.1992    5699   D0535F622A66D37A0845A0AD10F81D88
The Simpsons: Barts House of Weirdness ~1991        15845   748108E73E5A2D19688B4F4B84195602


Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Daniel3D on July 30, 2021, 10:41:28 PM
Quote from: llm on July 30, 2021, 07:48:45 PM
or the differences in the MT32.PLB (contains midi sounds for motor, screeching tires, crash,...)

Stunts 1.0                             11.10.1990    1271   A7A3E9EFA284123036E73AB8477D5DCA
Stunts 1.1                             12.03.1991    1271   A7A3E9EFA284123036E73AB8477D5DCA
4D Stunts Driving                      ~1991         1271   A7A3E9EFA284123036E73AB8477D5DCA
Bill Elliotts Nascar Challenge         ~1991         1271   A7A3E9EFA284123036E73AB8477D5DCA
4D Sports Boxing                       06.11.1990    1779   0EA5CFFD36BB690DEC7387AF7E86B450
Mission Impossible                     27.06.1991    4605   7C0F1C9C8BB045D63F89D9A0FE2AA665
Michael Jordan in Flight               21.12.1992    5699   D0535F622A66D37A0845A0AD10F81D88
The Simpsons: Barts House of Weirdness ~1991        15845   748108E73E5A2D19688B4F4B84195602

Do they work in stunts? Or do they use different variables?
I wonder what the Simpsons file would give for engine sound  ;D
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on July 31, 2021, 12:10:55 AM
Quote from: Daniel3D on July 30, 2021, 10:41:28 PM
Quote from: llm on July 30, 2021, 07:48:45 PM
or the differences in the MT32.PLB (contains midi sounds for motor, screeching tires, crash,...)

Stunts 1.0                             11.10.1990    1271   A7A3E9EFA284123036E73AB8477D5DCA
Stunts 1.1                             12.03.1991    1271   A7A3E9EFA284123036E73AB8477D5DCA
4D Stunts Driving                      ~1991         1271   A7A3E9EFA284123036E73AB8477D5DCA
Bill Elliotts Nascar Challenge         ~1991         1271   A7A3E9EFA284123036E73AB8477D5DCA
4D Sports Boxing                       06.11.1990    1779   0EA5CFFD36BB690DEC7387AF7E86B450
Mission Impossible                     27.06.1991    4605   7C0F1C9C8BB045D63F89D9A0FE2AA665
Michael Jordan in Flight               21.12.1992    5699   D0535F622A66D37A0845A0AD10F81D88
The Simpsons: Barts House of Weirdness ~1991        15845   748108E73E5A2D19688B4F4B84195602

Do they work in stunts? Or do they use different variables?
I wonder what the Simpsons file would give for engine sound  ;D

Don't no, they seem to be also midi setup commands, could work, or crash down the whole universe
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on July 31, 2021, 08:00:20 AM
i can use other MT32.PLBs, Stunts don't crash and give no warning in dosbox log, but no motor etc. sound (as expected)

the MT32.PLB gets loaded by the game-code and the MT15.DRV is only a hardware adaption thing - so (nearly) only the game is reponsible how the midi data in MT32.PLB is attached to actions (play crash sound) in the game or how midi-sounds are defined, or music is played

so no Homer Simpson "Doh!" for you
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Daniel3D on July 31, 2021, 11:25:15 PM
The driver files form Fight are interchangeable with stunts. Makes no difference.

(i'm playing with music files VCE and KMS. to see if other music works in stunts)
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 01, 2021, 06:47:15 AM
Quote from: Daniel3D on July 31, 2021, 11:25:15 PM
The driver files form Fight are interchangeable with stunts. Makes no difference.

They seem all compatible with timing and other bug fixes but maybe not that clear hear-able with stunts


Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 01, 2021, 08:29:15 AM
Quote from: Daniel3D on July 31, 2021, 11:25:15 PM
The driver files form Fight are interchangeable with stunts. Makes no difference.

i've compared Michael Jordan in Flight PC15.DRV (biggest PC15.DRV, 4817 bytes) with Stunts 1.1 PC15.DRV((2227 bytes) - 2590 byte differences is huge in code - but maybe its just data
the music seems someway fine but the engine/crash sounds are strange - so my assumption is that:

-the drivers maybe also contain game related changes
-Stunts 1.1 does things that works with its own (maybe) buggy PC15.DRV but not with a fixed version of the drv
-the PC15.DRV is broken in "Michael Jordan in Flight" but insensible in the game
-Stunts 1.1 uses code parts of the driver that are unused/broken in  "Michael Jordan in Flight"

multiple possibilities


AD15.DRV from Bart or "World-Tour-Tennis" seems ok

but im not that good at super exact sound comparing - maybe they all correct :)
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Daniel3D on August 01, 2021, 10:26:45 AM
What is the relationship between the driver and the fx vce files?

When trying to get a fight music Kms file to play in stunts CAS noticed that fight has a lot more fx related files.
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 01, 2021, 07:30:54 PM
Quote from: Daniel3D on August 01, 2021, 10:26:45 AM
What is the relationship between the driver and the fx vce files?

I think (not analyzed so far) that there are separated music/sound files for each driver (same prefix), so i think the driver related vce files + the specific driver combined is needed, mt32 uses additional midi confing from the mt32.plb (loaded by the game, not the driver) for engine, crash sounds, etc, it feels like vce,mks is not an all purpose format with some specific output drivers like directsound but more a output specialized format, could contain mt32 or adlib related stuff, that would explain that each driver got its own set of music/sound files

the mt15.drv does not contain any vce parsing code (only midi device initalization, timing and output code) so the game is fully responsible
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Daniel3D on August 01, 2021, 07:38:42 PM
We reached to the same conclusion. Also, It seems like ad-lib and sound blaster are closely related. Since stunts doesn't have separate sound blaster VCE and driver files (fight does however)

Also the VCE files from fight work in stunts but the KMS files don't. I have not checked jet if fight accepts stunts files.
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 01, 2021, 07:54:28 PM
Quote from: Daniel3D on August 01, 2021, 07:38:42 PM
We reached to the same conclusion. Also, It seems like ad-lib and sound blaster are closely related. Since stunts doesn't have separate sound blaster VCE and driver files (fight does however)

Also the VCE files from fight work in stunts but the KMS files don't. I have not checked jet if fight accepts stunts files.

fLight, or?
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Daniel3D on August 01, 2021, 08:16:31 PM
Fight aka 4D sports boxing..

Or are you mocking a tired dyslexic non native English speaker for a writing error?
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 01, 2021, 08:37:58 PM
Quote from: Daniel3D on August 01, 2021, 08:16:31 PM
Or are you mocking a tired dyslexic non native English speaker for a writing error?

Dont be silly, real men fight in a arena for glory, mocking is for pussies

I just had no idea what you were refering with "fight"

btw: also tired, non native speaker
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Cas on August 02, 2021, 03:15:08 AM
Quote from: Daniel3D on August 01, 2021, 07:38:42 PMAlso, It seems like ad-lib and sound blaster are closely related.
Classic Sound Blaster cards (that is, the ISA ones) are based mainly of:

That said, what SBs have in common with AdLib, is the way FM synthesis is produced. SBs have configurable ports and typically, FM synthesis is programmed using ports 220h and 221h. No matter how this is done, but the fact is that AdLib accepts exactly the same commands used in the same way, but through ports 388h and 389h, fixed, non-configurable. For this reason, SBs also recognise these two ports regardless of how they are configured. AdLib compatibility was paramount when the first SBs came up. Games that have an option for "AdLib/SoundBlaster" usually just use AdLib, but being aware of the existence of SB, added the name to attract more buyers.

The AdLib does not have a DSP so it can't record or play waves back, and if I remember correctly, is mono. Still, it would be beautiful to own an original AdLib card. Nostalgia!
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 02, 2021, 07:46:53 AM
Or maybe a vintage remake :)

https://monotech.fwscart.com/AdLib_OPL2_Sound_Card/p6083514_19478748.aspx
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Daniel3D on August 02, 2021, 08:58:51 AM
Quote from: llm on August 01, 2021, 08:37:58 PM
I just had no idea what you were refering with "fight"
I thought it common knowledge that, like stunts, Fight was also bought to be part of the 4D sports series.

Although, unlike stunts, there are quite a few differences in the original and the 4D sports boxing variant. Based on files that is. I haven't played either of those.
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 02, 2021, 10:40:08 AM
Quote
I thought it common knowledge that, like stunts, Fight was also bought to be part of the 4D sports

I still dont get it, is Fight another game of the 4D sports series? Boxing is a sport and i know it, Fighting is not the same as Boxing and i,ve never read Fight used as a alias for 4D Boxing on the internet, is Fight easier to write? You mean 4D sport boxing if you write Fight? Why dont you you write boxing then?
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 02, 2021, 11:03:12 AM
btw: there are the original floppy images available for 4D Sport Boxing

https://archive.org/details/000121-4dSportsBoxing 1.0
https://archive.org/details/002300-4dSportsBoxing20 2.0

Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 02, 2021, 11:07:44 AM
now i got it: in the 4D Sports Boxing 1 Folder is a FIGHT.COM program - that clears it up - my first "Fight" relation in 4D Boxing
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 02, 2021, 11:14:42 AM
more DSI games with the Stunts Driver set (and maybe VEC/MKS sound stuff)

https://www.mobygames.com/game/top-gun-danger-zone
https://www.mobygames.com/game/dos/nfl_

all games of DSI at some point in time seem to have them
https://www.mobygames.com/company/distinctive-software-inc

great resource if we every come to the point having a VCE/MKS player - as reference files for testing


Top Gun: Guts & Glory (1993)
Follow the Reader (1993)
Mickey's 123's: The Big Surprise Party (1993)
NFL 94 (1993)
Mickey's ABC's: A Day at the Fair (1992)
Duel: Test Drive II, The (1992)
NFL (1992) <-- got the drivers
Duel: Test Drive II, The (1992)
Bill Elliott's NASCAR Fast Tracks (1991)  <-- got the drivers
Simpsons: Bart's House of Weirdness, The (1991)  <-- got the drivers
4-D Boxing (1991)  <-- got the drivers
Champions Forever Boxing (1991)
Mission: Impossible (1991)  <-- got the drivers
Bill Elliott's NASCAR Challenge (1991)  <-- got the drivers
Dick Tracy: The Crime-Solving Adventure (1991)
Where in Time Is Carmen Sandiego? (1991)
PlayMaker Football (1991)
Top Gun: Danger Zone (1991)  <-- got the drivers
Teenage Mutant Ninja Turtles: Manhattan Missions (1991)
Mario Andretti's Racing Challenge (1991)
Stunts (1990)  <-- got the drivers
Pipe Dream (1990)
Test Drive II: The Collection (1990)
4D Sports Tennis (1990)  <-- got the drivers
Super Contra (1990)
HardBall II (1989)
Test Drive II Scenery Disk: California Challenge (1989)
Road Raider (1989)
Duel: Test Drive II, The (1989)
Supercars: Test Drive II Car Disk, The (1989)
European Challenge (1989)
Cycles: International Grand Prix Racing, The (1989)
Dive Bomber (1988)
Power at Sea (1988)
Grand Prix Circuit (1988)
Killed Until Dead (1987)
Accolade's Comics featuring Steve Keene Thrillseeker (1987)
Ace of Aces (1987)
Test Drive (1987)
Psi 5 Trading Co. (1986)
HardBall! (1986)
Fight Night (1986)


found the drivers in some - did not checked them all
and it seems that other developer groups also used it - EA for example (but i think they bought DSI)
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Daniel3D on August 02, 2021, 11:18:35 AM
Quote from: llm on August 02, 2021, 11:07:44 AM
now i got it: in the 4D Sports Boxing 1 Folder is a FIGHT.COM program - that clears it up - my first "Fight" relation in 4D Boxing
4D sports boxing was originally created under the name fight by dsi.

But with the rebranding it seems like the game was also updated. The KMS music files are different or missing. There are different versions of the same songs in the game and some are packed into PKM...
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Daniel3D on August 02, 2021, 11:26:34 AM
QuoteIts first version, 1.0, was published by Mindscape in June 1991. The game was released for PC, Apple Macintosh, Atari ST, Amiga and Fujitsu FM Towns Marty. The Macintosh version has slightly improved graphics, but a smaller screen size.

A second version, 2.0, was published in February 1992. Version 2.0 was the "Electronic Arts" version which had different music, introductions, and pupils added to the boxers' eyes. The FM Towns Marty version was based on Version 2 but with higher quality sound.
https://en.m.wikipedia.org/wiki/4D_Sports_Boxing (https://en.m.wikipedia.org/wiki/4D_Sports_Boxing)
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: Daniel3D on August 02, 2021, 12:58:05 PM
The two versions of 4D boxing might give insight into the sound and driver because of the upgrade.
I'm fairly certain that 2.0 uses upgraded versions of the 1.0 drivers.
Title: Re: Other DSI Games/MT15.DRV for MT32 Sound
Post by: llm on August 02, 2021, 01:10:18 PM
Quote from: Daniel3D on August 02, 2021, 12:58:05 PM
The two versions of 4D boxing might give insight into the sound and driver because of the upgrade.
I'm fairly certain that 2.0 uses upgraded versions of the 1.0 drivers.

i've checked the MT15.DRV versions partially, mostly timing code is changed
(that is the code area that makes stunts 1.1 mt15.drv sound worse then the 1.0 stunts version)

The adlib drv are partially using diffent counts in loops, for example: 4000 wait loops against 6000 wait loop, i think that is some sort of compensation for faster getting cpus

its not clear to see what the changes are for - here and there some more/less asm codes - additinal loops, few tiny more checks for port/device status etc.

but it is still a perfect source for fully understanding the MKS/VCE stuff - we can see how/what is exactly played - then could give a better overview what
some values in the files mean

im still struggeling with free time problems to work on my fun-project:
-includeing the MT15.drv changes of the different versions (so im able to reproduce the exact version based on compile-time defines)
-port the other drivers
-fully analyse the VCE/MKS format and write a tiny DOS(later Win/Linux) Player for it - maybe using the Stunts drivers
-check if the game.exe combiner works with the CGA,EGA,TANDY Version - DONE/works (only hercules is missing)