Jump to content

Recommended Posts

Posted
I followed the instructions and it worked !!

 

The title screen says King of Fighters 2004 EX @@ PLUS

(the @ signs are really some asian characters)

Should it say something different?

  • Replies 36
  • Created
  • Last Reply

Top Posters In This Topic

Posted

i still have no clue why i'm still having issues crc's are completlely correct maybe some thing in.087?

..after >>

static int prot_data;

 

static READ16_HANDLER( fatfury2_protection_16_r )

{

data16_t res = (prot_data >> 24) & 0xff;

 

switch (offset)

{

case 0x55550/2:

case 0xffff0/2:

case 0x00000/2:

case 0xff000/2:

case 0x36000/2:

case 0x36008/2:

return res;

 

case 0x36004/2:

case 0x3600c/2:

return ((res & 0xf0) >> 4) | ((res & 0x0f) << 4);

 

default:

logerror("unknown protection read at pc %06x, offset %08x\n",activecpu_get_pc(),offset<<1);

return 0;

}

}

 

static WRITE16_HANDLER( fatfury2_protection_16_w )

{

switch (offset)

{

case 0x55552/2: /* data == 0x5555; read back from 55550, ffff0, 00000, ff000 */

prot_data = 0xff00ff00;

break;

 

case 0x56782/2: /* data == 0x1234; read back from 36000 *or* 36004 */

prot_data = 0xf05a3601;

break;

 

case 0x42812/2: /* data == 0x1824; read back from 36008 *or* 3600c */

prot_data = 0x81422418;

break;

 

case 0x55550/2:

case 0xffff0/2:

case 0xff000/2:

case 0x36000/2:

case 0x36004/2:

case 0x36008/2:

case 0x3600c/2:

prot_data <<= 8;

break;

 

default:

logerror("unknown protection write at pc %06x, offset %08x, data %02x\n",activecpu_get_pc(),offset,data);

break;

}

}

 

static READ16_HANDLER( popbounc_sfix_16_r )

{

if (activecpu_get_pc()==0x6b10)

return 0;

return neogeo_ram16[0x4fbc/2];

}

 

 

 

i have >>

/* PCB init info */

static unsigned short CartRAM[0x1000];

 

unsigned char pvc_r8(unsigned int address)

{

return *(((unsigned char *)CartRAM)+((address^1)-0x2fe000));

}

 

void pvc_w8(unsigned int address, unsigned char data)

{

*(((unsigned char *)CartRAM)+((address^1)-0x2fe000))=data;

}

 

// These perform some palette calculations

// Unpack palette word to RGB dword, thanks to bms888

void pvc_prot1( void ) // on writes to e0/e1

{

unsigned char b1, b2;

b1 = pvc_r8(0x2fffe0);

b2 = pvc_r8(0x2fffe1);

 

pvc_w8(0x2fffe3,(((b2>>0)&0xf)<<1)|((b1>>4)&1));

pvc_w8(0x2fffe2,(((b2>>4)&0xf)<<1)|((b1>>5)&1));

pvc_w8(0x2fffe5,(((b1>>0)&0xf)<<1)|((b1>>6)&1));

pvc_w8(0x2fffe4, (b1>>7));

}

 

void pvc_prot2( void ) // on writes to e8/e9/ea/eb

{

unsigned char b1, b2, b3, b4;

b1 = pvc_r8(0x2fffe8);

b2 = pvc_r8(0x2fffe9);

b3 = pvc_r8(0x2fffea);

b4 = pvc_r8(0x2fffeb);

 

pvc_w8(0x2fffed,(b2>>1)|((b1>>1)<<4));

pvc_w8(0x2fffec,(b4>>1)|((b2&1)<<4)|((b1&1)<<5)|((b4&1)<<6)|((b3&1)<<7));

}

 

void pvc_write_bankswitch( void )

