Author Topic: King of Fighters 2003, The (2004, EX, Hero) Drivers  (Read 24738 times)

Offline neo04

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +1/-0
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #15 on: November 24, 2004, 09:53:11 AM »
james, please post mame driver.. :)

Offline JiMMy_PaGe

  • Expert
  • *****
  • Posts: 60
  • Karma: +2/-0
    • SNK-NeoFighters
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #16 on: November 24, 2004, 12:18:11 PM »
Quote from: iq_132
I got kof2k3up working :D (Yes, it does have the plus and extra chars)
for this P rom:

271-p1p.bin 0x800000  0x87294C01

Code: [Select]
static void kof2k3up_fix()
{
// Driver by IQ_132 -- http://neosource.1emu.net/
// Descramble P1 (bring part 8 to the front)
memcpy(Neo68KROM01+0x100000, Neo68KROM01, 0x600000);
memcpy(Neo68KROM01, Neo68KROM01+0x700000, 0x100000);

// Patch out protected addresses
*((unsigned short*)(Neo68KROM01 + 0x0D8A)) = 0x0000;
*((unsigned short*)(Neo68KROM01 + 0x0D8C)) = 0x12EE;
}


make sure you are have the kof2003b maphandlers in your driver or this won't work.

btw, this also uses the same S descrambling method as svcsplus and requires HARDWARE_SNK_ALTERNATE_TEXT


Thanks alot iq for this code, as i aways say, u rocks  :D
Here something that i was thinking:
The game title shows it: "The King Of Fighters 2004 Ex Ultra Plus"
So dont u think that the rom should be called The King Of Fighters 2004 Ex Ultra Plus to? But i donno maybe im wrong  :cool:
Ahhh, i forgot to say that the shirink characters are not enable, maybe we have to change the patch value...
See ya  ;)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #17 on: November 24, 2004, 02:27:11 PM »
make sure you use kof2003b's bankswitching for this game, otherwise the game will just crash.

Code: [Select]
static void kof2k3up_sx_decrypt( void )
{
UINT8 *rom = memory_region( REGION_GFX1 );
int rom_size = memory_region_length( REGION_GFX1 );

for( int i = 0; i < rom_size; i++ ){
rom[ i ] = BITSWAP8( rom[ i ], 7, 6, 0, 4, 3, 2, 1, 5 );
}
}

DRIVER_INIT( kof2k3up )
{
// Driver by IQ_132 -- http://neosource.1emu.net/
// MAME Conversion by James33
// Descramble P1 (bring part 8 to the front)
UINT8 *src = memory_region(REGION_CPU1);
memcpy(src+0x100000, src, 0x600000);
memcpy(src, src+0x700000, 0x100000);

// Patch out protected addresses
data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1);
mem16[0x0D8A/2] = 0x0000;
mem16[0x0D8C/2] = 0x12EE;

neogeo_fix_bank_type = 2;
kof2k3up_sx_decrypt();
init_neogeo();
}


Offline babytek

  • Newbies
  • *
  • Posts: 12
  • Karma: +0/-0
  • Junior Member
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #18 on: November 24, 2004, 03:17:20 PM »
EDIT : Forget it I have found lol :)

Sorry !

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #19 on: November 24, 2004, 07:21:03 PM »
Quote from: neo04
james, please post mame driver.. :)
I posted it in the Mame thread :)
IQ Forum Member

Offline FerchogtX

  • FBNeo Dev
  • ******
  • Posts: 375
  • Karma: +7/-0
  • FB Alpha Team ;)
    • FB Alpha Plus! Web Site
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #20 on: November 24, 2004, 07:53:25 PM »
Quote from: iq_132
I got kof2k3up working :D (Yes, it does have the plus and extra chars)
for this P rom:

271-p1p.bin 0x800000  0x87294C01

Code: [Select]
static void kof2k3up_fix()
{
// Driver by IQ_132 -- http://neosource.1emu.net/
// Descramble P1 (bring part 8 to the front)
memcpy(Neo68KROM01+0x100000, Neo68KROM01, 0x600000);
memcpy(Neo68KROM01, Neo68KROM01+0x700000, 0x100000);

// Patch out protected addresses
*((unsigned short*)(Neo68KROM01 + 0x0D8A)) = 0x0000;
*((unsigned short*)(Neo68KROM01 + 0x0D8C)) = 0x12EE;
}


make sure you are have the kof2003b maphandlers in your driver or this won't work.

btw, this also uses the same S descrambling method as svcsplus and requires HARDWARE_SNK_ALTERNATE_TEXT

Thanks IQ... now it boots XD, BTW is not strange that it uses a flag that is exclusively for 512 KB or bigger S1 ROMs? (like kof2000) :eek:  :confused: just weird XD
Thanks for the driver man...
See ya!!!!! :D

Good and evil co-exist because of the balance, lies are not part of it...

