[ scummvm-Feature Requests-781797 ] Support music in the Mac version of MI1

SourceForge.net noreply at sourceforge.net
Fri Oct 10 23:57:36 CEST 2003


Feature Requests item #781797, was opened at 2003-08-01 17:51
Message generated for change (Comment added) made by jamieson630
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=781797&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Markus Magnuson (superqult)
Assigned to: Jamieson Christian (jamieson630)
Summary: Support music in the Mac version of MI1

Initial Comment:
There's no music or sound in Monkey Island 1 (alt), the
mac version. I'm using the daily cvs snapshot from
August 1st, under MacOS X 10.2.6. It's compiled with
gcc 3.1. Someone in the forums pointed this out too, so
I can't be just my system config. I've tried all sound
drivers.

----------------------------------------------------------------------

>Comment By: Jamieson Christian (jamieson630)
Date: 2003-10-10 16:57

Message:
Logged In: YES 
user_id=596642

First-pass Mac0->GMD conversion code is in CVS. Tempo 
seems to be good. Instrument selections MUST be refined 
later on; current mapping sounds cruddy. Loop timing is a 
little off on most (but not all) looped songs; I don't know why 
just yet. And I think some notes might be missing in the 
conversion. There were a lot of suspicious-looking note 
events with noteNum == 1, which is way too low for any 
practical use. Right now I'm treating them the same as 
noteNum == 0, which is a rest.

Well, it's something, at least. I'll try to refine it ATP.

----------------------------------------------------------------------

Comment By: Max Horn (fingolfin)
Date: 2003-10-08 14:47

Message:
Logged In: YES 
user_id=12935

Assigning this to our music master blaster, Jamieson, in an 
attempt to coerce him into implementing this ;-). 

----------------------------------------------------------------------

Comment By: Markus Magnuson (superqult)
Date: 2003-09-08 07:34

Message:
Logged In: YES 
user_id=583162

uhm, that last 0x09 value is a single byte, not four bytes

----------------------------------------------------------------------

Comment By: Markus Magnuson (superqult)
Date: 2003-09-08 07:33

Message:
Logged In: YES 
user_id=583162

OK, so here you go. I haven't checked endianess, but I guess 
everything is LE except sizes. Those 28 unknown bytes are 
probably some limits and value intervals for tempo/velocity 
etc.

Mac0
--
   4 bytes - 'SOUN'
BE 4 bytes - block length

       4 bytes  - 'Mac0'
    BE 4 bytes  - (blockLength - 27)
       28 bytes - ???

       do this three times (once for each channel):
          4 bytes  - 'Chan'
       BE 4 bytes  - channel length
          4 bytes  - instrument name (e.g. 'MARI')

          do this for ((chanLength-24)/4) times:
             2 bytes  - note duration
             1 byte   - note value
             1 byte   - note velocity

          4 bytes - ???
          4 bytes - 'Loop'/'Done'
          4 bytes - ???

   4 bytes - 0x09
--

Instruments:
"MARI" - Marimba
"PLUC" - Pizzicato Strings
"HARM" - Harmonica
"PIPE" - Church Organ?
"TROM" - Trombone
"STRI" - String Ensemble
"HORN" - French Horn?
"VIBE" - Vibraphone
"SHAK" - Shakuhachi?
"PANP" - Pan Flute
"WHIS" - Whistle/Bottle
"ORGA" - Drawbar Organ
"BONG" - Woodblock?
"BASS" - Bass

----------------------------------------------------------------------

Comment By: James Brown (ender)
Date: 2003-09-08 06:04

Message:
Logged In: YES 
user_id=2715

Unrelated, but RE: drigo... I've offered in the past to 
give him CVS access back, if he e-mailed me, but he never 
did. However given this behavior I don't believe we ever 
should in the future. That is all. :) 

----------------------------------------------------------------------

Comment By: Max Horn (fingolfin)
Date: 2003-09-08 05:35

Message:
Logged In: YES 
user_id=12935

Better to attach those specs here, so that a person wanting to 
implement it can implement it. 

----------------------------------------------------------------------

Comment By: Markus Magnuson (superqult)
Date: 2003-09-08 03:45

Message:
Logged In: YES 
user_id=583162

I've sent you a block format spec.

----------------------------------------------------------------------

Comment By: Max Horn (fingolfin)
Date: 2003-09-06 18:59

Message:
Logged In: YES 
user_id=12935

Yes this is "just" the Mac0 format. Feel free to forward me the 
docs on it. I know SCUMM Explorer supports the format, and I 
asked Drigo about it. Drigo told me he wouldn't discuss such 
things via email, and that I should rather ask him in the forums, 
so that the public can benefit from it. There, he told me he would 
implement it for us once we give him back CVS write access. He 
wasn't willing to help "just so" with it. Sorry, but I don't like being 
blackmailed....

Anyway, if you can provide format specs, or a patch, please do 
so.

----------------------------------------------------------------------

Comment By: Markus Magnuson (superqult)
Date: 2003-09-06 17:17

Message:
Logged In: YES 
user_id=583162

So, what blocks are we discussing here? If it's just the
"Mac0" block, I have some pretty good documentation on the
format. Since Drigo Zoxx have managed to play the MI1 music
in his SCUMM Explorer application, I could also look at his
source code and write some new documentation.

----------------------------------------------------------------------

Comment By: Max Horn (fingolfin)
Date: 2003-08-01 18:34

Message:
Logged In: YES 
user_id=12935

There are SFX for me in that version (e.g. open any door, or the 
seagull were you get the fish). But the music format is indeed 
unsupported. And this is not a bug, it's simply yet another 
unsupported music format.
Please never modify bug priorites, those are for project member 
use only. Thanks

I am moving this to feature requests.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=781797&group_id=37116




More information about the Scummvm-tracker mailing list