Jump to content

Kaphotics

Helpful Member
  • Posts

    7825
  • Joined

  • Last visited

  • Days Won

    449

Everything posted by Kaphotics

  1. Not able to replicate; I generated 12 from the encounter database with randomized IVs and it showed the same origin (via Static Encounter in Route 4) in both Gen3 as well as when transferred to Gen4. Generally, when you transfer from Gen3->Gen4, you lose the original met location. PKHeX still has to iterate through every possible encounter until it finds a suitable match; without met location, the matching is one feature less strict (no met location check), so it sometimes it gives a compatible encounter from earlier in the iteration of all encounters. If you upload your Gen3 Magikarp I can take a look and explain why. If it's a Method 4 Magikarp, then it's not legal.
  2. Revised behavior to clamp, now the GUI opens. https://github.com/kwsch/PKHeX/commit/4fa83b905fed9706e2c6cb1ce586f29df5eefd16 Your mailbox is likely corrupt, none of the data looks valid. Check in-game. You can try the above changes via the development build (once it finishes shortly after this post is sent):
  3. The latest development build has a Hall of Fame editor for Gen1. Try it out: https://projectpokemon.org/home/files/file/2445-pkhex-development-build/
  4. Attached file still fails to load in desmume when imported; something about it is wrong. Probably best to wipe the save file and start again, and be sure to save twice in-game before trying to edit again.
  5. Your "corruptdiamond" is filled with FFFFFF's; no data is present in the file. PKHeX doesn't do that. The "diamond" file exhibits the same behavior on desmume; do you have the original, unmodified file that the game successfully loads? Unrelated, but you forgot to set the edited Piplup back to the slot when you changed its level. The editor window is a copy, not a by-ref view.
  6. Open up two instances of PKHeX, for source and destination. Then just drag & drop. If you want to import a large amount, dump them to a folder then drop the folder in instead.
  7. Re-read the first post of this thread.
  8. https://www.reddit.com/r/romhacking/comments/qub9km/how_do_i_create_a_nds_rom_patch/
  9. Ask the owner of the bot you traded with. Some have features like replacing the OT details with that of the trader, but really it's not as foolproof as they'd hope.
  10. Those are the only two labeled. https://github.com/kwsch/PKHeX/blob/82d74e69502c7697f42aa1dcf1a08ea95cc4edcb/PKHeX.Core/Saves/Access/SaveBlockAccessor9SV.cs#L2108-L2109
  11. Use a hex editor or online tool to trim the file to the correct size.
  12. Gen4/5 save files are 512KB, not 1MB.
  13. Load an actual save file, additionally, create a "trainers" folder next to the exe and populate it with Pokémon files from trainers w/ specific versions.
  14. Use the drop-downs to help build the commands, as well as indicate what the current value of the Pokémon currently loaded to the editing tabs.
  15. The latest release of the plugin you linked to is targeting PKHeX from 4 months prior. So, if the plugin doesn't work with the latest you have tried, you need to grab that specific version from this site's download page.
  16. Another one... so many bad carts! Since this has happened numerous times, I figured I'd automate the logic that I'd do manually, as described in the thread chain ^. The automated program and its source code have been uploaded to projectpokemon's GitHub: https://github.com/projectpokemon/RecoverSaveGen3 I have attached the save file after running it through the program I made ^. Here's what it looks like in PKHeX (box names???) POKEMON EMER_BPEE01_00.sav.fixed
  17. As you've already mentioned, the game will fail to render the quantity to a human-readable number of the current value. Referring to the Emerald disassembly, the items are stored as u16 Item, u16 Quantity. https://github.com/pret/pokeemerald/blob/9952b676db9d2c8d5e71f7339eb000d8aa496ab4/include/global.h#L582-L586 So, the quantity can be at most 65535 (2^16 - 1). PKHaX already lets you set whatever quantity you want (that can be stored by the structure, aka 65535 max in Gen3). Any issues? Try it and see.
  18. Thanks, fixed on latest commit: https://github.com/kwsch/PKHeX/commit/ef60ee622dc5fd4aabbec2c6c7d98226916a8de6
  19. Is this for a ROM hack?
  20. Not sure which file you are trying to load into PKHeX. PKHeX supports save files and individual PKM files (including ph3 files for HOME's latest format).
  21. Depends how you want to store the data, and what kind of setup you have in mind. Since PKHeX.Core is on NuGet, you can add it as a project reference to any C# repo. Alternatively, you can manually download it and unzip it to get the DLL, and then add it manually to something like a LINQPad script to run a snippet of code to dump info into whatever format you want. var files = Directory.EnumerateFiles(@"C:\saves"); foreach (var file in files) { var sav = SaveUtil.GetVariantSAV(file); if (sav is null) // unrecognized continue; var trainerName = sav.OT; var version = sav.Version; $"{trainerName}\t{version}".Dump(); }
×
×
  • Create New...