nukeykt / PCDoom-v2

Doom port for DOS
GNU General Public License v2.0
43 stars 10 forks source link

Too large MUS files should cause memory errors #10

Open AXDOOMER opened 7 years ago

AXDOOMER commented 7 years ago

I got some MIDI files in a WAD and they get converted to MUS when playing Doom, so the music system plays them. If they are too large, they cause memory errors. A MUS file has a 64K limit.

PCDoom will play them without problem.

Warp through map01 to map09. https://ufile.io/4a5c9 Not every of them will cause errors because some are smaller than 64K.

ghost commented 5 years ago

why would you not want them to work without problem

AXDOOMER commented 5 years ago

@igdegoo It's not vanilla behavior and PCDoom is supposed to reproduce vanilla behavior. It probably means that PCDoom is playing the MIDI files without converting them to MUS.

nukeykt commented 5 years ago

Sound library i use accepts only MIDI files, so in fact i had to do opposite: convert MUS to MIDI.

ghost commented 5 years ago

@igdegoo It's not vanilla behavior and PCDoom is supposed to reproduce vanilla behavior. It probably means that PCDoom is playing the MIDI files without converting them to MUS.

i see. so this is like chocolate doom for dos