Jump to content

Kaphotics

Helpful Member
  • Posts

    6889
  • Joined

  • Last visited

  • Days Won

    322

Everything posted by Kaphotics

  1. Thanks, was able to figure out what was causing the problem. The sticky download thread has been updated with this fix, thanks for reporting
  2. https://github.com/kwsch/PKHeX/blob/master/Saves/SaveUtil.cs#L185-L214 I can't know what is not happening based off 'it's not detecting', you'd need to provide a screenshot so I can see the list of drives and where the main file actually is.
  3. What's New? - Added: Gen III, IV, V Save Editing; Batch (Mass) Editor - Improvements & Fixes: Oodles. 8/7/16 - New Update - Added: TWLSaveTool folder auto-detection for past generation save files. - Changed: Save file auto-detection now detects the last saved file instead of a predefined order. Saving a NDS game after 3DS game will return the NDS save. - Fixed: Multiple gen3/4 save/pkm/transfer bugs. Thanks BeyondTheHorizon, JHorbach, Destinyy, MichiS97, ashrobb, IamAVeryNicePereson & javier_himura! - Fixed: Manaphy egg (non event) now correctly flagged as illegal. Thanks RustInPeace! - Changed: Updated Spanish Translation. Thanks ajtudela! - Fixed: Drag&Drop between box slots tweaked and improved. Thanks Warsen! - Fixed: Mystery Gift files can now be dragged into Box slots directly. - Fixed: Gen6 Trainer Info editor can now edit Vivillon forms again. Thanks Majickhat55! - Added: Cleaner 'delete' command to batch editor (set species to 0 to clear data). - Added: Specifying output folder when modifying a folder in the Batch Editor. Thanks \!
  4. 1) Fixed 2) Fixed 3) [color=#00ff00] // Remove HM moves; Defog should be kept if both are learned.[/color] [color=#0000ff]int[/color][] banned = Moves.Contains(250) [color=#00ff00]/*Whirlpool*/[/color] && !Moves.Contains(432) [color=#00ff00]/*Defog*/[/color] ? [color=#0000ff]new[/color][] {15, 19, 57, 70, 432, 249, 127, 431} [color=#00ff00]// No Defog[/color] : [color=#0000ff]new[/color][] {15, 19, 57, 70, 250, 249, 127, 431};[color=#00ff00]// No Whirlpool[/color] "No Whirlpool" is HGSS transfer, "No Defog" is DPPt transfer If pkm does not have Whirlpool, it uses the "No Whirlpool" banlist. (first false short circuit) If pkm has Whirlpool and has Defog, it uses the "No Whirlpool" banlist. (second false) If pkm has Whirlpool and not defog, it uses the "No Defog" banlist. (both true) It can be re-written as follows: [color=#00FF00] // Remove HM moves; Defog should be kept if both are learned.[/color] [color=#0000FF]int[/color][] banned = Moves.Contains(250) && Moves.Contains(432) [color=#00FF00]/*Whirlpool & Defog*/[/color] ? [color=#0000FF]new[/color][] {15, 19, 57, 70, 250, 249, 127, 431} [color=#00FF00]// No Whirlpool[/color] : [color=#0000FF]new[/color][] {15, 19, 57, 70, 249, 127, 431};[color=#00FF00]// Transfer via advantageous game[/color] So, instead of knowing which game it is transferred, we can just be ambiguous. Changed to reflect the second snippet of code. Thanks for the report
  5. Do note that a new browserhax was released, supporting 11.0. Be sure to set up the new menuhax a browserhax can be shut down with a firmware update
  6. I've pushed a few commits to update the program's save detection, which should now support TWL Save Tool files as well. https://github.com/kwsch/PKHeX/commit/2acd1c5d21bd31725a5a3d06e9a28440aeb200ab https://github.com/kwsch/PKHeX/commit/5ceafc21e17aa168d8f10a384260f35945af7008 Probably ends up resolving the auto-detection issue. Do note that if you export a NDS save after exporting a 3DS save, the NDS save will be loaded instead (it looks for the most recent write time).
  7. 1. When you plug in your SD card, what Drive Letter is assigned to it? Is it the first one alphabetically? Being stuffed away in the /3ds/ folder is the reason; PKHeX checks for X:/saveDataBackup. The /3ds/ folder is a recent creation of the homebrew scene... 2. Nothing has changed in drag&drop. 'can't drag files' is a little to vague to come up with another explanation. 3. Slow computer. Takes less than 1 second on my computer; the new box/pc import has to be flexible enough to handle multiple versions (gen3-6) so it is extra cautious when checking what you are trying to import.
  8. Kaphotics

    ignore

    For anyone else viewing: Pokémon always have memories. If the current handler is the Original Trainer, it must have an OT memory. If the current handler is not the Original Trainer, it must have a Handling Trainer memory. Gen 5 and below PKM do not have OT memories. Gen 5 and below PKM always have HT memories, since they do not have OT memories. Since you are setting a Pokémon that did not originate from your save file, it must have a HT memory. PKHeX automatically detects that the user did not create the Pokémon correctly, and fixes it for you by supplying the basic 'imported from Pokémon Bank' memory. You may manually turn this off via Options->Set to SAV->Modify PKM Info Keep in mind that if you turn this off the resulting Pokémon would not be legal, for reasons explained above.
  9. Yep, was fixed yesterday in this commit. I'm still investigating the second part of your report, hence why I didn't reply yet
  10. Thanks for the report, fixed in the latest commit. New release should be out sometime this weekend with the latest round of fixes.
  11. Fixed, thanks for reporting
  12. Anyone not notice that the 'cleared' count is equal to the amount of Pokémon you don't have in your Battle Box? Just a graphical bug where the Battle Box empty sprites would overwrite the Party sprites Fixed in latest commit; thanks for reporting!
  13. You have to set the wondercard back to the slots.
  14. Appears to work fine on my end; you'd have to PM the save file in order for me to determine what is going wrong.
  15. PKHeX will only navigate to the SD card if a save file exists in one of the usual folders. If your savedata manager exports to a new path, it will not be detected. Exporting a save file opens the view to the folder where the file was loaded from. Drag&Drop works fine; be sure the program is not blocked (right click exe -> properties). Depends what 'bin' files you are trying to open. If you're using the Powersaves xorpad decryption feature, if there's more backups stored it will take a while.
  16. 9.2 fw -> set up custom firmware, ditch powersaves, install savedatafiler, use PKHeX.
  17. Fixed in latest commit, thanks for reporting!
  18. It's worse than that, moving a PKM on a gen3 save file results in corrupted slots... Looks to be gen3 only. Fixed in the latest commit Thanks for reporting!
  19. Dropping a pgt/pgf into a future game's box slot? It works if you load it to tabs.
  20. Using the Batch Editor Caution: When using the Batch Editor, there is no UNDO. If you modify the contents of a Folder, the changes are permanent to those files. If you modify the contents of a Save File, the changes are permanent unless you re-load the Save File. The Batch Editor is a powerful tool in which the user can make mass modifications to Pokémon in either their save file or supplied folder. By using the built in 'script builder', you may select from properties to either 'set' them or 'filter' according to its value. The script in the image above is an example of how to redefine the trainer and friendship details of the Pokémon, effectively 'stealing' it from another trainer. There are three types of 'script commands' that may be entered: . This sets the property of the Pokémon equal to the value = This requires the property to be EQUAL to the value ! This requires the property to be NOT EQUAL to the valueIf a 'filter' (=,!) is not satisfied, the Pokémon is skipped. Other filters exist, similar to = and ! -- refer to the GUI command builder. The script interpreter is smart enough to understand the difference between numbers, strings, and booleans; quotation marks are interpreted literally and should not be used. A hint of the value type is provided beneath the dropdown. Empty or invalid slots are skipped by default. A slot / file must have a valid Pokémon in order to be modified. An advanced modification script is demonstrated in the following image: =Box=1 !Slot=1 .Species=7 =IsNicknamed=false Filters are interpreted first. Even though the "=IsNicknamed=false" appears after the ".Species=7" command, the batch editor will require all filters to be satisfied before any modifications are made. To explain what the above script does, it requires the Pokémon to be in the first box, but not in the first slot, and to be not nicknamed. It then sets the Species ID to 7 (Squirtle). Special Tricks The Batch Editor window references the PKM that is currently viewed in the editing tabs. If you select a property name, the Batch Editor will indicate whether or not the tabs PKM has that property. If the tabs PKM has that property, the Batch Editor will display the property's current value as well as the data type (number, text, etc). To Randomize a PID, use ".PID=$rand". To Randomize EncryptionConstant, use ".EncryptionConstant=$rand" To Randomize a value within a range, use ".Nature=$x,y" for an inclusive range of [x,y]. To make a Pokémon Shiny: use ".PID=$shiny". To copy the Encryption Constant to the PID, use ".EC=PID" To delete a Pokémon, use ".Species=0" To set a date (Met / EggMet), use yyyyMMdd for the string. Example: ".MetDate=20160409" will set the Met Date to April 9th, 2016. Suggestions can be automatically applied for Moves, RelearnMoves, and Met_Location. Example: "Moves=$suggest" will retrieve and apply suggested moves from the legality interpreter, same as if you clicked on the Moves groupbox in the tabs editor. Legality can be used as a filter. Use "=Legal=false" to only modify illegal Pokémon. A full up to date list is available by reading the source code (BatchEditor.cs, ProcessPKM method). Remember that certain formats/generations do not always have future properties. There are many applications of the Batch Editor including mass hatching, deleting, making everything shiny, or clearing EVs from all applicable Pokémon.
  21. Transferring between Generations PKHeX only supports methods of transfer that the games support, emulating the official method of transferring for you. Transferring can only be done FORWARDS. For example, a pk7 cannot be imported to previous generations. There are multiple ways to accomplish a transfer: Individual Transfer Open two instances of PKHeX, one with the source save and one with the destination save. Drag and Drop between the two windows. Bulk Transfer Open the source Save File. At the top of the main window, select Tools->Data->Dump Boxes. You may choose to save to PKHeX's Database, or you may save to a Folder [DO THIS!]. Open the destination Save File in another instance of PKHeX. Drop the folder of PKM's on the save file. The box contents of the destination save file will be overwritten so that all PKM files have been imported.
  22. PKHeX's Database PKHeX is able to create a 'pkmdb' folder and store pkm files from all generations for later use. Consider it like a Pokémon Bank. The Database may be accessed via Tools->Data->Database, or by pressing CTRL-D. The above image is what you may see if you have LOTS of Pokémon dumped to your database. Pokémon from the active save file will also appear. The Database may be searched to find certain properties that you desire via the options on the right side of the window. What can you do with the results? View: Loads into the Main window to view all properties, and can be set into the save file. Delete: Can be removed from the database (no undo!) You may additionally use the script command format used by the Batch Editor to do more advanced searching. To access the input region, Tools->Search Settings->Advanced Search or press CTRL-A. Advanced Search filtering is done AFTER the regular GUI filters on the right side are processed. Refer to the Batch Editor tutorial for questions regarding figuring out what to enter. Below is an example of using the Advanced Search filters:
  23. Pokémon Showdown Sets People running a genning service may ask for you to supply a request in a Showdown Set format, which can be done either by Showdown's Team Builder or by using PKHeX. Showdown sets can be imported and exported for the Pokémon currently loaded to the tabs. To export a showdown set from tabs: Press CTRL-SHIFT-T, or ALT click the Species label, or Tools->Showdown->Export Set to Clipboard To import a showdown set to tabs: Press CTRL-T, or CTRL click the Species label, or Tools->Showdown->Import Set from Clipboard Party and Battle Box may only be exported. Exporting Party/Battle Box sets: Click on the "Party" or "Battle Box" label directly above the sprites, or Tools->Showdown->Export Party to Clipboard, or Tools->Showdown->Export Battle Box to Clipboard
×
×
  • Create New...