DSHack

Archive Generated December 23rd, 2018
[TUTORIAL] Inserting Mario Kart 7 Hacks: For Dummies!
Author Posted on 2015/11/02
#839
Super Hello there! So you want to hack Mario Kart 7, huh? Well, you came to the right place.

Since ROM Hacking on the latest firmware is now possible thanks to HANS, I decided to make a tutorial to cover it because, well, no one else has, really.

So first and foremost, you're gonna need the following things in order to hack MK7:

* A way of accessing the Homebrew Launcher.

* A Mario Kart 7 RomFS (you can see a tutorial about it here).

* RomFS Builder.

* A hex editor (I recommend HxD).

All right, now that we have everything, let's start.

Building the RomFS

Okay, once you extract the RomFS, you just have to replace the files with whatever you want. Generally, people want to replace the tracks, so just go to romfs > Course and replace them freely. Of course, they have to match the name, so be wary with this.

After it's done, open RomFS Builder and locate the romfs folder with Mario Kart 7 on it, then click Go. Wait until it asks you to locate the file, which should be in the following location:

: > hans (NOT on the 3ds folder).

Once that's set, here comes the following part:

Removing the Hex Bytes

NOTE: Because the newest version of HANS no longer requires you to strip some bytes from the RomFS, this part of the tutorial is no longer neccesary, at least for the people who use the latest version of HANS (why wouldn't you, anyway?).

Okay, now you have to open the file in a hex editor and do the following:

You have to remove bytes from offset column 00000000...

http://i.imgur.com/FoB8Qf8.png
So it should look like this:

http://i.imgur.com/s213CFP.png
You'll want to go to the HANS menu with Mario Kart 7 loaded, so you can know the ID of the title, which should be here:



Only the last 8 digits will be neccesary. So, in my case, the ID and name of the RomFS I have to use is '00030800.romfs'.

Now that that's done, just extract the SD card, start the Homebrew Launcher, HANS, select YES on the SD card option thing and press start. Mario Kart 7 will start and your "hax" will load. Congratulations! You just learned how to insert MK7 hacks (this, in theory, should work with other games, of course).

Don't be shy of making any questions, because that's kinda the point of this thread. If you got anything wrong, just tell me and we can go through it.
...Unless, "of course", you start doing it intentionally, because, oh boy, I'll start shooting arrows at you.

Also feel free to point out stuff I got wrong, or better ways to do it, or stuff like that.

End thread.
Author Posted on 2015/11/08
#906
PabloMK7 I love that you made a tutorial that already exist...
Author Posted on 2015/11/08
#907
Super
I love that you made a tutorial that already exist...


Not really, as your tutorial is for 4.X - 9.2 systems. This one is for all system versions.
Author Posted on 2015/12/05
#1095
MK7tester It's erroring every time right after MK7 boots. :L or it'll just show a black screen

also it's saying the path for the romfs is invalid even though it's the exact right filename
Author Posted on 2015/12/21
#1177
MKGirlism Because I get asked by Japanese people for a Translation a lot, I just made a Japanese Version of this Tutorial:
http://www.mkgirlism.jp/index.php?mode=post&id=7&lang=jp
Author Posted on 2016/05/17
#1720
Louiskovski I need Help!!!
I've followed the tutorial exactly, but when i launch HANS with the right setting, it will hang with a screen with text like "invalidated iCache". What i'm doing wrong?

Thanks in advantage :D
Author Posted on 2016/05/17
#1721
PabloMK7
I need Help!!!
I've followed the tutorial exactly, but when i launch HANS with the right setting, it will hang with a screen with text like "invalidated iCache". What i'm doing wrong?

Thanks in advantage :D

Are you using lastest starter kit?
Author Posted on 2016/05/17
#1722
Louiskovski Yes! I've tried it with the latest versions! I'm using an european 3DS with firmware 9.9.0-26E !
Author Posted on 2016/05/27
#1745
Super
I need Help!!!
I've followed the tutorial exactly, but when i launch HANS with the right setting, it will hang with a screen with text like "invalidated iCache". What i'm doing wrong?

Thanks in advantage :D



Hm, I feel like I wrote something confusing at some part.

Can you show me the name of your RomFS and the region of your MK7 game?
Author Posted on 2016/06/09
#1800
Louiskovski Sorry for my late answer! I found the solution:
I used IRONHAX to start the Homebrew Channel, and HANS ever crashed. Now I tried it with Homemenuhax and it works without any problems!!! ( except blargSNES, which crashes now when starting )
Author Posted on 2017/06/05
#3243
TheNobody uh, I don't see a "sd card option thing."
Author Posted on 2017/06/05
#3244
MKGirlism Because this tutorial is extremely outdated, and the writer doesn't care anymore.
But basically, I think he means "Save configuration", as seen here:
Author Posted on 2017/06/05
#3245
TheNobody Question before we get deep into this: can I use HANs for Mario kart 7 if i got it from the eshop? If so, I dont see it on the target title selector.
Author Posted on 2017/06/05
#3246
MKGirlism You can use it for eShop titles also, but then you'll need to use the left and right keys on your + Pad a lot.
And yes, I mean a lot, because it often doesn't detect presses, for some reason...
Author Posted on 2017/06/05
#3247
TheNobody I never knew you could switch the titles by pressing the d-pad, I'm so stupid. Thank you!
Author Posted on 2017/06/05
#3248
TheNobody sorry to double post but the path is invalid.
My romfs is named : 0030800.romfs
Author Posted on 2017/06/05
#3249
MKGirlism You're missing a 0 before that.
It should read like "00030800.romfs".
So, 3x 0 + 3 + 0 + 6/7/8 (depending on the region) + 2x 0.
Author Posted on 2017/06/05
#3250
TheNobody still have a problem
Author Posted on 2017/06/05
#3251
MKGirlism Are you sure you've put the file in the "hans" directory?
And are you sure the "hans" directory is located on the root of the SD card?

This is how it looks like on my end:


Could you screenshot yours as well?
Author Posted on 2017/06/05
#3252
TheNobody
Author Posted on 2017/06/05
#3253
MKGirlism Move your "hans" folder out of the "3ds" folder.
Then it should work.

Also, pressing Alt + Print Screen will only screenshot the active window, in case you didn't know.

Edit:
I now just see you mixed it up even better.
In that case, leave the "hans" folder where it was, create a new "hans" folder on the root, and move the .romfs file to there.
Author Posted on 2017/06/05
#3254
TheNobody thank you! its working!
Author Posted on 2017/06/20
#3284
Super this tutorial is incredibly outdated

if you are using it by now then don't
Author Posted on 2017/06/20
#3285
テクニカル諏訪子 So I will lock this topic, unless you decide to entirely remake this tutorial.