Skip to content

VGMPlay / in_vgm

Last update: 2023-12-31 (v0.51.1)

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

Moderator: Staff

  • User avatar
  • ValleyBell Offline
  • Posts: 4746
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

Please note that the default settings are how it should sound on actual hardware, not custom 48000.

Again, please compare it to Kega Fusion or Regen.
  • User avatar
  • Tomy Offline
  • Posts: 19
  • Joined: 2011-12-09, 16:13:22
  • Location: Finland

Post by Tomy »

Ok, compared some sounds, it goes like this:

44100 native -> Fusion -> 44100 custom.
As in 44100 custom having the brightest sound and 44100 native the.. uh, dullest? (not sure about the right word). 44100 custom is actually just how I want it.
  • User avatar
  • Tomy Offline
  • Posts: 19
  • Joined: 2011-12-09, 16:13:22
  • Location: Finland

Post by Tomy »

ValleyBell, forget about the notes that don't play etc. I don't know why I didn't test it on the hardware the first time, as I just noticed that in_vgm actually plays it correctly. That means I have to re-do the track a bit to get the instruments working.
  • User avatar
  • ValleyBell Offline
  • Posts: 4746
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

Thanks.
I was already in a bad mood when I tried to make an optional fix for the issue (despite the fact, that the VGM worked in neither Regen 0.72 nor Fusion 3.64) and failed to do so.

Maybe you can ask Shiru to update the YM2612 emulator in VGM Music Maker.
  • User avatar
  • Tomy Offline
  • Posts: 19
  • Joined: 2011-12-09, 16:13:22
  • Location: Finland

Post by Tomy »

Yeah, I'm sorry about reporting bugs without first investigating them properly. But glad that this is now solved.

I sent information and comparison files about this to Shiru.
  • User avatar
  • dissident93 Offline
  • Posts: 204
  • Joined: 2012-02-17, 5:54:01
  • Location: USA

Post by dissident93 »

Ok so ummm. After I install the "Enhancer" plugin (which worked fine before), Winamp will not open because of in_vgm.
What causes this? I've never had this problem before. I've gotten rid of that plugin (for now) and in_vgm still causes Winamp to crash. 0.35 works fine though, so I wonder what is conflicting with 0.40?

EDIT: I've used the Winamp backup tool, and now it works. So I suspect it's the in_vgm settings file (which I suspect there is one, since the Backup tool gave me the option of restoring it.)

Problem signature:
Problem Event Name: APPCRASH
Application Name: winamp.exe
Application Version: 5.6.2.3199
Application Timestamp: 4ee2440b
Fault Module Name: in_vgm.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4f40ec85
Exception Code: c0000094
Exception Offset: 00059a94
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Last edited by dissident93 on 2012-03-12, 3:49:38, edited 2 times in total.
  • User avatar
  • ValleyBell Offline
  • Posts: 4746
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

I updated VGMPlay/in_vgm. No big new features, just some small ones and lots of fixes.

Updates:
  • fixed volume of K053260 (was too loud)
  • changed QSound commands
  • added option to reset the YM2612 LFO when it is turned off (fixes Ending of Ghouls 'n Ghosts SMD)
  • fixed VGMPlay's wav writer (crashed with playlists)
  • added muting to QSound chip
  • fixed bug that caused AdLibEmu (OPL emulation) to ignore the clock setting (fixes DECO8 rips)
  • added muting to AdLibEmu
  • added patch for "Cosmic Fantasy Stories" vgm pack (enabled by setting a special bit in the VGM header)
  • made YM2612 update alternating between "update left channel" and "update right channel" (I've read that somewhere and it sounds good)
  • fixed a bug with YM2413 drums
  • added new feature to DAC driver: reverse sample playback (see PS4_Title.vgm at second 46)
  • added DPCM compression for data blocks (see smsboss.vgm)
I still advice against doing QSound rips until I release the first QSound pack.
  • Tom Offline
  • Ragequit Member
    Ragequit Member
  • Posts: 496
  • Joined: 2011-11-30, 17:26:44
  • Location: Italy
  • Contact:

Post by Tom »

I have to say, the included smsboss.vgm sounds like mine, but with better drums :O

And yeah, I am looking forward to full QSound support, I will definitely work on Super Puzzle Fighter 2.
Also known as nineko.

Post by Sonic of 8! »

I may create a QSound Logo collection like NG BIOS.

Post by Tiido »

*in_vgm does not save settings in XMplay
*50/60/custom does not seem to work for anything but MD and SMS/GG
*I'd like volume sliders for different chips back, to fix volume balance issues... i.e MD and SMS/GG PSG VGMs are nice and loud, but YM2413 and others are very quiet compared to those.
Mida sa loed ? Nagunii aru ei saa :P
  • User avatar
  • RichterEX2 Offline
  • Posts: 191
  • Joined: 2012-03-30, 9:28:37
  • Location: Georgia, USA

Post by RichterEX2 »

^ I'd just like a way to make it sound exactly like Tiido's CCAM-Modded Genesis myself. :D
  • User avatar
  • ValleyBell Offline
  • Posts: 4746
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

Tom wrote:I have to say, the included smsboss.vgm sounds like mine, but with better drums :O
Indeed, it is. It was in the archive with SMPSPlay that I got.
Tiido wrote:*in_vgm does not save settings in XMplay
Looks like I need to install XMplay. I'll see if I can fix it.
Tiido wrote:*50/60/custom does not seem to work for anything but MD and SMS/GG
That's because only MD and SMS/GG games have the "recorded rate" value set and according to the VGM spec. if the player isn't supposed to do anything, if that rate value is not set (i.e. zero).
Funny fact: It's set to 1000 Hz for dro2vgm files, so it actually works there.
Tiido wrote:*I'd like volume sliders for different chips back, to fix volume balance issues... i.e MD and SMS/GG PSG VGMs are nice and loud, but YM2413 and others are very quiet compared to those.
Maybe I'll bring the volume sliders back in distant future. It's not that it's difficult to implement, but I don't have space for them in the dialogues and GUI editing is nothing I like to do.

btw: The internal volume levels are: PSG 50%, YM2413 200%, YM2612 100%, YM2151 100%.
It's really a mystery to me why the YM2413 is always so terribly quiet.

I'm always open for suggestions (especially regarding chip volume levels) - as long as it doesn't break the existing VGMs too much.
  • User avatar
  • Knurek Offline
  • Posts: 84
  • Joined: 2011-12-30, 1:01:56

Post by Knurek »

ValleyBell wrote:
Tiido wrote:*in_vgm does not save settings in XMplay
Looks like I need to install XMplay. I'll see if I can fix it.
For what it's worth, it works fine here, but I had in_vgm.ini created by Maxim's version of plugin, so maybe that helped.

Post by Tiido »

I got the INI file there, but every time I open XMplay I get default settings (2 loops, 44KHz sample rate for example).
Mida sa loed ? Nagunii aru ei saa :P
  • User avatar
  • ValleyBell Offline
  • Posts: 4746
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

I just updated VGMPlay. (Sorry, you'll need to wait 1 or 2 days for in_vgm. I want to fix the INI file problem first.)

The updates are:
  • fixed the crash when reading the UPD7759's ROM (small typo)
  • added YM2612 DAC Test Mode (register 2C) - I assume that the implementatin is still a little inaccurate, but it works
  • fixed Pokey muting
Post Reply