ROM Hack Pokemon Sword and Shield Cheats/Hacks/PKHex

D

Deleted User

Guest
The forced star Forced Star Shiny code works perfectly. I am so happy with the code; now, I can breed a star shiny egg and trade directly to my ofw console without PkHex processing. Thank a lot @FabioCapela ; I really appreciate the code.

Also, force star shiny raid code works perfectly as well. Thank a lot, @zaksabeast ; I really appreciate your contributions.
Editing the pokemons is much better. You can give it egg moves
 
Last edited by ,

MinecraHD

Member
Newcomer
Joined
Nov 20, 2019
Messages
7
Trophies
0
Age
24
XP
129
Country
Germany
So, i used this code:
[Route 5 Instant Egg (Hold R)]
80000080
01100000 429E4E90 00000001
20000000

My Problem with this is that all breed pokemon have literally the same stats(IVs), gender and ability and so i dont know if they could even be shiny? Any idea on this?
What exactly does the code do?

What i found out is that the eggs hatched by using this code have the same stats as the last naturely bread one
 

zaksabeast

Well-Known Member
Member
Joined
May 24, 2016
Messages
346
Trophies
0
XP
1,244
Country
United States
So, i used this code:
[Route 5 Instant Egg (Hold R)]
80000080
01100000 429E4E90 00000001
20000000

My Problem with this is that all breed pokemon have literally the same stats(IVs), gender and ability and so i dont know if they could even be shiny? Any idea on this?
What exactly does the code do?

What i found out is that the eggs hatched by using this code have the same stats as the last naturely bread one

The code just sets the "Daycare has an egg flag", but I forgot the egg seed is stored when an egg is generated naturally, so the same seed is being reused. I have an updated code which works for Shield and am testing on Sword before posting here.
 

zaksabeast

Well-Known Member
Member
Joined
May 24, 2016
Messages
346
Trophies
0
XP
1,244
Country
United States
The original post with the egg codes has been updated with the new codes in case anyone stumbles upon that post. For those only reading new comments, the updated codes to generate new seeds for new eggs are below.

Pokemon Sword instant egg codes:
Code:
[Route 5 Instant Egg (Hold R)]
04000000 0134af58 97ed886e
04000000 0134af5c aa0003e1
04000000 0134af60 d503201f
80000080
01100000 429E4E90 00000001
20000000

[Wild Area Instant Egg (Hold R)]
04000000 0134af58 97ed886e
04000000 0134af5c aa0003e1
04000000 0134af60 d503201f
80000080
01100000 429E5148 00000001
20000000

Pokemon Shield instant egg codes:
Code:
[Route 5 Instant Egg (Hold R)]
04000000 0134af88 97ed886e
04000000 0134af8c aa0003e1
04000000 0134af90 d503201f
80000080
01100000 429E4E90 00000001
20000000

[Wild Area Instant Egg (Hold R)]
04000000 0134af88 97ed886e
04000000 0134af8c aa0003e1
04000000 0134af90 d503201f
80000080
01100000 429E5148 00000001
20000000
 
Last edited by zaksabeast, , Reason: Fix typo

CINDERACE

Member
Newcomer
Joined
Dec 14, 2019
Messages
8
Trophies
0
Location
OH, USA
Website
www.youtube.com
XP
55
Country
United States
Move or copy the system_settings file to the config (just "config") folder. That does fix it.



Now "titles" folder is called "contents". Your "titles" folder is either automatically or manually overwritten (renamed, to be honest) once you update to the new Atmosphere.

As for the fix to the cheats toggling issue... It's the same to the guy above. You have to move your "system_settings" file to the "config" folder. That one by default only contains "BCT.ini" and it actually is the only place where the files contained at "config_templates" folder would work at all.

Yeah, it's fairly confusing.

Should I delete the BCT.ini file? It is still not responding...

