-
Posts
7959 -
Joined
-
Last visited
-
Days Won
477
Content Type
Profiles
Pokédex
Portal
Technical Documentation
Pages
Tutorials
Forums
Events
Downloads
Gallery
Blogs
Posts posted by Kaphotics
-
-
That space is currently used for legality triangles
-
1
-
-
Purchase the DLC legitimately.
-
1
-
-
2 hours ago, ATRociousFuBear said:
Hello! This might be odd as it is not reporting a legality error itself, but something that I believe should be one.
In Legends Z-A (and possibly also Legends Arceus), Alphas all seem to be locked at Scale 255. I've run my own legitimately captured Alphas through PKHeX to double-check, as well as some examples from the encounter table. Before I had learned how to use the encounter table, however, I had altered a legitimately captured non-Alpha Hisuian Goodra to become Alpha since I had struggled for hours to capture an Alpha legitimately. After a few hours of playing, I had noticed that its size was showing incorrectly within the game's stat screen despite the Goodra being recognized as being an Alpha. After looking over the file again, I saw that the Scale had not been altered from what the original Goodra's size was. The stat screen showed M instead of XL but the Alpha marker was still present.
To demonstrate, here is an Alpha Pikachu that I pulled off the encounter table using the most recent software version. After reducing the Scale from 255 (XL) to 0 (XS), it still shows up as being perfectly legal even though it should not be a legitimate encounter. I'm not sure if this is really an issue or if it's something that can be adjusted, but I did want to bring it to someone's attention since I do appreciate all the hard work that has gone into PKHeX! (And I'm also grateful to have learned how to utilize the encounter table!
)
Thanks, fixed on latest commit: Enhance H/W/S invalid messages, flag !255 alphas · kwsch/PKHeX@3a8bc58
On 1/9/2026 at 4:09 PM, pokeknight said:The latest version of PKHeX incorrectly marks Apricorn balls as legal for Pokemon with a ChainShiny PID-type caught in Platinum.
Thanks, it's actually a GUI bug the invalid Ball you picked is actually being forced back to Poke, but it displayed whatever you selected instead. If you set it to a slot then re-view it, you can confirm the "fixing" of the GUI indication as it really is legal. I've added some logic to display the actual sanitized value (not the selection, if it was impossible), as well as added some logic to check for a specific case where the batch editor/external code managed to set an invalid BallHGSS value.
-
1
-
-
16 minutes ago, pokeknight said:
Thanks for replying! If this is technically possible albeit unlikely (~37%) assuming every other RNG step was correctly hit, shouldn't PKHeX mark the resulting Scyther as Fishy instead of Illegal?
PKHeX is telling you that there is no RNG frame that can hit the seed, because it checked every single frame against that 37%. It's an impossible-to-hit frame, aka illegal.
-
1 hour ago, pokeknight said:
what am I missing
If you're running a Cute Charm lead, how do you trigger the encounter? There are no species that have the ability Cute Charm, that can also learn Sweet Scent.
Without Sweet Scent, you must "randomly" encounter it. That is why PKHeX flags it; you cannot trigger an encounter to land on that PID/IV -- RNG Reporter does not check if a lead can exist for it. The "random" chance of triggering the encounter is 25% (boosting to ~37% via White Flute).
See below snippets of PKHeX's code where it verifies the feasibility of "random" encounters.
private static bool IsAbleToSweetScent(this LeadRequired lead) => lead is None // Pretty much anything grass. or IntimidateKeenEyeFail // Masquerain & Mawile or PressureHustleSpirit or PressureHustleSpiritFail // Vespiquen // Synchronize: None // Cute Charm: None // Static/Magnet Pull: None ; // BCC only allows one Pokémon to be in the party. // Specific lead abilities can learn Sweet Scent, while others cannot. // The only entry into this method requires an ability that has no species available with Sweet Scent. // Therefore, without Sweet Scent, we need to trigger via turning/walking. // With an area rate of 25, this arrangement will succeed 37% of the time. // The game checks 2 random calls to trigger the encounter: movement -> rate -> generate. // HG/SS has an underflow error (via radio) which can pass the first rand call for movement. // Only need to check the second call for rate. // Rate can be improved by 50% if the White Flute is used. // Other abilities can also affect the rate, but we can't use them with our current lead.
-
Not a valid dump; I don't think there's any save data in whatever you ripped.
-
Multiple missing sectors in your savefile, based on the save file structure.
Sector 2 @ 02000 invalid.
Sector 4 @ 04000 invalid.
Sector 6 @ 06000 invalid.
Sector 12 @ 0C000 invalid.
HoF first sector invalid.
e-Reader data invalid.Using the Gen3 Save Recovery tool: GitHub - projectpokemon/RecoverSaveGen3: Try and recover a Gen3 save file via console app!
-
1
-
-
2 hours ago, Rubino said:
As I already told, is a legitimate charmender. I maxed iv and ev (in both correct way) to 20 pokemon in za, only this charizard give me unlegit. Is the charmender from the quest, is legit in theory. I only maxed him ev and iv. How can i fix him, i mean make him legit like he deserve ? Thanks
Read the first post of this thread. This thread is not for help when you've made edits to a Pokemon with the program, it is for legitimate things being flagged incorrectly. Z-A has RNG correlations and you cannot modify IVs without invalidating the PID IV+ correlation.
-
2 hours ago, Asia81 said:
Meltan and Hoopa-Unbood are flagged illegal in my save.
I didn't touch them at all, except for Hoopa I changed his form in-game with its own item and that's all.
0720-01 - Hoopa - F92BC278F568.pa9 0808 - Meltan - 01F63FC0C102.pa9
Meltan: fixed shortly after the previous release: Update EncounterStatic9a.cs · kwsch/PKHeX@61a13fd
Hoopa: fixed just now, thanks for the reminder: Misc tweaks for Hoopa-1 plus flags · kwsch/PKHeX@85abb48
-
1
-
-
Crossposting OP's resolution for closure:
-
You overwrite the save file you opened, which is main.
-
The program gave you every hint possible. Look at your SD card and check the write protection switch.
If you aren't able to figure it out, it should be an easy Google search.
-
NuGet Gallery | PKHeX.Core 25.12.21
You can write your own C# scripts and run them with LINQPad; you can aggregate all the donuts as you see fit with a dozen or so lines of code:
const string path = @"D:\main"; var data = File.ReadAllBytes(path); var sav = new SAV9ZA(data); var donuts = sav.Donuts; for (int i = 0; i < DonutPocket9a.MaxCount; i++) { var donut = donuts.GetDonut(i); // interact with the Donut9a object }
-
The expected size is 0x309FA6, not 0x309F9E. Your save file is 8 bytes too small.
Based on save file structure, 8 bytes different is assumedly "wrong" in that it can't be a missing block (a block is 4 bytes identifier, 1 byte type, then however many bytes needed for data -- 3 is not representative of anything, and not a 2-byte boolean array missing).
If you transferred the same truncated save file back to the console, then the original (correct) size file is probably lost. Try backing it up again? Try saving again in-game, and transfer that file?
If that still doesn't work, you can try private messaging me the file so I can see what is actually missing (truncation, or cheat codes corrupting the save data).
-
Did you search for anything? It's not going to display every single encounter because that is a little wasteful.
-
Transfer it correctly from your console to your computer. Assuming you are using FTP to transfer wirelessly, ensure the transfer mode is binary, not ascii.
-
By modifying the PID to be shiny, it no longer has a PID type of Method 4, because you didn't change the IVs after.
The program recognizes it as a valid egg, because it is valid if it is assumed to have originated from an egg.
-
Use the Block Data editor.
-
None of the above.
Install custom firmware, then dump your save files with homebrew apps like JKSV or Checkpoint.
-
Pretty sure I've said this in multiple places, but you need to update both the CurrentAppearance and CurrentFashion to match what the values should be when changing anything about the player's visual identity.
-
2 hours ago, roxas7234 said:
Hi,
For some reason my Rayquaza I caught during the shiny event in Scarlet last year is still marked as illegal.
Initially I thought it was just because the event database hadn't been updated yet, but noticed now almost a year later its still appearing as illegal.
Adding one into the box from the encounter database is marked as legal, so not sure whats causing it.
This mon is 100% legally caught and unmodified. Leveling, hypertraining and EVs were done in-game.
Doubtful; the RNG seed does not yield the PID/IV that you have on the file, indicating that something was modified (such as the Encryption Constant).
-
Attached file is not a save file, it is a Legends: Arceus block dump from PKHeX's Block Data editor.
You likely overwrote the wrong file.
Restore a backup.
-
Should be fixed on the latest release.
-
1
-
-
Transfer your save file correctly. It is not a valid save file (I have hidden your attachment of your save file).
Assuming you used an FTP application to transfer it, be sure to turn on the Binary data type transfer setting (not ascii/text).
If your save file is slightly too small, it should imply that it was truncated. This is not a PKHeX problem.


Using PKHeX: How to Use the Batch Editor in PKHeX
in Saves - Guides and Other Resources
Posted
Use the drop-down inside the batch editor to see the list of properties. GroundTile
Not sure why you're using the batch editor to modify stuff; is the Encounter Database not usable?