Welcome!

Miscellaneous => Projects => Topic started by: iq_132 on April 14, 2004, 12:56:37 AM

Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 14, 2004, 12:56:37 AM
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: [Select]
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
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: Budweiser on April 18, 2004, 06:39:53 PM
excellent work would love to see a mame driver one :)
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 18, 2004, 07:56:22 PM
Quote from: Budweiser
excellent work would love to see a mame driver one :)

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.
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: bananaeater83 on April 19, 2004, 12:01:54 AM
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.

you will get it the way you want it though..we have faith in ya! :D
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 19, 2004, 12:26:48 AM
lol, thanks banana :)
 
Here's an example of the code that it would spit out
Code: [Select]
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" )
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 20, 2004, 06:15:09 AM
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: [Select]
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 */
Title: Just wondering??????
Post by: GizM on April 26, 2004, 01:07:18 AM
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~
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 26, 2004, 02:47:01 PM
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: [Select]
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 */


Here's a Screenie:

(http://neosource.1emu.net/temp/ggg.png)
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: FerchogtX on April 26, 2004, 10:45:54 PM
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
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 27, 2004, 01:29:30 AM
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


Not yet ;)  I'll certainly take a look at it though.
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 27, 2004, 02:01:25 PM
Well here's what's new:
added changing controls
added working/not working
added encryption stuff
fixed the text telling you where to put the code
added sram protection

Code: [Select]
ROM_START( kof2000 )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "kof-p1.bin", 0x000000, 0x100000, CRC(23234234) )
ROM_LOAD16_WORD_SWAP( "kof-p2.bin", 0x100000, 0x400000, CRC(23424234) )

NEO_SFIX_128K( "kof-s1.bin", CRC(23423423) )

NEO_BIOS_SOUND_256K( "kof-m1.bin", CRC(23465243) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "kof-v1.bin", 0x000000, 0x400000, CRC(23423423) )
ROM_LOAD( "kof-v2.bin", 0x400000, 0x400000, CRC(23424326) )
ROM_LOAD( "kof-v3.bin", 0x800000, 0x400000, CRC(23234234) )
ROM_LOAD( "kof-v4.bin", 0xc00000, 0x400000, CRC(23666666) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "kof-c1.bin", 0x0000000, 0x800000, CRC(52352532) )
ROM_LOAD16_BYTE( "kof-c2.bin", 0x0000001, 0x800000, CRC(23632523) )
ROM_LOAD16_BYTE( "kof-c3.bin", 0x1000000, 0x800000, CRC(23423523) )
ROM_LOAD16_BYTE( "kof-c4.bin", 0x1000001, 0x800000, CRC(32342342) )
ROM_LOAD16_BYTE( "kof-c5.bin", 0x2000000, 0x800000, CRC(23532666) )
ROM_LOAD16_BYTE( "kof-c6.bin", 0x2000001, 0x800000, CRC(23466623) )
ROM_LOAD16_BYTE( "kof-c7.bin", 0x3000000, 0x800000, CRC(32423556) )
ROM_LOAD16_BYTE( "kof-c8.bin", 0x3000001, 0x800000, CRC(23423422) )
ROM_END


This goes in the middle of NEOGEO.C (src/drivers/) in the init section.

DRIVER_INIT( kof2000 )
{
neogeo_fix_bank_type = 2;
kof99_neogeo_gfx_decrypt(0x6);
init_neogeo();
}


This goes at the bottom of NEOGEO.C (src/drivers/)

GAMEBX( 2000, kof2000, neogeo, neogeo, neogeo, mjneogeo,  kof2000,   ROT0, "SNK Playmore Corporation", "The King of Fighters 2000", GAME_NOT_WORKING )


This goes at the bottom of DRIVER.C (src/)

DRIVER( kof2000 ) /* (c) 2000 SNK Playmore Corporation */
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: GizM on April 27, 2004, 04:40:07 PM
Quote from: iq_132
Well here's what's new:
added changing controls
added working/not working
added encryption stuff
fixed the text telling you where to put the code
added sram protection

Code: [Select]
ROM_START( kof2000 )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "kof-p1.bin", 0x000000, 0x100000, CRC(23234234) )
ROM_LOAD16_WORD_SWAP( "kof-p2.bin", 0x100000, 0x400000, CRC(23424234) )

NEO_SFIX_128K( "kof-s1.bin", CRC(23423423) )

