vgmrips

The forum about vgm files
It is currently 2023-09-30, 7:48:35

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: mod2vgm issue
PostPosted: 2016-08-04, 0:14:39 
Offline

Joined: 2016-08-03, 22:36:09
Posts: 36
Location: Italy
Hello,
I'm using a lot mod2vgm (OPL4/YMF278B, I don't understand if there is an option for YMZ280B) by ctr.
Thanks ctr!
I just came across a module .mod that cannot be converted properly by mod2vgm.
Its name is hold me 2ooo by Markus.
It can be downloaded here on Amiga Music Preservation

ttp://ftp.t-pas.net/downmod.php?index=125094

Here is a technical sheet of the module

ttp://ftp.t-pas.net/analyzer2.php?idx=125094

I wonder what is it that make a difference from other dozens of .MOD happily converted (and played on MSX2 + MFR SCC+ +SD + DalSoRi + VGMPlay)

I started looking into mod2vgm source code, but my level of knowledge is far too low at the moment (barely know what a VGM is, same for MOD) ...

Any help or suggestion appreciated!



P.S. I'm not allowed to post URL, I went around this rule at my first post, so in case this is too rude of me, I will clean my post and apologize. Sorry!


Top
 Profile  
 
 Post subject:
PostPosted: 2016-08-04, 0:22:19 

Contributors Contributors
Staff Staff
Reverse engineers Reverse engineers
Offline

Joined: 2013-07-17, 23:32:39
Posts: 492
It doesn't work because it has instruments longer than 65535 samples. As I mentioned in the readme, the OPL4 does not support longer samples. You either have to downsample them enough to fit, or split the sample and edit the .MOD to try to cue the sample parts.

edit: and yes I mentioned the YMZ in the readme. It isn't supported at the moment, I have just considered it. Use xm2vgm if you want to use that chip.


Top
 Profile  
 
 Post subject:
PostPosted: 2016-08-04, 0:37:57 
Offline

Joined: 2016-08-03, 22:36:09
Posts: 36
Location: Italy
Thanks for this laser-fast answer! :o

I'll try to figure out what is the best work-around for the case. :?:


Top
 Profile  
 
 Post subject:
PostPosted: 2016-08-05, 21:43:16 
Offline

Joined: 2016-08-03, 22:36:09
Posts: 36
Location: Italy
I downsampled "what a hot piece.wav" @ 4182 samples/s rate and scaled down one octave every invocation in the module using OpenMPT because I read on the internet that Impulse Tracker will play it @ 8363 samples/s anyway.

Now module file seems prepared, nonetheless converted vgm is goofy and as hell and a different piece.

I will try to truncate to maximum 65535 samples dimension (i.e. circa 5 seconds cut out) and try again.


Top
 Profile  
 
 Post subject:
PostPosted: 2016-08-06, 14:19:31 

Contributors Contributors
Staff Staff
Reverse engineers Reverse engineers
Offline

Joined: 2013-07-17, 23:32:39
Posts: 492
Try to split the long samples into multiple parts, like this.


Top
 Profile  
 
 Post subject:
PostPosted: 2016-08-06, 22:19:47 
Offline

Joined: 2016-08-03, 22:36:09
Posts: 36
Location: Italy
You did it! :beer:
Congratulations!

My plan was to play on my MSX2+ a compilation of module files Kawano @aka_obi did for Tecnique.

See here (URL misses starting 'h')

ttps://twitter.com/aka_obi/status/752188072352100353

Thanks again!

lo zaffo


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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
[ Time : 0.036s | 15 Queries | GZIP : On ]