[release] MHX Quest Importer

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by moghedien, Jan 13, 2016.

  1. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    I made a homebrew for importing/exporting DLC quests directly from your MHX save file.
    That means no need to decrypt/encrypt quests :)

    Source code is here: https://github.com/svanheulen/mhx_quest_importer
    Compiled versions are here: https://github.com/svanheulen/mhx_quest_importer/releases

    WARNING: This hasn't been extensively tested yet, always make a backup of your save file before importing quests.

    Just extract the release zip file to the "3ds" folder on your SD card. Inside there should be a folder called "import" where you can place quests that you want to import. There's also a folder called "export" which is where the exported quests will be saved, and a folder called "backup" where a backup of your save file will be saved.

    Note: The quests you put in the import folder need to be named properly. For instance: if your quest is using the quest ID 1010002, then the file needs to be named "q1010002.arc"

    THIS HOMEBREW HAS BEEN SUPERSEDED BY MY NEW VERSION: http://gbatemp.net/threads/release-mhx-data-manager.434848/
     
    Last edited by moghedien, Aug 26, 2016
  2. Tyler Martin

    Tyler Martin GBAtemp Regular

    Member
    114
    4
    Dec 9, 2015
    United States
    so this could be used as a way to get dlc quests without having to update to 1.1?
     
  3. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    Yes. You could have someone with the 1.1 update export the quests for you or you could use my mhef tool to download them directly from the server and decrypt them using your computer: http://gbatemp.net/threads/mhx-dlc-encryption.404331/
     
  4. Deneviel

    Deneviel Member

    Newcomer
    33
    3
    Mar 9, 2015
    Italy
    Montella
    That's great, ty for the work ^^

    ... It would be perfect if a good soul with 1.1 will update a dump of all the original DLC on some sharing site
     
  5. Tyler Martin

    Tyler Martin GBAtemp Regular

    Member
    114
    4
    Dec 9, 2015
    United States
    can you download them and decrypt them please im in school about to do a final exam and i dont have internet at home
     
  6. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    No.
     
    KazeFatalis and justln like this.
  7. Tyler Martin

    Tyler Martin GBAtemp Regular

    Member
    114
    4
    Dec 9, 2015
    United States
    okay whatever i dont see why you cant but okay
     
  8. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    Could you do step-by-step?

    Edit: If I try to import a quest it says "Failed to open EXTData archive."

    Any idea why?
     
    Last edited by Coffee Prosecutor, Jan 14, 2016
  9. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    That error would happen if FSUSER_OpenArchive fails to open your save file. Tell me about your system: version, old/new, hacks? I've only tested it on a N3DS 9.2 running with menuhax.
     
  10. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    I have a European New3DSXL, with Emunand 9.2 via RX-Tools. I also used Menuhax to start the process.
     
  11. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    Hmmm ok, I think menuhax would run before rxTools, thus running on Sysnand which would have no access to your save because it's on your Emunand? (not exactly sure because I don't use Emunand) Maybe try booting to rxTools/Emunand and then using browserhax?
     
  12. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    Hmm, it would send me back into the usual startup.

    It is setup as following: I boot up my 3DS -> I get a menuhax-screen. -> It starts a purple menu I can choose between "RXTools, Homebrewlauncher and More Options"

    After starting it with browserhax, the same happened, like, I am in a loop.
    Also, I set it up, that it only starts sysNAND if I hold the L-Button.

    Edit: It WORKED!
     
    Last edited by Coffee Prosecutor, Jan 14, 2016
  13. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    Yeah, I think the process would be menuhax -> select rxtools -> browserhax -> select homebrew launcher
    Glad you got it working :)
     
    Coffee Prosecutor likes this.
  14. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    One little problem: What do I do after I imported the Quest?

    I cant seem to find my edited Quest.
     
    Last edited by Coffee Prosecutor, Jan 14, 2016
  15. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    It should show up under the event quests in the plaza. That is assuming your quest is valid. If you want to upload it and give me a link I can test it.
     
  16. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
  17. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    Without even testing it, I think I see the issue. I forgot to mention that the quest files need to be named properly... sorry. Your quest uses the quest ID 1010004, so you need the rename the file to "q1010004.arc"
    When you do the import it should output something like this:
    Code:
    Importing quests ...
        import/q1010004.arc ... success.
    Complete.
    If it doesn't list any files and just goes directly to "Complete." then it didn't import anything.
     
  18. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    Renaming didn't help.
     
  19. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    Derp, sorry, there was a bug in my code that only allowed you to import quest ID 1010002. There's a new release on my github.
    Edit: also I tested it with your quest and it works
     
    Coffee Prosecutor likes this.
  20. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    Yeah, it did the trick now, awesome!