Skip to content

VGM Tool Collection

All you need to work with VGMs. Last update: 2022-12-30

Technical discussion about the VGM format, and all the software you need to handle VGM files.

Moderator: Staff

  • User avatar
  • MaliceX Offline
  • Posts: 226
  • Joined: 2012-09-29, 11:45:48
  • Location: Australia
  • Contact:

Post by MaliceX »

I'm currently experimenting with abusing the .vgm multi-chip capabilities. Two things:

1. vgm_ndlz seems to have no effect on splitting out the PSG chip paired with the YM2612, in particular those exported with VGM Music Maker. (trying to do stereo psg+ym2612 heh) Obviously the solution is to use its predecessor, TFM Music Maker to export instead, but I'm just curious on the limitation. Merging a PSG-only vgm on top does indeed overwrite the old chip instructions but there's a noticeable 'cut' at looping point.

2. The current version of vgmmerge does not allow for merging two YM2612+SN76496 vgm's using the same chips. Is there currently a way to produce 2xYM2612 VGM's at this stage?

Thanks in advance.
Last edited by MaliceX on 2012-10-16, 12:09:39, edited 1 time in total.
-dj.tuBIG/MaliceX
  • Tom Offline
  • Ragequit Member
    Ragequit Member
  • Posts: 496
  • Joined: 2011-11-30, 17:26:44
  • Location: Italy
  • Contact:

Post by Tom »

MaliceX wrote:Is there currently a way to produce 2xYM2612 VGM's at this stage?
Well, yes, but it's not available to the public. You might know that almost 2 years ago I released a Midi to Vgm converter that targets the YM2612; the public version can only handle a single chip, but I made a private modified version that can handle two chips.
Also known as nineko.
  • User avatar
  • 2ch-H Offline
  • Posts: 280
  • Joined: 2012-01-03, 2:10:28

Post by 2ch-H »

Two issues K054539

1. It will be used to silence vgm_trim,
Volume flag is probably erased.
1st Chip flag : D3 02 2F 01
2nd Chip flag : D3 82 2F 01

This VGM sample Salamander 2 Stage1 2nd Rap:
Edit : I deleted the file
2. Not compressed in vgm_cmp.


YM2151 issues of XEXEX

YM2151 sound of XEXEX is in the right channel only,
I want to mono YM2151 in vgm_mono.
It's possible?

This VGM sample Title Demo:
Edit : I deleted the file
Last edited by 2ch-H on 2012-10-23, 18:35:09, edited 2 times in total.
  • User avatar
  • ValleyBell Offline
  • Posts: 4768
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

Oh, thanks for reporting the K054539 bug. I'll release fixed trimming tools soon.

About the mono-ed YM2151: Just make a small note in the submission post and I'll take care of that.
  • User avatar
  • 2ch-H Offline
  • Posts: 280
  • Joined: 2012-01-03, 2:10:28

Post by 2ch-H »

Have completed a pack of XEXEX, but are also using K054539,
And I also completed pack of Salamander 2.

I post the submission?
or should you wait for the update of the tool?
  • User avatar
  • ValleyBell Offline
  • Posts: 4768
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

Here's the update. (The archive contains all trimming tools, i.e. vgm_trim, vgm_sptd and vgm_spts.)

It now rewrites the "enable playback" and the "rom/ram select" registers and the save state mode works now with the K054539.
This also fixes the save state mode for the 2nd chips of YMF278B, YMF271, K054539, C140. (and K051649 actually, but I didn't enable the save state mode for it anyway)
  • User avatar
  • 2ch-H Offline
  • Posts: 280
  • Joined: 2012-01-03, 2:10:28

Post by 2ch-H »

Thank you for the update.
I was able to create a new trimming tools.

I was posted to the submission the XEXEX and Salamander 2.
  • User avatar
  • ValleyBell Offline
  • Posts: 4768
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

I updated vgm_cmp (EDIT: I found another bug that's present in only a few VGMs. EDIT2: Fixed now) and fixed the NES support. There was some tiny bug that affected the sound of the noise a bit. (This bug affects only a fixed MAME NES core, btw. And since I added NES support to vgm_cmp before Delek fixed it, I couldn't notice it earlier.)

Note to Sonic Of 8!: I already mentioned it some time ago, but it annoys me a lot to see bug reports in description files.
Post them on the forum instead. This way I see them earlier and you have a chance of me fixing it quickly.

Post by Sonic of 8! »

Also, why SCC1 is not reducted much? When I droped my Hexion VGM file on vgm_cmp, it dosen't reduce much of his size.
オモいカルチャーをオモチャーと言う - 細野晴臣
  • User avatar
  • ValleyBell Offline
  • Posts: 4768
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

Because the SCC1 isn't yet supported. And Hexion is already on [pack] my TODO list.

EDIT: You can be sure that vgm_cmp has support for every chip that is in one of the VGM packs I made.
  • User avatar
  • ValleyBell Offline
  • Posts: 4768
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

Okay, I think I've fixed vgm_cmp now.

You can use the link I posted a few posts earlier, or this one.
  • User avatar
  • 2ch-H Offline
  • Posts: 280
  • Joined: 2012-01-03, 2:10:28

Post by 2ch-H »

OKIM6295 problem of vgm_sro.
OKIM6295 sound will be used to silence vgm_sro.

This VGM sample : Snow Bros 2 - Introduction, Boss-Yade (Boss), World Clear Demo, Chameleon Dead
Edit : I deleted the file
Last edited by 2ch-H on 2012-11-08, 0:38:17, edited 1 time in total.
  • User avatar
  • ValleyBell Offline
  • Posts: 4768
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

Indeed.
Thanks for the report, here is a fixed vgm_sro.

I forgot to apply the bank setting to the addresses, so it was an easy fix.
This updated version supports the uPD7759 chip, btw.
  • User avatar
  • 2ch-H Offline
  • Posts: 280
  • Joined: 2012-01-03, 2:10:28

Post by 2ch-H »

Thank you for the update.

Post by Sonic of 8! »

Bug with vgm_sptd: When I split tracks that have N2A03 APU data, the tracks has silent (only the first one is normal), even optimized or not.


Note by ValleyBell: Moved to the correct topic.
Post Reply