NEO_BIOS_SOUND_256K( "kof-m1.bin", CRC(23465243) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "kof-v1.bin", 0x000000, 0x400000, CRC(23423423) )
ROM_LOAD( "kof-v2.bin", 0x400000, 0x400000, CRC(23424326) )
ROM_LOAD( "kof-v3.bin", 0x800000, 0x400000, CRC(23234234) )
ROM_LOAD( "kof-v4.bin", 0xc00000, 0x400000, CRC(23666666) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "kof-c1.bin", 0x0000000, 0x800000, CRC(52352532) )
ROM_LOAD16_BYTE( "kof-c2.bin", 0x0000001, 0x800000, CRC(23632523) )
ROM_LOAD16_BYTE( "kof-c3.bin", 0x1000000, 0x800000, CRC(23423523) )
ROM_LOAD16_BYTE( "kof-c4.bin", 0x1000001, 0x800000, CRC(32342342) )
ROM_LOAD16_BYTE( "kof-c5.bin", 0x2000000, 0x800000, CRC(23532666) )
ROM_LOAD16_BYTE( "kof-c6.bin", 0x2000001, 0x800000, CRC(23466623) )
ROM_LOAD16_BYTE( "kof-c7.bin", 0x3000000, 0x800000, CRC(32423556) )
ROM_LOAD16_BYTE( "kof-c8.bin", 0x3000001, 0x800000, CRC(23423422) )
ROM_END


This goes in the middle of NEOGEO.C (src/drivers/) in the init section.

DRIVER_INIT( kof2000 )
{
neogeo_fix_bank_type = 2;
kof99_neogeo_gfx_decrypt(0x6);
init_neogeo();
}


This goes at the bottom of NEOGEO.C (src/drivers/)

GAMEBX( 2000, kof2000, neogeo, neogeo, neogeo, mjneogeo,  kof2000,   ROT0, "SNK Playmore Corporation", "The King of Fighters 2000", GAME_NOT_WORKING )


This goes at the bottom of DRIVER.C (src/)

DRIVER( kof2000 ) /* (c) 2000 SNK Playmore Corporation */



So this means that you have the generator working for mame?
Also does this generator work with adding drivers for mame besides Neogeo games?

And will this also give the needed information to add the code for the video and sound cpu etc et?

If not how hard will it be to add that into your program?

Then in theory if all of the things i just asked are in and working, will it beable to make drivers for un-emulated games.. as in the newer Golden tee golf games and others of the like?

Thanks for your reply's in advance ~GizM~
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 27, 2004, 05:04:36 PM
Quote from: GizM
So this means that you have the generator working for mame?
Also does this generator work with adding drivers for mame besides Neogeo games?

And will this also give the needed information to add the code for the video and sound cpu etc et?

If not how hard will it be to add that into your program?

Then in theory if all of the things i just asked are in and working, will it beable to make drivers for un-emulated games.. as in the newer Golden tee golf games and others of the like?

Thanks for your reply's in advance ~GizM~


No, it won't generate anything except neo-geo drivers.  It's much too complicated to generate something like drivers for un-emulated systems.  If it wasn't, everyone would do it.
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 27, 2004, 06:20:08 PM
For the mame stuff:
Added Swap V (Fairly easy stuff ;))
Added Prototype
Added text fix

To do:
Add Swap C
Add Swap P
Minor interface fixes
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: FerchogtX on April 28, 2004, 04:09:46 PM
How exactly swap V works on mame??? that flag is for FBA but, what is the traduction in mame code?
See ya!!!!!!
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on April 28, 2004, 04:14:05 PM
Quote from: FerchogtX
How exactly swap V works on mame??? that flag is for FBA but, what is the traduction in mame code?
See ya!!!!!!


