Search

Query

Log in to VuTales

Username

Password

Sign up

Username (5-13 characters)

Password (6+ characters, and something hard to guess)

Password again

Email (Must be valid)

What is 20 + 5? (Sorry, we have to ask)

VuTales on Discord

Creating / Making Custom MH4U Quests

Tagged as: how to creating create making make mh4u custom quests.

Written by David on July 8, 2015
AY YO, STOP NOW, AND LEMME REDIRECT YOU HERE: http://www.gamefaqs.com/boards/762804-monster-hunter-4-ultimate/72570518

THE STUFF BELOW IS OUTDATED AND MADE BACK WHEN EVERYTHING WAS NEW AND SHIT. IT'S WAY BEYOND THAT NOW. IF YOU STUMBLE ACROSS THIS SOMEHOW THE RESOURCE ABOVE IS INFINITELY MORE USEFUL.

OK THANKS.

Creating Custom MH4U Quests - A simple guide v1.0

A image-based guide on how to start creating your own custom DLC quests.

Acknowledgements

Svan - Creator of tools to encrypt/decrypt files
Kyo_100 of GameFAQs for original guide
APM - Creator of the simple dlc edit tool

Updates

v1.0 - FINAL
Wow, APM has made it so that you literally don't have to do anything except upload. I updated the sections accordingly. TBH this guide is now obsolete LOL. Will keep it for sentimental reasons Kappa
---
v0.4
Updated links
Cleaned up/reworded some sections for easier comprehension (hopefully)
Added a brief FAQ section
---
v0.3
Added APM's complete DLC edit tool
---
v0.2
Added APM's supply box dlc edit tool
---
v0.1 - Original guide write-up

Installation

Necessary files:
Easy (recommended)
SKFU Proxy
APM Full DLC Editor Beta
All decrypted DLC quests
Puu.sh

Easy Tutorial


1. Download all the files...
2. Unzip them...
3. Open them up with the DLC editor
4. Edit whatever fields you want, check FAQ section for more details.
5. Save as ENCRYPTED once you're done.

6. Follow this guide to use it on your N3DS, ignore all the encryption parts: GUIDE by TeamFortifier
7. Alternatively start at step 4b. below.

AND THAT'S ALL FOLKS.

OLD TUTORIAL


Advanced (not recommended)
svanheulen's mhef files to encrypt/decrypt ("Download as Zip")
Python 2.7
PyCrypto
SKFU Proxy
Item Database (data.db)
SQLite Viewer - Portable app recommended
Hex Workshop
APM Full DLC Editor Beta
All decrypted DLC quests
Puu.sh

1. Installing Python and PyCrypto
1a. Run the Python 2.7 installer.
1b. Open up a command prompt (Start->type in cmd->Enter) and type in python - if it works, you will see a dialogue. Type exit() to quit.


If you get this:


Open Start -> Control Panel -> System -> Advanced System Settings -> Environment Variables

Under System Variables, you'll see a Variable called PATH or Path, double click the 'Value' portion, and add ;C:\Python27

So if it was
C:\System32\

It will now be:
C:\System32;C:\Python27



1c. Install the PyCrypto package for Python 2.7. If you have trouble with this part, disable any anti-virus temporarily and try again. They might be detecting it as malicious.

2. Unzipping the rest
2a. Unzip the mhef files, if should be called mhef-master.
2b. Open a command line in mhef-master (You can shift+right click and select "Open Command Prompt in this Folder")

2c. Copy+paste or type in the following command:
python setup.py install

You should see something like this afterwards:

2d. Set up your puu.sh account.
2e. Unzip the decrypted files.
2f. Unzip SKFU proxy.

3. Using APM's DLC editor tool
This part is fairly straight-forward, open up the tool, you'll see something like this.


For the purpose of this guide, we'll use m60239.mib - Protector of Peace, a G1 quest - Kill a Tetsucabra and a Frenzied Tetsucabra

3a. Make a back-up of the decrypted .mib we want to edit. Create a copy, then rename it to m60239_d.mib or something like that.
3b. Click load, and select the m60239_d.mib file to edit.


3c. Change anything as you see fit! Refer to FAQ for description of fields.

4. Encrypting the file and downloading it onto your 3DS.

