Author Topic: King of Fighters 10th Anniversary Edition  (Read 83449 times)

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #30 on: November 16, 2005, 03:30:29 AM »
I added in the neogeo.c and removed the one that I had in there. (D:\MAMESRC\src\drivers)

I added the "Driver( kof10th )       /* Bootleg kof2002 hack */" in the driver.c (D:\MAMESRC\src)

I removed the UINT8 *Cart10RAMA = NULL; and the UINT8 *Cart10RAMB = NULL; from the neogeo.h (D:\MAMESRC\src\includes)

It went crazy when it got to the kof10th making and then quit.

I will put the  UINT8 *Cart10RAMA = NULL; and the UINT8 *Cart10RAMB = NULL; back into the neogeo.h (D:\MAMESRC\src\includes) and see what happen.

There anything else that I don't know about that I need to add? Unless the 0.102 doesn't like it one bit.

Edit. It still running crazy.


I do not know what hell your doing but that code works fine here .
« Last Edit: November 16, 2005, 03:33:01 AM by James33 »
IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: King of Fighters 10th Anniversary Edition
« Reply #31 on: November 16, 2005, 03:51:24 AM »
Edit: Everymine I found a " . " in the neogeo.h (D:\MAMESRC\src\includes)

Everyone chill.

I going to try again.
« Last Edit: November 16, 2005, 04:05:29 AM by KingHanco »

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #32 on: November 16, 2005, 06:02:12 AM »
That code only needed to be added to drivers\neogeo.c . There is no reason to mess with any other source .
IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: King of Fighters 10th Anniversary Edition
« Reply #33 on: November 16, 2005, 07:12:30 AM »
That code only needed to be added to drivers\neogeo.c . There is no reason to mess with any other source .

Like this?
« Last Edit: November 17, 2005, 05:44:04 PM by KingHanco »

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #34 on: November 16, 2005, 07:27:12 AM »
no

Like this
IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: King of Fighters 10th Anniversary Edition
« Reply #35 on: November 16, 2005, 08:17:02 AM »
Code: [Select]
ROM_START( kof10th )
ROM_REGION( 0x900000, REGION_CPU1, 0 ) // Modified
        ROM_LOAD16_WORD_SWAP( "kf10-p1.bin", 0x000000, 0x800000, CRC(b1fd0c43) SHA1(5f842a8a27be2d957fd4140d6431ae47154997bb) )

ROM_REGION( 0x20000, REGION_GFX1, 0 ) // modified
ROM_FILL(              0x000000, 0x20000, 0 ) // modified
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

into this.

Code: [Select]
ROM_START( kof10th )
ROM_REGION( 0x900000, REGION_CPU1, 0 ) // Modified
        ROM_LOAD16_WORD_SWAP( "kf10-p1.bin", 0x000000, 0x800000, CRC(b1fd0c43) SHA1(5f842a8a27be2d957fd4140d6431ae47154997bb) )

ROM_REGION( 0x20000, REGION_GFX1, 0 ) // modified
ROM_FILL(              0x000000, 0x20000, 0 ) // modified
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

NEO_BIOS_SOUND_128K( "5008-m1.bin", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
        ROM_LOAD( "265-v1d.bin", 0x000000, 0x800000, CRC(0fc9a58d) SHA1(9d79ef00e2c2abd9f29af5521c2fbe5798bf336f) )
        ROM_LOAD( "265-v2d.bin", 0x800000, 0x800000, CRC(b8c475a4) SHA1(10caf9c69927a223445d2c4b147864c02ce520a8) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
        ROM_LOAD16_BYTE( "275-c1a.bin", 0x0000000, 0x400000, CRC(3bbc0364) SHA1(e8aa7ff82f151ce1db56f259377b64cceef85af0) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c2a.bin", 0x0000001, 0x400000, CRC(91230075) SHA1(d9098e05a7ba6008661147b6bf8bc2f494b8b72b) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c1b.bin", 0x0800000, 0x400000, CRC(b5abfc28) SHA1(eabf60992bb3485c95330065294071ec155bfe7c) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c2b.bin", 0x0800001, 0x400000, CRC(6cc4c6e1) SHA1(be824a944e745ee18efdc45c81fd496a4d624b9c) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c3a.bin", 0x1000000, 0x400000, CRC(5b3d4a16) SHA1(93ac1cd7739100f8c32732644f81f2a19837b131) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c4a.bin", 0x1000001, 0x400000, CRC(c6f3419b) SHA1(340c17a73aeb7bf8a6209f8459e6f00000075b50) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c3b.bin", 0x1800000, 0x400000, CRC(9d2bba19) SHA1(5ebbd0af3f83a60e33c8ccb743e3d5f5a96f1273) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c4b.bin", 0x1800001, 0x400000, CRC(5a4050cb) SHA1(8fd2291f349efa1ed5cd37ad4e273b60fe831a77) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c5a.bin", 0x2000000, 0x400000, CRC(a289d1e1) SHA1(50c7d7ebde6e118a01036cc3e40827fcd9f0d3fd) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c6a.bin", 0x2000001, 0x400000, CRC(e6494b5d) SHA1(18e064b9867ae0b0794065f8dbefd486620419db) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c5b.bin", 0x2800000, 0x400000, CRC(404fff02) SHA1(56d1b32c87ea4885e49264e8b21846e465a20e1f) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c6b.bin", 0x2800001, 0x400000, CRC(f2ccfc9e) SHA1(69db7fac7023785ab94ea711a72dbc2826cfe1a3) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c7a.bin", 0x3000000, 0x400000, CRC(be79c5a8) SHA1(ded3c5eb3571647f50533eb682c2675372ace3fb) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c8a.bin", 0x3000001, 0x400000, CRC(a5952ca4) SHA1(76dbb3cb45ce5a4beffa1ed29491204fc6617e42) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c7b.bin", 0x3800000, 0x400000, CRC(3fdb3542) SHA1(7d2050752a2064cd6729f483a0da93808e2c6033) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c8b.bin", 0x3800001, 0x400000, CRC(661b7a52) SHA1(0ae2ad2389134892f156337332b77adade3ddad1) ) /* Plane 2,3 */
ROM_END

I didn't know that is the way it need to be. How did you do that anyway?
« Last Edit: November 16, 2005, 08:18:27 AM by KingHanco »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: King of Fighters 10th Anniversary Edition
« Reply #36 on: November 16, 2005, 08:35:16 AM »
your problem isn't in neogeo.c, your problem is in driver.c
I think you have something improperly formatted, make sure your comments are inside /* .. */ or after //


Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #37 on: November 16, 2005, 09:13:23 AM »
your problem isn't in neogeo.c, your problem is in driver.c
I think you have something improperly formatted, make sure your comments are inside /* .. */ or after //

Part of his problem was because of how he added kof10th to neogeo.c ( well it was the main reason )

he only added what you posted here and nothing else

He added
Code: [Select]
ROM_START( kof10th )
ROM_REGION( 0x900000, REGION_CPU1, 0 ) // Modified
        ROM_LOAD16_WORD_SWAP( "kf10-p1.bin", 0x000000, 0x800000, CRC(b1fd0c43) SHA1(5f842a8a27be2d957fd4140d6431ae47154997bb) )

ROM_REGION( 0x20000, REGION_GFX1, 0 ) // modified
ROM_FILL(              0x000000, 0x20000, 0 ) // modified
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

And the driver Init only  Not the whole rom loading .


Code: [Select]
ROM_START( kof10th )
ROM_REGION( 0x900000, REGION_CPU1, 0 ) // Modified
        ROM_LOAD16_WORD_SWAP( "kf10-p1.bin", 0x000000, 0x800000, CRC(b1fd0c43) SHA1(5f842a8a27be2d957fd4140d6431ae47154997bb) )

ROM_REGION( 0x20000, REGION_GFX1, 0 ) // modified
ROM_FILL(              0x000000, 0x20000, 0 ) // modified
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

into this.

Code: [Select]
ROM_START( kof10th )
ROM_REGION( 0x900000, REGION_CPU1, 0 ) // Modified
        ROM_LOAD16_WORD_SWAP( "kf10-p1.bin", 0x000000, 0x800000, CRC(b1fd0c43) SHA1(5f842a8a27be2d957fd4140d6431ae47154997bb) )

ROM_REGION( 0x20000, REGION_GFX1, 0 ) // modified
ROM_FILL(              0x000000, 0x20000, 0 ) // modified
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) )

NEO_BIOS_SOUND_128K( "5008-m1.bin", CRC(5a47d9ad) SHA1(0197737934653acc6c97221660d789e9914f3578) )

ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
        ROM_LOAD( "265-v1d.bin", 0x000000, 0x800000, CRC(0fc9a58d) SHA1(9d79ef00e2c2abd9f29af5521c2fbe5798bf336f) )
        ROM_LOAD( "265-v2d.bin", 0x800000, 0x800000, CRC(b8c475a4) SHA1(10caf9c69927a223445d2c4b147864c02ce520a8) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
        ROM_LOAD16_BYTE( "275-c1a.bin", 0x0000000, 0x400000, CRC(3bbc0364) SHA1(e8aa7ff82f151ce1db56f259377b64cceef85af0) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c2a.bin", 0x0000001, 0x400000, CRC(91230075) SHA1(d9098e05a7ba6008661147b6bf8bc2f494b8b72b) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c1b.bin", 0x0800000, 0x400000, CRC(b5abfc28) SHA1(eabf60992bb3485c95330065294071ec155bfe7c) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c2b.bin", 0x0800001, 0x400000, CRC(6cc4c6e1) SHA1(be824a944e745ee18efdc45c81fd496a4d624b9c) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c3a.bin", 0x1000000, 0x400000, CRC(5b3d4a16) SHA1(93ac1cd7739100f8c32732644f81f2a19837b131) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c4a.bin", 0x1000001, 0x400000, CRC(c6f3419b) SHA1(340c17a73aeb7bf8a6209f8459e6f00000075b50) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c3b.bin", 0x1800000, 0x400000, CRC(9d2bba19) SHA1(5ebbd0af3f83a60e33c8ccb743e3d5f5a96f1273) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c4b.bin", 0x1800001, 0x400000, CRC(5a4050cb) SHA1(8fd2291f349efa1ed5cd37ad4e273b60fe831a77) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c5a.bin", 0x2000000, 0x400000, CRC(a289d1e1) SHA1(50c7d7ebde6e118a01036cc3e40827fcd9f0d3fd) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c6a.bin", 0x2000001, 0x400000, CRC(e6494b5d) SHA1(18e064b9867ae0b0794065f8dbefd486620419db) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c5b.bin", 0x2800000, 0x400000, CRC(404fff02) SHA1(56d1b32c87ea4885e49264e8b21846e465a20e1f) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c6b.bin", 0x2800001, 0x400000, CRC(f2ccfc9e) SHA1(69db7fac7023785ab94ea711a72dbc2826cfe1a3) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c7a.bin", 0x3000000, 0x400000, CRC(be79c5a8) SHA1(ded3c5eb3571647f50533eb682c2675372ace3fb) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c8a.bin", 0x3000001, 0x400000, CRC(a5952ca4) SHA1(76dbb3cb45ce5a4beffa1ed29491204fc6617e42) ) /* Plane 2,3 */
        ROM_LOAD16_BYTE( "275-c7b.bin", 0x3800000, 0x400000, CRC(3fdb3542) SHA1(7d2050752a2064cd6729f483a0da93808e2c6033) ) /* Plane 0,1 */
        ROM_LOAD16_BYTE( "275-c8b.bin", 0x3800001, 0x400000, CRC(661b7a52) SHA1(0ae2ad2389134892f156337332b77adade3ddad1) ) /* Plane 2,3 */
ROM_END

I didn't know that is the way it need to be. How did you do that anyway?

Thats how all neogeo roms are loaded . You can see that by looking at how the other games are . I should not need to tell you this since you have compiled FBA as well and its more or less the same thing .
« Last Edit: November 16, 2005, 09:20:38 AM by James33 »
IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: King of Fighters 10th Anniversary Edition
« Reply #38 on: November 16, 2005, 04:15:39 PM »
This Mame32 0.102 making is weard. It crashes again and it show that obj is about the size of 94.9mb when it crashes. Something is missing there.

I think iq_132 is right. It must be the driver.c problem.

I added Driver( kof10th )       /* Bootleg kof2002 hack */ back onto the driver.c after that the first crashes. But still no go on full making.

I begging to think it the Mame locked a part source somewhere where I can't add a new game on it.

Something is locked or missing where it can't make on the making the addon games.

This is driving me crazy guys. :confused:

Are you guys using the 0.102 source? If not then that the problem because of the source changes on each release. Here is the 0.102 source that I'm using. http://www.savefile.com/projects.php?pid=875294
« Last Edit: November 16, 2005, 04:20:43 PM by KingHanco »

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #39 on: November 16, 2005, 05:00:57 PM »
There is normally an error that tells you where the problem is
You need to make a bat file that way it will keep the dos window open and then you will be able to see the error and post it here .

My bat is like this

Code: [Select]
@echo off
set PATH=C:\MinGW\bin;%PATH%
echo Compile in progress Please wait !
make WINUI=1 I686=1 SUFFIX=32
echo Compile is complete .
pause
echo Enjoy :)
pause


Anyway can you post your driver.c here ? 
« Last Edit: November 16, 2005, 05:03:49 PM by James33 »
IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: King of Fighters 10th Anniversary Edition
« Reply #40 on: November 16, 2005, 06:55:55 PM »
There is normally an error that tells you where the problem is
You need to make a bat file that way it will keep the dos window open and then you will be able to see the error and post it here .

My bat is like this

Code: [Select]
@echo off
set PATH=C:\MinGW\bin;%PATH%
echo Compile in progress Please wait !
make WINUI=1 I686=1 SUFFIX=32
echo Compile is complete .
pause
echo Enjoy :)
pause


Anyway can you post your driver.c here ? 

I use this in a batch for windows xp. It works fine for AMD and Intel by default that I and John IV uses bellow.

set path=c:\MinGW\bin
mingw32-make WINUI=1 SUFFIX=32

I686=1 is different than I use. It a optimized version which I, Mame Team and John IV don't use. Not a recommand.

Here the driver.c from the D:\MAMESRC\src. I took the Driver( kof10th )       /* Bootleg kof2002 hack */ out of there.

I will post the error here after I use new batch settings. I took the I686=1 out of there.

@echo off
set PATH=C:\MinGW\bin;%PATH%
echo Compile in progress Please wait !
make WINUI=1 SUFFIX=32
echo Compile is complete .
pause
echo Enjoy :)
pause
« Last Edit: November 17, 2005, 05:44:28 PM by KingHanco »

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: King of Fighters 10th Anniversary Edition
« Reply #41 on: November 16, 2005, 07:21:40 PM »
I gotting the error report.

