Homebrew PCHex - Homebrew PKHex

srwgin

Well-Known Member
Member
Joined
Aug 13, 2013
Messages
521
Trophies
1
XP
436
Country
China
TSV=int((TID xor SID) / 16)

TID=4293 SID=65266
Converted to hexadecimal
TID=A7BF SID=FEF2
A7BF xor FEF2=594D
Ignore the first number D
594 Converted into decimal 1428
TSV=1428
-------
PSV=int((PID HighID xor PID LowID) / 16)

PID= D5418C05 HighID=D541 LowID=8C05
D541 xor 8C05=5944
Ignore the first number 4
594 Converted into decimal 1428
PSV=1428
 

Foxy

Well-Known Member
Newcomer
Joined
May 1, 2015
Messages
76
Trophies
0
XP
198
Country
Brazil
Could you add an "Illegal Mode", like when you rename PKHeX to PKHaX?

Btw great app, I just tried yesterday and it worked nicely.
 
D

Deleted User

Guest
So I've been working on this for a little while and was giving update on the 3FHex's projects thread, but this is now getting to the state where it deserves its own thread. So here is my latest project : PCHex, a homebrew port of PKHex.

Screenshot for good measure


The project has been advancing steadily since I started, what it can do right now is :
- Load a save directly from cartridge / software
- Access the box data and the pokemons inside
- Edit the Pokemons (Currently you can edit EVs/IVs, Experience and PID (including shinify)
- Export the save to the SD Card (Not exporting directly to save data just yet for security reasons)

It's coded in C, is open-sourced, and has a shitty terminal-based UI so far
It's still very WIP, so bear that in mind when testing !

Current short term goals are :
- Finish Pokemon editing, so that you can change a bit more about the pokemons
- Import and insert PK6 Files, maybe export them.
- Export the savefile directly back to software

On the longer term, I'll probably start working on a graphical UI, and maybe start taking suggestions on what to do next.

For those interested in trying it out, I uploaded the latest version on the post just down below, just extract in your 3ds folder and run with homebrew launcher.
The save is extracted to /3ds/PCHex/, you'll have to uses some other utility to inject it for now

If anyone wants to help, I'll direct you to the github repo

That's all for now, thanks for reading and please leave any feedback you have !

0.4.1
- Fixed Edit window titles
- Fixed missing letter 'l' in edit windows

0.4
- Added Editing for Species, Moves, Held items and Pokeballs with a special UI
- Added Pokemon Form handling, should now display correct stats
- Added Direct Export to game
- Added automatic save backups

- Added 'Manage' tab for saving and copypasting pokés (AKA cloning)
- Removed 'Select' Key to save (it was causing crashes)
- Fixed Some pokéballs not displaying the correct name
- Tentative to fix problem where PCHex can't load the save archive
- Added Pokérus value editing
- Added gender Switching
- Added Legal ability editing
- Added Moves displaying
- Fixed PID rerolling and shinifying changing gender
- Added some debug messages for troubleshooting
This is looking good! Once it is complete, let me know if you would like me to record a video or take screenshots of it with my capture card!
 

VaiCorinthians

Well-Known Member
Member
Joined
Oct 7, 2014
Messages
461
Trophies
0
Age
39
Location
GB
XP
471
Country
Papua New Guinea
I was thinking here, and saw that the blargSnes homebrew, accepts the touch screen function. It would be possible in future versions of PCHex, have the same function? It would help a lot to edit the pokemon. :yaynds:
 

Foxy

Well-Known Member
Newcomer
Joined
May 1, 2015
Messages
76
Trophies
0
XP
198
Country
Brazil
I was thinking here, and saw that the blargSnes homebrew, accepts the touch screen function. It would be possible in future versions of PCHex, have the same function? It would help a lot to edit the pokemon. :yaynds:

He actually has "graphical UI" as a long term goal on the OP. But for now he's focusing on finishing pokémon editing which is still missing basic stuff (you can't nickname, foreign characters get messed, etc).
 
  • Like
