[Scummvm-tracker] [ScummVM :: Bugs] #14527: Midi dump feature not working
ScummVM :: Bugs
trac at scummvm.org
Tue Jul 4 13:03:29 UTC 2023
#14527: Midi dump feature not working
----------------------------+------------------------------------------
Reporter: fabianostermann | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Audio
Version: | Keywords: MidiDriver Midi Dump Feature
Game: Monkey Island 2 |
----------------------------+------------------------------------------
Hi all,
has anyone ever used the --midi-dump feature, that is build in since
commit 3b4810a to the MidiDriver from audio/mididrv.h+cpp?
I tested it with stable version 2.7.0, an up-to-date build from source and
checked out the code to the state of the former commit 3b4810a in order to
detect if it is an error that has occured while improving on the engine or
if the error maybe is due to my setup.
Alle three attempts failed leading to no file dump.mid was generated.
When I forced a midi file to be written by code change, it gave me a midi
file with header only. So, midi events are never recorded (proved it with
debug prints) and the dump cache remains empty.
I tested on my version of monkey1 and monkey2.
Monkey2 directory has following files:
ADLIB.IMS MONKEY2.001 ROL_330.IMS ROL_334.IMS ROLAND.IMS
SPEAKER.IMS
MONKEY2.000 MONKEY2.EXE ROL_332.IMS ROL_336.IMS SOUNBLAS.IMS
Can anyone help to find the problem? Is it maybe the version of my game,
that is not capable?
I am trying to analyse the iMuse engine for academic research, so having
the ability to dump midis and, in the best case, redirect events directly
from source code to other programs would really help me.
Rebuilding the iMuse engine in python would be the next thing I would
check, if this approach with ScummVM does not work. So if anyone has ideas
here, that would also be super helpful for me.
I would appreciate it a lot if someone can provide me any hint of where to
look next. Thanks in advance!
(And many thanks for all the work anyone has spend on ScummVM. I use it
for playing my favorite adventure for over 15 years now. :-D )
--
Ticket URL: <https://bugs.scummvm.org/ticket/14527>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list