+ Reply to Thread
Page 2 of 4
FirstFirst 1 2 3 4 LastLast
Results 16 to 30 of 54

Thread: Hex Values and Trashbytes in B/W

  1. #16

    Re: Hex Values and Trashbytes in B/W

    Ok i get it.
    The best option will be to Create Hatched pokemon with the correct ability.
    If the Egg PID is generated the same way as in HG/SS it would be hard to impossible to proof the pokemon being not legit.
    I gess we will know for sure when the RNG is fully understood.

  2. #17
    Member Translation ContributorDeveloperROM Researcher
    Join Date
    Apr 2009
    Age
    24
    Posts
    304

    Re: Hex Values and Trashbytes in B/W

    This program should simulate the effects of a 4th generation Pokemon being shifted with the Pokeshifter. All information was gather from what kaphotics posted. Since I only have 1 DS, I can not run tests to see if Pokemon ran through both the Pokeshifter and this program made 1:1 binary matches.
    Attached Files

  3. #18
    Action Replay Researcher Riolu Aura Sphere Now's Avatar
    Join Date
    Mar 2010
    Location
    Riolu's Soul, Pikachu's Heart & Oshawott's Courage!
    Age
    21
    Posts
    1,555

    Re: Hex Values and Trashbytes in B/W

    83h: Poké Ball
    Spoiler

    00- Poké Ball (Default)
    01 - Master Ball
    02 - Ultra Ball
    03 - Great Ball
    04 - Poké Ball
    05 - Safari Ball
    06 - Net Ball
    07 - Dive Ball
    08 - Nest Ball
    09 - Repeat Ball
    0A - Timer Ball
    0B - Luxury Ball
    0C - Premier Ball
    0D - Dusk Ball
    0E - Heal Ball
    0F - Quick Ball
    10 - Cherish Ball
    11 - Fast Ball
    12 - Level Ball
    13 - Lure Ball
    14 - Heavy Ball
    15 - Love Ball
    16 - Friend Ball
    17 - Moon Ball
    18 - Comp Ball
    19 - Dream Ball



    Note: Optional Changes may be required. More testing some time this week.
    Last edited by Riolu Aura Sphere Now; Oct 4th, 2010 at 10:15 AM.

  4. #19

    Re: Hex Values and Trashbytes in B/W

    Quote Originally Posted by Riolu Aura Sphere Now View Post
    83h: Poké Ball
    Spoiler

    00- Poké Ball (Default)
    01 - Master Ball
    02 - Ultra Ball
    03 - Great Ball
    04 - Poké Ball
    05 - Safari Ball
    06 - Net Ball
    07 - Dive Ball
    08 - Nest Ball
    09 - Repeat Ball
    0A - Timer Ball
    0B - Luxury Ball
    0C - Premier Ball
    0D - Dusk Ball
    0E - Heal Ball
    0F - Quick Ball
    10 - Cherish Ball
    11 - Fast Ball
    12 - Level Ball
    13 - Lure Ball
    14 - Heavy Ball
    15 - Love Ball
    16 - Friend Ball
    17 - Moon Ball
    18 - Comp Ball
    19 - Dream Ball



    Note: Optional Changes may be required. More testing some time this week.
    yay
    Last edited by Kaphotics; Oct 6th, 2010 at 01:22 AM. Reason: corrected

  5. #20

    Re: Hex Values and Trashbytes in B/W

    [corrected]

    kazo: program looks fine, compared it to 1 of the 3 I shifted and the only differences was met date, happiness, and checksum [duh]
    Last edited by Kaphotics; Oct 4th, 2010 at 04:26 AM.

  6. #21
    Action Replay Researcher Riolu Aura Sphere Now's Avatar
    Join Date
    Mar 2010
    Location
    Riolu's Soul, Pikachu's Heart & Oshawott's Courage!
    Age
    21
    Posts
    1,555

    Re: Hex Values and Trashbytes in B/W

    The reason why the Poké Ball showed up as 00 is because 00 is the Default Ball (Poké Ball). 04 is still the Poké Ball.

    I have edited my previous post.
    Last edited by Riolu Aura Sphere Now; Oct 4th, 2010 at 10:04 AM.

  7. #22

    Re: Hex Values and Trashbytes in B/W

    So how is it determined that the value bill be 04 or 00 ?

    Also the Program doesent seem to work for me.

  8. #23
    Member
    Join Date
    Apr 2010
    Age
    23
    Posts
    5

    Re: Hex Values and Trashbytes in B/W

    Quote Originally Posted by KazoWAR View Post
    This program should simulate the effects of a 4th generation Pokemon being shifted with the Pokeshifter. All information was gather from what kaphotics posted. Since I only have 1 DS, I can not run tests to see if Pokemon ran through both the Pokeshifter and this program made 1:1 binary matches.
    your program works wonderfully for the most part but I've noticed it seems to set the ball to a dream ball in some cases.
    my macargo was caught in platinum with a quick ball, after being shifted it changed to dream ball.
    my mesprit kept its ultra ball value.
    my ninetails which was palparked from leaf green to platinum was caught with a pokeball and it changed to a dream ball.
    my mudkip from emerald kept it's pokeball value.
    My pachirisu was caught in a heal ball and after being shifted it switched to a dream ball.

    Is this supposed to happen?

  9. #24

    Re: Hex Values and Trashbytes in B/W

    Quote Originally Posted by BerserkLeon View Post
    your program works wonderfully for the most part but I've noticed it seems to set the ball to a dream ball in some cases.
    my macargo was caught in platinum with a quick ball, after being shifted it changed to dream ball.
    my mesprit kept its ultra ball value.
    my ninetails which was palparked from leaf green to platinum was caught with a pokeball and it changed to a dream ball.
    my mudkip from emerald kept it's pokeball value.
    My pachirisu was caught in a heal ball and after being shifted it switched to a dream ball.

    Is this supposed to happen?
    No it shouldn't.... if you don't mind, could you post those pkms so whatever was wrong can be figured out?

    It's probably got to deal with the HGSS Pokeball hex, which wasn't documented well enough at the time.

    It's just detecting an overflow on the 83h, going above 19 still registers it as a Dream Ball. If you change it in a hex editor you can fix em. HGSS balls I gather are not preserved and any value 20+ @ 0x83 -> 04 (Pokeball) (with no other hex change??? really have no pkms to look at)

  10. #25
    Member
    Join Date
    Apr 2010
    Age
    23
    Posts
    5

    Re: Hex Values and Trashbytes in B/W

    http://hasyour.info/shifterdreams.7z
    here these are, before being shifted

  11. #26

    Re: Hex Values and Trashbytes in B/W

    All three of the ones that changed to dream ball had an 86h of 19, which overwrote the 83h to 19.

    If you opened them up in a hex editor (HxD) and changed the 0x86 location to 00, you should be fine. Save the new file (new checksum doesnt matter) and then shift the new file.

    I checked data from other PKMs I have (Heal Ball, Quick Ball) and they didn't have a 86h=19. I don't know about the Ninetails either, assuming it was bred.

    Just wondering, did you ever put them in ball capsules? If you did, were they still in capsules when you grabbed the PKMs?

  12. #27
    Member Event Contributor aquaguy34's Avatar
    Join Date
    Sep 2009
    Location
    In a TARDIS
    Posts
    181

    Re: Hex Values and Trashbytes in B/W

    Just wondering, do you guys think it is possible to pokeshift a pokemon in reverse. what I mean is to turn a V gen pkm file to a IV gen pkm file?

  13. #28
    Member
    Join Date
    Apr 2010
    Age
    23
    Posts
    5

    Re: Hex Values and Trashbytes in B/W

    I can't recall if they were ever in ball capsules but they certainly weren't when i grabbed the PKMs.

  14. #29

    Re: Hex Values and Trashbytes in B/W

    Quote Originally Posted by aquaguy34 View Post
    Just wondering, do you guys think it is possible to pokeshift a pokemon in reverse. what I mean is to turn a V gen pkm file to a IV gen pkm file?
    Not without informatively editing the PKM file.

    Earlier in this thread I documented the hex changes of shifted PKMs, all you would have to do is make up hex that is legal for a PKM in gen 4.

    I've done it for 4-->3 (size is 100bytes in gen 3 compared to 136bytes). Pretty much it's just a reverse character change, location, and adding in some hex

    Quote Originally Posted by BerserkLeon View Post
    I can't recall if they were ever in ball capsules but they certainly weren't when i grabbed the PKMs.
    Was just wondering because I've never seen a 0x86 be 19

  15. #30
    Member
    Join Date
    Oct 2010
    Age
    19
    Posts
    0

    Re: Hex Values and Trashbytes in B/W

    Someone can give me a .pkm that has being shifted?
    I need it to make my owns, please. =]

+ Reply to Thread
Page 2 of 4
FirstFirst 1 2 3 4 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
PPN Top 50