How would I randomized Pokemon Ultra Sun/Moon?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by zezzo, Nov 21, 2017.

  1. zezzo
    OP

    zezzo The "Black Ace"

    Member
    4
    Sep 14, 2015
    United States
    There are tutorials for Sun and Moon... but I doubt they would work for these new games. I would also like to randomize my starters
     
  2. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    14
    Mar 16, 2012
    United States
    Extract the contents of the game, open the game files in pk3DS, randomize starters, repack into CIA or use Luma's layeredfs/NTR CFW to play the game.
     
    Majickhat55 likes this.
  3. Sergius22

    Sergius22 Member

    Newcomer
    1
    Jun 15, 2016
    The game fails when you do all that in the pk3ds, it does not start the game ...
     
  4. zezzo
    OP

    zezzo The "Black Ace"

    Member
    4
    Sep 14, 2015
    United States
    How would I do it then?
     
  5. PhoenixVII7

    PhoenixVII7 Newbie

    Newcomer
    1
    Nov 27, 2017
    United Kingdom
  6. Majickhat55

    Majickhat55 The Red Woman

    Member
    11
    Mar 28, 2016
    United States
    Asshai
    Works fine on my end with the latest commits....
     
  7. Zen614365

    Zen614365 Newbie

    Newcomer
    1
    Jan 16, 2018
    United States
    When I randomize all the files only my wild Pokemon files are randomized, the other files like starter and trainer Pokemon are not. Any help?
     
  8. Giodude

    Giodude GBAtemp's official rock

    Member
    10
    GBAtemp Patron
    Giodude is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    May 17, 2015
    United States
    New York
    Go into the other options and just hit randomize for each. If that doesn't work, you probably need to copy over more edited files. What I did is I went into the backup folder, since it tells you what each file does. I just took note of what files stored what and copied over the randomized versions of them if that makes sense.
     
  9. Mush999

    Mush999 Member

    Newcomer
    1
    Feb 17, 2018
    United States
    You can randomize USUM with Homebrew, no cfw needed. This works on version 11.6. You will need the following:
    HackingToolKit9 V9
     
  10. Mush999

    Mush999 Member

    Newcomer
    1
    Feb 17, 2018
    United States
    Srry for the cutoff. You will need the following to randomize USUM with no cfw (there probably is another way with dumping your rom but I found a completely different way to do this by using a Pokémon ultra sun rom):
    A 3ds with Homebrew (duh)
    A windows computer, windows 10 would be the best
    PK3DS build 286 (yes that specific build)
    Hackingtoolkit9 V9 by Asia81
    At least 4 gbs on your SD card
    At least 12 gbs free on pc
    And HxD hex editor

    1) find a DECRYPTED rom of US or UM. (Make sure your link doesn’t say part one and part two of US or UM. Try to find a file that downloads the full rom on one file) Download your rom

    2) take your Hackingtoolkit9 V9 and there will be a folder that says cleantool9, SetupUS, and HackingToolKit V9. Put your rom in that folder

    3) Run the SetupUS and then install HackingToolKit9 V9 and then open HackingToolKit9 V9 and it will show a bunch of commands. What you want to do is type in d at the bottom. Then it will ask you what the decrypted rom is. (This is a good time to rename your US or UM rom to something easier to type. For example, if you have US just call it PKMNUS. There isn’t a specific thing you have to call your rom. Name it to something that’s easy to type) Type in the name of your rom, and it will extract your rom, when it’s done it will say extraction complete. You won’t be needing this program anymore.

    4) you want to take the ExtractedRomFS and the ExtractedExeFS and put that into a knew folder. Now, the randomizing begins!!!

    5) Take your 286 build of PK3DS (the reason I chose that build is because we can randomize everything except the pokemarts. All the things we can randomize are in the ExeFS and RomFS, and that’s it. We can’t edit the pokemarts because it’s in the CRO section, and you would need cfw to randomize the CRO.) You can randomize everything in this build except pokemarts. Once you randomize what you desire, got to the next step

    6) In PK3DS, press the tools button, the press rebuild, then press RomFS. This will take some time, but once it’s done, it will say done. You want to name the RomFS into this
    US: 001B5000.romfs
    UM: 001B5100.romfs
    For the exefs, go into the ExtractedExeFS folder, find the .code.bin, and rename in this order:

    Rename .code into either 001B5000.bin or US or 001B5100.bin

    Then take that .bin part and rename it to .code, and move it to your hand folder (if you don’t have one make one), and the exefs is good to go.

    Take the 001B5000.romfs or 001B5100.romfs and run it through the HxD hex editor and then you want to select everything from 00000000 to 00000FF0 and nothing under that. Do not erase anything under 00000FF0. Either press the delete/backspace button on your keyboard or right click the selected code and press delete. Save the file, the move the file into the hans folder.

    7) take the sd card, put it into your 3ds and access Homebrew however you do, and then find hans. Open it, and make sure the target selector is on either your cartridge of USUM or the digital version of USUM. Move the dpad to the left or right to scroll through your games and apps until you find USUM. Then press the A button

    8) make sure your settings say this

    Region: ———
    Language: ——
    FW Version spoof: No
    N3DS CPU clock: 268Mhz
    Code —> SD: yes
    Romfs —> SD: yes
    Save configuration: no

    Scroll down and hit ok, give it 5 to 10 seconds, and if you did everything right, congrats!
     
    Seriel likes this.
  11. PeterGoh

    PeterGoh Newbie

    Newcomer
    1
    Jun 20, 2018
    Taiwan
    can you randomize the legendary pokemon as you starters? is there a randomizer rom with legendary starters for citra?
     
  12. tall guy

    tall guy GBAtemp Regular

    Member
    3
    Mar 15, 2009
    Belgium
    I got this message after i selected 'randomize all' in wild pokemon encounters ! "User Message: An unhandled exception has occurred. The program must now close." Why is that?
    I used a downloaded cia.
     
    Last edited by tall guy, Nov 9, 2018
  13. Majickhat55

    Majickhat55 The Red Woman

    Member
    11
    Mar 28, 2016
    United States
    Asshai
    Perhaps you didn't have enough unused RAM when running it. Ru the program by itself without anything else in the background. If that doesn't work, make sure you're using the right version for your game. Sometimes one version works and another doesn't depending on your environment.
     
  14. tall guy

    tall guy GBAtemp Regular

    Member
    3
    Mar 15, 2009
    Belgium
    Or do i have to dump the cia first, because i used the randomizer straight on the cia.
     
  15. Majickhat55

    Majickhat55 The Red Woman

    Member
    11
    Mar 28, 2016
    United States
    Asshai
    Lol yeah you have to extract it first.
     
  16. tall guy

    tall guy GBAtemp Regular

    Member
    3
    Mar 15, 2009
    Belgium
    But it was already a cia file, so i have to extract it to another cia file?
     
  17. Majickhat55

    Majickhat55 The Red Woman

    Member
    11
    Mar 28, 2016
    United States
    Asshai
Loading...