Jump to content
  • Block Editing

    PKHeX is now able to edit parts of the save, known as save blocks. It allows users to export and import various save blocks.

    Here's a tutorial on how to get it done.

    Steps
    0. Keep a safe backup of your unedited save, somewhere on your computer. We're not liable if this results in a corrupted save.

    1. Make sure you redownloaded and use the latest PKHeX. (Initial version with this feature caused corruption. Additionally, older copies do not have the feature)

    2. Load the target save in PKHeX.
    image.png


    3. Now, click on SAV on the tabs.
    image.png


    4. Now, click on the button Block Data
    image.png


    5. Another window should open up.
    image.png

     

    6. Scroll through the dropdown list at Block Key:.

    For this example, I'll be importing the file normal_encount into *Object KNormalEncount (Original quote below, can be found here)

    On 1/29/2020 at 9:02 AM, theSLAYER said:

    *Object KNormalEncount is for normal_encount


    Since I'm importing into *Object KNormalEncount, that is what my screenshot shows.
    image.png


    7. Now that Block Key: is showing the correct value, select Import Current Block.
    image.png


    8. A window should pop-up. Select the correct file to import, then select Open.
    In my case, I'm importing the file normal_encount.
    image.png

     

    9. Now that the file has been imported, close only the first window
    image.png

     

    10. Then, proceed to File > Export SAV... > Export main
    image.png

     

    11. Now close PKHeX. If you want to make sure the new save file is not corrupted, reopen PKHeX and try to load the save.

    Spoiler

    As you can see, the save file loads
    image.png


    In block data, you can also see it is updated to show an Index 09 file.
    At time of writing, PKHeX only updates that box when the Block Data box is closed and reopened
    image.png

     

    12. You're done. Now reimport the save into your Switch to observe the effects.

    Edited by theSLAYER

    • Like 3


    User Feedback

    Recommended Comments



    I wasn't able to get this work until I had imported all four blocks from the event, heads up.

    Share this comment


    Link to comment
    Share on other sites
    8 hours ago, zzz.sleeping said:

    I wasn't able to get this work until I had imported all four blocks from the event, heads up.

    makes sense, given the wild area event appears dependent on the drop_rewards too.
    Plus, if you're downloading from the net legitimately, you get all 4 at the same time anyway..

    edit: I tried to do it, and wow. this is not going great..
    image.png

    Share this comment


    Link to comment
    Share on other sites
    10 minutes ago, DogWhich said:

    @theSLAYER I need some help modifying drops. I need to know how to modify the blocks. Please help :)

    I haven’t figured out modifying the drop rewards, so can’t help you with that.

    Share this comment


    Link to comment
    Share on other sites
    On 2/4/2020 at 4:03 PM, zzz.sleeping said:

    I wasn't able to get this work until I had imported all four blocks from the event, heads up.

    what are the block keys to import on for the other 3?

    Share this comment


    Link to comment
    Share on other sites
    35 minutes ago, Ferdy878 said:

    what are the block keys to import on for the other 3?

    they're in the first post of:

    Make sure you're using the latest PKHeX.

    Share this comment


    Link to comment
    Share on other sites

    Yup pkhex version 09/02/2020 from memory I am using..I updated yesterday.

    So I edited that same offset you use on the first page of the other thread, offset 1260 column 08/09. I imported the 4 back in. Then went to raids and turned some I knew the position of into event raids and active. Plus the randroll i put to 99.

    I opened it in the normal encounter program and it came up with melmetal in the first row. 

    I'll still have to reroll though yeah? 

    Am I right in saying from the offset used it will be position 6? 

    Edited by Ferdy878

    Share this comment


    Link to comment
    Share on other sites
    1 hour ago, AcroBlade said:

    Your girl player block data you posted appears to be missing the Ranked Battles uniform set...

    @theSLAYER

    Yes, I got a version that has it but apparently it's not uploaded. I just got it again, will upload that later thanks

    Share this comment


    Link to comment
    Share on other sites

    I have :

    - 0105 SWSH - Casual Tee (Pokemon Quest)

    - 1605 SWSH - Clothing Set Studded Leather Case

    - 1605 SWSH - Clothing Set Tracksuit

    Should I edit something for male or female save or I just have to import ?

    Edited by Xyphoseos

    Share this comment


    Link to comment
    Share on other sites
    12 minutes ago, Xyphoseos said:

    I have :

    - 0105 SWSH - Casual Tee (Pokemon Quest)

    - 1605 SWSH - Clothing Set Studded Leather Case

    - 1605 SWSH - Clothing Set Tracksuit

    Should I edit something for male or female save or I just have to import ?

    gen 8 doesn't have wonder card importing. However, the wonder card does show where to edit in the fashion block (if you know how to interpret it)

    I already have all legal fashion block

     

    Share this comment


    Link to comment
    Share on other sites
    On 2/9/2020 at 6:58 PM, theSLAYER said:

    I haven’t figured out modifying the drop rewards, so can’t help you with that.

    Excuse me but at now you already know how to edit drop rates? I really need how to edit them, thnx!!!

    Share this comment


    Link to comment
    Share on other sites
    2 hours ago, edwarbad23 said:

    Excuse me but at now you already know how to edit drop rates? I really need how to edit them, thnx!!!

    As I said long ago, I do not understand how the items are determined.
    The best I know is what other file is referenced.

    Additionally, I'm unsure if their drop rates even can be manipulated.
    As much as I can tell, the rates are fixed.

    For example, if I make a 5* raid refer to reward used by a 1* raid,
    when I defeat the newly edited 5* raid, it actually has extra items that the 1* raid wouldn't drop.

    Unless other information proves otherwise, I believe the drop rates are determined by the ROM.

    Share this comment


    Link to comment
    Share on other sites

    When I edited blocks now in the Raid Plugins I have only 1-2 stars Pokemons avaliable. Where am I wrong?

    Share this comment


    Link to comment
    Share on other sites
    4 minutes ago, scipio19 said:

    When I edited blocks now in the Raid Plugins I have only 1-2 stars Pokemons avaliable. Where am I wrong?

    how many badges have you obtained?

    Share this comment


    Link to comment
    Share on other sites
    1 minute ago, theSLAYER said:

    how many badges have you obtained?

    2, is it related?

    Share this comment


    Link to comment
    Share on other sites
    18 minutes ago, scipio19 said:

    2, is it related?

    Yes.

    The amount of badges restrict the raid tiers you can reach. Has nothing to do with block importing. So just keep playing the game.
    do note that as you get more badges, you'll eventually be locked out of tier 1 and tier 2.

    Share this comment


    Link to comment
    Share on other sites

    i didnt get to work , i imported all the 4blocks and nothing of pikachu on raids :(

    Share this comment


    Link to comment
    Share on other sites
    5 minutes ago, Cadii said:

    i didnt get to work , i imported all the 4blocks and nothing of pikachu on raids :(

    Into which blocks? 

     

    And how did you confirm there’s absolutely no pikachu raids, did you edit the max raid parameters to check?

    Share this comment


    Link to comment
    Share on other sites

    ive imported the "bonus_rewards" , "dai_encount" , "drop_rewards" and "normal_encount"
    im searching for the pikachu raids for hours and nothing :(

     

    ow , finaaly i get the pikachu , im sorry for the mistake! and thanks!

    Share this comment


    Link to comment
    Share on other sites
    36 minutes ago, Cadii said:

    ive imported the "bonus_rewards" , "dai_encount" , "drop_rewards" and "normal_encount"
    im searching for the pikachu raids for hours and nothing :(

     

    ow , finaaly i get the pikachu , im sorry for the mistake! and thanks!

    I've merged your posts.

    One way to know for sure, whether you imported it right in the future, is to edit the max raid parameters for a raid to "event", and make it active.
    Import save, go into game, and check what species spawns.

    Share this comment


    Link to comment
    Share on other sites
    On 5/12/2020 at 10:36 PM, Cadii said:

    ive imported the "bonus_rewards" , "dai_encount" , "drop_rewards" and "normal_encount"
    im searching for the pikachu raids for hours and nothing :(

     

    ow , finaaly i get the pikachu , im sorry for the mistake! and thanks!

    can anyone tell me where to find those 4 files? thanks

    Share this comment


    Link to comment
    Share on other sites

    How can I go back to the original data? (without event)

    Edited by Lunatico22

    Share this comment


    Link to comment
    Share on other sites
    11 hours ago, Lunatico22 said:

    How can I go back to the original data? (without event)

    Import #01 (Null)

    Share this comment


    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...