[release] MHX Quest Editor

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

  1. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    I made a Monster Hunter X (and Generations) quest editor that runs in your web browser :)
    It's still very much a work in progress so it's still pretty limited (and ugly looking), but it works.

    Current limitations:
    • Only works with decrypted DLC quests.
    • Many of the settings don't have very good descriptions.
    • Small monster info is left in hex because the format is unknown.
    • You have to use other software to proxy quests to the game.
    • Only tested in Firefox on Linux.
    To use the quest editor visit: http://svanheulen.github.io/mhxqe
    When the page loads, use the "browse..." button ("choose file" if you're using Chrome) to open a quest file from your computer. Once that's open, it will give you options to edit each of the files inside of the quest file. Press one of the "edit..." buttons to view that file and when you're all done editing the files press the "save..." button to save the file.

    If you have a question, post it in this thread.
    If you find an actual bug, please submit it here: https://github.com/svanheulen/mhxqe/issues

    Q: Why doesn't my edited quest show up after importing it?
    A: https://github.com/svanheulen/mhx_data_manager/issues/2


    The source code is all available here: https://github.com/svanheulen/mhxqe
    Pull requests are always welcome, so if you can help improve it, please do! Even just some improvements to the descriptions would be helpful :)

    I also released a homebrew to import/export quests directly from the save file (so you don't need to use mhef or a proxy): http://gbatemp.net/threads/release-mhx-data-manager.434848/

    Edit:
    This supports MHGen now as well :)
    (Note: You can't proxy quests into MHGen, use MHX Data Manager to get quests into/out of your save file)
     
    Last edited by moghedien, Aug 18, 2016


  2. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    How do I download this? If I visit the link, it just gives me 2 weird options.
     
  3. _eyCaRambA_

    _eyCaRambA_ GBAtemp Advanced Fan

    Member
    522
    139
    Apr 22, 2009
    United States
    Right around the corner™
    "Download ZIP" -> unpack -> open index
     
  4. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
  5. _eyCaRambA_

    _eyCaRambA_ GBAtemp Advanced Fan

    Member
    522
    139
    Apr 22, 2009
    United States
    Right around the corner™
    That's the proper page (Open and Save button). Open a decrypted quest .arc and you will see more options (rem files etc). Like this:
    [​IMG]

    (Was talking about the source code page btw https://github.com/svanheulen/mhxqe, there's the option to download the zip).
     
    Last edited by _eyCaRambA_, Jan 10, 2016
  6. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    Would you mind explaining the process? I used custom quests on 4U, but this seems waaay out of my league.
     
  7. _eyCaRambA_

    _eyCaRambA_ GBAtemp Advanced Fan

    Member
    522
    139
    Apr 22, 2009
    United States
    Right around the corner™
    Well yeah, it's slightly more complex since they changed up the quest format quite a bit and as svan said, currently it's only possible to edit existing, plain-text quest archives. I uploaded a recent event quest archive for you here so you can play around with it: https://dropfile.to/MmZZS

    questData: text
    setEmMain: boss spawn settings
    emSetList: minion settings
    rem: reward items
    supp: supply items
    questData: settings (level, target, ...)

    Everything's in quite an experimental stage right now, so maybe finish up the vanilla game first and then check back :P
     
  8. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    Derp, sorry, I probably should have explained it a little better. The website IS the quest editor, just use the "browse"/"open" button to open the file. From there you can select which part of the file to edit. Once you've made the changes you want, use the save button to save the edited quest.
     
  9. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    Oops, there was a bug that was causing edits to any integer to fail. Fixed.
     
  10. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    Do you happen to know the data for the current event quests? (preferably the Uragaan-Quest)

    Also, if I edited it, how does it go from there? Upload it via puush and post it via skfu Proxy or something? (Did that a long time ago, so my memory is somewhat fuzzy)
     
  11. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    You can use my mhef code to download/decrypt/encrypt the quests: http://gbatemp.net/threads/mhx-dlc-encryption.404331/
    There's a file on the server called "eventQuestList.bin" with all the quests listed in it (use a hex editor to view it) and the quests are in a folder called "arc/quest"
    For instance the Uragaan quest can be downloaded from "arc/quest/q1010004.arc"

    Exactly, and don't forget to re-encrypt it.
    I'm also going to make a 3DS homebrew for extracting/adding quests directly to your save file (which might be easier then using a proxy), but not sure when I'll have that done.
     
  12. Coffee Prosecutor

    Coffee Prosecutor Asking too much.

    Member
    218
    37
    Jan 3, 2016
    Gambia, The
    Hmmm, could I request you to make a quest for me, as I am afraid, I could do something dumb.
     
  13. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    No.
     
    _eyCaRambA_ likes this.
  14. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
  15. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    I also made some changes to the editor. It now has working dropdowns for all item and monster lists :)
     
    Jan Tan likes this.
  16. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    Major update, you can now...
    • Create a quest from scratch using the "New..." button.
    • Add or remove files from the quest.
    • Change the order of the files in the quest.
    • Add or remove small monsters.
     
  17. satpler

    satpler Member

    Newcomer
    16
    2
    Nov 12, 2015
    umm.... What's the difference between scale and scale table? Does table work with scale range?
    ----------------
    I solve it
     
    Last edited by satpler, Jan 15, 2016
  18. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    I got all of the variable names from the game's code, so not all of them make sense. For those variables, I haven't experimented with them yet, but I believe you're right. The scale appears to be a percentage and the scale table is probably a reference to a size range (probably in another file).
     
    satpler likes this.
  19. jscjml

    jscjml Monster Hunter

    Member
    244
    89
    Jan 4, 2015
    United States
    Las Vegas
    Also watch out on certain things in the quests, I had an english titled quest and after completing it my game would lock up every time i tried opening my Guild Card, thank god i make alot of backups. Just letting you guys know.
    The same thing happened when trying to make a quest name that was particularly long, even in Katakana etc. It worked fine using "Ibento" in Katakana or small words, maybe theres a character limit. I would just leave the names default until we figure it all out.

    edit: Do note that i was only editing "Title" in the quest for these situations. I never touched "Unknown" the box above it. Some of those titles come things like "Women's Regional Finals: Gore Magala" so maybe those are hidden titles for if the quests are used in MH Tournaments in Japan.
     
    Last edited by jscjml, Jan 16, 2016
  20. moghedien
    OP

    moghedien GBAtemp Fan

    Member
    411
    247
    Mar 9, 2015
    United States
    Hmmm, was the title unusually long? Either way, you should be able to fix that (without having to restore a backup) by just doing regular quests until the problem title gets pushed off your hunter's log.
     
    jscjml likes this.