Should I go elsewhere to get a fresh fixed / updated version for ATMOSPHERE where I am not editing or moving files?
Sorry for being pest.
Thanks in advance for the help.
 

zaksabeast

Well-Known Member
Member
Joined
May 24, 2016
Messages
346
Trophies
0
XP
1,244
Country
United States
Zaksabeast, when the force raid shiny codes are off and the save is reloaded, the raid saved defaults back to not shiny.

Anyway to get the forced rng seed to save into the save?

When generating Pokemon, the games basically do something like this:
Code:
if (pidType == NON_SHINY) {
  // force non-shiny pid
} elseif (pidType == SHINY) {
  // force shiny pid
} elseif (pidType == REGULAR) {
  // generate pid using re-rolls (from shiny charm and masuda method)
}

The cheats remove the first two checks, which also makes the third useless, so it always falls into the 'force shiny pid' section.

Said differently, the cheats modify how the game chooses to generate a pid, but they don't create a shiny seed.

However it is possible for someone to make a different cheat which generates and saves an actual shiny seed.
 

MasterJ360

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
2,801
Trophies
1
Age
35
XP
3,445
Country
United States
I dont want the instant shiny,i want the odds that i should get, if gamefreak hadnt programmed it so poorly.

The way it is know you have on 500 battles a 3% chance for 1:512 shiny, but this 3% shouldn't exist.
Just want Masuda Odds for wild encounter and because i already have the shiny charm and that why i would like that
goodluck with that even if you got the actual odds it still leads to pure rng
 

OkazakiTheOtaku

no thanks, I don't want a custom title
Member
Joined
Jul 20, 2016
Messages
1,461
Trophies
1
Location
127.0.0.1
XP
3,114
Country
Japan
Does anyone know how to edit the Dynamax Crystals into your party? Importing them with PKHeX makes them not work right. Their item description is just "???" and the game won't let you use it as intended.
 

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,763
Trophies
2
Age
45
XP
4,368
Country
Germany

OkazakiTheOtaku

no thanks, I don't want a custom title
Member
Joined
Jul 20, 2016
Messages
1,461
Trophies
1
Location
127.0.0.1
XP
3,114
Country
Japan
theSLAYER said:
If your never connected to Mystery Gift servers or is banned (so unable to connect), the items won't work.

edit:
Technical details are.. the descriptions (and usage) of the item is added via the part of the Switch console that stores periodic game update data.
In other words, no game update = no Dynamax crystal functionality.

Dammit. Thanks.
 

Kheldar382

Well-Known Member
Newcomer
Joined
Nov 13, 2019
Messages
74
Trophies
0
Age
32
XP
238
Country
Spain
Should I delete the BCT.ini file? It is still not responding...

Should I go elsewhere to get a fresh fixed / updated version for ATMOSPHERE where I am not editing or moving files?
Sorry for being pest.
Thanks in advance for the help.

Don't worry. I had the same issue and a few more because of this changes too, so if this helps you and others I'm happy for it. :)

The newest download of Atmosphere in their GitHub repo has the same issue you're having, so to speak. Yes, it's a clean download, but... It sports the confusing setup.

Its "contents" folder has a few other folders inside that you may haven't copied inside your old "titles" folder, now renamed to "contents". You need to make sure you put those in the right place too.

Also, don't delete BCT.ini file.
 
  • Like
Reactions: CINDERACE

megar

Member
Newcomer
Joined
Aug 1, 2019
Messages
21
Trophies
0
Age
37
XP
58
Country
Brazil
The original post with the egg codes has been updated with the new codes in case anyone stumbles upon that post. For those only reading new comments, the updated codes to generate new seeds for new eggs are below.

Pokemon Sword instant egg codes:
Code:
[Route 5 Instant Egg (Hold R)]
04000000 0134af58 97ed886e
04000000 0134af5c aa0003e1
04000000 0134af60 d503201f
80000080
01100000 429E4E90 00000001
20000000