4a. To encrypt this file into something usable on the 3DS, move the edited file into a new folder, open a command terminal in that folder by and use this command:
python dlc.py e USA m60239_d.mib m60239.mib


This will create a new m60239.mib that you can now download onto your 3DS. If you're in another region, use EUR, JPN, or KOR.

4b. We want to upload this file to puu.sh for use. Open up the puu.sh window:


Change it so that you upload a file when you double-click (my preference), but you can just upload via right click. Upload your m60239.mib file.

Puu.sh will automatically copy the link once you do.

4c. Now make a file using Notepad called rules.httprls and put this in there:
http://goshawk.capcom.co.jp/3ds/mh4g_eu_/m60239.mib
http://puu.sh/iQVUX/c120b9257f.mib << your puu.sh link that was copied
http://goshawk.capcom.co.jp/3ds/mh4g_us_/m60239.mib
http://puu.sh/iQVUX/c120b9257f.mib << your puu.sh link that was copied

An example of a file with many DLC will look like this:


Make sure you save it as 'all' and not as a .txt


4d. Run SKFUpr0xy.exe


Import rules into HTTP(s). It should detect automatically your proxy IP. Setup your 3DS to connect through this proxy, there's plenty of guides on that already. Press Start.

4e. Go on MH4U and download the quest, it will be called Protector of Peace. If you already have it, check it again and redownload + save.

4f. Go to a G-Rank hall, go to event quests, and run it. You should be playing your edited quest instead.

Advanced


Downloading your first DLC quest from Capcom servers
For this example, we'll be using the DLC quest Protector of Peace as our initial subject. It is a G1 rank quest - Kill a Tetsucabra and a Frenzied Tetsucabra

1. Open a command line in mhef-master\tools.

2. Enter this command:
python download_n3ds.py USA m60239.mib m60239.mib
You'll now see a m60239.mib file in your folder. All region codes: USA, EUR, JPN, KOR.
3. Copy this file to the mhef-master\examples\n3ds folder, open another command line here.
4. To decrypt this file into something editable, use this command:
python dlc.py d USA m60239.mib m60239_d.mib


5. Now, open up SQLite browser, and open up Data.db. Go to Browse Data and select the items table.


To find a specific ID of an item, type the EXACT name into the filter. Use Kiranico if you don't know the exact name.

6. Open up the m60239_d.mib with Hex Workshop, you'll see something like this:


So for now, we'll cover how to edit supply box.

Start a search for Hex Values (CTRL + F)


We know from playing the game that this quest's initial supply box has 15 Freeze S.

The item ID in DEC(imal) for Freeze S is 105. We need to convert this to HEX in order to edit our quest.
To do this, use a Dec to Hex webpage, or a notepad++ plugin that converts this stuff automatically.

We see that 105 becomes 69.

These supply box values are in 4 bytes, which means if it ends up being something like 69 we'll add a 0 in front of it. So it becomes 00 69.

However, the way these bytes are in the file are reversed per 2 bytes, so it actually becomes 69 00.

Now, in the supply box there's 15 of these, we convert 15 to hex, to get F. This is also in 4 bytes, so it would be 00 0F. Similarly, inverting this gives us 0F 00.

So if we put this all together, we'll get

69000F00

Searching for this string will bring us to a specific location.

Now, let's say we want to replace this reward with something like a Fatalis Flameshell.

Fatalis Flameshell ID: 1590
->HEX-> 0636 ->INVERSE-> 36 06

So to edit, just click in front of 69 00 and replace with 36 06.



If you want to change that 15 to 99, convert 99 to hex -> 00 63

Invert, 63 00. Replace 0F 00 with 63 00.

You just edited your supply box from 15 Freeze S to 99 Fatalis Flameshells!

F.A.Qs


I have a 32-bit system, and I can't use the installer for the 64-bit system.
It is for x64 bit systems, if you have a x86 (32-bit) system, install the following: Python 2.7 for 32-bit
and PyCrypto for 32-bit

What are the IDs of quests, monsters, and items?
Quest IDs.
Monster IDs
Item IDs
Courtesy of APM

