Advertising (This ad goes away for registered users. You can Login or Register)

RetroArch 1.7.4 Cheat Question for FBA Core

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Locked
Smoker1
Posts: 204
Joined: Sat Nov 16, 2013 8:12 am

RetroArch 1.7.4 Cheat Question for FBA Core

Post by Smoker1 »

OK, so for those who are into this, RA added a Cheat Search/Creation Function. Works pretty good, depending on which Core you use. I did notice that FBA 2012 Cores dont want to cooperate with the Cheat Search.
So I have been sticking with the FBA (all in one) Core. But I am trying to Add a Cheat that I found in the MAME XML Cheat Files for 19xx.zip . I dont see this Code in the FBA Cheat Files, or even in the CPS2PSP Cheat Files, so I am not sure how to add this on into the RetroArch Cheat File for 19xx .

In the Attached Image, the Cheat Type only shows:
Set To Value
Increase By Value
Decrease By Value
Run Next Cheat if Value = Memory
Run Next Cheat if Value !=Memory
Run Next Cheat if Value < Memory
Run Next Cheat if Value > Memory
Disabled
2018-09-07-183228.jpg
2018-09-07-183228.jpg (72.85 KiB) Viewed 11398 times
So how would I enter this:

Code: Select all

<cheat desc="P1 Rapid Fire"> <comment>No charge shot available</comment>
    <script state="run">
      <action>maincpu.pw@FF82E4=0000|(maincpu.pw@FF82E4 BAND ~1010)</action>
    </script>
  </cheat>
  
Edit: Never mind, I figured that Code out. For my next trick....this Code should be interesting to figure out:

Code: Select all

<cheat desc="P1 Invincibility">
   <script state="run">
     <action>maincpu.pw@((maincpu.pd@FF49BC)+72)=0002</action>
   </script>
</cheat>
Advertising
Last edited by CPUzX on Sat Sep 08, 2018 8:50 pm, edited 1 time in total.
Reason: moved to "Programming and Security" section.
PS3(BC60GB): 4.65 Rebug CFW
PSP 3000 (03g): 6.20 PRO-C2 (128GB->MicroSD Adapter)
Vita: 3.65 Enso HENkaku - Vita(3G) 400GB+SD2Vita (256GB)
N3DS XL : 11.8 Luma3DS
GPD XD1 (64GB) Rooted
GPD Win1
Locked

Return to “Programming and Security”