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

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: King of Fighters 10th Anniversary Edition
« Reply #75 on: December 24, 2005, 08:08:19 PM »
Whoa! Welcome Haze :)  If you want/care (lol, I know your P.O.V. of neogeo games, so you probably don't), I think we can try to help you sort some of the neogeo boot stuff out.

I assumed being posted here the code was already tested.
I posted that code here to be tested.  I don't have much interest in actually playing these bootlegs...


Offline Haze

  • MAME Devs
  • *****
  • Posts: 184
  • Karma: +47/-0
Re: King of Fighters 10th Anniversary Edition
« Reply #76 on: December 25, 2005, 06:06:56 AM »
Well if you have improvements / fixes there is the standard MAME submission procedure.  Please don't submit anything yet as (assuming Aaron includes the changes) the NeoGeo drivers have been reorganised a bit for 103.

Submitting the additional official games is pointless, somebody already did this, Aaron sees no point in including them yet.

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #77 on: December 25, 2005, 07:24:50 AM »
I am shocked to see you here Haze .  I thought you hated NEOGEO ?
But anyway I bid you welocme :)
IQ Forum Member

Offline Haze

  • MAME Devs
  • *****
  • Posts: 184
  • Karma: +47/-0
Re: King of Fighters 10th Anniversary Edition
« Reply #78 on: December 25, 2005, 10:56:42 AM »
I won't be staying around, I just wanted to confirm that this is where the code used came from.  It was only fair to let you know.

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #79 on: December 26, 2005, 02:47:39 AM »
I won't be staying around, I just wanted to confirm that this is where the code used came from.  It was only fair to let you know.

Well thats a shame :( , But thanks for being honest .
IQ Forum Member

Offline magni

  • New Member
  • *
  • Posts: 8
  • Karma: +0/-0
Re: King of Fighters 10th Anniversary Edition
« Reply #80 on: December 31, 2005, 03:18:19 AM »
Yes, the code was taken from the various builds I could find and here.

Most of it isn't even tested because I don't have the sets, interest, nor time to test it, nor do we have the slightest clue which are genuine bootleg sets with the amount of hacking that goes on...   I assumed being posted here the code was already tested.

Then, why have you added this stuff?

Why haven´t you asked the one person who knows it?

That particular person also has proper drivers (no offense guys, but some of this stuff here is incomplete).

If you "do not care" about that system, simply stop updating.

We have enough emulators which do this, so M.a.m.e can take care of all other systems.

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #81 on: December 31, 2005, 04:10:25 AM »
Then, why have you added this stuff?

Why haven´t you asked the one person who knows it?

That particular person also has proper drivers (no offense guys, but some of this stuff here is incomplete).

If you "do not care" about that system, simply stop updating.

We have enough emulators which do this, so M.a.m.e can take care of all other systems.

Some drivers have not even been posted here so your comments are not valid .
IQ Forum Member

Offline magni

  • New Member
  • *
  • Posts: 8
  • Karma: +0/-0
Re: King of Fighters 10th Anniversary Edition
« Reply #82 on: December 31, 2005, 09:23:18 AM »
That one person keeps some stuff to himself (his choice)

We know some of our stuff is incomplete, that's why we have a forum so that we can discuss the matter.
At least we are trying. Are you?

I have done enough for the Neo comunity, exactly 15 times enough.

Offline magni

  • New Member
  • *
  • Posts: 8
  • Karma: +0/-0
Re: King of Fighters 10th Anniversary Edition
« Reply #83 on: December 31, 2005, 09:27:16 AM »
Some drivers have not even been posted here so your comments are not valid .

O.k., BUT the drivers used from here are partly incomplete and they have NOT been tested by them.


Offline pinhead

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
Re: King of Fighters 10th Anniversary Edition
« Reply #84 on: December 31, 2005, 11:48:19 AM »
Hello there!
I have worked on a kof10th driver in my free time to learn a bit how MAME works.
My driver is not complete yet but I can at least tell you how to modify the current MAME driver to decode the 8x8 tiles on the fly.

In machine\neoboot.c, remove this because it is not needed any more :
    for (i = 0; i < 0x10000; i++) { // Get S data, should be done on the fly
      srm[0x00000+(i^1)]=BITSWAP8(src[0x600000+i]^0xf3,7,6,0,4,3,2,1,5);
       srm[0x10000+(i^1)]=BITSWAP8(src[0x6d0000+i]^0xf3,7,6,0,4,3,2,1,5);
   }
    for (i = 0; i < 0x04000; i++) {
      srm[0x02000+(i^1)]=BITSWAP8(src[0x6c2000+i]^0xf3,7,6,0,4,3,2,1,5);
      srm[0x12000+(i^1)]=BITSWAP8(src[0x612000+i]^0xf3,7,6,0,4,3,2,1,5);
   }

Replace this :
//      S data should be written here... ??  scrambled??
//      UINT16 *prom = (UINT16*)memory_region( REGION_GFX1 );
//      UINT8 datalow = BITSWAP8((data&0xff)^0xf3,7,6,0,4,3,2,1,5);
//      UINT8 datahigh = BITSWAP8(((data>>8)&0xff)^0xf3,7,6,0,4,3,2,1,5);
//      data = datalow | datahigh<<8;
//      COMBINE_DATA(&prom[offset & 0xFFFF]);
//      decodechar(Machine->gfx[0], (offset&0xffff)/16, (UINT8 *)prom, &kof10th_layout);

With this :
//    S data decoded on the fly
      UINT8 *prom = (UINT8*)memory_region( REGION_GFX1 );
      UINT8 datalow = BITSWAP8(data, 7, 6, 0, 4, 3, 2, 1, 5);
      prom[offset] = datalow;
      decodechar(Machine->gfx[0], offset>>5, prom, &kof10th_layout);


Et voila!
I haven't tested it very much though (the driver I have done is a little bit different).
But at least it seems to work.

Bye.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: King of Fighters 10th Anniversary Edition
« Reply #85 on: December 31, 2005, 06:08:55 PM »
Sweet :)


Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Re: King of Fighters 10th Anniversary Edition
« Reply #86 on: December 31, 2005, 07:25:42 PM »
Thanks for that :)