What do all those fields in APM's tool stand for?
Quest Info
Quest ID: The ID of the DLC quest according to this list.
Carve Table: Number of carve tables
Stars: Difficulty
Sub HR: HR deducted on failure
Penalty: HR Points deducted on failure
Sub Cash: Zenny deducted on failure
HR Points: HR points awarded on completion
Fee: Initial zenny paid to start quest
Cash: Zenny awarded on completion
Time: Time limit
Terms 1: Condition that must be fulfilled prior to completing quest
Terms 2: Condition that must be fulfilled prior to completing quest

Quest Objectives
These determine the type of quest (collection, hunting, etc) I wouldn't worry about them too much.

Boss tab
Boss monsters that will appear.

Monsters
Regular monsters that will appear. Go felynes!

Supply Box
Edit the initial supply box here. Double-click then type for a quick search.

Rewards
Edits the 3 reward boxes. Note that % must add up to 100 or else you can't accept the quest later on in game.

Social media

FaceBook Reddit Stumbleupon Google Digg delicious Twitter

Blog details

Rate this blog

3
You must be logged in to vote

Actions

David

Author
July 8, 2015
Submitted on
33065
Views
58
Comments

David's stats

51
Blogs
6654
Blog reads
7178
ID pageviews
47
Friends
February 11, 2017
Last seen
March 20, 2009
Joined

David's blogs

-6>>>

Pages

1 | 2 | 3 | 4 | »

Comments

 
Wed Jul 08, 2015 02:38 AM +

Hey, when I try to decrypt the quest, it tell me that there's no module named mhef.n3ds. I've been told that it's because I haven't installed Pycrypto but I definitely ran the exe and it recognized my version of python. Any idea what I'm supposed to do?

 
 
Wed Jul 08, 2015 03:05 AM +

wert87658 said: Hey, when I try to decrypt the quest, it tell me that there's no module named mhef.n3ds. I've been told that it's because I haven't installed Pycrypto but I definitely ran the exe and it recognized my version of python. Any idea what I'm supposed to do?


Make sure you do this step:
Copy+paste or type in the following command:
python setup.py install

 
 
Wed Jul 08, 2015 04:34 AM +

So i got everything working, now i'm just wondering how do you edit the rewards screen?

 
 
Thu Jul 09, 2015 08:42 PM +

Could you re-upload the item database? The link is dead

 
 
Fri Jul 10, 2015 02:17 AM +

David said:
wert87658 said: Hey, when I try to decrypt the quest, it tell me that there's no module named mhef.n3ds. I've been told that it's because I haven't installed Pycrypto but I definitely ran the exe and it recognized my version of python. Any idea what I'm supposed to do?


Make sure you do this step:
Copy+paste or type in the following command:
python setup.py install


Hi, can I ask how to download a specific DLC like you did? I mean, how do you know the id of the dlc so you can download it to edit it

 
 
Fri Jul 10, 2015 04:15 AM [Edited once ] +

oops duplicate.

 
 
Fri Jul 10, 2015 04:20 AM [Edited once ] +

jamesR said: Could you re-upload the item database? The link is dead


data.db


I'll update the main post.



cyphr013 said:
David said:
wert87658 said: Hey, when I try to decrypt the quest, it tell me that there's no module named mhef.n3ds. I've been told that it's because I haven't installed Pycrypto but I definitely ran the exe and it recognized my version of python. Any idea what I'm supposed to do?


Make sure you do this step:
Copy+paste or type in the following command:
python setup.py install


Hi, can I ask how to download a specific DLC like you did? I mean, how do you know the id of the dlc so you can download it to edit it


You can do this by decrypting this file:http://goshawk.capcom.co.jp/3ds/mh4g_us_/DLC_EventQuestInfo_eng.txt
And matching id's with names.

Here's a decrypted one already: not formatted as well as possible sry

 
 
Fri Jul 10, 2015 08:52 AM +

Thanks a lot david :D

 
 
Fri Jul 10, 2015 10:42 PM +

I downloaded everything you did step by step, but when I tried running python setup.py install on the mhef-master folder I got the error Warning: GMP or MPIR Library not found: Not building Crypto.PublicKey._fastmath.

error: Setup scrip exited with error: Microsoft Visual C++10.0 is required <Unable to find vcvarsall.bat>.
I have looked for Microsoft Visual C++10 and it says I have a newer version of this and that my computer does not meet the requirements to download this.

