Author Topic: Cheat Text Search  (Read 357 times)

0 Members and 1 Guest are viewing this topic.

Offline Gent

  • PJ64 Dever
  • Sr. Member
  • *****
  • Posts: 466
  • Karma: +100/-0
  • SuperFly Deving Guy
    • Project64 Website
Cheat Text Search
« on: September 13, 2019, 12:13:39 pm »
Ok Rad and myself have been looking at this again and it seems Nemu Text search does indeed something Hinky that is not compatible with PJ.
However.... Zilmars Newer model with group effort overhauling the Cheat search stuff i stumbled on their improvements.
By searching known values and selecting String method it can now search for text rather accurately with incorporated live test result section like outs but also the bonus of viewing in Memory editor and live changing there also.


Below is a mod Ive done on  007 - The World is Not Enough (U) to Replace Agent, Secret Agent and OO Agent with Rob, Secret Rob and 00 Rob.

80176A6C 52 6F 62 00 00 (Rob)

Name Mod\Rob
80176A6C 0052
80176A6D 006F
80176A6E 0062
80176A6F 0000
80176A70 0000


80176A5C 53 65 63 72 65 74 20 52 6F 62 20 20 (Secret Rob)

Name Mod\Secret Rob
80176A5C 0053
80176A5D 0065
80176A5E 0063
80176A5F 0072
80176A60 0065
80176A61 0074
80176A62 0020
80176A63 0052
80176A64 006F
80176A65 0062
80176A66 0020
80176A67 0020


80176A50 30 30 20 52 6F 62 20 20 (00 Rob)

Name Mod\00 Rob

80176A50 0030
80176A51 0030
80176A52 0020
80176A53 0052
80176A54 006F
80176A55 0062
80176A56 0020
80176A57 0020


What I really like about TextSearch.png and MemEditor.png is the ability to show as Text or Hex result and also to open a Memory Editor that can Live update the value to see in realtime... nice! We need that  ;;)
« Last Edit: September 13, 2019, 02:36:47 pm by Gent »
System 1 Specs:

OS:Windows 7 Professional 64Bit
CPU:Intel® Core™2 Quad Processor Q8400, 2.66 GHz, 1333 MHz FSB
System RAM:8GB Ddr2 Ram
Video:ATI Radeon HD 7470 PCI-E Graphics Card 1Gb
Sound:Creative Labs SB0460 X-fi Fatality Sound Blaster

System 2 Specs:

OS:Windows 7 Professional 64Bit
CPU:AMD Intel Quad Core i7 860 @ 2.80GHz Lynnfield 45nm Technology
System RAM:16.0GB Dual-Channel DDR3 @ 664MHz (9-9-9-24)
Video Card:512MB NVIDIA GeForce 310 Graphics
Sound Card:Realtek High Definition Audio

System 3 Specs:

OS:Windows 7 Professional 64Bit
CPU:AMD Essentials E1-2100 Accelerated Processor clock speed : 1.0 GHz
System RAM:Crucial 16GB  DDR3 RAM (1,333 MHz)
Video Card:AMD E1-2100 APU with AMD Radeon™ HD 8210 Graphics
Sound Card:Realtek ALC269Q-VB5-GR

Offline RadeonUser

  • PJ64 Dever
  • Full Member
  • *****
  • Posts: 231
  • Karma: +1/-0
  • SuperFly Deving Guy
Re: Cheat Text Search
« Reply #1 on: September 21, 2019, 12:40:16 pm »
This is just proof of concept, lots of work needed yet.
Please test out if the other functionality has changed any as I rewrote a lot of the back end to try to simplify things.

I need to byteswap the input for searching so that won't really work, you can test it out though.
"Agent" in TWINE would end up being gAne\0t but I've no idea how you're going to copy and paste the null terminator into it.
Best you can look up is probably gAne but even that doesn't return the full list...

Hmm I just remembered I haven't finished off the cheat sorting...
Take care not to get the cheats out of order, the numbering should be Cheat0, Cheat1, etc... no sudden jumps like Cheat0, Cheat10, Cheat2 as it will ignore the latter past Cheat0.
Just need to stop right now and take a break.

Offline RadeonUser

  • PJ64 Dever
  • Full Member
  • *****
  • Posts: 231
  • Karma: +1/-0
  • SuperFly Deving Guy
Re: Cheat Text Search
« Reply #2 on: September 21, 2019, 08:47:36 pm »
Now butters your scones!

Should now search for text.
Still no replacing but I'm seeing odd results from the hits.
Also, ignore the fact that it's returning 0 for all values.
That will come later once I decide what to do.