FB Alpha Plus! site infos updated, see the latest info clicking on my profile link...

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #21 on: November 24, 2004, 08:34:13 PM »
Actually, sengoku3 and ganryu also use HARDWARE_SNK_ALTERNATE_TEXT


Offline Xeon

  • Newbies
  • *
  • Posts: 45
  • Karma: +0/-0
  • Member
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #22 on: November 24, 2004, 11:31:42 PM »
Quote from: iq_132
Actually, sengoku3 and ganryu also use HARDWARE_SNK_ALTERNATE_TEXT

 hmmm...weird, they seem to work fine without it. how did you find that out?

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #23 on: November 25, 2004, 04:29:46 AM »
I searched through my d_neogeo.cpp :)


Offline Accosta_m

  • Newbies
  • *
  • Posts: 15
  • Karma: +0/-0
  • The Ghost Gundam
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #24 on: November 25, 2004, 12:44:21 PM »
Quote from: MAKE
src/burn/neogeo/d_neogeo.cpp: In function `int kof2003bInit()':
src/burn/neogeo/d_neogeo.cpp:7377: `nTextBankswitch' undeclared (first use this  function)
src/burn/neogeo/d_neogeo.cpp:7377: (Each undeclared identifier is reported only once for each function it appears in.)
src/burn/neogeo/d_neogeo.cpp: At global scope:
src/burn/neogeo/d_neogeo.cpp:7390: `HARDWARE_SNK_NEWBANKSYSTEM' was not declared in this scope


I Have this problem But i can't fix it

Who can i fix this Error  :confused:
:D     :cool:     :eek:     ;)     :p

Offline Vorador

  • Newbies
  • *
  • Posts: 18
  • Karma: +0/-0
  • Junior Member
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #25 on: November 25, 2004, 02:47:13 PM »
Quote from: Accosta_m
I Have this problem But i can't fix it

Who can i fix this Error  :confused:


Seems that you donĀ“t have added the codes for the New Banksystem and textbankswitch in neogeo.h and some other files

Offline KaNyErO

  • Member
  • ***
  • Posts: 142
  • Karma: +4/-0
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #26 on: November 26, 2004, 11:03:50 PM »
i have a question ... kof2k3up should allow to make chars small... but with this driver it cant be done

check this:
http://www.emumaquinitas.com/videos/kof2003up.wmv

maybe some other adresses must be patched?

 :confused:

Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #27 on: December 14, 2004, 03:00:28 AM »
Quote from: KaNyErO
i have a question ... kof2k3up should allow to make chars small... but with this driver it cant be done

check this:
http://www.emumaquinitas.com/videos/kof2003up.wmv

maybe some other adresses must be patched?

 :confused:


Yes,kof2k3up should allow to make chars small.

Try this p1,just add kof2003bMapHandler can working perfect.

   {"271-s1up.bin" , 0x020000,  0xe5708c0c,    1}, //  3 Text layer tiles

static void kof2k3up_sx_decrypt()
{
   UINT8 *srom = (UINT8 *)(NeoTextROM + 0x020000);
   for (int i=0;i<0x20000;i++) {
      srom=BITSWAP08(srom,7,6,0,4,3,2,1,5);
   }
}

   BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG | BDF_LOCKED, 2, HARDWARE_SNK_NEOGEO | HARDWARE_SNK_NEWBANKSYSTEM | HARDWARE_SNK_ALTERNATE_TEXT,

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #28 on: December 14, 2004, 03:13:35 AM »
Interesting. Thanks BMS :)
btw, nice to see you posting again.


Offline bms888

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
  • Member
King of Fighters 2003, The (2004, EX, Hero) Drivers
« Reply #29 on: December 14, 2004, 03:18:52 AM »
Quote from: iq_132
Interesting. Thanks BMS :)
btw, nice to see you posting again.


The King of Fighters 2003 Ultra Plus (bootleg)

kof2k3up Px & Sx decrypt FBA code in here,^_^

   
Quote
{"271-p1up.bin" , 0x100000,  0xE3A57A9C, 0x10}, //  0 68K code /* has protection */


Code: [Select]

static void kof2k3up_px_decrypt()
{
int i;
UINT8 *src = (UINT8 *)(Neo68KROM01);
unsigned short *tmp = (unsigned short *)malloc(0x2000);
unsigned short *rom = (unsigned short *)(src+0xfe000);
memcpy(tmp,src+0xd0610,0x2000);
for ( i=0; i<0x2000/2; i++)
rom[i] = tmp[BITSWAP16(i,15,14,13,12,11,10,9,8,7,6,0,4,3,2,1,5)];
free(tmp);
}


   
Quote
{"271-s1up.bin" , 0x020000,  0xe5708c0c,    1}, //  3 Text layer tiles


Code: [Select]

static void kof2k3up_sx_decrypt()
{
UINT8 *srom = (UINT8 *)(NeoTextROM + 0x020000);
for (int i=0;i<0x20000;i++) {
srom[i]=BITSWAP08(srom[i],7,6,0,4,3,2,1,5);
}
}