I also tried carrying on with the steps as if it didn't happen, but when I used the hex editor on the mib file it was totally different from the picture. Any help would be appreciated :)

 
 
Sat Jul 11, 2015 04:44 AM +

bunyan said: I downloaded everything you did step by step, but when I tried running python setup.py install on the mhef-master folder I got the error Warning: GMP or MPIR Library not found: Not building Crypto.PublicKey._fastmath.

error: Setup scrip exited with error: Microsoft Visual C++10.0 is required <Unable to find vcvarsall.bat>.
I have looked for Microsoft Visual C++10 and it says I have a newer version of this and that my computer does not meet the requirements to download this.

I also tried carrying on with the steps as if it didn't happen, but when I used the hex editor on the mib file it was totally different from the picture. Any help would be appreciated :)


Hmm, did you install PyCrypto, the last installer? For Visual C++, try this one: vcredist_x86

 
 
Sat Jul 11, 2015 08:45 AM +

Hey thanks for the guide.
I was really interested in learning how to edit the monsters and their sizes.
I tried figuring it out on my own and I was able to find the hex for the monsters and replace them, but it only replaced the quest requirement , not the monsters that were actually in the quest (leaving it impossible to complete) .
Are you still planning on updating the guide with monster edits?
Thanks

 
 
Sat Jul 11, 2015 01:58 PM +

everything is going well so far im just having a horrible time with the hexing please help?

 
 
Sat Jul 11, 2015 08:50 PM +

Everything is working now, I had to fix my Enviroment Paths so everything would work.
Also, a quick question. Do you have a clue on how to change the name of the custom quests you make? I saw the hr999bot add an extra rule that I assume is for changing the txt info of his quest so it shows something different.

Rule Hr999Bot used for his quest

source: http://goshawk.capcom.co.jp/3ds/mh4g_us_/DLC_EventQuestInfo_eng.txt
destination: http://puu.sh/iOQa8/332eabefe7.txt add rule

 
 
Sun Jul 12, 2015 01:54 AM [Edited 2 times ] +

LordBelial said: Hey thanks for the guide.
I was really interested in learning how to edit the monsters and their sizes.
I tried figuring it out on my own and I was able to find the hex for the monsters and replace them, but it only replaced the quest requirement , not the monsters that were actually in the quest (leaving it impossible to complete) .
Are you still planning on updating the guide with monster edits?
Thanks


Eventually, unfortunately not right now I'm not close to my home computer as I'm travelling. On GameFAQ's the original thread has a lot of developing entries on people posting their findings, but I haven't kept up to date with that either.

bunyan said: Everything is working now, I had to fix my Enviroment Paths so everything would work.
Also, a quick question. Do you have a clue on how to change the name of the custom quests you make? I saw the hr999bot add an extra rule that I assume is for changing the txt info of his quest so it shows something different.

Rule Hr999Bot used for his quest

source: http://goshawk.capcom.co.jp/3ds/mh4g_us_/DLC_EventQuestInfo_eng.txt
destination: http://puu.sh/iOQa8/332eabefe7.txt add rule



This is so that when you go download the DLC that is the only thing that shows up. If you want to change the name of your quest when you go to DOWNLOAD the dlc then this is it. When you play the DLC and you want to change the name of the quest in the guild hall, you actually have to change the name inside the quest itself.

So for example, for the one inside the guide, just open it up, and you will see Protector of Peace on the right hand side, next to all the hexed stuff. You can just replace the title with your own title, and save. Then when you go to the guild hall to post the quest, you will see that the quest name has changed.

jaggiman said: everything is going well so far im just having a horrible time with the hexing please help?


You're gonna need to be a bit more specific. :P

I also added APM's tool on editing the supply box.

 
 
Sun Jul 12, 2015 02:28 AM [Edited once ] +

I've added the hex values on the db if someone want it. U can just copy the hex value and don't need to convert the id:P
PS: sry 4 my bad english:x
PPS: Well i didn't noticed the new tool. Now we don't need this db anymore-.-'

 

Pages

1 | 2 | 3 | 4 | »

Login or sign up

You must be a member to reply or post. You can sign up or log in if you already have an account.