Pokémon Scarlet - Help making cheat code

Fehniix

Member
OP
Newcomer
Joined
Aug 22, 2019
Messages
18
Trophies
0
Age
28
XP
104
Country
Australia
Hey guys! Hopefully this is the correct section in which to ask.

I've been attempting to make some cheat codes for Scarlet & Violet, with the purpose of making a little trade bot.
I would like to ask you for assistance - my objective is to update the link trade code, such that when tapping on "Begin Search", the value that was previously poked is the one used to actually search for a trade partner.

Using EdiZon SE, I have found the two (and only) following addresses (which also appear to be static!):
- [HEAP + 0x0334677160]
- [MAIN + 0x00042D56E4],
which both contain an unsigned 32-bit integer with the actual code: i.e. 5555_5555 -> 0xE3B54F03

Problem: when updating both of these values and using a second Switch to search for a trade partner with the new updated code (say 0xAA40F903, which is 6666_6666), no partner is found. Using the old code it does work instead.
I've also tried to look for a string representation of the code, but the only thing that pops up is the actual string that's displayed on screen; updating that doesn't really do much.

Do you guys think there might be some other "hidden" value the game is using to actually search for a trade partner or am I hopefully doing something wrong? Here to learn! I'm quite fascinated by this, never actually got into doing any super-low level stuff before. Thanks!

Update #1
What I've tried:
1. Search for the code as a uint32 value after updating it in game,
2. Search for the code as an unknown value, increase the code numerically in game, search again for an increased value.
 
Last edited by Fehniix,
  • Like
Reactions: rainbowkittypaw

Fehniix

Member
OP
Newcomer
Joined
Aug 22, 2019
Messages
18
Trophies
0
Age
28
XP
104
Country
Australia
trade codes are encrypted so you wont be making custom ones in a cheat code unfortunately.
I see, awesome! That's why I could get ahold of the actual address and get it to work. Thank you!

Would you suggest disassembling the romfs.bin via Ghidra and attempt to reverse the encryption algorithm?
 

Awetspoon

Member
Newcomer
Joined
Nov 21, 2022
Messages
9
Trophies
0
Age
29
XP
120
Country
United Kingdom
Pokémon violet working shiny egg cheat. Been tested myself...
Shiny egg on (on)
Encounter mod on (on)
Default encounter on (on)
Ivs if want
Nature if want..


Turn on these cheats before you take any eggs.
Once you get your eggs turn off your shiny cheat to make sure it hatched shiny without the cheat being activated.


You can add other cheat to these cheats like HA ect...
 

Attachments

  • F7F74F8045642CBE.txt
    11.9 KB · Views: 78

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    That you'll only see once
    +2
  • Veho @ Veho:
    Double dickhead chinballs is still better than double dickhead eyeballs.
    +1
  • Veho @ Veho:
    As in, the balls will grow in your eye sockets.
  • K3Nv2 @ K3Nv2:
    I paid 5 grand to get them moved to my chin
    +1
  • Veho @ Veho:
    This you?
  • K3Nv2 @ K3Nv2:
    My hair can't be that cool
    +1
  • Veho @ Veho:
    Ah, yes, portrait mode, surely the best way to film a row of people. If only there were some way to fit a wider shot, at the expense of height... if only...
    +1
  • K3Nv2 @ K3Nv2:
    4k portrait mode?
    +1
  • BigOnYa @ BigOnYa:
    Diddy - "I never touched her, that bitch is crazy." Video is released. Diddy - " Ok I did it, i am remorseful for my actions during my darkest times." Lol
  • SylverReZ @ SylverReZ:
    @BigOnYa, Glad that the Diddler got caught once again.
    +1
  • K3Nv2 @ K3Nv2:
    Iran ran out of options
  • K3Nv2 @ K3Nv2:
    Thought I saw my ex on that new kingdom of the Apes poster
  • BigOnYa @ BigOnYa:
    I thought I saw a puttie snatch...
  • BigOnYa @ BigOnYa:
    I'm so pumped, NCAA football video game is back after a 10 year hiatus, coming to SeriesS/X, PS5 in July.
  • BigOnYa @ BigOnYa:
    Wish they would let us play the NCAA football 14 on newer xbox, its one of the only games I love and own on disc still, that is not back compatible, bs.
  • AdenTheThird @ AdenTheThird:
    @BigOnYa My dad recently bought a spare Series X off of me, got game pass, and saw Madden '24 on Game Pass, decided to try it out.

    ...He was a bit taken aback by the 60GB download size. Poor guy's still living in the 90s!
  • SylverReZ @ SylverReZ:
    @AdenTheThird, Bro's still in the PS2 age.
  • K3Nv2 @ K3Nv2:
    Lol charging your dad's classic unless he's the type that doesn't like taking things like that
    K3Nv2 @ K3Nv2: Lol charging your dad's classic unless he's the type that doesn't like taking things like that