problem with kawaks and ms 4-5

pisto

New member
I have kawaks 1.46 with loader, and I now that to add a game I must edit "asr.dat". I alwais played with this romset:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

System: NEO
RomName: mslug4nd
Game: Metal Slug 4

[Program]
263-p1.bin,0,100000,4d7e6624,0
263-p2.bin,100000,400000,FDB7AED8,0

[Text]
ms4n_s1.rom,0,20000,a9446774,0

[Z80]
263-m1.bin,0,20000,EE1E5580,0

[Samples]
263-v1.bin,0,400000,C1B2AF81,0
263-v2.bin,400000,400000,CBBDC6FA,0
263-v3.bin,800000,400000,C4F1A3CC,0
263-v4.bin,C00000,400000,40126A0A,0

[Graphics]
263-c1.rom,0,800000,361ddda6,0
263-c2.rom,1,800000,15d192c4,0
263-c3.rom,1000000,800000,63fb79ff,0
263-c4.rom,1000001,800000,e8623126,0
263-c5.rom,2000000,400000,3348DC5D,0
263-c6.rom,2000001,400000,D90FC1A0,0

[System]
CartridgeID: 263
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

System: NEO
RomName: mslug5
Game: Metal Slug 5

[Program]
ms5_p1.rom,0,600000,975EB06A,0

[Text]
ms5_s1.rom,0,20000,64952683,0

[Z80]
mslug5_m1.rom,0,20000,6FA01C9A,0

[Samples]
ms5_v1.rom,0,400000,C3540E0D,0
ms5_v2.rom,400000,400000,77BD2F4,0
ms5_v3.rom,800000,400000,39B14567,0
ms5_v4.rom,C00000,400000,969FF3B2,0

[Graphics]
ms5_c1.rom,0,800000,969C0D62,0
ms5_c2.rom,1,800000,C69AE867,0
ms5_c3.rom,1000000,800000,D7BEAEAF,0
ms5_c4.rom,1000001,800000,E1B1131B,0
ms5_c5.rom,2000000,800000,2FA1A5AD,0
ms5_c6.rom,2000001,800000,6DE89589,0
ms5_c7.rom,3000000,800000,97BD0C0A,0
ms5_c8.rom,3000001,800000,C0D5BC20,0

[System]
CartridgeID: 269
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


but now I want to play with this (mame) romset:


Metal Slug 4
263-p1.bin size 1048576 crc 27e4def3
263-p2.bin size 4194304 crc fdb7aed8
263-m1.bin size 65536 crc 38ffad14
263-m1d.bin size 65536 crc 69fedba1
263-v1.bin size 8388608 crc 01e9b9cd
263-v2.bin size 8388608 crc 4ab2bf81
263-c1.bin size 8388608 crc 6c2b0856
263-c2.bin size 8388608 crc c6035792
263-c3.bin size 8388608 crc 0721d112
263-c4.bin size 8388608 crc 6aa688dd
263-c5.bin size 8388608 crc 794bc2d6
263-c6.bin size 8388608 crc f85eae54

Metal Slug 5

268-p1.bin size 4194304 crc d0466792
268-p2.bin size 4194304 crc fbf6b61e
268-m1.bin size 262144 crc 88c11f51
268-m1d.bin size 262144 crc 6866d696
268-v1.bin size 8388608 crc 33c6305c
268-v1d.bin size 8388608 crc 14848c5c
268-v2.bin size 8388608 crc 1afb848e
268-v2d.bin size 8388608 crc 696cce3b
268-c1.bin size 8388608 crc 27d59de8
268-c2.bin size 8388608 crc e600dee1
268-c3.bin size 8388608 crc b650f098
268-c4.bin size 8388608 crc 10499589
268-c5.bin size 8388608 crc 19352405
268-c6.bin size 8388608 crc b1531523
268-c7.bin size 8388608 crc fe2c1338
268-c8.bin size 8388608 crc ecce3141

--------------------------------------------------------------------------------


so, what means (in asr.dat), after the file name, the first and the last value? (263-p1.bin,this,100000,27e4def3,this)

And how I should edit them to get work the new romset?
thnax



(sorry for my bad english :eek: :eek: )
 
Last edited:

montpics

New member
pisto said:
so, what means (in asr.dat), after the file name, the first and the last value? (263-p1.bin,this,100000,27e4def3,this)

And how I should edit them to get work the new romset?
thnax
263-p1.bin,0,100000,4d7e6624,0

is supposedly meant

file name, beginning of the file, end of the file, CRC 32 of the file, nothing related

It's pretty tough for me to explain that to you. But you should mainly replace the file name and CRC32 only. It should be fine with it. :cool:
 

hagbard

New member
...If those are fully decrypted/bootleged romsets :)
 

pisto

New member
ok, thanx for replies, but... in my actual romset there's only a z80 file (263-m1.bin,0,20000,EE1E5580,0) but in the new one there are two (263-m1.bin size 65536 crc 38ffad14; 263-m1d.bin size 65536 crc 69fedba1): what is the first value of asr.dat (begin of the file)?


same thing for all other the new file.
 

montpics

New member
m1d is a decrypted version of M1. Actually both are similar and you just have to replace one m1 only. You may add the m1d as an alternative if your Kawaks didn't work with it.

Note :
Z80 usually have one m1 only. So, there is no need for you to add something on it. (You may follow this one if you want to.) :)

