Phantasmagoria 1 won't send data to a real General MIDI module

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
tony526
Posts: 1
Joined: Mon Feb 22, 2021 4:00 pm

Phantasmagoria 1 won't send data to a real General MIDI module

Post by tony526 »

Hello everyone!

I've got two Phanta 1 versions available:
-GOG's full version (it uses ScummVM 2.0.0 by default; I've also tried 2.7.1)
-Roberta Williams' Anthology version that only has Phanta Chapter 1 (I've tried it with ScummVM 2.7.1)

I have a real General MIDI sound module (Roland CM-300), that, for example works fine in ScummVM when used with other games such as Eco Quest 2. When you start the game you can immediately see the MIDI data light flashing on the MIDI module, also it has a volume knob that can be used to turn down the MIDI music. So for that game ScummVM passes the MIDI data correctly to the GM sound module.

I'm using 32-bit Win 7 with a Roland UM-ONE MkII USB MIDI cable to connect the PC with the GM sound module. Windows recognizes the USB cable and correctly installs it as as an audio device (in ScummVM it is seen as UM-ONE [Windows MIDI].

In both of my versions of Phanta the game works fine and the sound works fine but always uses the Windows Sound for music and not the GM module.

I've selected the UM-ONE [Windows MIDI] device under Global Options/Audio/Preferred device and Global Options/MIDI/GM Device. Also, I've selected the Global Options/MT-32 Device/Don't use MT-32 option.

Here is the listing of the RESOURCE.CFG file inside the game directory, which shows which sound settings were configured for the game (I actually don't know if the game even uses these when run in ScummVM?):

Code: Select all

videoDrv  = VESA.DRV
soundDrv  = GENMIDI.DRV
audioDrv  = DACBLAST.DRV
joyDrv    = NO
mouseDrv  = STDMOUSE.DRV
memoryDrv = ARM.DRV
minCPU        = 486
minDOS        = 500
mode          = protected
CD            = yes
CPU           = 486
CPUSpeed      = 63
VideoSpeed    = 400
CDROM         = 2
language      = 1
audioSize     = 22k
cmd           = phcd.bat
cd            = no
smartdrv      = yes

hires         = 630,450
midiBuffSize5 = 30000
midiBuffSize6 = 65000
vmdRgb        = 35

˙˙˙˙˙˙
 
resaud        = .\ 
resmap        = .\ 
ressfx        = .\ 
sync          = .\ 
movieDir      = .\vmd 
patchDir      = .\;.:\patches 
robot         = .\;.\patches;.\robot 
audiosize     = 63 
I see no meaningful errors in the %APPDATA%\ScummVM\Logs\scummvm.log file:

Code: Select all

[2023-12-26 22:32:01] ScummVM 2.7.1 (Jul 15 2023 06:45:21)
[2023-12-26 22:32:01] Vorbis FLAC MP3 RGB zLib MPEG2 FluidSynth Theora AAC A/52 FreeType2 FriBiDi JPEG PNG GIF taskbar TTS cloud (servers, local) TinyGL OpenGL (with shaders) 
[2023-12-26 22:32:01] --- Log opened.
[2023-12-26 22:32:06] Running Phantasmagoria (DOS/English)
[2023-12-26 22:32:06] resmap.000: 3cafc1c6a53945c1f3babbfd6380c64c, 16468 bytes.
[2023-12-26 22:32:06] ressci.000: cd5967f9b9586e3380645961c0765be3, 116822037 bytes.
[2023-12-26 22:32:07] Skipping blacklisted patch file 65535.MAP
[2023-12-26 22:32:43] --- Log closed successfully.

If I try to run the game with the USB MIDI cable unplugged ScummVM will notice that it is missing and tell me that it will try to fall-back to the next audio device. This makes no difference as Windows audio will then be used. Also the %APPDATA%\ScummVM\Logs\scummvm.log file seems to show no change:

Code: Select all

[2023-12-26 22:37:13] ScummVM 2.7.1 (Jul 15 2023 06:45:21)
[2023-12-26 22:37:13] Vorbis FLAC MP3 RGB zLib MPEG2 FluidSynth Theora AAC A/52 FreeType2 FriBiDi JPEG PNG GIF taskbar TTS cloud (servers, local) TinyGL OpenGL (with shaders) 
[2023-12-26 22:37:13] --- Log opened.
[2023-12-26 22:37:20] Running Phantasmagoria (DOS/English)
[2023-12-26 22:37:20] resmap.000: 3cafc1c6a53945c1f3babbfd6380c64c, 16468 bytes.
[2023-12-26 22:37:20] ressci.000: cd5967f9b9586e3380645961c0765be3, 116822037 bytes.
[2023-12-26 22:37:20] Skipping blacklisted patch file 65535.MAP
[2023-12-26 22:37:55] --- Log closed successfully.
Am I missing anything? Do I need to configure some any other ScummVM settings for this?

Any advice would be greatly appreciated!
Post Reply