Stunts Forum

Stunts - the Game => Stunts Reverse Engineering => Topic started by: llm on December 08, 2021, 10:01:36 AM

Title: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV
Post by: llm on December 08, 2021, 10:01:36 AM
Reverse engineered and C ported MT15.DRV (MT32-Sound-Driver) of Stunts 1.0 and 1.1


Reason for doing it:

Stunts 1.0 MT15.DRV seems to sound better than the 1.1 version (some strange slowdowns happen)
i just wanted to understand what the differences are and how to port that stuff to C

Result: the timing code is different - but only some lines of assembler nothing big

https://github.com/LowLevelMahn/UnifiedMT15
Title: Re: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV
Post by: Daniel3D on December 08, 2021, 12:31:50 PM
Is this difference isolated to the Mt driver?
Title: Re: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV
Post by: llm on December 08, 2021, 01:09:57 PM
search for "#if VERSION" in https://github.com/LowLevelMahn/UnifiedMT15/blob/main/drv.c

just a few places
Title: Re: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV
Post by: Daniel3D on December 08, 2021, 01:56:25 PM
I mean, are the drivers for the other soundcards also different in 1.0 and 1.1 or is the timing the same for those?
Title: Re: UnifiedMT15: Reverse Engineering Project for the Stunts 1.0/1.1 MT15.DRV
Post by: llm on December 08, 2021, 01:59:24 PM
Quote from: Daniel3D on December 08, 2021, 01:56:25 PM
I mean, are the drivers for the other soundcards also different in 1.0 and 1.1 or is the timing the same for those?

i did not revesed other drivers deeply - but they seem very different