SHARE
TWEET

[Team If] thedude28's Comprehensive Patching Guide

luyairis Apr 10th, 2016 7,360 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. thedude28's (kinda) extensive guide to patching Fier embum faets/ eff v1.1:
  2.  
  3. You will need:
  4. -A 3DS that you're willing to hack/get homebrew for
  5. -Homebrew
  6. -Shadowtrance's Decrypt9 (for homebrew)
  7. -Gateway Launcher (for homebrew)
  8. -Python 2.7 (the latest version, not 2.7.0)
  9. -(Recommended but not required) An SD card with a size of 8gb or larger
  10. -Retail version of the game (doesn't matter which version)
  11.  
  12. ==============================================================================================
  13. ----------------Part 1: Checking your 3DS firmware and then getting Homebrew------------------
  14. ==============================================================================================
  15.  
  16. This can be done by going to system settings and checking your firmware version.
  17.  
  18. If you don't want to read and use a flowchart instead, here's a link to it:
  19.  
  20.                     --> http://imgh.us/3DSHex.svg <--
  21.  
  22. ----------------------------------------------------------------------------------------------
  23. -----If your 3DS is on the latest firmware (10.7.0) as of the time of writing (3/27/2016)-----
  24. ----------------------------------------------------------------------------------------------
  25. You can temporarily patch the game via HANS, or you can downgrade to 9.2 and get CFW to apply
  26. a permanent patch.
  27.  
  28. You can access all online functions within the game, and you can get DLC if your 3DS is the
  29. same region as the game's region.
  30.  
  31. Your options for homebrew are limited to:
  32. -Ninjhax
  33. -OoTHax (with or without a powersave)
  34. -SmashHax (only on N3DS)
  35.  
  36.  
  37. ----------------------------------------------------------------------------------------------
  38. -------------------------If your 3DS is on firmware less than 10.7.0--------------------------
  39. ----------------------------------------------------------------------------------------------
  40. You can temporarily patch the game via HANS, or you can downgrade to 9.2 and get CFW to apply
  41. a permanent patch.
  42.  
  43. If you choose to patch the game via HANS, you may not be able to access the eShop to get DLC because
  44. you are not on the latest firmware.
  45.  
  46. If you are on firmware 10.6.0, your options for homebrew are:
  47. -Ninjhax
  48. -OoTHax (with or without a powersave)
  49. -SmashHax (only on N3DS)
  50.  
  51. If you are on firmware 10.5.0, you have more options:
  52. -Everything listed above
  53. -MenuHax
  54. -BrowserHax
  55.  
  56. If you are on firmware less than 10.5.0, you have even more options:
  57. -Everything listed above
  58. -TubeHax
  59. -IronHax
  60. -And some other ones that I may have forgotten
  61.  
  62. ----------------------------------------------------------------------------------------------
  63. -------------------------------------About Homebrew-------------------------------------------
  64. ----------------------------------------------------------------------------------------------
  65. Homebrew is 100% safe and will not hurt your 3DS in any way shape or form.
  66.  
  67. The objective here is to get Homebrew for your 3DS so that you can either downgrade or use HANS.
  68.  
  69. Details on how to install homebrew from the entry points listed above can be found here:
  70.  
  71.                         ---> http://smealum.github.io/3ds/ <---
  72.  
  73. About TubeHax DNS: It is a Connection Setting (in Internet Settings) that automatically blocks
  74. updates and also prevents you from using the eShop too. It is completely optional if you wish to use it.
  75.  
  76. I will not be listing the steps on how to install homebrew here, there are plenty of tutorials out there, so just google it.
  77.  
  78. ----------------------------------------------------------------------------------------------
  79. ------------------------------------------About CFW-------------------------------------------
  80. ----------------------------------------------------------------------------------------------
  81. If your firmware is >9.2, you'll need to downgrade to firmware 9.2.0 in order to get CFW.
  82.  
  83. If your firmware is between 9.2 and 9.0, you're good to go.
  84.  
  85. However, downgrading is not 100% safe, regardless of how much research you do.
  86.  
  87.  
  88. Here are a few options for CFW and some notes about them:
  89. ---------------------------------------------------------
  90. -ReiNand and CakesFW
  91. --Minimalist CFW, provides the bare minimum of what you need.
  92. --ReiNand removes regionlock, while CakesFW does not.
  93.  
  94. -AuReiNand
  95. --Basically ReiNand with more compatibility.
  96. --Minimalist CFW, provides the bare minimum of what you need.
  97. --Removes region lock
  98.  
  99. -RxTools
  100. --CFW with lots of tools that you'll probably never utilize (but still nice to have).
  101. --Supposedly the bootrates are lower than ReiNand/Cakes?
  102. --Removes region lock
  103.  
  104. -Gateway CFW
  105. --DOES NOT ALLOW YOU TO PLAY CUSTOM DLC (Unless you tinker with it some more)
  106. ----Translated DLC counts as custom DLC as well.
  107. --Requires the Gateway RED card (you'll have to buy that)
  108. --Gateway Red is also a flashcard
  109. --Removes region lock
  110.  
  111. -Arm9LoaderHax (or A9LH)
  112. --Currently the "best" CFW out there
  113. --Tedious to set up
  114. --Definitely the riskiest CFW to set up (for noobs)
  115. --Able to boot into CFW from SysNand in mere seconds
  116. --Currently (at the time of writing) a few CFWs are compatible with A9LH
  117. ----AuReiNand, CakesFW, and Gateway (Not compatible yet, but is PLANNED™) are compatible.
  118.  
  119. ------ALL CFW CAN BE UPDATED TO THE LATEST VERSION (I don't know about RxTools though)------
  120.  
  121.  
  122. I will not be listing the steps on how to install CFW here, there are plenty of tutorials out there, so just google it.
  123.  
  124. Please note that some guides you may encounter are outdated, so be sure that the guide you're following is up to date.
  125.  
  126.  
  127. ----------------------------------------------------------------------------------------------
  128. ----------------------------Decision of Fate (Picking CFW or HANS)----------------------------
  129. ----------------------------------------------------------------------------------------------
  130. In this section I will describe the Pros and Cons of HANS or CFW.
  131.  
  132. Pros and Cons of HANS:
  133. ----------------------
  134. +Easy to use
  135. +Less work to set up
  136. +Works just as well as if you played it on CFW
  137. +Does not mess around with saves
  138. -You have to use HANS every time you want to use the patch
  139. -May not be able to recognize DLC
  140. -May not be able to use online functions (depending on your 3DS region and firmware)
  141.  
  142. Pros and Cons of CFW:
  143. ---------------------
  144. +Once you have CFW set up, you have more freedom with what you can do to your 3DS
  145. +Works just as well as if you played it on HANS
  146. +You can permanently patch the game
  147. +You will be able to access online functions/eShop (depending on your 3DS region)
  148. -(Gateway users only) Cannot play modified DLC
  149. -Downgrading is not 100% safe and MAY brick your 3DS (applies to those who need to downgrade)
  150. -Lots of work to do just to set it up
  151.  
  152. It is completely up to you to decide which one you want to use, I will be mainly covering the CFW option.
  153.  
  154. ==============================================================================================
  155. ---------------------------------Part 2: Preparing the patch----------------------------------
  156. ==============================================================================================
  157. This part assumes that you have Homebrew set up, and that you can consistently access it.
  158.  
  159. The next step depends on if you picked CFW or HANS.
  160. If you want to do the work for CFW, but still use HANS, follow the steps for CFW below.
  161.  
  162. If you plan on patching the game HANS, MyLegGuy wrote a guide (with pictures) for that here:
  163.  
  164.                     ---> http://wololo.net/talk/viewtopic.php?f=80&t=45669 <---
  165.  
  166.  
  167. The steps listed below are for CFW Users.
  168.  
  169. Step 1: Dumping the game into a .3ds file
  170. =============================================
  171. You have a few options here, and it doesn't matter which option you pick.
  172. I'm also sure that there are other ways of dumping it, but I will be focusing on using the Gateway Launcher since it is pretty easy to use.
  173.  
  174. -------------------------------------------------------------------------------------
  175. NOTE: YOU DO NOT NEED GATEWAY TO ACCESS THE GATEWAY LAUNCHER, YOU JUST NEED HOMEBREW
  176.  
  177.       YOU ALSO NEED TO BE ON FIRMWARE VERSION 9.2 OR LESS TO USE THE GATEWAY LAUNCHER
  178. -------------------------------------------------------------------------------------
  179.  
  180. First we will be downloading Gateway. All you need to do is go to this website:
  181.  
  182.                     ---> http://www.gateway-3ds.com/downloads/ <---
  183.  
  184. And download the latest version of "Firmware GW"
  185.  
  186. Once you have that downloaded, extract the folder inside and place it anywhere.
  187.  
  188. Insert your 3DS SD Card and copy the following into the root of the SD card:
  189. -a 3ds folder found in "GW_3dsx.zip" (when prompted to merge folders, select yes)
  190. -Launcher.dat found in the folder "GW_Ultra_3.7.1_BETA"
  191.  
  192. Once you have done that, start up homebrew and select Gateway.
  193.  
  194. Now that you're in the Gateway Menu, the option we will be selecting is the "Backup 3DS Game Cartridge"
  195.  
  196. Once you have selected "Backup 3DS Game Cartridge" insert your copy of Fire Emblem and press START.
  197.  
  198. Now you will have to wait a while for it to dump the game.
  199.  
  200. Once it has finished, you will need to power off your 3DS. (You can do this quickly in the Gateway Menu by holding L+R+B+Down)
  201.  
  202. Insert your SD card again and you will find a new file with the extension ".3DS"
  203.  
  204. Copy this file onto your computer (can be anywhere you want), and now you have a personal dump of the game!
  205.  
  206. Step 2: Getting Xorpads
  207. =======================
  208. This step assumes that you have Python 2.7.X installed.
  209.  
  210. Download Shadowtrance's decrypt9 and extract it to wherever you want.
  211.  
  212. Inside the decrypt9 folder there will be a folder named "scripts"
  213.  
  214. Drag and drop your .3DS file on top of the file "ncchinfo_gen.py"
  215.  
  216. This will generate a ncchinfo.bin file. We will need that later.
  217.  
  218. -------NOTE-------
  219. If you cannot drag and drop your .3DS file on top of it, you will need to move your .3DS file to the scripts folder.
  220.  
  221. Then you CTRL+SHIFT+Right Click anywhere in the folder to open up a menu.
  222.  
  223. Then you click "Open Command Window Here" and a command prompt opens up.
  224.  
  225. Then type the command "python ncchinfo_gen.py <INSERT NAME OF .3DS FILE HERE>.3ds"
  226.  
  227. This will generate a ncchinfo.bin file. We will need that later.
  228. ------------------
  229.  
  230. Now that you have a ncchinfo.bin file, set up decrypt9 on your 3DS.
  231.  
  232. Do this by copying the "Decrypt9UI" folder to the "3ds" folder for homebrew.
  233.  
  234. You will also need to copy D9UI to the root of your SD card, as well as create a new folder called "Decrypt9" on the root of your SD card.
  235.  
  236. In the folder Decrypt9, paste your ncchinfo.bin as well as slot0x25KeyX.bin in it
  237.  
  238. You can find slot0x25KeyX.bin on the internet, I will not be linking it because that is illegal.
  239.  
  240. At this point your SD card should have the following files/folders in it:
  241.  
  242. 3ds
  243. -Decrypt9UI (inside 3ds)
  244. -GW (inside 3ds)
  245.  
  246. Decrypt9
  247. -slot0x25KeyX.bin (inside Decrypt9)
  248. -ncchinfo.bin (inside Decrypt9)
  249.  
  250. Launcher.dat
  251. D9UI
  252.  
  253. If you have all of the above on your SD card, boot up decrypt9 from homebrew.
  254.  
  255. Once decrypt9 loads up, select NCCH PADGEN (it should be the first option highlighted anyways)
  256.  
  257. Then you sit down, have a snack or something, and wait for it to decrypt and generate Xorpads.
  258.  
  259. Now reinsert your SD card and go inside the Decrypt9 folder and check the Xorpads you obtained.
  260.  
  261. You should get 7 xorpads in total, and 4 of them are needed:
  262.  
  263. Xorpads Needed:
  264. ---------------
  265. Main.exefs_7x
  266. Main.exefs_norm
  267. Main.exheader
  268. Main.romfs
  269.  
  270. Xorpads Not Needed:
  271. -------------------
  272. Manual.romfs
  273. Partition7.romfs
  274. UpdateData.romfs
  275.  
  276. If you do not have all the Xorpads Needed, you probably did something wrong.
  277.  
  278. If you do have all of them, congrats! You're almost done!
  279.  
  280. ==============================================================================================
  281. ----------------------------------Part 3: Patching the Game-----------------------------------
  282. ==============================================================================================
  283. If you haven't downloaded the patch by now, you should download it now.
  284.  
  285. Create a new folder where you'll be placing everything to patch the game, it'll keep everything neat and organized.
  286.  
  287. So extract the patch into the workplace folder, then create a new folder called "Xorpads" and throw all your Xorpads you generated in there.
  288.  
  289.  
  290. EXTRA Step: Combining all patches (RESTORATION PATCH USERS ONLY)
  291. ================================================================
  292. If you are using the restoration patch and want to combine patches, all you need to do is extract them all into one location and merge folders.
  293.  
  294. Then you'll need to go inside the "patch" folder and create a new empty folder called "exe"
  295.  
  296. You don't necessarily need to put anything in "exe", so you can leave it alone.
  297.  
  298. So it should look something like this:
  299.  
  300. -patch
  301. --rom (inside patch, this is the contents of what you're patching)
  302. --exe (inside patch, an empty folder)
  303. ================================================================
  304.  
  305.  
  306. Extract the patcher and throw that in workplace folder, as well as your dump of the game, and that should be everything you need.
  307.  
  308.  
  309. Here's what it should look like:
  310. --------------------------------
  311. -patch
  312. --rom
  313. --exe
  314.  
  315. -Xorpads
  316. --All the xorpads needed
  317.  
  318. YourDumpedGame.3ds
  319. Fire Emblem If+Fates Patcher.exe
  320. --------------------------------
  321.  
  322.  
  323. If your workplace folder does not have the all of the things listed above, you did something wrong.
  324.  
  325. Now you'll open up the patcher, and link your ROM, your Xorpad Folder, and your Patch folder.
  326.  
  327. Validate Xorpads, let it do its thing, then you'll be presented with an option to build a .3ds or a .cia
  328.  
  329. These two file types can only be used with CFW:
  330. -A .cia file can be installed on any 3DS with a title manager (such as FBI/DevMenu/BBM, you should have one installed in EmuNAND/A9LH)
  331. -A .3ds file can only be used on a Gateway Red card (and not a Sky3DS because Sky3DS cannot handle modified roms)
  332.  
  333. So select whatever format you want, and have fun!
  334.  
  335.  
  336. EXTRA Step: Making this HANS compatible
  337. =======================================
  338. Just in case you're too lazy and don't want to scroll back up, I'll link his guide again.
  339.  
  340.                     ---> http://wololo.net/talk/viewtopic.php?f=80&t=45669 <---
  341.  
  342. When you patch the game and it spits out a patched version of it, it generates a tmp folder.
  343.  
  344. This folder has the "rom" folder, which we will need.
  345.  
  346. So first you will want to create a backup, in case something goes wrong.
  347.  
  348. Then you will want to take the "rom" folder of your patch, and merge it with the folder in "tmp". Overwrite whatever's in there.
  349.  
  350. Then you take the "rom" folder in "tmp" and use that to rebuild your RomFS
  351.  
  352. Refer to MyLegGuy's tutorial to rebuild your romfs (step 10 onwards, you can find RomFS builder at the top of his post)
  353. =======================================
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top