vgmrips

The forum about vgm files
It is currently 2017-07-22, 20:49:51

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GEMS samples format
PostPosted: 2017-07-08, 19:06:32 
Offline

Joined: 2015-08-08, 13:56:52
Posts: 49
most popular format for GEMS game is mono 8bit PCM wav. they can have different kbs. for example:
shell's splitter make sfx files, where this type is shows: FLAGS =$45 - in this case second 5 is marker for kbs.
5 = 10400
6 = 8700
7 = 7300
8 = 6500
9 = 5800
$A = 5200

with this no any problem.



but then comes some special cases, where i have no idea. for example: Mortal Kombat have atmost $88 flag. so second is 8 = 6500kbs and looks like fine, but this first 8... as ValleyBell say it was DPCM 4bit. and give a table, with i need to make 8 bit sound. this table is:
Code:
dc.b    00H, 01H, 03H, 07H, 0DH, 15H, 1FH, 2BH
dc.b   -00H,-01H,-03H,-07H,-0DH,-15H,-1FH,-2BH


and second - you need read 4bit from back to forward:
%0000xxxx as first value
%xxxx0000 as second
and this values is marker for array - table.

then for 8bit convert you need take $80 value + value from table (for example it was 03H), then you need $83 + next value... and etc.

so with this case no problem. btw - WWF Arcade Game probably have same DPCM, becouse i am play WWF samples with same code, as MK3.



but then... come Comix Zone. first it have 3bytes per... idk what, but it is not same as other games have. second: samples have FLAGS =$E6 or FLAGS =$C6... i want to kill somebody... why it need so many different cases - i am not understand.

becouse this game have $45 flags too, i think it is not some DPCM. but any way i need to check it with ready to eat MK3 code... aaaand???? and hiss, noice, soddom and gomorra. it is sure not DPCM. ok. lets try to use 4bit PCM, as ValleyBell say, just need to x16. again - wrong.

so what it is format?


Attachments:
Comix Zone.zip [1.54 MiB]
Downloaded 8 times
Top
 Profile  
 
 Post subject:
PostPosted: 2017-07-08, 22:07:40 
Offline

Joined: 2015-08-08, 13:56:52
Posts: 49
probably Ooze have same type of samples. this game have as minimum 3 of that FLAGS =$C6


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 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