[kof94] Backgrounds colours always good

This forum is for posting M.A.M.E. arcade cheats. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
zakria
Posts: 292
Joined: Thu May 18, 2006 4:20 pm

[kof94] Backgrounds colours always good

Post by zakria » Fri Aug 16, 2019 9:31 pm

Pugsy,I think i am not explained very well but it is good cheat for add.I send photos for explain.
https://imgur.com/a/aMAMGLg

[kof94]

Code: Select all

<cheat desc="Backgrounds colours always good"> <comment>This cheat remove Rugal second form bad colours glitch fix from all 8 stages backgrounds.Work for both players Rugal second form and also CPU rugal second form on all normal teams stages.</comment>
    <script state="run">
      <action>maincpu.mw@35390=6002</action>
      <action>maincpu.mw@3539A=6000</action>
    </script>
    <script state="off">
      <action>maincpu.mw@35390=6700</action>
      <action>maincpu.mw@3539A=6600</action>
    </script>
  </cheat>

User avatar
Pugsy
Posts: 3422
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: [kof94] Backgrounds colours always good

Post by Pugsy » Mon Jun 15, 2020 12:00 am

I'll add it. Though looking at it the .mw. should be .rw and you may only need one line:- maincpu.rw@35390=6012 ?
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.221 XML cheat collection 19 JUNE 2020) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/y5dktfpea ... 1.zip/file (ZIP Archive 3.66MB)

zakria
Posts: 292
Joined: Thu May 18, 2006 4:20 pm

Re: [kof94] Backgrounds colours always good

Post by zakria » Mon Jun 15, 2020 11:10 am

Pugsy,My laptop is not working that time.This rom cheat i hack almost 1 year before but second cheat is necessary.It is for PL2 or maybe CPU rugal second form comes normal stages with character select cheat,backgrounds is good with second cheat for CPU or PL2.

User avatar
Pugsy
Posts: 3422
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: [kof94] Backgrounds colours always good

Post by Pugsy » Mon Jun 15, 2020 4:25 pm

zakria wrote:
Mon Jun 15, 2020 11:10 am
but second cheat is necessary.It is for PL2 or maybe CPU rugal second form comes normal stages with character select cheat,backgrounds is good with second cheat for CPU or PL2.
Sorry, Im not sure you uderstand 68000 assembly enough...

Code: Select all

Original Code:

03538A:  cmpi.w  #$19, ($170,A5)
035390:  beq     $3539e
035394:  cmpi.w  #$19, ($370,A5)
03539A:  bne     $353a4
03539E:  jsr     $31c4.l
0353A4:  clr.l   ($104c,A5)

You changed four bytes:-

03538A: cmpi.w  #$19, ($170,A5)
035390: bra     $35394
035394: cmpi.w  #$19, ($370,A5)
03539A: bra     $353a4
03539E: jsr     $31c4.l  <--code never run
0353A4: clr.l   ($104c,A5)

You could of just changed two bytes to do the same thing:-

03538A:  cmpi.w  #$19, ($170,A5)
035390:  bra     $353a4 
035394:  cmpi.w  #$19, ($370,A5)  <--code never run
03539A:  bne     $353a4 <--code never run
03539E:  jsr     $31c4.l <--code never run
0353A4:  clr.l   ($104c,A5)
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.221 XML cheat collection 19 JUNE 2020) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/y5dktfpea ... 1.zip/file (ZIP Archive 3.66MB)

zakria
Posts: 292
Joined: Thu May 18, 2006 4:20 pm

Re: [kof94] Backgrounds colours always good

Post by zakria » Mon Jun 15, 2020 7:42 pm

Thanks Pugsy for explain.You are right.I hope it work well 1 line cheat with 6012 value.

Post Reply