VOGONS


Sierra/Dynamix sound driver hacking

Topic actions

Reply 120 of 332, by Spikey

User metadata
Rank Oldbie
Rank
Oldbie

Nope, it crashed your dumper 😉 Remember, the music files are no longer stored in SX files, this is a bastardised SCI offshoot or something, it's not Dynamix resources any more, as evidenced by that TXT file I uploaded, the resources are views, scripts, sounds, etc.

Anyway, when you get a chance, let me know. You rock so hard, Tikalat, do you mind if I give you a shoutout on my next update?

Sorcerian: Really appreciate this, the game just sucks with the wrong music playing in the latter half of the game.
On Romancia, I will try on the files. I don't know exactly how to do the ch 16 stuff or whatever loop code you have to put in, but I can surely try to make some GM files sound OK on the MT-32, even if it's tricky.
64K should be enough for 5 or so files.

Reply 121 of 332, by tikalat

User metadata
Rank Member
Rank
Member

Update:
midi tools v3
Re: Sierra/Dynamix sound driver hacking

- Willy Beamish CD dumping (SND + PCM)
- Fix QFG2, Silpheed dumping

Trivia:
Willy Beamish CD = Dynamix engine, file structure.

PCM = 11111 Hz, 8-bit mono (raw)

======================================
======================================
======================================

do you mind if I give you a shoutout on my next update?

sure.

On Romancia, I will try on the files. I don't know exactly how to do the ch 16 stuff or whatever loop code you have to put in, but I can surely try to make some GM files sound OK on the MT-32, even if it's tricky.

Soundbox lets you specify SCI0 loop point (asking me is okay too). If original music file has 'sierra cue' codes, this probably needs a human.

64K should be enough for 5 or so files.

Clarify: SS003.old (Sierra) + SS003.new (Alistair MT-32) < 64KB. So that's 64KB max per song.

Ready in a few days perhaps. Or critical failure by then.

Reply 122 of 332, by Spikey

User metadata
Rank Oldbie
Rank
Oldbie

Tika,

Awesome!!! Thanks so much.

Do you need the files in a few days or are you saying you need to test things over a few days?

Finally, do you have a way of getting the SysEx from WB disk or CD (or both) as a .Pat file? 1.pat or MT-32.pat I think they're called?

Reply 123 of 332, by tikalat

User metadata
Rank Member
Rank
Member

Do you need the files in a few days or are you saying you need to test things over a few days?

Should take me few days to make sure it works. Maybe sooner.

Then you can work at your leisure. No hurry - midi transcribing is harder part. 😉

Finally, do you have a way of getting the SysEx from WB disk or CD (or both) as a .Pat file? 1.pat or MT-32.pat I think they're called?

Drivers + patches attached. Both versions of Willy Beamish (different).

edit:
*nm*

Reply 124 of 332, by tikalat

User metadata
Rank Member
Rank
Member

Sorcerian MIDI editor tools

- Unpack, soundbox, repack
- Patch updates:
*. Multi-track MT-32 driver
*. Fix Sierra MIDI bugs: memory leak, 48KB --> 64KB limit

Reply 126 of 332, by tikalat

User metadata
Rank Member
Rank
Member

King's Quest VI: Heir Today, Gone Tomorrow (1992-1993, DOS + WIN)

Title: Driver fixes
Date: July 13, 2013

About:

General MIDI (DOS)
- Sfx now use channel 1-16
- Send modulation
- Fix volume slider

General MIDI (WIN)
- Sfx now use channel 1-15
- Higher polyphony
- Send GS reset

Misc (BOTH)
- Patch to not adjust music volume during speech

======================================
======================================
======================================

Trivia:
220 = GS percussion (castle front)
465 = modulation

8-bit PCM mono

FM pan-pot
- 1, 10, 107-111, (...heavy use)

Last edited by tikalat on 2013-07-14, 01:22. Edited 6 times in total.

Reply 127 of 332, by pupin

User metadata
Rank Newbie
Rank
Newbie
NewRisingSun wrote:
Regarding that Space Quest III patch: […]
Show full quote

Regarding that Space Quest III patch:

  • When patching the MT-32 driver, it's a good idea to remove the MPU intelligent mode instructions and add UART mode.

Or you can just use my MTBLAST.DRV. 😀