Reactions: VaiCorinthians

VaiCorinthians

Well-Known Member
Member
Joined
Oct 7, 2014
Messages
461
Trophies
0
Age
39
Location
GB
XP
471
Country
Papua New Guinea
He actually has "graphical UI" as a long term goal on the OP. But for now he's focusing on finishing pokémon editing which is still missing basic stuff (you can't nickname, foreign characters get messed, etc).
There really is still small details to be added. I think nature and nickname are the next goals. But now I just have to thank for this homebrew so cool and helpful.
 
  • Like
Reactions: Seclendor

Stracker

Well-Known Member
OP
Newcomer
Joined
Sep 7, 2015
Messages
86
Trophies
0
Age
28
XP
167
Country
France
He actually has "graphical UI" as a long term goal on the OP. But for now he's focusing on finishing pokémon editing which is still missing basic stuff (you can't nickname, foreign characters get messed, etc).
It's practically impossible to handle foreign characters in the 3ds terminal UI, I won't be touching that until i'm starting with a graphical UI.
I'll probably do a nickname thing but it'll be very basic, letters and numbers and a few other chars, since typing isn't at the best place either
 

RedBlueGreen

Well-Known Member
Member
Joined
Aug 10, 2015
Messages
2,026
Trophies
1
XP
2,538
Country
Canada
Can't wait to try it.
It works well, but can't edit natures. So to anybody who wants to use natures in 0.4.1 just use PKHex to make a hatched Pokémon of every competitive nature you want and use PCHex's clipboard (copy/paste) function to make a clone, paste it, then just edit from there.
 
Last edited by RedBlueGreen,

ChaosRipple

Well-Known Member
Member
Joined
Oct 1, 2015
Messages
272
Trophies
0
Age
29
XP
183
Country
United States
It works well, but can't edit natures. So to anybody who wants to use natures in 0.4.1 just use PKHex to make a hatched Pokémon of every competitive nature you want and use PCHex's clipboard (copy/paste) function to make a clone, paste it, then just edit from there. Ignore the relearn (egg moves) section too, because that's not used in legality checking.

It is used. I've had pokemon with incorrect eggs moves and they couldn't be traded.

Back on topic:
For the long term "UI", I'm imagining the pokemon boxes showing on the bottom screen and when you view a pokemon in the box, its info appears on the top screen to be edited. You'll be able to set, delete, or view much like PKHex.
 

Minecraftlol

Active Member
Newcomer
Joined
Jul 26, 2014
Messages
29
Trophies
0
Age
48
XP
80
Country
New Zealand
Tried it, it works but I'm not sure how to set OT and original game ID. Can you make it so the pokemon is in the pokedex?
 

Favna

#PCMasterRace
Member
Joined
Sep 12, 2009
Messages
864
Trophies
1
Website
twitter.com
XP
822
Country
Netherlands
Tried it, it works but I'm not sure how to set OT and original game ID. Can you make it so the pokemon is in the pokedex?
If it doesn't register by simply changing species then resaving try this:

- resave
- (optional) open game to confirm
- put the mons on your pokebank
- save within bank
- (no need to start game here - just go right back in) take them out of bank
- save again
> they should now be registered.

It's a trick I picked up back in the Spider days with Ramsav. If that does fail then ignore the "no need to" etc bit and do do that.
 

Minecraftlol

Active Member
Newcomer
Joined
Jul 26, 2014
Messages
29
Trophies
0
Age
48
XP
80
Country
New Zealand
If it doesn't register by simply changing species then resaving try this:

- resave
- (optional) open game to confirm
- put the mons on your pokebank
- save within bank
- (no need to start game here - just go right back in) take them out of bank
- save again
> they should now be registered.

It's a trick I picked up back in the Spider days with Ramsav. If that does fail then ignore the "no need to" etc bit and do do that.
Yes I see your point, but bank is a paid service, and pokemon like Volcanion can't go in bank
 

