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: 80

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Julie_Pilgrim @ Julie_Pilgrim:
    im sure half the responses won't be literal racial slurs or "drop table" jokes
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
    +1
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
    +1
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
    +1
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
    +1
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
    +1
  • Veho @ Veho:
    A smaller form factor would be nice too.
    +1
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    The big leap in all things tech is when carbon based chips start hitting.
  • Psionic Roshambo @ Psionic Roshambo:
    Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)
  • AncientBoi @ AncientBoi:
    [checks my dildo(s) batteries, coolant and lube] :O [promptly replaces them] :D
    AncientBoi @ AncientBoi: [checks my batteries, coolant and lube] :O [promptly replaces them] :D