{

UINT32 bankaddress;

bankaddress = ((CartRAM[0xff8]>>:(|(CartRAM[0xff9]<<:blink:)+0x100000;

neogeo_set_cpu1_second_bank(bankaddress);

}

 

static WRITE16_HANDLER( pvc_prot_w )

{

COMBINE_DATA( &CartRAM[ offset ] );

 

if (offset == 0xFF0)pvc_prot1();

else if(offset >= 0xFF4 && offset <= 0xFF5)pvc_prot2();

else if(offset >= 0xFF8 && offset <= 0xFF9)pvc_write_bankswitch();

}

 

static READ16_HANDLER( pvc_prot_r )

{

if (offset >= 0xFF8)

{

if(CartRAM[0xFF8] == 0xffff)

{

CartRAM[0xFF8] = 0xfea0;

CartRAM[0xFF9] = 0x7fff;

}

if(CartRAM[0xFF8] == 0x0000)

{

CartRAM[0xFF8] = 0x00a0;

}

}

return CartRAM[ offset ];

}

 

 

 

/* kof2003 bootleg init info */

static READ16_HANDLER( kof2003b_prot_r )

{

return CartRAM[0xff9];

}

 

 

 

 

after kludges i have

 

 

 

 

if (!strcmp(Machine->gamedrv->name,"kof2003b") ||

!strcmp(Machine->gamedrv->name,"kof2003a") ||

!strcmp(Machine->gamedrv->name,"kof2k3up") ||

!strcmp(Machine->gamedrv->name,"kf2k3ba"))

{

memory_install_read16_handler(0, ADDRESS_SPACE_PROGRAM, 0x2fe000, 0x2fffff, 0, 0, pvc_prot_r);

memory_install_write16_handler(0, ADDRESS_SPACE_PROGRAM, 0x2fe000, 0x2fffff, 0, 0, pvc_prot_w);

 

memory_install_read16_handler(0, ADDRESS_SPACE_PROGRAM, 0x058196, 0x058197, 0, 0, kof2003b_prot_r);

}

 

 

 

crcs are correct but game crashes and reboots

Posted

tiger1020x maybe you can send me your neogeo source ?

 

 

 

 

 

Yeah, that. Why is the set called 2k3 Ultra Plus, when it says 2k4 and no ultra. The EX isn't even mentioned.

Its just a hack of a hack and thats all I know.

Posted

tiger1020x maybe you can send me your neogeo source ?

 

 

 

 

 

sure thing i can james but if i send it, it may get messy due to unix formatting or did you mean post it?

Posted
Could not find anything wrong  But I moved things around though.

 

yeah i'm baffled myself over this one.. i even tried switching bios files / using unibios 2.1.. i did not edit your driver or the crc's it looks for either..i do have them exactly... is it possible something went wrong in the patching but somehow my p1 and s1 roms are reporting correct crc's? oh also by chance is this a mame or mame32 driver? that would definately be the problem if its a mame32 driver....

still scratching my head... thanks for looking over my files though i hope it wasn't too time consuming

Posted

If the game load and plays then there is no problem.

You may have differnt roms to what I have. Which you just change the crc in the driver to match your roms. crc and sha1 need to match your roms,

Posted
If the game load and plays then there is no problem.

You may have differnt roms to what I have. Which you just change the crc in the driver to match your roms.  crc and sha1 need to match your roms,

 

rechecked same matching romset taking roms from kof2003b.. i always run in command line when testing a rom first

 

ron@Morpheus:~$ unzip -lv /mnt/hda1/mame/roms/kof2003

Archive: /mnt/hda1/mame/roms/kof2003.zip

Length Method Size Ratio Date Time CRC-32 Name

-------- ------ ------- ----- ---- ---- ------ ----

16777216 Defl:X 5151122 69% 02-09-04 15:39 328e80b1 271-c2d.bin

16777216 Defl:X 7487945 55% 02-09-04 15:39 c29acd28 271-c1d.bin

16777216 Defl:X 7253202 57% 02-09-04 15:39 020a11f1 271-c3d.bin

16777216 Defl:X 4621539 73% 02-09-04 15:39 991b5ed2 271-c4d.bin

16777216 Defl:X 16285 100% 02-09-04 15:40 a47ca14a 271-c5d.bin

16777216 Defl:X 16285 100% 02-09-04 15:40 a47ca14a 271-c6d.bin

4194304 Defl:N 1225603 71% 07-29-03 00:16 92ed6ee3 271-p1bl.bin

524288 Defl:N 231264 56% 01-27-04 13:07 0e86af8f 271-m1d.bin

16777216 Defl:N 13473436 20% 11-07-05 16:16 2964f36e 271-v1d.bin

131072 Defl:N 10551 92% 02-09-04 16:53 98d1896b 271-s1bl.bin

8388608 Defl:N 3447318 59% 12-27-04 01:28 374ea523 271-c7d.rom

8388608 Defl:N 2247946 73% 12-27-04 01:29 75211f4d 271-c8d.rom

4194304 Defl:N 1220144 71% 12-26-04 06:13 92ed6ee3 271-p1.bin

4194304 Defl:N 742345 82% 12-26-04 06:27 5d3d8bb3 271-p2.bin

131072 Defl:N 10620 92% 12-26-04 06:27 c47f8ac3 271-s1.rom

4194304 Defl:N 3458023 18% 12-26-04 07:04 d2b8aa5e 271-v1d.rom

4194304 Defl:N 3385347 19% 12-26-04 06:58 71956ee2 271-v2d.rom

4194304 Defl:N 3294275 22% 12-27-04 01:29 ddbbb199 271-v3d.rom

4194304 Defl:N 3335018 21% 12-27-04 01:29 01b90c4f 271-v4d.rom

8388608 Defl:N 3515679 58% 12-27-04 01:25 e42fc226 271-c1d.rom

8388608 Defl:N 2407110 71% 12-27-04 01:26 1b5e3b58 271-c2d.rom

8388608 Defl:N 4044216 52% 12-27-04 01:26 d334fdd9 271-c3d.rom

8388608 Defl:N 2833264 66% 12-27-04 01:27 0d457699 271-c4d.rom

8388608 Defl:N 3891700 54% 12-27-04 01:27 8a91aae4 271-c5d.rom

8388608 Defl:N 2480638 70% 12-27-04 01:28 9f8674b8 271-c6d.rom

8388608 Defl:N 1979454 76% 11-06-05 09:44 87294c01 271-p1up.bin

131072 Defl:N 15111 89% 11-06-05 09:37 e5708c0c 271-s1up.bin

131072 Defl:N 27165 79% 12-03-97 15:54 9036d879 neo-geo.rom

131072 Defl:N 2792 98% 03-06-98 16:20 5a86cff2 ng-lo.rom

131072 Defl:N 16066 88% 03-06-98 16:21 354029fc ng-sfix.rom

131072 Defl:N 11272 91% 10-28-98 22:58 97cf998b ng-sm1.rom

-------- ------- --- -------

223739904 81852735 63% 31 files

 

 

i threw a diff bios in because i remember kof2003b having a special bios origionally

Posted
i threw a diff bios in because i remember kof2003b having a special bios origionally

 

kof2003 uses a special bios But kof2003b never did.

 

Just so I am clear on your problem can you tell me what is wrong again please. Does the game play ?

Posted
i threw a diff bios in because i remember kof2003b having a special bios origionally

 

kof2003 uses a special bios But kof2003b never did.

 

Just so I am clear on your problem can you tell me what is wrong again please. Does the game play ?

game just loads and resets some plus text can be seen right before it automatically resets.. is completely unplayable

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...