[WIP] Fire Emblem Fates Randomizer

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by thane98, Dec 7, 2016.

  1. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,053
    2,628
    Mar 16, 2012
    United States
    If you have CFW, just install the Special Edition CIA found on that iso site. Then use Decrypt9 to dump it into a CIA, which you can then extract the romfs from. It's the easiest method.
     
    Ishtiaq1234 likes this.


  2. VandalSwiftblade

    VandalSwiftblade Newbie

    Newcomer
    6
    0
    Mar 6, 2017
    United States
    Ostia
    So, I've been retrying to install everything so many times now, but its just not working for me, everytime i see that invalid icache error pop up and then it freezes. Does anyone know a way around this?
     
  3. housebob

    housebob Newbie

    Newcomer
    7
    0
    Mar 4, 2017
    United States
    I finally dumped my conquest game and put it into ctrtool but I get unable to open input file what should I do?
     
  4. mcbabystomper

    mcbabystomper Newbie

    Newcomer
    7
    0
    Mar 6, 2017
    United States
    I'm a bit of a noob at this type of thing but I got all the files I needed for the directory and the randomizer gives me this
    Is there something I'm doing wrong or is it Java?
     

    Attached Files:

    Last edited by mcbabystomper, Mar 15, 2017
  5. Ishtiaq1234

    Ishtiaq1234 Advanced Member

    Newcomer
    59
    4
    Apr 22, 2016
    Do the files have .lz at the end if yes drag and drop your folder that carries the file into FEAT to get the Necessary files then after randomising drag/drop into FEAT again and play the game with your prefered method
     
    Last edited by Ishtiaq1234, Mar 15, 2017
  6. mcbabystomper

    mcbabystomper Newbie

    Newcomer
    7
    0
    Mar 6, 2017
    United States
    I ran it through FEAT already to decompressed the files and it gave me that message
     
  7. DeltaStorm4871

    DeltaStorm4871 Newbie

    Newcomer
    3
    0
    Mar 15, 2017
    United States
    Question. If I get Unable to open input files for ctrtool on the fates .cxi what should I do to fix it?
     
  8. CrimsonKing1538

    CrimsonKing1538 Member

    Newcomer
    40
    4
    Mar 28, 2016
    United States
    Might I suggest writing up a step by step guide to dumping and randomizing DLC paths along with ones main game? I imagine it would be of a lot of help to the people who would be interested in this randomizer. I, for example, have not the slightest idea of how I would go about doing so.
     
    Last edited by CrimsonKing1538, Mar 16, 2017
  9. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,053
    2,628
    Mar 16, 2012
    United States
    If people have just Homebrew (which a lot of people do), you can't dump the DLC paths so the guide would be useless for those people. If you have CFW, that's another thing. Also, if you have CFW, just install the Special Edition CIA. That way you won't have to deal with dumping the DLC; you only have to dump the game. However, you can't dump just the DLC paths. You'll end up dumping any DLC for Fates that you have installed, which might make randomizing the files in the DLC difficult.
     
    Last edited by KunoichiZ, Mar 16, 2017
  10. Ishtiaq1234

    Ishtiaq1234 Advanced Member

    Newcomer
    59
    4
    Apr 22, 2016
    Do the Files in GameData and a few others have .lz at the end if yes then it wasnt decompressed if no just give your files that will be used for someone to check i may not be able to because i dont always have my computer but if im available ill check =)
     
  11. Mr_TRZ

    Mr_TRZ Member

    Newcomer
    11
    1
    Mar 3, 2017
    United States
    What's the process to replace characters so that I may do it manually? For example, say I want to replace everyone with Niles. How would I go about this?
     
  12. thane98
    OP

    thane98 GBAtemp Advanced Fan

    Member
    505
    222
    Apr 23, 2016
    United States
    Doing something like that by hand isn't very practical - to completely swap a character out with another, you have to edit every appearance of that character. Replacing each appearance is simple - just locate their character block inside of the map's person file (romfs/GameData/Person/(map cid).bin) and replace the asset id, face id, character name, and character description with those of the character you want to appear. You may want to change the class byte as well if you want the character to show up using their normal class.

    That technique works for situations where the character is not recruited. Recruited characters don't rely on the character blocks in Person - instead, they are handled through the GameData file (romfs/GameData/GameData.bin). For swapping out a character, you really just need to worry about the map spawn file (romfs/GameData/Dispo/(map cid).bin). All you have to do for map spawn files is locate the spawn block for the character you want to replace and repoint the block's PID to the PID of the character you want to appear.

    Making these kinds of edits isn't particularly hard, but characters often have lots of different appearances and IDs to track down in order to make a full swap. If you want to replace every character, you'll have to replace hundreds of blocks.

    Anyways, good luck if you decide to try it. If you aren't really familiar with Fates' bin files, this documentation can help you.
     
  13. GCNMatt

    GCNMatt GBAtemp Regular

    Member
    145
    25
    Oct 4, 2015
    United States
    Or.... you can do what I did and randomize it, edit the exported HTML, and use that as settings for the randomizers and re-go.
     
  14. UnwantedFortune

    UnwantedFortune Member

    Newcomer
    16
    1
    Mar 16, 2017
    United States
    When I download the file, the randomizer opens as a folder and I can't use it as an application. How can I change this?
     
  15. thane98
    OP

    thane98 GBAtemp Advanced Fan

    Member
    505
    222
    Apr 23, 2016
    United States
    If you're using something like WinRAR, it's probably treating jar files as archives instead of programs. Right click on the jar, go to open with, and select Java.
     
  16. UnwantedFortune

    UnwantedFortune Member

    Newcomer
    16
    1
    Mar 16, 2017
    United States
    Unfortunately I already tried that, it won't let me change the file type at all.
     
  17. thane98
    OP

    thane98 GBAtemp Advanced Fan

    Member
    505
    222
    Apr 23, 2016
    United States
    You don't need to change the file type. Just run the file using Java.
     
  18. UnwantedFortune

    UnwantedFortune Member

    Newcomer
    16
    1
    Mar 16, 2017
    United States
    So for some reason, while on my SD Card, it doesn't let me change the file type OR run as a different file type, but when I moved the folder to my desktop suddenly I could change it. Don't know why that was, but thank you for trying to help me nonetheless.

    Another thing that I'm confused about is how to run this hack using HANS. I know I need to put the newly modified code merged with the other files into a hans folder on the root, but I'm not sure what I do after that, when I launch HANS it tells me the file path is invalid.
     
  19. GCNMatt

    GCNMatt GBAtemp Regular

    Member
    145
    25
    Oct 4, 2015
    United States
    That means you named it incorrectly. What game are you randomizing, and what did you name that "modified code" file?
     
  20. UnwantedFortune

    UnwantedFortune Member

    Newcomer
    16
    1
    Mar 16, 2017
    United States
    I'm currently compressing everything in the storage file, and I'm on Conquest, I forgot to check what my ID is for that game so I need to do that too.

    — Posts automatically merged - Please don't double post! —

    the randomized files... or "modified code" as I just called it... I need to name it? If so, what? Is that the only thing I'm supposed to put into the "hans" folder? Because I was under the impression I needed to merge everything and insert into the hans folder renamed "(game id).romfs"..Am I misunderstanding somewhere?

    EDIT: I'll be renaming the folder the last 8 digits of that code, yes? Capture.PNG
     
    Last edited by UnwantedFortune, Mar 17, 2017