Tutorial  Updated

How to combine updates with your game

Before we begin, very important note:

  1. This tutorial is for firmware <=9.2
    However, if you're able to get the romfs and exefs decrypted from other sites, it'll serve your purpose.
  2. The example I'm using is for Pokemon
  3. If you set HANs to a different region from your 3DS, you won't be able to connect online :(
  4. This is primarily for game-breaking patches, rather than online use.
  5. Make sure you're using the newest of newest HANs, the one that allows eshop use for uses under FW10.

Other tutorials you'll need to refer to:

Decrypting and extracting CIA
Decrypting and extracting Rom


Step 1:
Decrypt and extract the Update CIA. (you can find it on a certain site, don't ask)
Make sure you extract the exefs/code.bin option and get a .code.bin file. (it is gonna be around 5312 KB)

Rename this .code.bin from the Update file as <Title ID>.code
Example: 0011C500.code

You're also going to need the extracted romfs folder from the update file.

Step 2:
Extract the romfs from the game.

Step 3:
Paste the romfs from the update file into the romfs of the game.
When it prompts, replace everything.

Step 4:
Rebuild romfs as a single file.
Name it as <Title ID>.romfs
Example: 0011C500.romfs

Step 5:
Create a hans folder on the root of your SD card.
(Example sd:/hans DO NOT TOUCH THE HANS FOLDER IN THE 3DS FOLDER)

Step 6:
Copy both the .code and .romfs file into the sd:/hans

Step 7:
Launch the game in HANs,
Set the region to be same region as your 3DS
Set the code -> SD and romfs -> SD to Yes

Proof (of sorts)
VpH9h90.png

IFhYZPC.png


Don't ask me why Jeff is a female; not my cartridge.


Enjoy!
(such a pity, I wanted to connect to Korean Pokemon Wifi; probably won't work because Secureinfo mismatch)

Special thanks:
Everyone who found and exploited the exploits
Gudenaurock's Layered FS guide that gave me the idea
Asia81's tutorial allowed for me to do the test.
 
Last edited by Queno138,

WiseHorror

Well-Known Member
Newcomer
Joined
Sep 12, 2009
Messages
77
Trophies
0
Age
30
Location
Lisbon, Portugal
XP
289
Country
Portugal
I've been searching for a decrypted update file for EUR Alpha Sapphire and X/Y for hours, but I only found encrypted cia update. It sucks to have both my 3DS's on 10.3. If only there was a way to extract cia files without needing to be on <=9.2
 
Last edited by WiseHorror,

Queno138

Ravens
OP
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
I've been searching for a decrypted update file for EUR Alpha Sapphire and X/Y for hours, but I only found encrypted cia update. It sucks to have both my 3DS's on 10.3. If only there was a way to extract cia files without needing to be on <=9.2

You'll probably have to go over to the certain ISO site and request for the dumped and decrypted files.

I saw that someone was uploading romfs for rom hacks.
It may be possible to set up a thread to collect romfs and code.bin there
 

WiseHorror

Well-Known Member
Newcomer
Joined
Sep 12, 2009
Messages
77
Trophies
0
Age
30
Location
Lisbon, Portugal
XP
289
Country
Portugal
You'll probably have to go over to the certain ISO site and request for the dumped and decrypted files.

I saw that someone was uploading romfs for rom hacks.
It may be possible to set up a thread to collect romfs and code.bin there
EDIT: Never mind... I'm just dumb
 
Last edited by WiseHorror,

Neru

Well-Known Member
Member
Joined
Feb 11, 2015
Messages
371
Trophies
0
Age
26
XP
1,335
Country
United States
When you dump everything using the Hack Pack. There should be an option to decompress it.
(this is during the dump)



Also, make sure you're using the newest HANs 2.5

It doesn't require you to remove 1000bytes from the romfs
I did decompress it, and also have the latest Hans. Still getting the same error. I guess it doesn't work for Smash at all.
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,493
Country
France
I will upload all decrypted eur updates where you know.
Can do it for usa too, but need to have cia (If you have, send me the link where you know)
 
  • Like
Reactions: SomeGamer

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,902
Country
Hungary
I will upload all decrypted eur updates where you know.
Can do it for usa too, but need to have cia (If you have, send me the link where you know)
Thanks a lot! Could you PM me the links once you're done? Also, could you do this with DLC you own?
 

Acryt

Well-Known Member
Member
Joined
Aug 22, 2015
Messages
310
Trophies
0
XP
169
Country
United States
Can't get this to work with ORAS, game simply won't ever go to menu. Can't figure out why. I'm using PK3DS to pack the files with all the update romfs.

Also the code.bin needs to be merged correctly with the original code.bin from the game i'm guessing? Which is not something I've done before. Because just placing it in the folder of HANS doesn't seem to work, and not going to because it's only ~2800kb. When I do get the proper ~5312kb code.bin, HANS gets the error that would lead us to this thread:
https://gbatemp.net/threads/trouble-running-custom-code.400822/

Game doesn't load either without a code.bin, so I've no idea.

If anyone gets this to work with the files Asia has uploaded, please post back.
 
Last edited by Acryt,

~Poke~

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
260
Trophies
0
XP
144
Country
Can't get this to work with ORAS, game simply won't ever go to menu. Can't figure out why. I'm using PK3DS to pack the files with all the update romfs.

Also the code.bin needs to be merged correctly with the original code.bin from the game i'm guessing? Which is not something I've done before. Because just placing it in the folder of HANS doesn't seem to work, and not going to because it's only ~2800kb. When I do get the proper ~5312kb code.bin, HANS gets the error that would lead us to this thread:
https://gbatemp.net/threads/trouble-running-custom-code.400822/

Game doesn't load either without a code.bin, so I've no idea.

If anyone gets this to work with the files Asia has uploaded, please post back.
I'm guessing you got an incomplete download, because I grabbed the decrypted update from that place just a moment ago and it gave me a 5,312KB code.bin.

That said, I'm stumped on how to merge this code with the star sapphire code... is there any way to unpack it? Or should I just be getting diffs with a hex editor?
 

WiseHorror

Well-Known Member
Newcomer
Joined
Sep 12, 2009
Messages
77
Trophies
0
Age
30
Location
Lisbon, Portugal
XP
289
Country
Portugal
I just merged my Alpha Sapphire romfs with update 1.4 romfs, and placed 0011C500.code on hans folder, as well as 0011C500.romfs. Can't connect to internet, Error 002-0120. Even though on file select screen it says Version 1.4
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    Cool. I got Prime
  • The Real Jdbye @ The Real Jdbye:
    prime deez nuts
  • AncientBoi @ AncientBoi:
    okies :D put 'em here :O
  • K3Nv2 @ K3Nv2:
    The mutated Axolotl was awesome
  • S @ salazarcosplay:
    I don't have prime, I order once I am orderign $35 worth of stuff
  • K3Nv2 @ K3Nv2:
    I bet you don't pirate game either
  • Sicklyboy @ Sicklyboy:
    I even convinced my dad to watch Fallout lol. He's enjoying it so far
    +1
  • K3Nv2 @ K3Nv2:
    They really wanna get the head
  • SylverReZ @ SylverReZ:
    Also nice. Never really watched Fallout on Prime, but sounds like a good show.
    +1
  • Bunjolio @ Bunjolio:
    legit nobody irl knows I'm trans(it hasn't been long enough yet)
  • SylverReZ @ SylverReZ:
    @Bunjolio, Be really careful out there. There are people who use trans people to their advantage, and its really sad in general. :(
  • Bunjolio @ Bunjolio:
    also scary
  • SylverReZ @ SylverReZ:
    @Bunjolio, Chasers and homophobia.
  • SylverReZ @ SylverReZ:
    They're very common on social media.
  • Bunjolio @ Bunjolio:
    ik about the phobias Im used to it but what's a chaser
  • SylverReZ @ SylverReZ:
    Whoever you disclose your gender identity to, keep it private between your friends.
  • Bunjolio @ Bunjolio:
    irl or online
  • SylverReZ @ SylverReZ:
    Nobody is safe.
  • Bunjolio @ Bunjolio:
    eh I don't keep it private, not much happens except idiots on TikTok making a fool of themselves
  • Bunjolio @ Bunjolio:
    im still curious as to what a chaser is tho
  • SylverReZ @ SylverReZ:
    @Bunjolio, A chaser is someone who uses (mostly trans) individuals to their advantage, stuff that they are uncomfortable about.
  • Bunjolio @ Bunjolio:
    thats weird
    Bunjolio @ Bunjolio: thats weird