netboot naomi cartridge mame dump

codecrank

Giga Shock!!
For the love of god I cannot find anything on the innanet showing how to turn a mame romset into into a pacthed bin for netbooting.

CHD files are well documented. but nada for carts...

example Virtua On.

epr-23198.ic22
mpr-23185.ic1
mpr-23186.ic2
mpr-23187.ic3
mpr-23188.ic4
mpr-23189.ic5
mpr-23190.ic6
mpr-23191.ic7
mpr-23192.ic8
mpr-23193.ic9
mpr-23194.ic10
mpr-23195.ic11
mpr-23196.ic12s
mpr-23197.ic13s
vonot-key.bin


looking at this here, may be a place to start....

http://git.redump.net/mame/tree/src/mame/drivers/naomi.c#n6332
 
Last edited:

werejag

Giga Shock!!
copy 22 then copy the other 1 -13s together.

copy/b epr-23198.ic22+mpr-23185.ic1mpr-23186.ic2+mpr-23187.ic3+mpr-23188.ic4+mpr-23189.ic5+mpr-23190.ic6+mpr-23191.ic7+mpr-23192.ic8+mpr-23193.ic9+mpr-23194.ic10+mpr-23195.ic11+mpr-23196.ic12s+mpr-23197.ic13s Virtua_On.bin

Virtua_On.bin will be the netbootable file

ive done this and it works

we need guiltygear x ic22 dumped properly the one from mame is bad
 
Last edited:

codecrank

Giga Shock!!
copy 22 then copy the other 1 -13s together.

yeah I made some progress on that yesterday. the mpr- files are simply concatenated. the epr- file requires padding.

looking at the mame code...

Code:
ROM_START( pstone2 )
	NAOMI_BIOS
	NAOMI_DEFAULT_EEPROM

	ROM_REGION( 0x5000000, "rom_board", ROMREGION_ERASEFF)
	ROM_LOAD("epr-23127.ic22", 0x0000000, 0x0400000,  CRC(185761d6) SHA1(8c91b594dd59313d249c9da7b39dee21d3c9082e) )
	ROM_RELOAD( 0x400000, 0x400000)
	ROM_LOAD("mpr-23118.ic1", 0x0800000, 0x0800000, CRC(c69f3c3c) SHA1(e96ad24473197f8581f5e4398244b9b76957bfdd) )
	ROM_LOAD("mpr-23119.ic2", 0x1000000, 0x0800000, CRC(a80d444d) SHA1(a7d2a5831412134a26ba37bf83e5ce38eb9f3928) )
	ROM_LOAD("mpr-23120.ic3", 0x1800000, 0x0800000, CRC(c285dd64) SHA1(e64507caedb9f312ab291b41b8d7fe8922eb434e) )
	ROM_LOAD("mpr-23121.ic4", 0x2000000, 0x0800000, CRC(1f3f6505) SHA1(da5eb3b9b5c85f5f0b4afe0c0ee8d034108300a2) )
	ROM_LOAD("mpr-23122.ic5", 0x2800000, 0x0800000, CRC(5e403a12) SHA1(e71c15e63c30e60b6db1fcd2841f66490f31579a) )
	ROM_LOAD("mpr-23123.ic6", 0x3000000, 0x0800000, CRC(4b71078b) SHA1(f3ed39402f585ae5cf6f8987bf6be6c6d46eafa1) )
	ROM_LOAD("mpr-23124.ic7", 0x3800000, 0x0800000, CRC(508c0207) SHA1(e50d97a17cdd6771fbc63a254a4d638e7daa8f57) )
	ROM_LOAD("mpr-23125.ic8", 0x4000000, 0x0800000, CRC(b9938bbc) SHA1(d55d7adecb5a5a4a276a5a17c12808085d980fd9) )
	ROM_LOAD("mpr-23126.ic9", 0x4800000, 0x0800000, CRC(fbb0325b) SHA1(21b965519d7508d84344641d43e8af2c3ca29ba4) )

	ROM_REGION( 4, "rom_key", 0 )
	ROM_LOAD( "pstone2-key.bin", 0, 4, CRC(3858144b) SHA1(f5fb9157b38969c986f8abbe8ed3f95e788e45c0) )
ROM_END

