ROM Hack [release] MHX Data Manager

moghedien

Well-Known Member
OP
Member
Joined
Mar 9, 2015
Messages
411
Trophies
0
XP
317
Country
United States
This in an update/expansion of another homebrew app that I made (http://gbatemp.net/threads/release-mhx-quest-importer.410108/). It's now compatible with the JPN, USA and EUR versions of Monster Hunter X.

Features:
  • Copy a character between regions or just to another save slot
  • Import/export/delete DLC quests
  • Backup/restore save file

Always backup your save file before messing with it!
Please report issues here: https://github.com/svanheulen/mhx_data_manager/issues


Source code: https://github.com/svanheulen/mhx_data_manager
Compiled version: https://github.com/svanheulen/mhx_data_manager/releases

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


Edit:
Here's a Python script to convert a Japanese MHX quest to work with MHGen: https://github.com/svanheulen/mhff/blob/master/n3ds/convert_quest.py
MHGen doesn't seem to have a Japanese font though so the text will show up as a bunch of question marks.

Instructions for using the conversion script:
  1. Go to python.org, Downloads > Python 3.5.x
  2. Run the installer you just downloaded, make sure to check the "add to path" option on the first page of the installer, the rest leave default.
  3. Download the script (click the "raw" button, then right click and "save page as..."): https://github.com/svanheulen/mhff/blob/master/n3ds/convert_quest.py
  4. Navigate to the folder you Downloaded the script to, hold the "shift" button and right click on the folder, select the "open command prompt here" option
  5. In the command prompt type "python convert_quest.py inputquest outputquest" (only replace input/outputquest with paths to the actual input and output files you want to use)
WARNING: Please update to v2.3.0+ and do NOT use the "Get Encryption Keys" feature in the older versions. See this post for more info: https://gbatemp.net/threads/release-mhx-data-manager.434848/page-12#post-7366058
 
Last edited by moghedien,

KazeFatalis

Member
Newcomer
Joined
Jan 6, 2016
Messages
23
Trophies
0
Age
32
XP
53
Country
Mexico
I tried to export the dlc japanese from my mhx and import them to the usa version but only a few of them got copied correctly (most of them prowler quests).

4K5NYgB.jpg

pzDN9XK.jpg
 

moghedien

Well-Known Member
OP
Member
Joined
Mar 9, 2015
Messages
411
Trophies
0
XP
317
Country
United States
I tried to export the dlc japanese from my mhx and import them to the usa version but only a few of them got copied correctly (most of them prowler quests).
You can't copy JPN quests directly to the USA/EUR versions of the game. That requires more work since the folder structure inside the quest and file formats are slightly different.
 
  • Like
Reactions: KazeFatalis

justln

Well-Known Member
Member
Joined
Aug 16, 2013
Messages
718
Trophies
0
XP
604
Country
You can't copy JPN quests directly to the USA/EUR versions of the game. That requires more work since the folder structure inside the quest and file formats are slightly different.
Would you be able to edit them for export from MHX to MHGen?
 

_eyCaRambA_

Well-Known Member
Member
Joined
Apr 22, 2009
Messages
525
Trophies
1
Location
Right around the corner™
XP
399
Country
United States
Would you be able to edit them for export from MHX to MHGen?
Most likely yes. It's just a little convoluted since you probably need to unpack all arcs, dupe all the text-related files for all multi5 languages, create the slightly different matching folder structure for the localised version and repack everything appropriately. And since the game is pretty picky with the file order in the archives, I think that might be the most tedious thing to get right.
 

justln

Well-Known Member
Member
Joined
Aug 16, 2013
Messages
718
Trophies
0
XP
604
Country
Is it possible for you to post the converted files or post a link teaching how to run python files? I'm an idiot at this sort of thing.
 

moghedien

Well-Known Member
OP
Member
Joined
Mar 9, 2015
Messages
411
Trophies
0
XP
317
Country
United States
Is it possible for you to post the converted files or post a link teaching how to run python files? I'm an idiot at this sort of thing.
Go to python.org and download/install Python 3.5 (make sure to select the "add to path" option when installing)
Download my script from the above link (click the "raw" button and then right click and save page as)
Go to the folder you saved the script in, hold shift and right click and select "open command prompt here"
Then in the console type "python convert_quest.py path\to\inputquest.arc path\to\outputquest.arc"
Obviously you'll need to give real paths to the input and output files.
 
  • Like
Reactions: justln

justln

Well-Known Member
Member
Joined
Aug 16, 2013
Messages
718
Trophies
0
XP
604
Country
Thanks for the idiot's guide, got Python working and your script worked! Now to convert the 93 DLCs 1 by 1 haha.
 

panotty

Member
Newcomer
Joined
Jul 19, 2016
Messages
8
Trophies
0
Age
34
XP
114
Country
Italy
Thanks for your great work! Only a little help if possible..i'm in trouble to import quest in mh gen eur. Explain better: if i use export option, it works and place extracted quests into a "quest" folder in eur folder, when i use the import option...it shows me again export instead of import function, i give ok and it export asking me to overwrite. I'm doing something wrong or maybe a bug? Thanks in advance for your reply!
 

justln

Well-Known Member
Member
Joined
Aug 16, 2013
Messages
718
Trophies
0
XP
604
Country
Thanks for your great work! Only a little help if possible..i'm in trouble to import quest in mh gen eur. Explain better: if i use export option, it works and place extracted quests into a "quest" folder in eur folder, when i use the import option...it shows me again export instead of import function, i give ok and it export asking me to overwrite. I'm doing something wrong or maybe a bug? Thanks in advance for your reply!
Yup, same issue. Shows "Select the game to export quests from..." for both Import/Export option.
 

moghedien

Well-Known Member
OP
Member
Joined
Mar 9, 2015
Messages
411
Trophies
0
XP
317
Country
United States
Thanks for your great work! Only a little help if possible..i'm in trouble to import quest in mh gen eur. Explain better: if i use export option, it works and place extracted quests into a "quest" folder in eur folder, when i use the import option...it shows me again export instead of import function, i give ok and it export asking me to overwrite. I'm doing something wrong or maybe a bug? Thanks in advance for your reply!
Oops, yeah that's just a typo. I'll fix that later today.
 

justln

Well-Known Member
Member
Joined
Aug 16, 2013
Messages
718
Trophies
0
XP
604
Country
So I exported the quests from MHX, converted, paste them back into the US folder, import them into Gen, go into the game and... nothing. DLC list is still the same with the recently released US DLCs only.
 

panotty

Member
Newcomer
Joined
Jul 19, 2016
Messages
8
Trophies
0
Age
34
XP
114
Country
Italy
Thanks for the idiot's guide, got Python working and your script worked! Now to convert the 93 DLCs 1 by 1 haha.
OMG! Can you post a script sample please....i tried but not able to get working! This is what i write in command prompt: "python convert_quest.py path\to\C:\jap\q1010002.arc path\to\C:\eur\q1010002.arc" .....gives always error of wrong syntax.
 

justln

Well-Known Member
Member
Joined
Aug 16, 2013
Messages
718
Trophies
0
XP
604
Country
OMG! Can you post a script sample please....i tried but not able to get working! This is what i write in command prompt: "python convert_quest.py path\to\C:\jap\q1010002.arc path\to\C:\eur\q1010002.arc" .....gives always error of wrong syntax.

python convert_quest.py D:\MH\q1010003.arc D:\MH\2.arc
 

moghedien

Well-Known Member
OP
Member
Joined
Mar 9, 2015
Messages
411
Trophies
0
XP
317
Country
United States
So I exported the quests from MHX, converted, paste them back into the US folder, import them into Gen, go into the game and... nothing. DLC list is still the same with the recently released US DLCs only.
Did you change the name of the quest files? They need to be named exactly like they are when exported. I tested it with the Japanese "q1010004.arc" quest and it worked for me.
dUyNK7h.png

jQK2Ynq.png


Thank you very much! I'll wait for your fix as if there were no tomorrow!
Fixed the typo and there's a new version on the release page.
 

justln

Well-Known Member
Member
Joined
Aug 16, 2013
Messages
718
Trophies
0
XP
604
Country
Did you change the name of the quest files? They need to be named exactly like they are when exported. I tested it with the Japanese "q1010004.arc" quest and it worked for me.

Fixed the typo and there's a new version on the release page.

Ah, I knew it was something like this. Will report back on the results later.

Edit 1: Works! It was way easier than I thought, used the below command to get all the file names, copy them into Google sheets, some formatting and viola. 9 pages of HR DLCs, didn't crash when I go into one of them.

"Copy Entire List of Files. Hold the "Shift" key, right-click the folder containing a list of files and select "Open Command Window Here." Type "dir /b > filenames.txt" (without quotation marks) in the Command Prompt window. Press "Enter."

Edit 2: Just curious, would it be possible to remove the DLC by themselves instead of restoring a previous savegame?
 
Last edited by justln,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sicklyboy @ Sicklyboy: Can't wait for season 2