Wohlstand / libADLMIDI

A Software MIDI Synthesizer library with OPL3 (YMF262) emulator
GNU Lesser General Public License v3.0
170 stars 17 forks source link

Under the DOS platform, it seems that the custom wopl bank cannot be used #258

Closed denjhang closed 1 year ago

denjhang commented 1 year ago

\music\adl-new\adlmidi.exe music.mid \music\adl-new\mobv2.wopl sshot-20221027-152930 I'm using the example bank from the opl3 bank editor. Every wopl is not correctly identified.

Wohlstand commented 1 year ago

Is this path valid? DOS doesn't support 4 letters in filename extensions, so, files will turn into .WOP.

denjhang commented 1 year ago

sshot-20221027-153449

Wohlstand commented 1 year ago

So, you need to use:

\music\adl-new\adlmidi.exe music.mid \music\adl-new\mobv2.wop

(the .WOP extension, not .WOPL)

denjhang commented 1 year ago

Suffix names with more than four characters will be forced by DOS with ~1.

Wohlstand commented 1 year ago

So, does this file now works?

denjhang commented 1 year ago

It worked, no problem.

denjhang commented 1 year ago

\music\adl-new\adlmidi.exe music.mid -t -v -s \music\adl-new\mobv2~1.wop