Can't get Mt-32 emulation to work (loom, mi1)

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
Isaac_A_Steiner
Posts: 34
Joined: Mon Oct 31, 2005 4:26 pm

Can't get Mt-32 emulation to work (loom, mi1)

Post by Isaac_A_Steiner »

okay, the situation is this:
I have all the setting BY THE BOOK. The roms are working, tested by an other board member. the roland-update is installed
Still, svummvm exits when the first note is supposed to be played.
I get this error message when trying to start loom

Debuglevel (from command line): 9
Looking for loom
Trying to start game 'Loom'
File loom.000 not found
Output sample rate: 22050 Hz
File CM32L_CONTROL.ROM not found
File CM32L_PCM.ROM not found
MT32emu: SSE is avaliable
MT32emu: using SSE
GM SysEx: GM System On
GS SysEx: GS Reset
GS Program Change: CM-64/32L Map Selected
GS Program Change: Drum Map is CM-64/32L
GS SysEx: Master Chorus Level is 0
GM Controller 91 Change: Channels 1-16 Reverb Level is 64
GM Controller 6 Change: Channels 1-16 Pitch Bend Sensitivity is 12 semitones
GS SysEx: Channels 1-16 Mod. LFO1 Pitch Depth Level is 4
GM Controller 11 Change: Percussion Channel Expression Level is 80
GS SysEx: Percussion Channel Rx. Expression is OFF
GS SysEx: Reverb Character is 0
GS SysEx: Reverb Pre-LF is 4
GS SysEx: Reverb Time is 106
allocResTypeData(Buffer/buffer,NONE,10,0)
readIndexFile()
openRoom(0)
openResourceFile(00.lfl)

I'm using today's built on winXP.

The same symptoms are true for MI1 EGA.

What am I doing wrong?
Thx in advance,
Isaac
Isaac_A_Steiner
Posts: 34
Joined: Mon Oct 31, 2005 4:26 pm

Post by Isaac_A_Steiner »

hmm... every single game crashes
User avatar
sev
ScummVM Lead
Posts: 2279
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Post by sev »

And do they work with Adlib emulation?


Eugene
Isaac_A_Steiner
Posts: 34
Joined: Mon Oct 31, 2005 4:26 pm

Post by Isaac_A_Steiner »

yes, perfectly
User avatar
sev
ScummVM Lead
Posts: 2279
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Post by sev »

Weird. Only difference for me was that I have additionally 3DNow! in my processor. I disabled it, and still ran perfectly. What is md5 of your mt32_control.rom?


Eugene
Isaac_A_Steiner
Posts: 34
Joined: Mon Oct 31, 2005 4:26 pm

Post by Isaac_A_Steiner »

The Md5 is 9513fec4f09a7d327748340ce3a2a59b

Regards,
Isaac
User avatar
Kaminari
Posts: 275
Joined: Mon Oct 24, 2005 2:25 am
Location: Paris, France
Contact:

Re: Can't get Mt-32 emulation to work (loom, mi1)

Post by Kaminari »

Isaac_A_Steiner wrote:File CM32L_CONTROL.ROM not found
File CM32L_PCM.ROM not found
Munt is looking for a CM-32L ROM? That's news to me.
Emissary
Posts: 1
Joined: Sun Mar 12, 2006 1:52 pm

Maybe the same problem here

Post by Emissary »

Hi,

first of all, I'm so absolutely happy about this whole project. But I've encountered the same problem as the person before: The moment a game tries to play a mt-32 sound the whole scummvm crashes. When I use Adlib everything works fine.

The wannabe-hacker I always am I tried to locate the problem myself and looking at the debug output of scummvm I saw that it assumes (incorrectly) that my processor is capable of 3DNow!. So I changed the following line in i386.cpp (under sound/softsynth/mt32) from:

atti386_Detect3DNow()

Code: Select all

if (result & 0x80000000)
                return true;
to:

Code: Select all

if (result & 0x80000000)
                return false;
and recompiled the whole thing. After that everything worked.

I know that my code change is far from being a bug fix (it simply always tells the emulator that 3DNow! is not available) but the problem seems to be in the detection code. I'm not good enough at assember and C(++) to find out whats wrong for myself but I'm offering to help where I can.

FYI I use gentoo linux (gcc 3.3.6 libc 2.3.5 linux 2.6.16) and have a Pentium M Dothan.

Dominik
Post Reply