ROM Hack Pokemon Sword and Shield Cheats/Hacks/PKHex

SuperDeathx

New Member
Newbie
Joined
Nov 16, 2019
Messages
1
Trophies
0
Age
30
XP
61
Country
United States
Hey Guys i'm hoping someone can tell me what i'm doing wrong trying to use pkhex... I tried both EdiZon and Check point and neither worked. I created back ups using Edizon first and used that save to modify my pokemon. Then i Exported the main save from pkhex and overwrite the backup file from edizon. then made a copy and renamed it backup and overwrite that file as well. However when i used restore save file in edizon nothing at all changed... Then tried the same method with Checkpoint and did the exact same steps and still my original save was there after restoring the modified ones. Currently on atmosphere and i have a xci downloaded on my switch. Any help please?
 

Sederick

New Member
Newbie
Joined
Nov 16, 2019
Messages
4
Trophies
0
Age
30
XP
55
Country
Germany
Could anyone here gen me a 6 iv jap ditto(adamant/jolly/timid/modest)
And a good false swiper galade for example with hypnosis.

Would really appreciate it.

FC: SW 2623 2505 8029
 
  • Like
Reactions: Rurounik99

FabioCapela

Well-Known Member
Member
Joined
Jul 12, 2007
Messages
309
Trophies
1
XP
1,259
Country
Brazil
will these be as legit as pkhex edits now then?

Nope. Just to begin with, you would need to change where it was caught, which game it came from, and the level of the pokémon when caught for it to pass even the most basic, human-verifiable legitimacy testing.

If you want legal pokemon out of those, breed them. Doesn't work for all of them, but it's kinda the only way besides PhHex of getting legal versions of Pokémon you couldn't otherwise obtain.
 

mc6415

Active Member
Newcomer
Joined
Sep 3, 2007
Messages
28
Trophies
0
Website
Visit site
XP
179
Country
So I've searched through this thread to no avail, I'm trying to make my own code for other items to just add a few rather than all, is there somewhere where the items ids are given?

I'm trying to figure out the code and I've noticed all the items start with 04100000 so I'm guessing that's the amount as they all seem to have 999 in common. The second part being where the item goes, for example 42934CC0 being the first slot of the other items and the final bit denoting the item 01f38032 being a rare candy for example?

I could be horribly wrong but I was wondering if there was a list anywhere of what the items were so I could add certain items, also how would I change the amount I don't really want 999 of an item if possible but I can't figure out where 041000000 comes from, I'm guessing it's an arm instruction that's converted to hex?

This could all be horribly horribly wrong but I'm interested in figuring this out for myself and the thread moves at such a rate searching for the info is almost impossible as I'm not sure what to search on and the few things I try yield about 100 results where the code I'm looking at as an example has been posted or quoted
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
So I've searched through this thread to no avail, I'm trying to make my own code for other items to just add a few rather than all, is there somewhere where the items ids are given?

I'm trying to figure out the code and I've noticed all the items start with 04100000 so I'm guessing that's the amount as they all seem to have 999 in common. The second part being where the item goes, for example 42934CC0 being the first slot of the other items and the final bit denoting the item 01f38032 being a rare candy for example?

I could be horribly wrong but I was wondering if there was a list anywhere of what the items were so I could add certain items, also how would I change the amount I don't really want 999 of an item if possible but I can't figure out where 041000000 comes from, I'm guessing it's an arm instruction that's converted to hex?

This could all be horribly horribly wrong but I'm interested in figuring this out for myself and the thread moves at such a rate searching for the info is almost impossible as I'm not sure what to search on and the few things I try yield about 100 results where the code I'm looking at as an example has been posted or quoted


1st value "04100000 / 04000000" is the code type / settings
2nd value is the address
3rd value is the value

Items are 4 byte bitflags

01f38032 = 00000001111100111000000000110010

1st 15 bit = 000000000110010 = 50 = itemid
2nd 15 bit = 000001111100111 = 999 = amount
Bit30 & Bit31 = 00 = other flags (like "new item")
 

mc6415

Active Member
Newcomer
Joined
Sep 3, 2007
Messages
28
Trophies
0
Website
Visit site
XP
179
Country
1st value "04100000 / 04000000" is the code type / settings
2nd value is the address
3rd value is the value

Items are 4 byte bitflags

01f38032 = 00000001111100111000000000110010

1st 15 bit = 000000000110010 = 50 = itemid
2nd 15 bit = 000001111100111 = 999 = amount
Bit30 & Bit31 = 00 = other flags (like "new item")

Excellent thanks for the explanation! :)
 

Shismouche

Active Member
Newcomer
Joined
Dec 16, 2018
Messages
28
Trophies
0
Age
32
XP
81
Country
France
Hello !

Do you know why the pkhex crashes when I launch it (in some folders) ?

I added a pokémon on my save but when I try to launch the game it crashes. Do you know what can cause the game to crash after modifying a save (it worked well until that) ?

Thank you.
 

thuggothic

Well-Known Member
Member
Joined
Jan 28, 2018
Messages
233
Trophies
0
Age
49
XP
961
Country
United States
Not sure if it's been asked, can I transfer a save between profiles

--------------------- MERGED ---------------------------

Updated Encounter code:

Code:
[Normal Wild Encounter]
04000000 007702EC B9402A61
04000000 007702F8 79405A61
04000000 00770328 79406261

1st line is DexID
2nd line is FormID
3th line is Gender (see a few pages back for the code)

Code:
[Encounter Form 0]
04000000 007702F8 52800001
[Encounter Form 1]
04000000 007702F8 52800021

A few examples:

Dex = 77, Form = 0, Gender = Default
Code:
[Encounter #077 Ponyta]
04000000 007702EC 528009A1
04000000 007702F8 52800001
04000000 00770328 79406261

Dex = 77, Form = 1, Gender = Default
Code:
[Encounter #077 G-Ponyta]
04000000 007702EC 528009A1
04000000 007702F8 52800021
04000000 00770328 79406261

Dex = 151, Form = 0, Gender = 2
Code:
[Encounter #151 Mew]
04000000 007702EC 528012E1
04000000 007702F8 52800001
04000000 00770328 52800041

This should prevent the invalid icons.

Good for both games?
 

Ultimos54

Well-Known Member
OP
Member
Joined
Aug 27, 2018
Messages
1,270
Trophies
0
XP
3,482
Country
Australia
@Leiro87 i think i posted my somewhere in page 92-87 area the event meowth , @Retroboy please chill with insulting the coders,they are trying there hardest

--------------------- MERGED ---------------------------

@Deadshot626 im giving you OP perms :)

--------------------- MERGED ---------------------------

as for crashes when using pkhex,i haven't experience any crashes ingame on the loading screen or ingame, you guys might of modded your saves wrong or added something wrong,more information is required
 
  • Like
Reactions: patjenova

Rurounik99

Well-Known Member
Newcomer
Joined
Nov 29, 2005
Messages
82
Trophies
0
XP
370
Country
Brazil
Could anyone here gen me a 6 iv jap ditto(adamant/jolly/timid/modest)
And a good false swiper galade for example with hypnosis.

Would really appreciate it.

FC: SW 2623 2505 8029

All 4 perfect Shiny Dittos.
just Uploaded.
 

Attachments

  • Ditto Perfect 4 Breeding.zip
    1.6 KB · Views: 424

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: I haven't played my Switch n a month or so, just been playing Xbox, and just picked to play lil...