Well, it's hard to describe, so here's an example.  This game has SWAP C and SWAP V.  pay attention to the ROM_CONTINUE(  parts.
Code: [Select]
ROM_START( neobombe )
ROM_REGION( 0x100000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "093-p1.bin", 0x000000, 0x100000, CRC(a1a71d0d) SHA1(059284c84f61a825923d86d2f29c91baa2c439cd) )

NEO_SFIX_128K( "093-s1.bin", CRC(4b3fa119) SHA1(41cb0909bfb017eb6f2c530cb92a423319ed7ab1) )

NEO_BIOS_SOUND_128K( "093-m1.bin", CRC(e81e780b) SHA1(c56c53984e0f92e180e850c60a75f550ee84917c) )

ROM_REGION( 0x600000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "093-v1.bin", 0x200000, 0x200000, CRC(43057e99) SHA1(b24a44daf54ec76801e7dc863645022dc2d4abdb) )
ROM_CONTINUE(  0x000000, 0x200000 )
ROM_LOAD( "093-v2.bin", 0x400000, 0x200000, CRC(a92b8b3d) SHA1(b672c97b85d2f52eba3cb26025008ebc7a18312a) )

NO_DELTAT_REGION

ROM_REGION( 0x900000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "093-c1.bin", 0x400000, 0x200000, CRC(b90ebed4) SHA1(e9e441fb9b425505e500e0e0b40ef11a43b2d4b2) ) /* Plane 0,1 */
ROM_CONTINUE(         0x000000, 0x200000 )
ROM_LOAD16_BYTE( "093-c2.bin", 0x400001, 0x200000, CRC(41e62b4f) SHA1(2fb1f752643d7dd3470ade76229e3756818412f7) ) /* Plane 2,3 */
ROM_CONTINUE(         0x000001, 0x200000 )
ROM_LOAD16_BYTE( "093-c3.bin", 0x800000, 0x080000, CRC(e37578c5) SHA1(20024caa0f09ee887a6418dd02d02a0df93786fd) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "093-c4.bin", 0x800001, 0x080000, CRC(59826783) SHA1(0110a2b6186cca95f75225d4d0269d61c2ad25b1) ) /* Plane 2,3 */
ROM_END
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: FerchogtX on April 28, 2004, 04:28:30 PM
ahhhhhhhh I see now!!!!!!
Thanks for explanaition XD
See ya!!!! :D
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on May 06, 2004, 04:28:21 AM
Quote from: FerchogtX
ahhhhhhhh I see now!!!!!!
Thanks for explanaition XD
See ya!!!! :D


Well, I've got most of the code for C swapping into mame now.  As soon as i get P swapping and look into this:

(from tpgolf, also in many older ng. games)
Code: [Select]


ROM_REGION( 0x080000, [color=red]REGION_SOUND1[/color], ROMREGION_SOUNDONLY )

ROM_REGION( 0x200000, [color=red]REGION_SOUND2[/color], ROMREGION_SOUNDONLY )



After this, I'll look into trying to convert some mame code to fba code [I'll probably look at the ROTD, KOF2003, and MSLUG5 code.  It will probably be slow, as I start my new job Sunday (May 9th).
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on May 06, 2004, 05:25:58 AM
BTW, here's an example driver.  It has encryption enabled, as well as swapv, swapp, and swapc.

Code: [Select]
ROM_START( Test )
ROM_REGION( 0x200000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "xxx-p1.bin", 0x100000, 0x100000, CRC() )
ROM_CONTINUE( 0x000000, 0x100000 )

NEO_SFIX_128K( "xxx-s1.bin", CRC() )

NEO_BIOS_SOUND_128K( "xxx-m1.bin", CRC() )

ROM_REGION( 0x400000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "xxx-v1.bin", 0x200000, 0x200000, CRC() )
ROM_CONTINUE(  0x000000, 0x200000 )

NO_DELTAT_REGION

ROM_REGION( 0x800000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "xxx-c1.bin", 0x0000000, 0x100000, CRC() )
ROM_CONTINUE(         0x400000, 0x100000 )
ROM_LOAD16_BYTE( "xxx-c2.bin", 0x0000001, 0x100000, CRC() )
ROM_CONTINUE(         0x400001, 0x100000 )
ROM_LOAD16_BYTE( "xxx-c3.bin", 0x200000, 0x100000, CRC() )
ROM_CONTINUE(         0x600000, 0x100000 )
ROM_LOAD16_BYTE( "xxx-c4.bin", 0x200001, 0x100000, CRC() )
ROM_CONTINUE(         0x600001, 0x100000 )
ROM_END


This goes in the middle of NEOGEO.C (src/drivers/) in the init section.

DRIVER_INIT( Test )
{
neogeo_fix_bank_type = 1;
kof99_neogeo_gfx_decrypt(0xaa);
init_neogeo();
}


This goes at the bottom of NEOGEO.C (src/drivers/)

GAMEB( 2004, Test, neogeo, neogeo, neogeo, neogeo,  Test,   ROT0, "IQ\'s Test", "This is a test name" )


This goes at the bottom of DRIVER.C (src/)

DRIVER( Test ) /* (c) 2004 IQ\'s Test */
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: FerchogtX on May 06, 2004, 11:41:16 PM
Wooow!!!!! thats great!!!! when this generator (for fba mame and nebula) will be available for downloading? it's simply beautiful!!!!!
See ya!!!! :D
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on May 07, 2004, 03:19:29 AM
Soon ;)  I just have to contact my translation team and get them going on it.  I've been waiting on that part because I keep changing some of the text and adding new stuff.
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on May 09, 2004, 08:11:39 PM
Well, I just added SHA1 stuff for mame and did a small fix. (If total of p roms is less than 1mb, the total is 1mb.)
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: FerchogtX on May 09, 2004, 08:56:24 PM
Wow.... the generatos will calculate automatically the Sha1? or we will have to put the value manually?
See ya!!!!!! and great work man!!! :D  :D
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on May 10, 2004, 01:09:44 AM
Quote from: FerchogtX
Wow.... the generatos will calculate automatically the Sha1? or we will have to put the value manually?
See ya!!!!!! and great work man!!! :D  :D

