vgmrips

The forum about vgm files
It is currently 2022-12-10, 7:24:53

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2021-03-29, 11:07:57 
Offline
User avatar

Joined: 2020-04-01, 12:40:57
Posts: 6
Location: DE
Hi everyone, I'm Alex.
I create MSU-MD patches for MegaDrive/Genesis games, replacing the chipsound with CD audio which works on flashcarts, real hardware and emulation. You can find my patches and sources on my github.

I've been digging through all sorts of sound drivers and often times I'm struggeling with unexpected results when I mute the chipsounds by bypassing routines or setting registers from music-IDs to values that trigger a "stopAll" command. This is sometimes related to a bug in SMPS when no music is played where the original game expects music to be present. Seeing so many experts here, I'd like to ask for some information.

I've experienced that the most reliable way to mute SMPS is to null all the sound data. I've done that with Toki but it was more or less accidently that I found the correct location of the music tracks, while leaving the headers of each track intact.
What would be to right way to do it?

I'm also having a hard time with GEMS, which is doable for me, but since I don't know better, I patch each and every instruction where music is supposed to play. There's gotta be a better way, hijacking the driver itself.


If you had any useful tips for me, that'd be very much appreciated! Maybe you know of a tool that would come handy when trying to find locations, headers, data etc.? Thank you very much!


Top
 Profile  
 
 Post subject:
PostPosted: 2022-01-04, 17:23:29 
Offline

Joined: 2015-08-08, 13:56:52
Posts: 88
ops... almost one year ago...

GEMS have 4 banks with data. Samples, Envelopes, Sequences and Instruments. every one of them have his own format. for usual GEMS version will fine my this one picture-explanations: https://github.com/SeregaZ2004/GEMSReader

for custom GEMS cases it will be more difficult. like Zero Tolerance - GEMS Sequences bank have only 7 or 8 melodies, without sfx or woman voice. but they are present inside Samples bank and Instruments bank have them. so ZT GEMS was a little modified and sfx calls from another place - table of sfx, not Sequences as usual. like MK3 - it can play two samples at once. but it cost low quality - 6500 instead 10.4khz for top GEMS's samples quality. and it have 4 bit DPCM, not 8 bit PCM as usual. like Comix Zone - it have ADPCM.

most of all that GEMS games i am unpack into my online GEMS database - for switching songs between games, that have same GEMS.
https://www.youtube.com/watch?v=5RfFL-vKORU (too bored video and too russian's english language)

will be nice to get same pack of SMPS and make converter from SMPS to GEMS, but i am too dumb at last time to deeply dig SMPS :) (early i am was too lazy to do that - now, after covid - too dumb). but still want to!


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users 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:  
cron
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.025s | 15 Queries | GZIP : On ]