Opened 13 years ago

Closed 10 years ago

Last modified 7 months ago

#8489 closed patch

SCUMM: CMS support

Reported by: lordhoto Owned by: sev-
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Loom

Description

This patch adds basic CMS support for the scumm engine,
for now only the sfx are working with CMS, I dunno why
but the music is not working. (it looks that the freq.
is not calculated right). The CMS emulator is taken
from DosBox and implemented only for the scumm engine.

Games tested:
- Loom EGA floppy (german)

Games need testing:
- Monkey Island EGA (demo is NOT working)
- Indiana Jones 3 EGA

I hope it works for you.

Ticket imported from: #1365914. Ticket imported from: patches/594.

Attachments (1)

scumm-cms-v1.patch.gz (15.8 KB) - added by lordhoto 13 years ago.
CMS Patch V1

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by lordhoto

Attachment: scumm-cms-v1.patch.gz added

CMS Patch V1

comment:1 Changed 13 years ago by eriktorbjorn

It looks to me as if _next_tick is only increased if
_midiData is NULL. That could be a problem, though removing
that test produces a most horrible noise...

(Another possible problem is that the output rate seems to
be fixed at 22050 Hz. Shouldn't it ask the mixer for the
output rate to use?)

comment:2 Changed 13 years ago by lordhoto

Ahh that was just a bug, not a 'test'.
Well not much process anyway atm.

comment:3 Changed 13 years ago by SF/tbcarey

How is this progressing? I'd like to help with this, if I
find the time in the near future. At the very least I can
test it for you on all English SCUMM games that support CMS
(Indy3, Monkey1, Loom).

comment:4 Changed 13 years ago by lordhoto

Nothing new, I have some newer code but only with some
naming changes and fixing that bug that you hear no music
(but still the "music" doesn't sound like the original it's
even hard to tell that it's from the game ;).

comment:5 Changed 12 years ago by fingolfin

So, are there any plans to do something with this tracker item? Is it just meant to stay around for "future reference" by interested parties? If so, one could try to find volunteers to help with it, e.g. by asking for help on the forums.

comment:6 Changed 12 years ago by lordhoto

I planned at least to finish it one day, but I was (and still am) working on the Kyrandia engine and the GUI.
That's why there isn't any process currently.

comment:7 Changed 10 years ago by sev-

Owner: set to sev-
Status: newclosed

comment:8 Changed 10 years ago by sev-

The patch rot a lot. I brought it up to date and committed.

If you will have time to finish the work, you are welcome. In some time I will try to do it by myself.

comment:9 Changed 7 months ago by digitall

Component: Engine: SCUMM
Game: Loom
Note: See TracTickets for help on using tickets.