Jump to content
Sign in to follow this  
Rabbit 2600

Mame romhacking with Turaco question

Recommended Posts

Not sure where too put this but I'm trying to setup Turaco and do some romhacks. I keep getting the same errors and I don't know what is wrong. In this case I'm trying to get the sprites in Donkey Kong and I get these error messages. First one says: Error, dk.3n not found. Not suprising since there is no file by that name in the dkong.zip file. The second error I get says; Error loading driver : drivers\NINTENDO\DKONG.INI. Sorry. I'm guessing you'll have to manually edit the .ini file and make it go to the correct file but I have no idea which one of the files contains the sprites.

 

I have extracted the files in the .zip into it's own folder called roms in the Turaco map, like this: C:\Turaco\roms

 

And the drivers are in the Turaco map also, like this: C:\Turaco\DRIVERS

 

The TURACO.INI should be correct too. This is what I did in it:

 

[system]
Version_Major = 1
Version_Minor = 1
Info = This file was created from within Turaco.
Author = Turaco
ROMPath = C:\Turaco\roms
Font = 1
H_Res = 320
V_Res = 240
Driver_Subdirs = on
Troll_Magic = on

[PCX_Rip]
Path = .
NumPerRow = 32

 

 

If anyone has fiddled with this program please let me know how you configured it. Any help at all would be great. Thanks in advance.

Share this post


Link to post
Share on other sites

I played with that around 10+ years ago. I think some of the games drivers never worked for me, but I only ever hacked ms. pacman.

 

Anyway, the donkey kong error sounds like it's looking for a different romset than the one you're using.

Share this post


Link to post
Share on other sites

I managed to fix the error, it was looking for different romsets then was listed, I managed to find out what files to add and now it works. =) I only wish it had support for VS. Super Mario Bros, but it got support for tons of other games so I'm happy =)

Share this post


Link to post
Share on other sites

That's easy, just trick MAME by renaming the files you hacked into something MAME can read. MAME recognizes the ROM files by CRC first then by ROM file name. If the CRC doesn't match, then it checks the ROM file name. Of course you'll get CRC errors but the hacked files should still work.

 

The best long term solution is to compile your own version of MAME with custom drivers for those hacks.

Share this post


Link to post
Share on other sites

Thanks! Got it working now, and I managed to make a hack, though not of Donkey Kong, but of Centipede. You are now a guy with 2 guns instead of a snake and you fire 2 horizontal bullets instead of 1. The centipede is now eyeballs. The mushrooms are now tombstones, the spider is a ghost and the flea is a skull =)

 

centipedehack_zps6c03a6b1.png

  • Like 1

Share this post


Link to post
Share on other sites

Thanks! Got it working now, and I managed to make a hack, though not of Donkey Kong, but of Centipede. You are now a guy with 2 guns instead of a snake and you fire 2 horizontal bullets instead of 1. The centipede is now eyeballs. The mushrooms are now tombstones, the spider is a ghost and the flea is a skull =)

 

centipedehack_zps6c03a6b1.png

 

 

Hah now this could be the start of an interesting trend, though I may just be out of the loop, is MAME rom hacking done much? Seems like it would be fun playing the resulting hacks.

Share this post


Link to post
Share on other sites

From what I have seen on the net hacking roms for MAME is very outdated. Dosn't seem like many (If any) people are still doing it. But I'm a sucker for arcade games and I love highscores so it rocks that you can do romhacks for MAME, even though information is hard to find.

 

 

Here is a zip with the patch for centipede. Wish I could make it standalone so you could have both the original centipede and this one...Anyone know how to setup drivers in Mame? =)

 

Patch - centiped.zip

  • Like 2

Share this post


Link to post
Share on other sites

Try this:

 

http://mrdo.mameworld.info/compile.php

 

Compile according to that just to get an idea how goes.

 

 

As to making a driver for your hack:

 

Open the MAME src folder, then open the mame folder, and then open the driver folder. Look for the centiped.c file, open that in any text editor.

 

Go to the part of centiped.c file that says "ROM definitions"

 

Here's the part the ROM definitions that has defines that Centipede parent ROMs and the Centipede DUX hack ROMs:

 

/*************************************
*
* ROM definitions
*
*************************************/