Are you referring to the KQ1SCI MTBLAST.DRV?

Additionally, it makes me wonder, is NewRisingSun's KQ1SCI MTBLAST.DRV usable for all SCI0 games? Or it's just for KQ1 (and perhaps SQ3)?

P.S. This has come to be a really great thread 😀

Reply 128 of 332, by tikalat

User metadata
Rank Member
Rank
Member

Updated midi tools to v4:
Re: Sierra/Dynamix sound driver hacking

======================================
======================================

Noticed Sierra games use 16-bit DAC:
- Eco Quest 2
- Freddy Pharkas
- Leisure Suit Larry 6
- Pepper's Adventures in Time
- Police Quest 4
- Quest for Glory 4

Win versions play 16-bit. But DOS plays 8-bit, unless one has Pro Audio 16 card. Meh.

Trivia:
EcoQuest 1:
DOS GM = uses MT-32 soundtrack

EcoQuest 2:
GS Percussion
- 145, 522, 530 (Shaker)

No modulation
MT-32 uses GM instrument map

EDIT:
Can use Collector's Gravis patches
http://sierrahelp.com/Patches-Updates/Patches … ardDrivers.html

Follow the instructions. Notably about 'LH ULTRAMID -C -M100'. Run install and play with 16-bit digital. 😀

Last edited by tikalat on 2012-09-08, 01:36. Edited 1 time in total.

Reply 129 of 332, by Cloudschatze

User metadata
Rank Oldbie
Rank
Oldbie
tikalat wrote:

Noticed Sierra games use 16-bit DAC...
Win versions play 16-bit. But DOS plays 8-bit, unless one has Pro Audio 16 card. Meh.

Or a Windows Sound System (or compatible) card...

Reply 131 of 332, by tikalat

User metadata
Rank Member
Rank
Member

Pepper's Adventures in Time (1993, DOS + WIN)

Title: Driver fixes
Date: August 6, 2013

About:

General MIDI (DOS)
- Sfx now use full channel 1-16
- Send modulation
- Send drum kits
- Fix volume slider

General MIDI (WIN)
- Sfx now use full channel 1-15
- Higher polyphony
- Send GS reset

Sound Blaster (DOS)
- 16-bit DAC driver

ADPCM (DOS / WIN)
- Fix 16-bit --> 8-bit conversion

###############################
###############################
###############################

Trivia:

FM pan-pot
- 1, 110, 111, 136, 140, 213, 217, (..)

Modulation = 265, 300

GS DRUM = 114 (CM-64)

GS PERC = Metronome Bell, Shaker
- 136, 140, 370-372, 401, 411, 2102

16-bit PCM mono

Last edited by tikalat on 2013-08-07, 02:55. Edited 5 times in total.

Reply 132 of 332, by pupin

User metadata
Rank Newbie
Rank
Newbie
tikalat wrote:

Can use Collector's Gravis patches
http://sierrahelp.com/Patches-Updates/Patches … ardDrivers.html

Follow the instructions. Notably about 'LH ULTRAMID -C -M100'. Run install and play with 16-bit digital. 😀

The Sierra Gravis drivers have many problems under DOSBOX, causing many crashes, specifically in games that have speech. Try it with CD version of Laura Bow 2 and you'll see what I mean.

I wanted to use them also, but gave up due to problems. You can look at an earlier post of mine about problems with the Gravis drivers, if you want some more info:
Gravis emulation and Sierra games

I never really found how to solve this, but the only game with speech where they seem to work properly seems to be King's Quest VI...

Reply 133 of 332, by tikalat

User metadata
Rank Member
Rank
Member

Misspoke about Laura Bow 2 + King's Quest 7 - they use 8-bit digital.

Discovered that Freddy Pharkas Soundblaster driver has 2 modes - 8-bit (SB/Pro) + 16-bit (SB16). Using that driver in other games (even LB2) works okay - Pepper DOS now plays 16-bit.

=====================================
=====================================

Don't have a real GUS to try it out. Unknown what the problem is - tried changing port, irq but no-go.

=====================================
=====================================

My version of Rise of the Dragon has a newer EXE date than the NRS fix. Slightly bigger too.
- NRS = 11-13-1990
- Alt = 11-14-1990

Patched that one too.

; Dragon.exe […]
Show full quote

; Dragon.exe