[Wild Area Instant Egg (Hold R)]
04000000 0134af58 97ed886e
04000000 0134af5c aa0003e1
04000000 0134af60 d503201f
80000080
01100000 429E5148 00000001
20000000

Pokemon Shield instant egg codes:
Code:
[Route 5 Instant Egg (Hold R)]
04000000 0134af88 97ed886e
04000000 0134af8c aa0003e1
04000000 0134af90 d503201f
80000080
01100000 429E4E90 00000001
20000000

[Wild Area Instant Egg (Hold R)]
04000000 0134af88 97ed886e
04000000 0134af8c aa0003e1
04000000 0134af90 d503201f
80000080
01100000 429E5148 00000001
20000000

thanks more i don't understand english very well i am using or translator to stay updated on the forum. this code and to make egg and that. or for hatching. I have already tested 2 egg codes and all the codes I tested before neither worked and closed.
did the game close
 

Xyren

Member
Newcomer
Joined
Dec 10, 2019
Messages
7
Trophies
0
XP
66
Country
Germany
When generating Pokemon, the games basically do something like this:
Code:
if (pidType == NON_SHINY) {
  // force non-shiny pid
} elseif (pidType == SHINY) {
  // force shiny pid
} elseif (pidType == REGULAR) {
  // generate pid using re-rolls (from shiny charm and masuda method)
}

The cheats remove the first two checks, which also makes the third useless, so it always falls into the 'force shiny pid' section.

Said differently, the cheats modify how the game chooses to generate a pid, but they don't create a shiny seed.

However it is possible for someone to make a different cheat which generates and saves an actual shiny seed.

Guess it should be possible to higher the Shiny Reroll Counter to 255 or whatever DataType is used.
When Chaining this counter adress should possible to be found, or am i missing something?
(Offcause it will not work for Eggs cause the Rerolls are just applied for Wild Pokmeon and even if there would be a counter it would be allwas 0 so nearly impossible to find while watching the Memory)

Is there a Turtorial how to Find Adresses at a Switch und how to convert them to these Hex Codes?
I just know Cheat Engine which is really easy with Options like: Find What reads/writes to this Address
 

Startropic1

Well-Known Member
Member
Joined
May 1, 2013
Messages
163
Trophies
0
Age
44
Location
C-Island
XP
491
Country
United States
Something weird is going on. I have the EXP modifier codes in my cheat file, (atmosphere 10), but I didn't even launch Edizon and my Pokemon are still getting a crapton of EXP. Did the EXP codes modify my save data or something?
Also, my dmnt_cheats_enabled_by_default is set to u8!0x0
 

CINDERACE

Member
Newcomer
Joined
Dec 14, 2019
Messages
8
Trophies
0
Location
OH, USA
Website
www.youtube.com
XP
55
Country
United States
Don't worry. I had the same issue and a few more because of this changes too, so if this helps you and others I'm happy for it. :)

The newest download of Atmosphere in their GitHub repo has the same issue you're having, so to speak. Yes, it's a clean download, but... It sports the confusing setup.

Its "contents" folder has a few other folders inside that you may haven't copied inside your old "titles" folder, now renamed to "contents". You need to make sure you put those in the right place too.

Also, don't delete BCT.ini file.



THANKS

Would you care to specify....what folders need my attention for the fix.
 

MasterJ360

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
2,801
Trophies
1
Age
35
XP
3,445
Country
United States
Something weird is going on. I have the EXP modifier codes in my cheat file, (atmosphere 10), but I didn't even launch Edizon and my Pokemon are still getting a crapton of EXP. Did the EXP codes modify my save data or something?
Also, my dmnt_cheats_enabled_by_default is set to u8!0x0
Reboot your payload. Editing the system file while using ftp will not change anything until a reboot. Its the most overlooked step dealing with disabling cheats b/c its not mentioned in the guides.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: It's mostly the ones that are just pictures and no instructions at all