Miscellaneous > Projects

The Generator now does Nebula/Kawaks dat files :)

<< < (2/6) > >>

iq_132:
Well, I got bored with the nebula stuff (which is close to 99%) and added some MAME stuff to the most current version of the generator.
 
It does not have:
Generic naming
Encryption stuff
Any init values
Semi-special fixes (SWAP C, SWAP V, SWAP P)
Alternative controller support (mjneogeo)
 

--- Code: ---ROM_START( kof2000 )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "xxx-p1.bin", 0x000000, 0x100000, CRC() )
ROM_LOAD16_WORD_SWAP( "xxx-p2.bin", 0x100000, 0x400000, CRC() )
 
NEO_SFIX_128k( "xxx-s1.bin", CRC() )
 
NEO_BIOS_SOUND_256k( "xxx-m1.bin", CRC() )
 
ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "xxx-v1.bin", 0x000000, 0x400000, CRC() )
ROM_LOAD( "xxx-v2.bin", 0x400000, 0x400000, CRC() )
ROM_LOAD( "xxx-v3.bin", 0x800000, 0x400000, CRC() )
ROM_LOAD( "xxx-v4.bin", 0xc00000, 0x400000, CRC() )
 
NO_DELTAT_REGION
 
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "xxx-c1.bin", 0x0000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c2.bin", 0x0000001, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c3.bin", 0x1000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c4.bin", 0x1000001, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c5.bin", 0x2000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c6.bin", 0x2000001, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c7.bin", 0x3000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c8.bin", 0x3000001, 0x800000, CRC() )
ROM_END
 
 
This goes at the bottom of NEOGEO.C (src/)
 
GAMEB( 2000, kof2000, NULL, neogeo, neogeo, neogeo, neogeo, ROT0, "SNK Playmore Corporation", "The King of Fighters 2000" )
 
 
This goes at the bottom of DRIVER.C (src/drivers/)
 
DRIVER( kof2000 ) /* CartID (c) 2000 SNK Playmore Corporation */
--- End code ---

GizM:
How far you are on the Mame section of the generator?

Any new news on it.  Also when it is finished will you be releasing the src or just the exe for the generator?


Thanks again and  keep up the good work.

~GizM~

iq_132:
The generator is just a web page (html + javascript), so you just have to look at it in notepad to get the source.

As for how far I've gotten, it does a fairly complete driver, there isn't support for anything in the init section yet, and there's no support for other controllers (mahjong, etc). I've also got it so that it outputs old format (think mame32k [.67]) drivers.


Here's basically what it outputs:

(Note that I just used the information for kof2000 as just an example)

--- Code: ---ROM_START( kof2000 )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "xxx-p1.bin", 0x000000, 0x100000, CRC() )
ROM_LOAD16_WORD_SWAP( "xxx-p2.bin", 0x100000, 0x400000, CRC() )
 
NEO_SFIX_128K( "xxx-s1.bin", CRC() )
 
NEO_BIOS_SOUND_256K( "xxx-m1.bin", CRC() )
 
ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "xxx-v1.bin", 0x000000, 0x400000, CRC() )
ROM_LOAD( "xxx-v2.bin", 0x400000, 0x400000, CRC() )
ROM_LOAD( "xxx-v3.bin", 0x800000, 0x400000, CRC() )
ROM_LOAD( "xxx-v4.bin", 0xc00000, 0x400000, CRC() )
 
NO_DELTAT_REGION
 
ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "xxx-c1.bin", 0x0000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c2.bin", 0x0000001, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c3.bin", 0x1000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c4.bin", 0x1000001, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c5.bin", 0x2000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c6.bin", 0x2000001, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c7.bin", 0x3000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c8.bin", 0x3000001, 0x800000, CRC() )
ROM_END
 
 
This goes at the bottom of NEOGEO.C (src/)
 
GAMEB( 2000, kof2000, NULL, neogeo, neogeo, neogeo, neogeo, ROT0, "SNK Playmore Corporation", "The King of Fighters 2000" )
 
 
This goes at the bottom of DRIVER.C (src/drivers/)
 
DRIVER( kof2000 ) /* CartID (c) 2000 SNK Playmore Corporation */
--- End code ---


Here's a Screenie:

FerchogtX:
Wooowww thats great! it can also make drivers for cps1 ans 2 games for MAME and FBA? that could be good too.
Congratulations, I love this generator, It saves to me a lot of time!
See ya!!!! :D

iq_132:

--- Quote from: FerchogtX ---Wooowww thats great! it can also make drivers for cps1 ans 2 games for MAME and FBA? that could be good too.
Congratulations, I love this generator, It saves to me a lot of time!
See ya!!!! :D
--- End quote ---


Not yet ;)  I'll certainly take a look at it though.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version