seg003:600B sub_251AB proc far ; CODE XREF: sub_1F1A9+209P
seg003:600B push bp
seg003:600C mov bp, sp
seg003:600E mov ax, word_3E930

; MTBLAST - digital DAC - NRS fix
seg003:6011 cmp al, 3
seg003:6013 jz short loc_251BD

seg003:6015 cmp al, 4
seg003:6017 jz short loc_251BD
seg003:6019 cmp al, 6
seg003:601B jnz short loc_251C1
seg003:601D
seg003:601D loc_251BD: ; CODE XREF: sub_251AB+8j
seg003:601D ; sub_251AB+Cj
seg003:601D mov al, 1
seg003:601F jmp short loc_251C3

; OLD code

seg003:600B push bp
seg003:600C mov bp, sp
seg003:600E cmp word_3E930, 4
seg003:6013 jz short loc_251BC
seg003:6015 cmp word_3E930, 6
seg003:601A jnz short loc_251C1
seg003:601C
seg003:601C loc_251BC: ; CODE XREF: sub_251AB+8j
seg003:601C mov ax, 1
seg003:601F jmp short loc_251C3
seg003:6021 ; ---------------------------------------------------------------------------
seg003:6021
seg003:6021 loc_251C1: ; CODE XREF: sub_251AB+Fj
seg003:6021 xor ax, ax
seg003:6023
seg003:6023 loc_251C3: ; CODE XREF: sub_251AB+14j
seg003:6023 mov word_3E29E, ax

Last edited by tikalat on 2013-07-14, 00:37. Edited 1 time in total.

Reply 134 of 332, by tikalat

User metadata
Rank Member
Rank
Member

Freddy Pharkas: Frontier Pharmacist (DOS + WIN)

Title: Driver + speech fixes
Date: September 17, 2013

About:

General MIDI (DOS)
- Sfx now use full channel 1-16
- Send modulation
- Fix volume slider

General MIDI (WIN)
- Sfx now use full channel 1-15
- Higher polyphony
- Send GS reset

Sound Blaster (DOS Floppy)
- 16-bit DAC driver

DAC (DOS / WIN)
- Fix 16-bit --> 8-bit conversion

ADPCM (CD)
- Repair peak overflows (most)

Tandy DAC (DOS CD)
- Fix to play new WAVE, ADPCM formats

#######################################
#######################################

CD audblast.drv has 16-bit Soundblaster effects. Floppy SB driver is 8-bit only.

Game uses 16-bit sfx + speech.

Trivia:

GM Modulation
- 104, 110, 150, 185
- 2113, 2184, 2204, 223, 2571, 260
- 410, 547, 560
- 610, 630, 640, 654, 660, 674
- 741, 746, 902

GS percussion
- 223 (Shaker)
- 2300 (Metronome Click, Shaker, Castanets, Mute Surdo, Open Surdo)
- 235 (Shaker, Castanets, Mute Surdo, Open Surdo)
- 2912 (Slap, Scratch Push, Shaker)

Last edited by tikalat on 2013-09-17, 13:44. Edited 5 times in total.

Reply 135 of 332, by tikalat

User metadata
Rank Member
Rank
Member

Leisure Suit Larry 6: Shape Up or Slip Out! (DOS + WIN)

Title: Driver fixes
Date: August 7, 2013

About:

General MIDI (DOS)
- Sfx now use full channel 1-16
- Send modulation
- Fix volume slider

General MIDI (WIN)
- Sfx now use full channel 1-15
- Higher polyphony
- Send GS reset

Sound Blaster (DOS - lores)
- 16-bit DAC

DAC (DOS / WIN)
- Fix 16-bit --> 8-bit conversion

ADPCM (CD)
- Repair peak overflows

###################################
###################################

NOTE:
Floppy DOS Soundblaster driver is 8-bit only. Leisure 6 Hires (Talkie) CD AUDBLAST is 16-bit quality.

Trivia:
Modulation
- 43, 120, 368, 430, 446
- 511, 512, 740, 741, 804, 808

GS percussion
- 35, 650, 657, 903 (Scratch Pull)
- 140, 145 (Scratch Push + Pull)
- 310 (Shaker)
- 320 (Castanets)
- 441 (Scratch Push)

MT-32 uses GM-remap

