Miscellaneous > Projects

The Generator now does Nebula/Kawaks dat files :)

(1/6) > >>

iq_132:
It's very preliminary, but I've added probably 95% of the necessary code to output nebula dat files.
The remaining 5% is fairly game-specific and complicated.
When I finish adding the rest, I will quite likely try to add mame driver generation, and possibly romcenter and/or clrmame pro dat generation.
 
Anyway, here's an example .dat file (note that between the ,, there should be crcs; I just left them blank)
 

--- Code: ---System: NEO
RomName: kof2000
Game: The King of Fighters 2000
 
[Program]
xxx-p1.bin,0,100000,,0
xxx-p2.bin,100000,400000,,0
 
[Text]
xxx-s1.bin,0,020000,,0
 
[Z80]
xxx-m1.bin,0,040000,,0
 
[Samples]
xxx-v1.bin,0,400000,,0
xxx-v2.bin,400000,400000,,0
xxx-v3.bin,800000,400000,,0
xxx-v4.bin,C00000,400000,,0
 
[Graphics]
xxx-c1.bin,0,800000,,0
xxx-c2.bin,1,800000,,0
xxx-c3.bin,1000000,800000,,0
xxx-c4.bin,1000001,800000,,0
xxx-c5.bin,2000000,800000,,0
xxx-c6.bin,2000001,800000,,0
xxx-c7.bin,3000000,800000,,0
xxx-c8.bin,3000001,800000,,0
 
[System]
CartridgeID: 0
GfxCrypt: 0
GfxKey: 0
ButLayout: 9
Fix: 0
--- End code ---

Budweiser:
excellent work would love to see a mame driver one :)

iq_132:

--- Quote from: Budweiser ---excellent work would love to see a mame driver one :)
--- End quote ---

Well, I've already got the mame stuff about half way done. It's fairly old work and doesn't output everything correctly yet, and also based on an old version of the generator - no lang support, lots of stuff missing.

bananaeater83:

--- Quote from: iq_132 ---Well, I've already got the mame stuff about half way done. It's fairly old work and doesn't output everything correctly yet, and also based on an old version of the generator - no lang support, lots of stuff missing.
--- End quote ---

you will get it the way you want it though..we have faith in ya! :D

iq_132:
lol, thanks banana :)
 
Here's an example of the code that it would spit out

--- Code: ---ROM_START( kof2000 )
 
ROM_REGION( 0x200000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "xxx-p1.bin", 0x000000, 0x100000, CRC() )
ROM_LOAD16_WORD_SWAP( "xxx-p2.bin", 0x100000, 0x100000, CRC() )
 
NEO_SFIX_128K( "xxx-s1.bin, CRC() )
 
NEO_BIOS_SOUND_128K( "xxx-m1d.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", 0x0000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c6.bin", 0x0000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c7.bin", 0x0000000, 0x800000, CRC() )
ROM_LOAD16_BYTE( "xxx-c8.bin", 0x0000000, 0x800000, CRC() )
 
ROM_END
 
DRIVER_INIT( kof2000 )
{
init_neogeo();
}
 
This part goes at the bottom of "neogeo.c"
GAMEB( 2000, kof2000, neogeo, neogeo, neogeo, neogeo, kof2000, ROT0, "SNK Playmore Corporation", "The King of Fighters 2000" )
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version