Author Topic: New Cheat Feature  (Read 11321 times)

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3496
  • Developer
    • View Profile
    • PaulsCode.Com
New Cheat Feature
« on: April 02, 2012, 10:31:08 PM »
I've posted a build with a rough interface to the Mupen64Plus cheats feature.  Screenshot from my initial proof of concept run:



Please test on a variety of devices/ games and provide feedback, suggestions, report problems, etc.

Cheats Test APK
« Last Edit: April 02, 2012, 10:50:18 PM by Paul »
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3496
  • Developer
    • View Profile
    • PaulsCode.Com
Re: New Cheat Feature
« Reply #1 on: April 02, 2012, 10:48:00 PM »
BTW, for cheats that require the GS button, the easiest way is to map it to a physical key on your device.

For more advanced users, you can edit the gamepad layout as mentioned in this thread.  You would add a "scancode" entry to the mask color list (you'd also have to draw a button image and color mask, unless you map it to an existing button), and then edit mupen64plus.cfg and plug that code into "Kbd Mapping Gameshark =" under the [CoreEvents] section.  I'll be updating the gamepad layouts to have a gameshark button on them that can be toggled on/off through a menu setting like the FPS, but I haven't gotten around to it.  If anyone is interested in drawing the image for the gameshark button and have a suggestion for where it should be placed on the gamepad layout, let me know.
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline scorpio16v

  • long
  • ***
  • Posts: 203
    • View Profile
Re: New Cheat Feature
« Reply #2 on: April 03, 2012, 10:26:40 AM »
I can't figure out why, but if I select a ROM, mupen64plus allways resumed to home on my Tegra 2 tablet.
I have made the reset and restore option, deinstalled and installed again.
The error is on both graphic plugins.

logcat

http://db.tt/clVh77Xn

On Galaxy S2 the same. Only the time till resume are 5 seconds longer.
I haven't made a logcat, since the beta ICS ROM produces way to much other log garbadge. But if you need it, I'll post it too.

Another thing. If I go to the cheat option, it shows the file choose dialoge. Must the mupencheat.txt be selected ?
« Last Edit: April 03, 2012, 11:22:18 AM by scorpio16v »

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3496
  • Developer
    • View Profile
    • PaulsCode.Com
Re: New Cheat Feature
« Reply #3 on: April 03, 2012, 12:34:57 PM »
If I go to the cheat option, it shows the file choose dialoge. Must the mupencheat.txt be selected ?

No, you are supposed to choose a ROM.  This will load up the available cheats for it.  I will make the menu option more obvious, so folks know what they are supposed to be picking.  I haven't actually tried just running a game without cheats from this particular build (I'll test this when I get home), so that may be causing the crash if it is looking for cheats information or something.  Can't read the logcat from my phone, so I'll look at it later as well.
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline scorpio16v

  • long
  • ***
  • Posts: 203
    • View Profile
Re: New Cheat Feature
« Reply #4 on: April 03, 2012, 12:47:10 PM »
Yes, if I start the game over the cheat option, it runns.  :)

Offline scorpio16v

  • long
  • ***
  • Posts: 203
    • View Profile
Re: New Cheat Feature
« Reply #5 on: May 18, 2013, 01:42:51 PM »
Sorry that I bring these old thread up again.

On Daedalus, there is a cheat.config that fixed the wrong shadows on Pilot Wings that are visible on mupen64+ae, if we are using gles2n64 or glesglide64.

As I understand the config patched some values of the ROM with another value. Is it possible that we can use these cheats in our cheat.config to fix these problems ?

Daedalus.cht in the attachment:

Offline Emulate_My_Android

  • bit
  • Posts: 1
    • View Profile
Re: New Cheat Feature
« Reply #6 on: March 12, 2015, 06:27:44 PM »
First of all I made a mistake on the reply I accidentally reported to mod I'll have have it taken care of it.  It. Was supposed to be a reply. I'm new so I have to get familiar with the website. But I wanted to make a request can you enable game shark for mupen64+.AE. I would really like it for my majoras mask Rom it will allow you to use the mask in some places you can't.