vgmrips / vgmtools

A collection of tools for the VGM file format
GNU General Public License v2.0
118 stars 18 forks source link

How do I trim OPNA VGM that uses ADPCM? #12

Closed denjhang closed 3 years ago

denjhang commented 3 years ago

Currently I know how to trim OPL4 VGM, but I trim OPNA in the same way, and all ADPCM samples are lost. sor05_optimized_optimized.zip

ValleyBell commented 3 years ago

simple - do not run vgm_cmp before trimming. Do all trimming on the raw, logged VGMs and run vgm_cmp last. (preferably after all other optimizations)

Due to the lossy optimization that vgm_cmp performs, trimming and especially looping optimized VGMs is many times harder and requires a lot more careful trimming than operating on the raw logged VGMs.

superctr commented 3 years ago

Also, this is an issue tracker, not a forum for general questions. Take your questions to the forum thread instead.

denjhang commented 3 years ago

Thanks for answering. I have learned a lot of VGM optimization techniques.