vgmrips

The forum about vgm files
It is currently 2017-05-29, 17:23:56

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Problem with VGMTools
PostPosted: 2012-02-24, 14:15:34 

Contributors Contributors
Offline
User avatar

Joined: 2012-01-03, 2:10:28
Posts: 268
Problem of VGMTools,
Because there is not a VGMTools topic, I post it here
Edited by Tom: moved this post to a new topic (it was in the MAME topic). It is fine if you create a new topic to report a bug or to ask for help.

There is vgm where a sound disappears when I use vgm_trim

example 1:
Edit: link was removed.

Sega MegaCD/SegaCD - Cosmic Fantasy Stories - Opening
Before use :01 Opening.vgm
After use :01 Opening_trimmed.vgm
Some sounds become the silence.


example 2:
Edit: link was removed.

Turbo CD/PC Engine CD-ROM - Nobunaga no Yabou - Bushou Fuuunroku - Opening
Before use:op.vgm
After use :op_trimmed.vgm
It becomes the long silence.

vgm which I edited in reference to txt which I output in vgm2txt
op_vgm2txtopt.vgm
In this place, a sound is played.

Will it be correctable?


Last edited by 2ch-H on 2012-05-13, 18:04:32, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2012-02-24, 17:15:10 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2676
Location: Germany
Problem 1:
The next version of vgm_trim has an option that put some sort of chip save state the the beginning of the VGM, that fixed the problem.
The game doesn't set the Panning registers and they are 0 (silence) by default.

btw: When I listened to the files (on Project2612) first, I thought it uses the YM2612 DAC, because it sounds so terrible, but I found out that their samples are incorrect. (It uses 0x00 as the minimal negative sample value, which is actually 0xFE, and that corrupts the sound.)
I already thought about implementing making a "fix" for it, because it sounds nice this way.


Problem 2:
I don't know what I have to do to fix that. (At least not yet.)
One of the reasons I still haven't yet released new versions of my VGM tools is, that I have to test some chips (i.e. making a pack).
If I had made at least one HuC6280 vgm, vgm2txt wouldn't print such a mess like it currently does, btw.

Anyway, I'll see if I can fix it.


EDIT: Found it!
I just added C6280 support to vgm2txt and found what's causing the silence:
The chip has a "global volume" register and this one is missing in the trimmed file.


Top
 Profile  
 
 Post subject:
PostPosted: 2012-02-28, 23:28:10 

Contributors Contributors
Offline
User avatar

Joined: 2011-12-13, 17:31:14
Posts: 399
Location: Earth Planet
ValleyBell, can you post the vgmspec170.txt file here?

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


Top
 Profile  
 
 Post subject:
PostPosted: 2012-02-29, 2:08:41 

Contributors Contributors
Offline
User avatar

Joined: 2012-01-03, 2:10:28
Posts: 268
Thanks ValleyBell.
I wait for the next update.

btw: Because it released it in an unfinished state to keep the appointed date of delivery,
there are very many bugs in Cosmic Fantasy Stories.
Probably I think that it is caused by it that a sound is funny.
If the correction of the sample is possible, please fix it


Top
 Profile  
 
 Post subject:
PostPosted: 2012-03-03, 12:04:05 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 2676
Location: Germany
Sorry, I can post a vgmspec170.txt, because I haven't documented anything related to v1.70. (That's because I often do the implementation first and the documentation later.)

But you can download the vgmspec161.txt from SMSPower.
In case you already downloaded it: I changed the Q-Sound commands because there were terribly unhandy. (3 commands for 1 write)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 4 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