[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: 293
Joined: Thu May 18, 2006 4:20 pm
Been thanked: 4 times

[kof94] Backgrounds colours always good

Post by zakria »

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: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: [kof94] Backgrounds colours always good

Post by Pugsy »

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 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
zakria
Posts: 293
Joined: Thu May 18, 2006 4:20 pm
Been thanked: 4 times

Re: [kof94] Backgrounds colours always good

Post by zakria »

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: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: [kof94] Backgrounds colours always good

Post by Pugsy »

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 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
zakria
Posts: 293
Joined: Thu May 18, 2006 4:20 pm
Been thanked: 4 times

Re: [kof94] Backgrounds colours always good

Post by zakria »

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