ROM_START( centiped )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "136001-307.d1", 0x2000, 0x0800, CRC(5ab0d9de) SHA1(8ea6e3304202831aabaf31dbd0f970a7b3bfe421) )
ROM_LOAD( "136001-308.e1", 0x2800, 0x0800, CRC(4c07fd3e) SHA1(af4fdbf32c23b1864819d620a874e7f205da3cdb) )
ROM_LOAD( "136001-309.fh1", 0x3000, 0x0800, CRC(ff69b424) SHA1(689fa560d40a384dcbcad7c8095bc12e91875580) )
ROM_LOAD( "136001-310.j1", 0x3800, 0x0800, CRC(44e40fa4) SHA1(c557db83876afc8ab52047ab1a3c3bfef34d6351) )

ROM_REGION( 0x1000, "gfx1", 0 )
ROM_LOAD( "136001-211.f7", 0x0000, 0x0800, CRC(880acfb9) SHA1(6c862352c329776f2f9974a0df9dbe41f9dbc361) ) /* May be labeled "136001-201", same data */
ROM_LOAD( "136001-212.hj7", 0x0800, 0x0800, CRC(b1397029) SHA1(974c03d29aeca672fffa4dfc00a06be6a851aacb) ) /* May be labeled "136001-202", same data */

ROM_REGION( 0x0100, "proms", 0 )
ROM_LOAD( "136001-213.p4", 0x0000, 0x0100, CRC(6fa3093a) SHA1(2b7aeca74c1ae4156bf1878453a047330f96f0a8) )
ROM_END


ROM_START( centipdd ) /* Centipede "Dux" graphics hack by Two-Bit Score in 1989 */
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "136001-307.d1", 0x2000, 0x0800, CRC(5ab0d9de) SHA1(8ea6e3304202831aabaf31dbd0f970a7b3bfe421) )
ROM_LOAD( "136001-308.e1", 0x2800, 0x0800, CRC(4c07fd3e) SHA1(af4fdbf32c23b1864819d620a874e7f205da3cdb) )
ROM_LOAD( "136001-309.fh1", 0x3000, 0x0800, CRC(ff69b424) SHA1(689fa560d40a384dcbcad7c8095bc12e91875580) )
ROM_LOAD( "136001-310.j1", 0x3800, 0x0800, CRC(44e40fa4) SHA1(c557db83876afc8ab52047ab1a3c3bfef34d6351) )

ROM_REGION( 0x1000, "gfx1", 0 )
ROM_LOAD( "dux-211.f7", 0x0000, 0x0800, CRC(fee15594) SHA1(1193c295b57904d1c19c7f0400ef4c1893a80f55) )
ROM_LOAD( "dux-212.hj7", 0x0800, 0x0800, CRC(f980c777) SHA1(3997a45ed38d7ae68dddf70b37da6e2e0c6a7710) )

ROM_REGION( 0x0100, "proms", 0 )
ROM_LOAD( "136001-213.p4", 0x0000, 0x0100, CRC(6fa3093a) SHA1(2b7aeca74c1ae4156bf1878453a047330f96f0a8) )
ROM_END
Notice that the DUX hack shares the same ROMs as Centipede except for the gfx ROMs. That's where you're going to define your gfx hacked ROMs. So copy the following and paste somewhere in the ROM Definitions and remame where indicated.

 

ROM_START( "yourhack" ) /* Centipede "Dux" graphics hack by Two-Bit Score in 1989 */
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "136001-307.d1", 0x2000, 0x0800, CRC(5ab0d9de) SHA1(8ea6e3304202831aabaf31dbd0f970a7b3bfe421) )
ROM_LOAD( "136001-308.e1", 0x2800, 0x0800, CRC(4c07fd3e) SHA1(af4fdbf32c23b1864819d620a874e7f205da3cdb) )
ROM_LOAD( "136001-309.fh1", 0x3000, 0x0800, CRC(ff69b424) SHA1(689fa560d40a384dcbcad7c8095bc12e91875580) )
ROM_LOAD( "136001-310.j1", 0x3800, 0x0800, CRC(44e40fa4) SHA1(c557db83876afc8ab52047ab1a3c3bfef34d6351) )

ROM_REGION( 0x1000, "gfx1", 0 )
ROM_LOAD( "yourhack-211.f7", 0x0000, 0x0800, CRC(fee15594) SHA1(1193c295b57904d1c19c7f0400ef4c1893a80f55) )
ROM_LOAD( "yourhack-212.hj7", 0x0800, 0x0800, CRC(f980c777) SHA1(3997a45ed38d7ae68dddf70b37da6e2e0c6a7710) )