Example
[Z80]
268-m1.bin,0,20000,88c11f51,0
268-m1d.bin,0,20000,6866d696,0
 

pisto

New member
ok, prgram work but problem with sound and video. please tell me the value of the beginning of the file for v and c and if this information

[System]
CartridgeID: 263
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0

are the same
 

montpics

New member
It should be the same as the original ones did. :cool:

Note :
But I personally doubt that you will have problems running with Metal Slug 5.
 
Last edited:

hagbard

New member
Won't be easier to use Nebula while dealing with rom dats?
The mslug5 is not really a Mame set because won't be supported till next year at least. It plays good with Nebula btw ;)
 
Last edited:

pisto

New member
montpics said:
It should be the same as the original ones did. :cool:

Note :
But I personally doubt that you will have problems running with Metal Slug 5.

no, and my romset is right (crc and file number and name ok).
I saw in the mame source code that the beginning value should be the same, so... :confused:

Nebula? mmmmmh, yes, it a chance but i prefer have a unique emulator
 

hagbard

New member
Nebula it's better in many things than Kawaks, specially from Kawaks 1.46. Nebula only needs to be updated.

I've found Fix:1B for mslug4 & Fix: 25 form mslug5...
 

montpics

New member
Off-topic:
hagbard said:
Won't be easier to use Nebula while dealing with rom dats?
The mslug5 is not really a Mame set because won't be supported till next year at least. It plays good with Nebula btw ;)
But I found problems on playing King Of Fighters 10th Anniversary with Nebula. Had you check with the game with Nebula? :rolleyes:
 

hagbard

New member
Of course, it can't run kof2003 neither. But I'm only talking about originals or "fine" bootlegs, not crazy hacks like kof 10th anniversary. I'm not interested in such a things :D
 
Last edited:

montpics

New member
Very much expected when I found Nebula crash loading the game. Thinks p1 or p2 needs to be redumped.

Ah well. :cool:
 

pisto

New member
ok, now i have a working and "home-made" romset of MS 4 and 5, with all C and M decrypted:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

System: NEO
RomName: mslug4
Game: Metal Slug 4

[Program]
263-p1.bin,0,100000,4d7e6624,0
263-p2.bin,100000,400000,FDB7AED8,0

[Text]
ms4n_s1.rom,0,20000,a9446774,0

[Z80]
263-m1d.bin,0,20000,580810dd,0

[Samples]
263-v1.bin,0,400000,C1B2AF81,0
263-v2.bin,400000,400000,CBBDC6FA,0
263-v3.bin,800000,400000,C4F1A3CC,0
263-v4.bin,C00000,400000,40126A0A,0

[Graphics]
263-c1.rom,0,800000,361ddda6,0
263-c2.rom,1,800000,15d192c4,0
263-c3.rom,1000000,800000,63fb79ff,0
263-c4.rom,1000001,800000,e8623126,0
263-c5.rom,2000000,400000,3348DC5D,0
263-c6.rom,2000001,400000,D90FC1A0,0

[System]
CartridgeID: 263
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

System: NEO
RomName: mslug5
Game: Metal Slug 5

[Program]
ms5_p1.rom,0,600000,975EB06A,0

[Text]
ms5_s1.rom,0,20000,64952683,0

[Z80]
mslug5_m1.rom,0,20000,6FA01C9A,0

[Samples]
ms5_v1.rom,0,400000,C3540E0D,0
ms5_v2.rom,400000,400000,77BD2F4,0
ms5_v3.rom,800000,400000,39B14567,0
ms5_v4.rom,C00000,400000,969FF3B2,0

[Graphics]
ms5_c1.rom,0,800000,969C0D62,0
ms5_c2.rom,1,800000,C69AE867,0
ms5_c3.rom,1000000,800000,D7BEAEAF,0
ms5_c4.rom,1000001,800000,E1B1131B,0
ms5_c5.rom,2000000,800000,2FA1A5AD,0
ms5_c6.rom,2000001,800000,6DE89589,0
ms5_c7.rom,3000000,800000,97BD0C0A,0
ms5_c8.rom,3000001,800000,C0D5BC20,0

[System]
CartridgeID: 269
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


I changed only the z80 of MS 4, the rest is as the first romset.
thnx
 

pisto

New member
after a lot of time, new questions: can you explain me what this value indicate

[System]
CartridgeID: 263
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0

and how are they used by the emu?
then both ms 4 and 5 has two set of v files, one of two, one of four. the second, is the decrypted one, isnt'it?
 

montpics

New member
CartridgeID: 263 <--Refer to the game being released by numbers

Others> I'm not a programmer so, don't messed with it.

then both ms 4 and 5 has two set of v files, one of two, one of four. the second, is the decrypted one, isnt'it?
Not nessesary true. It depends on how big is the rom once it is zipped. Let's say, Matrimelee. There are two sets of ROM which let you play the same game but different size.

80MB and 30MB (Note : Both are being zipped)

80MB is an encrypted while 30MB is decrypted one. You can see how much compressed it would be for a single file in those zips. :rolleyes:

2 set of v files, one of two, one of four? You mean there is 2 v files on the first one while the latter is 4 v files. If that case, that's pretty common, as those file can merged into 2 or splitted into 4 or 6 files. That's normal. :)
 

hagbard

New member
GfxCrypt = Encryption table used for graphic roms (Cx), kof99 or kof2000 tables.
GfxKey = hex value needed for decryption, as it has been used to encrypt them

Not 100% sure about the others :p
 
Top