PDA

View Full Version : netboot naomi cartridge mame dump



codecrank
10-07-2014, 10:09 AM
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

werejag
10-08-2014, 06:48 AM
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

codecrank
10-08-2014, 10:04 AM
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...



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 )



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.



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

werejag
10-08-2014, 10:11 AM
i have patchv6.exe
sent pm with personal link

codecrank
10-08-2014, 10:43 AM
i have patchv6.exe
sent pm with personal link

thank you kind Sir !

skate323k137
10-08-2014, 01:54 PM
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
10-08-2014, 03:04 PM
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
10-08-2014, 04:04 PM
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.

twistedsymphony
10-08-2014, 06:24 PM
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:

Since you own a couple of those panels maybe you can confirm... are the joysticks in those panels the same as VOOT? I know the grips the same but I was curious if the bases were as well.

skate323k137
10-08-2014, 07:01 PM
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
10-08-2014, 07:29 PM
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
10-08-2014, 07:30 PM
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

skate323k137
10-08-2014, 07:31 PM
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

I can probably set one up, but I'm sure as shit not making it public lol

werejag
10-08-2014, 07:37 PM
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
10-08-2014, 11:32 PM
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

ReplicaX
10-09-2014, 08:54 AM
I can probably set one up, but I'm sure as shit not making it public lol

Don't blame ya there.

aoiddr
01-19-2015, 03:00 AM
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

werejag
01-19-2015, 04:35 AM
there is some protections in some of the naomi games.

what games are you trying to convert?

aoiddr
01-19-2015, 04:46 AM
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...?]

werejag
01-19-2015, 05:08 AM
The House of the Dead 2

i belive only works on a non netboot compatible bios

skate323k137
01-19-2015, 01:29 PM
OK so I just replied to aoiddr's PM, hadn't caught up on the thread.

I haven't gotten things to convert successfully if I had to add them to the .ini. At this point your guess is as good as mine, but hopefully someone else has some more insight.

aoiddr
01-19-2015, 10:00 PM
Okay, I converted a couple of games using the NaomiConvert program and netbooted the .dat files on my Naomi.


Dynamite Baseball Naomi = Loads/Works without issue (not playable without the baseball bat analog panel, though).

Dynamite Baseball '99 = Loads/Works without issue (not playable without the baseball bat analog panel, though).

Samba de Amigo ver. 2000 = Loads, but will either lock up to a black screen before the title screen or after a song is selected.

Quiz Ah Megamisama = Gives a the following error message upon boot: "Rom File Mount Error 10x010000001". I tried two versions of this file. One with the s's on the end of the file names and one without. Both do the same thing. Real shame as I was hoping this one would load.

Ninja Assault = Tried all 4 versions of the mame dump. All 4 give an error on the Naomi 2 splash screen that says "The game is not acceptable by main board."

Gun Survivor 2 = black screen, locks up the Naomi. Tried both versions of the mame dumps out there. Ran the "patchv6.exe," but no luck. (Note that the game would need 2 screens to be playable.)

OutTrigger = black screen, locks up the Naomi.

Virtual On = black screen, locks up the Naomi. Ran the "patchv6.exe," but no luck.

baphomet
01-31-2015, 11:49 AM
Has there been any luck getting Rhythm Tengoku up and running via netboot?

twistedsymphony
05-06-2015, 03:11 PM
Was any progress ever made on this? I've recently been trying to get VOOT to netboot but ran into the same issues as above.

I'd love to see a netbootable Outtrigger as well.

aoiddr
05-07-2015, 08:09 PM
Was any progress ever made on this?

No, I think Darksoft is the only person that might be able to fix the game code for these non-netbootable Naomi roms.



I've recently been trying to get VOOT to netboot but ran into the same issues as above.

Cyber Troopers Virtual-On Oratorio Tangram was ported to the Naomi from the Sega Model 3...which probably means that its code is a mess. I recall seeing a post somewhere that someone got it working, but I find that claim a bit dubious as it surely would've been a game that would've found its way to the net by now.

codecrank
05-07-2015, 08:15 PM
I just came to the conclusion that there is cartridge specific game protection that simply makes it impossible to netboot. that protection is handled in the emulators on a per game basis.

twistedsymphony
05-08-2015, 10:08 AM
I just came to the conclusion that there is cartridge specific game protection that simply makes it impossible to netboot. that protection is handled in the emulators on a per game basis.

That's certainly a possibility, someone like Dknute would probably be able to verify.

skate323k137
09-12-2015, 07:08 PM
Anyone have heavy metal geomatrix converted? I got the cart from MJMJR and wouldn't mind trying to link 2 systems if someone has a working bin. I tried converting the mame rom but am left with a few missing graphics.