ROM_REGION( 0x0100, "proms", 0 )
ROM_LOAD( "136001-213.p4", 0x0000, 0x0100, CRC(6fa3093a) SHA1(2b7aeca74c1ae4156bf1878453a047330f96f0a8) )
ROM_END
As shown, you just rename the ROMs as needed to match the names of your hacked ROMs. Note that ZIP file name has a maximum of characters. As for CRC and SHA1 values, you may leave them there so when you get those errors when you do an audit you can copy and paste the correct values when you compile in the future.

 

Then go to the "Game drivers" part. It's always at the bottom of the page. Rename were indicated and save.

 

 /*************************************
 *
 * Game drivers
 *
 *************************************/

 GAME( 1980, centiped, 0, centiped, centiped, driver_device, 0, ROT270, "Atari", "Centipede (revision 3)", GAME_SUPPORTS_SAVE)
 GAME( 1980, centiped2,centiped, centiped, centiped, driver_device, 0, ROT270, "Atari", "Centipede (revision 2)", GAME_SUPPORTS_SAVE )
 GAME( 1980, centtime, centiped, centiped, centtime, driver_device, 0, ROT270, "Atari", "Centipede (1 player, timed)", GAME_SUPPORTS_SAVE )
 GAME( 1980, centipdb, centiped, centipdb, centiped, driver_device, 0, ROT270, "bootleg", "Centipede (bootleg)", GAME_SUPPORTS_SAVE )
 GAME( 1989, centipdd, centiped, centiped, centiped, driver_device, 0, ROT270, "hack (Two-Bit Score)", "Centipede Dux (hack)", GAME_SUPPORTS_SAVE )
 GAME( 2013, yourhack, centiped, centiped, centiped, driver_device, 0, ROT270, "hack (your name)", "Centipede Hack name (hack)", GAME_SUPPORTS_SAVE )
 GAME( 1980, caterplr, centiped, caterplr, caterplr, driver_device, 0, ROT270, "bootleg", "Caterpillar (bootleg of Centipede)", GAME_SUPPORTS_SAVE )
 GAME( 1980, millpac, centiped, centipdb, centiped, driver_device, 0, ROT270, "bootleg? (Valadon Automation)", "Millpac (bootleg of Centipede)", GAME_SUPPORTS_SAVE )
 GAME( 1980, magworm, centiped, magworm, magworm, driver_device, 0, ROT270, "bootleg", "Magic Worm (bootleg of Centipede)", GAME_SUPPORTS_SAVE )
 GAME( 1982, milliped, 0, milliped, milliped, driver_device, 0, ROT270, "Atari", "Millipede", GAME_SUPPORTS_SAVE )
 GAME( 1989, millipdd, milliped, milliped, milliped, driver_device, 0, ROT270, "hack (Two-Bit Score)", "Millipede Dux (hack)", GAME_SUPPORTS_SAVE )
 GAME( 2002, multiped, 0, multiped, multiped, centiped_state, multiped, ROT270, "hack (Braze Technologies)", "Multipede (Centipede/Millipede multigame kit)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )

 GAME( 1980, warlords, 0, warlords, warlords, driver_device, 0, ROT0, "Atari", "Warlords", GAME_SUPPORTS_SAVE )
 GAME( 1981, mazeinv, 0, mazeinv, mazeinv, driver_device, 0, ROT270, "Atari", "Maze Invaders (prototype)", 0 )

 GAME( 1985, bullsdrt, 0, bullsdrt, bullsdrt, centiped_state, bullsdrt, ROT270, "Shinkai Inc. (Magic Electronics Inc. license)", "Bulls Eye Darts", GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE )
After that, go to the MAME folder and open "mame.lst" file. Find, the "Atari "Centipede hardware" games". Looks like this:

 

// Atari "Centipede hardware" games
  warlords        // 037153-037159    (c) 1980
  centiped        // 136001           (c) 1980
  centiped2       // 136001           (c) 1980
  centtime        // 136001           (c) 1980
  centipdb        // (bootleg)
  centipdd        // hack by Two Bit Score
  caterplr        // (bootleg)
  millpac         // Valadon
  magworm         // (bootleg)
  mazeinv         // (proto)          (c) 1982
  milliped        // 136013           (c) 1982
  multiped        // hack
  millipdd        // hack by Two Bit Score
  qwak            // (proto)          (c) 1982
  runaway         // (proto)          (c) 1982
  bullsdrt        // (c) 1985 Shinkai
  cmmb162
Insert this somewhere in that list:

 

  yourhack        // hack by yourname
Rename as need and save.

 

Compile.

 

If it compiles without any problems. Try running your hack.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...