Author Topic: problem with some hacks  (Read 25091 times)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: problem with some hacks
« Reply #30 on: October 31, 2006, 04:18:33 PM »
Also, here is a patch to allow kf2k3evo to work completely. :)
Code: [Select]
UINT16 *mem16 = (UINT16*)memory_region( REGION_CPU1 );
mem16[0x01926 / 2] = 0x0001;
mem16[0x01928 / 2] = 0x010E;
mem16[0x44364 / 2] = 0x4e71;


Offline Nsk

  • Newbies
  • *
  • Posts: 31
  • Karma: +0/-0
Re: problem with some hacks
« Reply #31 on: October 31, 2006, 06:37:28 PM »
"excellent"  :biggrin:
thanks!

A little question: you tell me to show near the address problem and patch the differences with the "original" values shown with the "parent" rom. But making this couldn't delete some of the hack's particularities?

I tryed this methode with kovplush but it seems that this game have a problem in 0081fe9a cpu mem address and with the debugger this memory value is allways changing during gameplay => I could'nt patch it  :redface:

Thank for your help!
« Last Edit: October 31, 2006, 06:40:59 PM by Nsk »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: problem with some hacks
« Reply #32 on: November 01, 2006, 02:21:36 AM »
   AM_RANGE(0x800000, 0x81ffff) AM_RAM AM_MIRROR(0x0e0000) AM_BASE(&pgm_mainram) /* Main Ram */

That address is the ram for the game, you need to find where the rom is writing/reading that piece of ram and causing the problem. This could be a bit more difficult given that the rom is encrypted. ^^

You can use the attached program to decrypt the program files of kovplus, etc (just rename the input file to filein.bin and the decrypted file will be out.bin.
« Last Edit: November 01, 2006, 12:02:19 PM by iq_132 »


Offline nova

  • Newbies
  • *
  • Posts: 13
  • Karma: +0/-0
Re: problem with some hacks
« Reply #33 on: January 27, 2007, 04:08:40 PM »
hi , i continue this post because i need help too
to make a correct driver for a hack under mame
Code: [Select]
ROM_START( kof2k1rp )
ROM_REGION( 0x500000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "262-p1rp.bin", 0x000000, 0x100000, CRC(E9E42E55) SHA1(2a254d056ab046d2704e16ebbaa2b68c6e867dc7) )
ROM_LOAD16_WORD_SWAP( "262-p2rp.bin", 0x100000, 0x400000, CRC(91668D86) SHA1(3df31baaa1c87b040f88eeffff1a174960f9f1fc) )

NEO_SFIX_128K( "262-s1rp.bin", CRC(492F5EFE) SHA1(e18895da5c294245b6e119421affbd4f0e168c7a) )

/* The M1 ROM is encrypted, we load it here for reference and replace it with a decrypted version */
ROM_REGION( 0x40000, REGION_USER4, 0 )
ROM_LOAD( "265-262-m1.bin", 0x00000, 0x20000, CRC(1d5aab51) SHA1(52327c5bcad87770419057097cca20a3b187bec3) )
NEO_BIOS_SOUND_128K( "265-262_decrypted-m1.bin",  CRC(2fb0a8a5) SHA1(9878370ff8cef3e9c9f307ad64c29522dd625c8f) )

ROM_REGION( 0x1000000, REGION_SOUND1, 0 )
ROM_LOAD( "262-v1.bin", 0x000000, 0x400000, CRC(83d49ecf) SHA1(2f2c116e45397652e77fcf5d951fa5f71b639572) )
ROM_LOAD( "262-v2.bin", 0x400000, 0x400000, CRC(003f1843) SHA1(bdd58837ad542548bd4053c262f558af88e3b989) )
ROM_LOAD( "262-v3.bin", 0x800000, 0x400000, CRC(2ae38dbe) SHA1(4e82b7dd3b899d61907620517a5a27bdaba0725d) )
ROM_LOAD( "262-v4.bin", 0xc00000, 0x400000, CRC(26ec4dd9) SHA1(8bd68d95a2d913be41a51f51e48dbe3bff5924fb) )

NO_DELTAT_REGION

ROM_REGION( 0x4000000, REGION_GFX3, 0 )
/* Encrypted */
ROM_LOAD16_BYTE( "262-c1.bin", 0x0000000, 0x800000, CRC(99cc785a) SHA1(374f0674871d0196fa274aa6c5956d7b3848d5da) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "262-c2.bin", 0x0000001, 0x800000, CRC(50368cbf) SHA1(5d9e206e98e0b0c7735b72ea46b45058fdec2352) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "262-c3.bin", 0x1000000, 0x800000, CRC(fb14ff87) SHA1(445a8db2fc69eff54a252700f2d3a89244c58e75) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "262-c4.bin", 0x1000001, 0x800000, CRC(4397faf8) SHA1(6752b394f6647502a649a3e62bd3442f936b733e) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "262-c5.bin", 0x2000000, 0x800000, CRC(91f24be4) SHA1(88190c41f7d4a0f4b1982149fc9acfc640af498d) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "262-c6.bin", 0x2000001, 0x800000, CRC(a31e4403) SHA1(5cd1a14703aa58810e2377dfb7353c61e9dc9c1f) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "262-c7.bin", 0x3000000, 0x800000, CRC(54d9d1ec) SHA1(80c3a8ec39130dd5d3da561f287709da6b8abcf4) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "262-c8.bin", 0x3000001, 0x800000, CRC(59289a6b) SHA1(ddfce7c85b2a144975db5bb14b4b51aaf881880e) ) /* Plane 2,3 */
ROM_END

DRIVER_INIT( kof2k1rp )
{
cmc50_neogeo_gfx_decrypt(0x1e);
init_neogeo(machine);
}

GAMEB( 2001, kof2k1rp, kof2001,  neogeo, neogeo, neogeo,  kof2k1rp, ROT0, "hack", "The King of Fighters 2001 (Remix Pro, v1.02 Final, Kim/Raymonose/Jason/K3 Hack)" , 0)

after 30 second or more the game crash with this error


thank if you can help me  :p
no one can help me , omg to hard to solve it
« Last Edit: January 29, 2007, 01:53:12 AM by nova »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: problem with some hacks
« Reply #34 on: January 31, 2007, 05:06:50 AM »
Nova, I've tested and retested this game in MAME with unibios 1.0 as well as the normal bios and it works fine,
are you sure there isn't something else in your build causing the problem?


Offline nova

  • Newbies
  • *
  • Posts: 13
  • Karma: +0/-0
Re: problem with some hacks
« Reply #35 on: January 31, 2007, 07:22:21 AM »
i dont know if something else make this crash
i have test this set with all bios, unibios,aes,mvs
and the game crash, but only when i play with boss

i have test with decrypted C roms too and the
game make me same crash

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: problem with some hacks
« Reply #36 on: January 31, 2007, 02:19:34 PM »
ah, it crashes when you play as a boss. That is very important information. ^^


Offline nova

  • Newbies
  • *
  • Posts: 13
  • Karma: +0/-0
Re: problem with some hacks
« Reply #37 on: January 31, 2007, 06:02:56 PM »
yes after some tests i can confirm, its when i play boss