seems like the rom needs to be 0x5000000 big ( ROM_REGION ) , therefore the padding must be present ( ROM_RELOAD )

Code:
cat epr-23127.ic22 > game.bin
dd if=/dev/zero bs=1 count=$((0x400000)) >> game.bin
cat mpr-231* >> game.bin

using that technique, virtua on boots, but it hangs after the region protection screen. I'm using the japan H bios so it shouldn't be region related.

Furthermore, I looked at a working ZombieRevenge bin file and the mame rom set. there is a difference in the epr-21707 section.

Code:
dd if=ZombieRevenge.bin of=epr.dat bs=1  count=$((0x200000))

here is the diff in hex dumps between that epr and the one in the mame set. 

< 0c6750 032 003   ?   c   2   /   |   3   < 001 034   a 307   1 021 037
---
> 0c6750 032 003   ?   c   2   /   |   3   < 001 034   a  \b  \0 021 037
51407,51416c51407,51416
< 0c92c0   2   & 001 340  \v  \0  \t  \0 346   / 326   / 266   / 246   /
< 0c92d0   # 335   ' 323   2   - 037 320   : 233 002   b   " 332 273   "
< 0c92e0   -   b   "   *   # 323   ! 336   I   # 001   C   2   .   " 322
< 0c92f0   "   - 002   c 273   #   =   c   2   *     322   )   $   )   D
< 0c9300 001   D   B   . 036 323   2   - 002   a 273   ! 035   a 022   *
< 0c9310   }   g   r   . 002   s   2   - 002   a 273   ! 035   a 022   *
< 0c9320   c   g  \0 344   C   c 001   G   r   3  \v 211 342   m 335   f
< 0c9330 370 341   c   b 034   B       % 001   t 001   u   r   4   `   %
< 0c9340 364 217 001   u 366   j 366   k 366   m  \v  \0 366   n  \0 020
< 0c9350 001   @  \0  \0 240   D   z  \f  \0  \0 001  \0  \0  \0 002  \0
---
> 0c92c0  \t  \0 001 340  \v  \0  \t  \0 246   / 266   / 306   / 326   /
> 0c92d0 346   / 037 320 035 321  \r   m 321 021   )   @  \0 021 022   Z
> 0c92e0 255   j 022   ] 335   m   (   M 333   * 022   [ 275   k 022   ]
> 0c92f0 335   m   (   M 333   + 022   \ 315   l 022   ] 335   m   (   M
> 0c9300 333   , 025 335 260   = 033 211 240   = 006 211 377   } 240   =
> 0c9310  \a 211 240   7 343 213 006 240  \t  \0 260   4 337 213 002 240
> 0c9320  \t  \0 260   7 333 213  \v 320 314   0  \r   m 321 021   )   @
> 0c9330  \0 021 001   F 022   \ 310   l 301   % 020   F 372 217 002   u
> 0c9340 366   n 366   m 366   l 366   k  \v  \0 366   j  \0   p   _ 240
> 0c9350  \0  \0   ` 240  \0  \0   @ 240 377 377 377 377  \0  \0 002  \0
117303c117303
< 1d2900   2   /   |   3   < 001 034   a 307   1 021 037 004 217  \0 345
---
> 1d2900   2   /   |   3   < 001 034   a  \b  \0 021 037 004 217  \0 345

this has to the be the mysterious patching that circumvent the copy protection on certain carts.

I found dknute's patcher v2, which successfully patched the bin file, but that had no effect on virtua on hanging....

most patched naomi files out there are v3 or v6 patched, but I can't find that patcher... link in here is dead http://dknute.livejournal.com/33254.html
 

skate323k137

Giga Shock!!
I have some GUI tools on an old laptop buried somewhere that were for converting the mame roms to .bin files, I can probably dig them up if you really need. I have no clue where that laptop is, but it's around here somewhere. Honestly though they should all be properly converted by now anyway (except guilty gear X due to one bad dump). I was able to convert powerstone (which is encrypted) using the old tools I have laying around, but it plays the same as a copy I got elsewhere ;)
 

Lemony Vengeance

Mitt Romney's Hairdresser,
Bravo, good sirs!


Now if I could get a BIN of MvC2 with the complete roster unlock baked into the file, that'd be great :-)
 

codecrank

