pinobatch / pently

Scalable music engine for NES games
zlib License
72 stars 4 forks source link

Write NSFe format #39

Closed pinobatch closed 5 years ago

pinobatch commented 5 years ago

The NSFe format allows including more structured metadata than NSF. It begins with four bytes NSFE in ASCII, followed by a sequence of chunks as length, fourcc, data tuples: "INFO" first and "NEND" last. Integers are little-endian as in NSF, and no CRC is used unlike PNG.

NSFPlay and VLC media player can reportedly play NSFe files.

After #38, add credit metadata:

pinobatch commented 5 years ago

Basic NSFe generation is in. But because the length of psfx depends on NUM_SOUNDS yet must be determined at assembly time, adding psfx will have to wait for include file generation, which I plan to add along with #38.

pinobatch commented 5 years ago

Verifying the last part (psfx) depends on an NSFPlay defect fixed in b100dfc. Will close once that fix lands in the next beta release and I can test.

pinobatch commented 5 years ago

NSFPlay 2.4b13 fixes psfx parsing, reading the NSFe correctly.