Opened 18 years ago

Closed 15 years ago

Last modified 5 years ago

#8489 closed patch

SCUMM: CMS support

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


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 18 years ago.
CMS Patch V1

Download all attachments as: .zip

Change History (10)

by lordhoto, 18 years ago

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

CMS Patch V1

comment:1 by eriktorbjorn, 18 years ago

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 by lordhoto, 18 years ago

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

comment:3 by SF/tbcarey, 18 years ago

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 by lordhoto, 18 years ago

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 by fingolfin, 17 years ago

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 by lordhoto, 17 years ago

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 by sev-, 15 years ago

Owner: set to sev-
Status: newclosed

comment:8 by sev-, 15 years ago

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 by digitall, 5 years ago

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