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
28
XP
110
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: 77

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu