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.
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
    NinStar @ NinStar: people are so dramatic that I can't even tell if they are being serious