Hollow_Dragonite

Member
Newcomer
Joined
Sep 28, 2015
Messages
17
Trophies
0
Age
30
XP
107
Country
United States
Yes I see your point, but bank is a paid service, and pokemon like Volcanion can't go in bank

They actually can (used it to move a hacked hoopa, volcanion, and eternal floette from one game to another), but if you leave then withdraw them from the daycare, they should register in the pokedex.
 

Foxy

Well-Known Member
Newcomer
Joined
May 1, 2015
Messages
76
Trophies
0
XP
198
Country
Brazil
They actually can (used it to move a hacked hoopa, volcanion, and eternal floette from one game to another), but if you leave then withdraw them from the daycare, they should register in the pokedex.

And if you need mass registering like Bank could do, the latest version of PKHeX auto-registers them if you import them as boxdata/pcdata.bin, so you can just export your entire box data then re-import it.
 

GrimReaper1724

New Member
Newbie
Joined
Oct 2, 2015
Messages
1
Trophies
0
Age
29
XP
42
Country
United States
Would it be possible to add a way to change the Trainer ID and the OT?

And also have it where you can change the region. Like say you want a pidgey with transfer moves from kanto. Lol
 
Last edited by GrimReaper1724,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, i have a physical copy of mgs4
  • Xdqwerty @ Xdqwerty:
    ok I tried it and 1) it doesnt boot wood menu automatically and 2) when trying to load a game through wood theres just a loading screen
  • K3Nv2 @ K3Nv2:
    It's low on wood
    +1
  • Xdqwerty @ Xdqwerty:
    lemme ask in forums
  • Xdqwerty @ Xdqwerty:
    yawn
  • BigOnYa @ BigOnYa:
    @Xdqwerty No you heard wrong, and don't believe till you experience yourself. Fallout 4 is one of my favorite games of all time. Yes it had issues early on, esp with older hardware like the xbox1, but it is awesome, esp now being 4k on Series S/X or PS5
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, Then i think people were talking about fallout 76
  • Xdqwerty @ Xdqwerty:
    that one was buggy too
  • BigOnYa @ BigOnYa:
    Yea you right there, fallout 76 was a letdown, but it not that bad now, they have fixed slot of issues they had at launch. Biggest issue with Fallout 76 is its a pay to advance further type of game, which sucks
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I may probably download fallout 3 or new vegas on my ps3
  • Xdqwerty @ Xdqwerty:
    cuz I didnt like fallout 1 that much
  • BigOnYa @ BigOnYa:
    New Vegas is awesome, F3 was ok too.
  • Psionic Roshambo @ Psionic Roshambo:
    I played Fallout 4 on PC, I enjoyed it honestly. Not my favorite game on earth but at the same time I didn't hate it at all lol
  • BigOnYa @ BigOnYa:
    That's cool you got a ps3... Glad to hear. Game on!
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Ironic this was posted today lol
  • BigOnYa @ BigOnYa:
    I think the tv series has boasted play of, I did see they said playing of it Is up, way more than norm
    +1
  • BigOnYa @ BigOnYa:
    I've been playing the next gen version on Series X all day, I love it. :wub:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Downloading some random stuff, damn almost 400GBs in like 4 hours lol
  • Psionic Roshambo @ Psionic Roshambo:
    Gonna be over 1TB this month.... damn lol
  • Xdqwerty @ Xdqwerty:
    good night
    +1
  • BigOnYa @ BigOnYa:
    At least you have some fast speeds. What a drag that used to be, I remb downloading 1 pic back in the day, and seeing line by line show
  • BigOnYa @ BigOnYa:
    Nighty night.
  • BigOnYa @ BigOnYa:
    Or worse, you downloading something, and someone calls your phone and interupts the download, good ole AOL. Of course that's before most you guys even were born yet.
    BigOnYa @ BigOnYa: Or worse, you downloading something, and someone calls your phone and interupts the download...