Closed vincentbernat closed 6 years ago
In fact, I am able to play most VGM now. The unplayable ones were for the OPL3.
Glad to hear it. Yes, VGM format supports a number of different chips. So if I understand it correctly, the change is no longer required?
It still is. For example, I need it for the shipped zero_wing.vgz
. Maybe the "ignore other chips" part is not needed.
I forgot that one file can target multiple chips. Agreed that only failing when there is no YM3812 clock speed makes more sense.
Some VGM (like zero_wing.vgz) contains a null opcode. We skip it. opl2play.cpp seems to do the same thing. Some VGM also contain commands for other chips. Skip those commands. Again, like opl2play.cpp.
I still have many VGM not playing, but reading the spec, I see this is a quite complex format...