You have to add them manually.  If I wrote the generator in C rather than Javascript and HTML, I could have had them automatically added.

Here's a shot of the window I added for SHA1 stuff.

note that the rom names on the left are the same as they would be when the driver is outputted.  Also, the names are disabled. The window auto-saves and auto-loads on exit and load. I had some pretty nifty ideas on this one ;)
(http://neo-source.com/attachment.php?attachmentid=9)
Title: re-write in C/C++
Post by: GizM on May 11, 2004, 01:45:26 PM
Is it possible to Re--write in C/C++? When it is finished of course. How hard would this be? Can you add a SHA! MD5, CRC reader in it. So you could just have the read path set to the specific rom. Have it read it and put the sha1 crc amd md5 hash values in the corect pace in the Driver Write? I am sure it can be done ( everything can be done). You could Zip to read the actual  rom then unzip itself then read the properties of each bin inside. Get the info send and write it to out part of the driver write.

I am sure it maybe eaiser to write it the way you are thinking now (by hand), but for convince of the user the latter would be nicer. I am sure there is other free compression tool other than winzip that you could use.

I hope i am not over stepping my bounds with this question.I could just see good things for the "underground" scene happening with a program of this sort! It could even go further with the future abillities of creating the actual creating of a whole driver. Even if it just made for tha specific rom/Game. With that bring a posiblity then making a "driver addition" or even the whole driver for rom that are not just for NeoGeo.

Well i will stop rambeling, These are just some thought on what would be nice! I am sure this would be a long ongoing proccess. It would take lots of time and even more knowlege. I am not a real programer by any means. But i read alot f*** around even more and i pay attention to what is going on.
I would love to do what ever i could to make these sugestion a reality.


This of course could happen and would have already happen but because of the tight hold Mame has on it's comuntiy. Also how mame is all about the Authentic replication of  arcade BLA BLA. **( Even though there code is backed with Hacks and tweeks to get things going) ,,, SHUSH they don't want yo to know that!****Bla Bla. ANyways it could be done !!!

Thanks for the time you toke to read this post
~GizM~
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: iq_132 on May 11, 2004, 10:33:10 PM
Well, I may try to re-code it in C.  It shouldn't be too hard.  I might take the source code for a similar project and try to go from there (that would make it much easier).

As for being able to automatically make a driver for "any" game, this is kind of silly.  It's much too compicated and involved of a process to do automatically.  It's quite complicated just to make it do neo-geo games.

Thanks for the support though ;)
Title: i allready have a crc checker installed
Post by: James33 on May 14, 2004, 06:28:14 AM
all i have to do is right click on the roms (unzipped)and i get my crc values that way then all i do is copy them to the gen and its done
Quote from: GizM
Is it possible to Re--write in C/C++? When it is finished of course. How hard would this be? Can you add a SHA! MD5, CRC reader in it. So you could just have the read path set to the specific rom. Have it read it and put the sha1 crc amd md5 hash values in the corect pace in the Driver Write? I am sure it can be done ( everything can be done). You could Zip to read the actual  rom then unzip itself then read the properties of each bin inside. Get the info send and write it to out part of the driver write.

I am sure it maybe eaiser to write it the way you are thinking now (by hand), but for convince of the user the latter would be nicer. I am sure there is other free compression tool other than winzip that you could use.

I hope i am not over stepping my bounds with this question.I could just see good things for the "underground" scene happening with a program of this sort! It could even go further with the future abillities of creating the actual creating of a whole driver. Even if it just made for tha specific rom/Game. With that bring a posiblity then making a "driver addition" or even the whole driver for rom that are not just for NeoGeo.

Well i will stop rambeling, These are just some thought on what would be nice! I am sure this would be a long ongoing proccess. It would take lots of time and even more knowlege. I am not a real programer by any means. But i read alot f*** around even more and i pay attention to what is going on.
I would love to do what ever i could to make these sugestion a reality.


This of course could happen and would have already happen but because of the tight hold Mame has on it's comuntiy. Also how mame is all about the Authentic replication of  arcade BLA BLA. **( Even though there code is backed with Hacks and tweeks to get things going) ,,, SHUSH they don't want yo to know that!****Bla Bla. ANyways it could be done !!!

Thanks for the time you toke to read this post
~GizM~
Title: The Generator now does Nebula/Kawaks dat files :)
Post by: FerchogtX on May 14, 2004, 08:25:37 PM
Also use ClrMAMEPro, you can get CRC's without unzipping, and even SHA1.
See ya!!!! :D