Last edited by tikalat on 2013-08-07, 20:02. Edited 3 times in total.

Reply 136 of 332, by tikalat

User metadata
Rank Member
Rank
Member

King's Quest VII: The Princeless Bride (DOS + WIN)

Title: Driver + speech fixes
Date: July 28, 2013

About:

General MIDI (DOS)
- Sfx now use full channel 1-16
- Send modulation
- Fix volume slider

General MIDI (WIN)
- Sfx now use full channel 1-15
- Higher polyphony
- Send GS reset

Misc (CD)
- 62498.SCR = During speech, don't adjust music volume

DAC (DOS / WIN)
- Fix 8-bit --> 16-bit conversion
- Fix 16-bit --> 8-bit conversion

ADPCM (CD)
- Reduce isolated noise

PPF patcher:
http://www.romhacking.net/?page=utilities&cat … =&utilsearch=Go

#########################################
#########################################
#########################################

Trivia:
821 = GS percussion (shakers)
1320 = GS percussion (shakers)
1460 = GS percussion (belltree)
2285 = ch12 (GM)
2551 = Modulation
4307 = Modulation
4403 = Modulation
5300 = Modulation
6305 = ch13 (GM)
6452 = ch13 (GM)

Last edited by tikalat on 2013-07-29, 02:30. Edited 3 times in total.

Reply 137 of 332, by tikalat

User metadata
Rank Member
Rank
Member

Quarky & Quaysoo's Turbo Science

Title: Driver + MIDI fixes
Date: July 8, 2013

About:

Addendum to NewRisingSun's Turbo Science fixes.

General MIDI
- Sfx now use full channel 1-16
- Send modulation to device
- Send drum kits
- Channel volume fix for channel 1-16

Soundtrack
- Mute 36.SND (broken sound effect)

===================================
===================================

Trivia:
Modulation
- 1001, 1006, 1007, 1016, 1038, 1040

PCM
- ** many **

GS drumkit
- 1002 (Room)
- 1044 (Orchestra)
- 1057, 1058, 1059 (TR-808)

GS percussion
- 1005 (Slap / Scratch Pull)
- 1041 (Scratch Push / Pull)
- 1045 (Shaker)

===================================
===================================

There's a new SC-55 soundfont and it's good:
http://www.youtube.com/watch?v=1tmN1a3cDMg&feature=plcp

BASSMIDI users should do a GS reset first to be safe.
(attachment: got it from somewhere, can't remember where)

Maybe time to give up VSC soon and go 64-bit OS.

Last edited by tikalat on 2013-07-14, 01:23. Edited 4 times in total.

Reply 138 of 332, by arablizzard2413

User metadata
Rank Newbie
Rank
Newbie
tikalat wrote:
Noticed Sierra games use 16-bit DAC: - Eco Quest 2 - Freddy Pharkas - Leisure Suit Larry 6 - Pepper's Adventures in Time - Polic […]
Show full quote

Noticed Sierra games use 16-bit DAC:
- Eco Quest 2
- Freddy Pharkas
- Leisure Suit Larry 6
- Pepper's Adventures in Time
- Police Quest 4
- Quest for Glory 4

Win versions play 16-bit. But DOS plays 8-bit, unless one has Pro Audio 16 card. Meh.

So how do you get 16-bit DAC for Quest for Glory 4 in Dosbox?

Reply 139 of 332, by Great Hierophant

User metadata
Rank l33t
Rank
l33t
arablizzard2413 wrote:
tikalat wrote:
Noticed Sierra games use 16-bit DAC: - Eco Quest 2 - Freddy Pharkas - Leisure Suit Larry 6 - Pepper's Adventures in Time - Polic […]
Show full quote

Noticed Sierra games use 16-bit DAC:
- Eco Quest 2
- Freddy Pharkas
- Leisure Suit Larry 6
- Pepper's Adventures in Time
- Police Quest 4
- Quest for Glory 4

Win versions play 16-bit. But DOS plays 8-bit, unless one has Pro Audio 16 card. Meh.

So how do you get 16-bit DAC for Quest for Glory 4 in Dosbox?

Copy the AUDBLAST.DRV from Freddy Pharkas CD or Leisure Suit Larry 6 CD to get 16-bit quality and you can get 16-bit quality from any of the listed games with a Sound Blaster 16.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog