vgmrips

The forum about vgm files
It is currently 2017-11-19, 12:15:16

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: NEZplug++ VGM mod
PostPosted: 2013-05-29, 11:27:48 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2843
Location: Germany
Program: NEZplug 0.9.4.8 + 2 + 19.20, includes NEZplay (Homepage)
Program Type: VGM Creator / NSF/GBS/... Player
Platform: Windows (32-bit)
Plays formats: .kss (KSCC/KSSX), .hes, .nsf, .ay, .gbr, .gbs, .gb (from gbs2gb), .nsd, .sgc
Logs chips: SN76489, YM2413, YM3812, YM3526, Y8950, AY8910/YM2149, GameBoy DMG, NES APU, K051649 (SCC1), HuC6280
Comments: Modded by Valley Bell to log vgms. (enabled via nezplay.ini)
Keep the sample rate ("Frequency") at 44100 to get proper logs.

Binary / Source


Old versions
NEZplug v0.9.4.8 + 2 + 19.20 Binary (2013-05-29)


Release time!
NEZplug should be equally or more accurate than MESS.
Be careful with GB2GBS rips though, they might be buggy. (not because of NEZplug, but the rips themselves)


Top
 Profile  
 
 Post subject:
PostPosted: 2013-05-29, 16:18:18 

Contributors Contributors
Offline
User avatar

Joined: 2012-01-03, 2:10:28
Posts: 274
Thanks for good work.
I was able to fix Heiankyo Alien was impossible in MESS.

Reports that I noticed bug.
Different HuC6280 Clock is 21477270 Hz. (3579545 Hz correctly)

Gimmick does not output correctly, Using NES APU,Sunsoft-5B(AY8910 compatible).
This VGM sample, Gimmick - Lion Heart:
Edit : I deleted the file


Last edited by 2ch-H on 2013-06-14, 10:58:16, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2013-05-29, 22:42:38 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2843
Location: Germany
The last time I worked on it was 2 months ago and I forgot if it had any bugs left.
Anyway, I fixed the bugs and tested them with a few files.

EDIT: If you downloaded before this post was made, please redownload.


Top
 Profile  
 
 Post subject:
PostPosted: 2013-05-29, 23:25:08 

Programmers Programmers
Musicians Musicians
Offline

Joined: 2013-02-18, 3:17:44
Posts: 51
Once the other sound chips are added into VGM format, you can make it log VGM of NSF using expansions other than Sunsoft-5B, too.


Top
 Profile  
 
 Post subject: Re: NEZplug++ VGM mod
PostPosted: 2013-05-30, 1:02:28 

Contributors Contributors
Offline
User avatar

Joined: 2011-12-13, 17:31:14
Posts: 397
Location: Earth Planet
ValleyBell wrote:
NEZplug should be equally or more accurate than MESS.


SN76489 Periodic Noise emulation is horrible. Try the SGC file of Asterix (SMS) or the KSS / SGC of Argus no Juujiken (SMS) and hear it.

Also, some NSF games is not logged (early NES games), and some others, DPCM drums is not correct (Lagrange Point, and didn't log VRC7, which is similar to OPLL).

_________________
オモいカルチャーをオモチャーと言う - 細野晴臣


Last edited by Sonic of 8! on 2013-05-30, 1:03:58, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2013-05-30, 1:13:38 

Staff Staff
Programmers Programmers
Offline
User avatar

Joined: 2012-04-22, 4:03:45
Posts: 207
Location: New York, NY, USA
The true test: logging Lagrange Point's VRC7 as a YM2413!


Top
 Profile  
 
 Post subject:
PostPosted: 2013-05-30, 2:29:57 
Offline

Joined: 2011-12-09, 13:47:34
Posts: 54
Location: Tampa, FL, USA
2ch-H wrote:
Gimmick does not output correctly, Using NES APU,Sunsoft-5B(AY8910 compatible).
This VGM sample, Gimmick - Lion Heart:
http://www.mediafire.com/download/61rtrdo7w3aw6l0


This VGM closes XMPlay upon attempting to play it. x.x

_________________
Until next post...


Last edited by JFD62780 on 2013-05-30, 2:30:15, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: NEZplug++ VGM mod
PostPosted: 2013-05-30, 3:20:37 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2843
Location: Germany
Sonic of 8! wrote:
SN76489 Periodic Noise emulation is horrible.
It's just using wrong noise parameters. The logs are fine, because I copied the vgm parameters from MAME.
Also, M1 doesn't always use correct SN76489 parameters either. For this reason I almost always check submitted packs that use the SN chips for correct noise parameters.

The DPCM issue was solved with the quick update I made right before my last post.
VRC7 logging is disabled (by intention), because it's not entirely compatible with the OPLL.

(For reference: The broken VGM has an invalid NES RAM data block that writes beyond the bounds of the RAM array and crashes the plugin and player. This will be fixed with the next update.)


Top
 Profile  
 
 Post subject:
PostPosted: 2013-05-30, 6:59:27 

Contributors Contributors
Offline
User avatar

Joined: 2012-01-03, 2:10:28
Posts: 274
Thanks for update, It is output correctly.

But, I have found a the another bug.
This VGM sample, Gimmick - Happy Birthday:
Edit : I deleted the file
Gimmick_07_nes.vgm: Incorrect DPCM, not "snare drum" is played.

Gimmick_07_mess.vgm: The same thing happen Mess.


Last edited by 2ch-H on 2013-06-14, 10:57:58, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2013-05-30, 9:42:55 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2843
Location: Germany
The game changes the ROM bank that gets used for DPCM mid-song and nezplug doesn't yet support that for logging.
I'll fix this in a future update, but not now. (I'd like to do that in a less hackish way than I did in MAME/MESS.)


Top
 Profile  
 
 Post subject:
PostPosted: 2013-06-05, 13:23:17 

Musicians Musicians
Contributors Contributors
Online

Joined: 2012-09-29, 11:45:48
Posts: 214
Location: Australia
Just thought I'd say, this works with SuperNSF tunes. hahaha. Dat brute force.

_________________
-dj.tuBIG/MaliceX


Top
 Profile  
 
 Post subject:
PostPosted: 2013-06-05, 20:55:19 

Contributors Contributors
Offline
User avatar

Joined: 2011-12-13, 17:31:14
Posts: 397
Location: Earth Planet
SCC isn't logged into a VGM file (it still on VGM file, but it didn't play anything). Games tested: Gradius (ARC, modded into KSS file, due to SCC is very based in K005289), Gradius (SCC/SCC+ in Konami Game Collection series), probally more others.

_________________
オモいカルチャーをオモチャーと言う - 細野晴臣


Top
 Profile  
 
 Post subject:
PostPosted: 2013-06-06, 0:57:33 

Contributors Contributors
Offline
User avatar

Joined: 2013-02-08, 2:40:33
Posts: 68
Hmm,after doing a Test log of Metal Gear 2,I found oddities in the VGM file such as this:
Code:
D2 01 80 01 K051649:   Ch 64: Set Frequency LSB = 01
D2 01 81 01 K051649:   Ch 64: Set Frequency MSB = 1

That might be the source of the problem.


Last edited by GTheGuardian on 2013-06-26, 22:50:32, edited 4 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2013-07-13, 0:52:58 

Contributors Contributors
Offline
User avatar

Joined: 2011-12-13, 17:31:14
Posts: 397
Location: Earth Planet
Bug report: Some DPCM drums of Super Mario Bros. 3 is missing. It occurs with various Konami games too (most from 1986 to higher). There is a way to give some miliseconds before the music starts into the VGM file (like these ones in some Taito games that I've ripped), but with minus miliseconds (about 1/2 second)?

_________________
オモいカルチャーをオモチャーと言う - 細野晴臣


Top
 Profile  
 
 Post subject:
PostPosted: 2013-07-13, 10:35:48 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2843
Location: Germany
This is a known bug, I just haven't had time to fix it. (busy with university)
What happens is, that when the game initializes all registers, it turns the DPCM channel on and off (these commands end up at sample 0 in the VGM).
Enabling DPCM causes nezplug to write the DPCM data block to the VGM.
This all happens before the actual song starts, so the ROM banks aren't yet set up correctly. And since nezplug writes the DPCM block only once, it never writes another (correct) DPCM block.

DPCM support is bad in most of my programs anyway. vgm_trim doesn't rewrite it, vgm_sro doesn't support it and the DPCM emulation in MAME's NES sound core is quite bad, too.
I'll fix all of these issues, but I'm afraid I won't fix them this month. I have to meet some more important deadlines this month.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group