Giga Shock!!
Honestly though they should all be properly converted by now anyway (except guilty gear X due to one bad dump).

I wish :/
http://segaretro.org/Sega_NAOMI, lots missing from the neo arcadia post. Notably Outrigger... I bought an outrigger panel for it before checking if the rom was netbootable. I now own 2 cartridges ( and 2 panels ) :lolz:

I was able to convert powerstone (which is encrypted) using the old tools I have laying around, but it plays the same as a copy I got elsewhere ;)

http://git.redump.net/mame/tree/src/mame/drivers/naomi.c#n4852


what part of the cartridge is encrypted ?? I know for a fact that mpr IC dumps in mame are decrypted.
 

skate323k137

Giga Shock!!
I wish :/
http://segaretro.org/Sega_NAOMI, lots missing from the neo arcadia post. Notably Outrigger... I bought an outrigger panel for it before checking if the rom was netbootable. I now own 2 cartridges ( and 2 panels ) :lolz:



http://git.redump.net/mame/tree/src/mame/drivers/naomi.c#n4852


what part of the cartridge is encrypted ?? I know for a fact that mpr IC dumps in mame are decrypted.

Interesting... I swear someone told me that powerstone was only dumped by trojaning out the decrypted data while it was running. It's possible the MAME roms themselves are decrypted, but I'm fairly certain the cart itself is encrypted.

I'll take a look for that laptop in a minute here.
 

skate323k137

Giga Shock!!
Alright here's what I've got. It's been years, so you might have to do some trial/error and figure stuff out. What I remember is putting the NAOMI roms in my mame rom dir, telling this program where my MAME install was, specifying a couple paths (input / output) and it ran a batch conversion to makaron (generally compatible with netboot). Some games worked, some didn't. Patchv6.exe helped in some cases. This was the util I used to convert power stone and netboot it.

anyway, it seems to be a GUI that runs some of the exe's in the bin dir. There should be some very useful tools in here if you know what you're doing. I might have fucked with the .ini files, but they shouldn't be too bad... iirc I was trying to convert cosmic smash before I found a working copy.


http://neohyphengeo.com/NaomiConvert.zip
 

werejag

Giga Shock!!
if we have a ftp someone can provide i can upload what i have in the way of netboots i dont know what im missing besides ggx
 

werejag

Giga Shock!!
ill compile a list most of what i have is from neoarcidia plus a few i put together and some other site if i reemeber correctly
 

codecrank

Giga Shock!!
I'll have to try out the converter toolkit...

Still can't get virua on to boot passed the region warning screen. tried v6 patch, tried a different naomi board , G bios as someone suggested. it's odd I can get in the service menu for that game once booted.

hmmm, the rom works in Demul.. what the deuce
 
Last edited:

aoiddr

Over Top Auto Mechanic
Sorry for the three month bump on this thread, but I've been fiddling with trying to convert a couple of Naomi mame roms to be netbootable, but don't seem to be making much progress. I guess I'm missing a step somewhere. The games I'm trying are 'Quiz Ah Megamisama' and 'Virtual On.'


1.) I tried the NaomiConvert files that skate323k137 linked to and edited the "_ROM.ini" to add in the games I'm trying to convert. When I do this, I end up with a zip file with a full-size ".dat" file and a small ".dat" file. How do I combine those?

[I also noticed that the "_ROM.ini" file sometimes doesn't have the 's' on the end of some of the file names. Like, it'll say "23226.ic32" should be "23226.ic32s" and if the converter is run without adding the 's' onto the end, then that file doesn't get put into the resulting ".dat" file.]


2.) I tried unzipping the mame roms to a folder and then running werejag's "copy/b" method from a command prompt. This will give me a single .bin file. I tried to run Virtual On's file, but it just kept loading the Test Menu. Ah My Goddess game me a rom error message when booting.


So my question is, am I missing a step here? o_O
 
Last edited:

aoiddr

Over Top Auto Mechanic
there is some protections in some of the naomi games.

what games are you trying to convert?

I was wanting to convert these:

Quiz Ah Megami-sama
Gun Survivor 2: Biohazard Code Veronica
Ninja Assault
Out Trigger
Virtual-On OT M.S.B.S.
Samba de Amigo ver.2000
The House of the Dead 2 [I read this only works on the PCB cage version of the Naomi...?]
 
Top