Here it is. It seem that it doesn't like the driver at all.
« Last Edit: November 17, 2005, 05:44:39 PM by KingHanco »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: King of Fighters 10th Anniversary Edition
« Reply #42 on: November 16, 2005, 07:27:35 PM »
Change this line:

Code: [Select]
ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
To this:

Code: [Select]
ROM_REGION( 0x1000000, REGION_SOUND1, 0)


Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #43 on: November 16, 2005, 08:33:09 PM »
I gotting the error report.

Here it is. It seem that it doesn't like the driver at all.

I use the mame plus source for kof10th driver . I never had a problem useing I686 .
KingHanco can you please post your neogeo.c source again please .


Change this line:

Code: [Select]
ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY )
To this:

Code: [Select]
ROM_REGION( 0x1000000, REGION_SOUND1, 0)

Why is it like that anyway ? Its not how the driver was written .
He has many errors
« Last Edit: November 16, 2005, 08:43:05 PM by James33 »
IQ Forum Member

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: King of Fighters 10th Anniversary Edition
« Reply #44 on: November 16, 2005, 09:34:42 PM »
I use the mame plus source for kof10th driver . I never had a problem useing I686 .
KingHanco can you please post your neogeo.c source again please .


Why is it like that anyway ? Its not how the driver was written .
He has many errors

You mean that you uses the Mame Plus driver. It might not work on Mame32. Both are different and written different. That is problemy why it getting the errors that I show you. I will never uses the Mame Plus source on Mame32.

Anyway here the neogeo.c. I already replace the ROM_REGION( 0x1000000, REGION_SOUND1, ROMREGION_SOUNDONLY ) with this ROM_REGION( 0x1000000, REGION_SOUND1, 0) to try out. Just to see it will bypass or not.
« Last Edit: November 17, 2005, 05:44:50 PM by KingHanco »