My head hurts right now . So I will test it later

Happy New Year
IQ Forum Member

Offline mamesick

  • Newbies
  • *
  • Posts: 17
  • Karma: +0/-0
  • MAME32FX
    • MAME32FX
Re: King of Fighters 10th Anniversary Edition
« Reply #87 on: January 01, 2006, 03:13:26 AM »
Very impressive. I will include this in my next MAME32FX release.

BTW, this line must be removed too or you'll get a compilation error:

in "decrypt_kof10th()" function:
Code: [Select]
UINT8 *srm = memory_region( REGION_GFX1 );

This line is no longer needed... :wink:

Offline NeoKIM®

  • Newbies
  • *
  • Posts: 11
  • Karma: +0/-0
Re: King of Fighters 10th Anniversary Edition
« Reply #88 on: January 01, 2006, 06:26:50 PM »
This code is correct?

static const gfx_layout kof10th_layout =
{
   8,8,         /* 8 x 8 chars */
   8192,
   4,            /* 4 bits per pixel */
   { 0, 1, 2, 3 },    /* planes are packed in a nibble */
   { 33*4, 32*4, 49*4, 48*4, 1*4, 0*4, 17*4, 16*4 },
   { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
   32*8   /* 32 bytes per char */
};

I do not obtain to compile using it....
Somebody could place this to driver complete?

Thanks!
« Last Edit: January 01, 2006, 07:51:26 PM by NeoKIM® »

Offline NeoKIM®

  • Newbies
  • *
  • Posts: 11
  • Karma: +0/-0
Re: King of Fighters 10th Anniversary Edition
« Reply #89 on: January 01, 2006, 07:54:55 PM »
The perils of using a language translator 

That code is fine because it works. I'm unable to understand the rest of what you're saying,  :confused: sorry about that.

If you he is so smart thus.... It speaks with me in Portuguese! Pretty!