ROM Hack [Tutorial] Edit the HomeMenu

duffmmann

Well-Known Member
Member
Joined
Mar 11, 2009
Messages
3,966
Trophies
2
XP
2,306
Country
United States
If someone with a disassembler wants to edit the decompressed .code.bin (as extracted by step1 it's compressed), maybe...

not that I would want anything close to 300 titles with the crap performance of any 9.0+ home menu!

Hmm, at just about 300 titles, I don't notice crap performance on my home menu (I am on a N3DS if that makes a difference), so I'm not sure what you're referencing there.
 

PabloMK7

Red Yoshi! ^ω^
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,032
Country
Spain
I just successfully replaced the default yellow theme with my custom theme, however the previous used theme music will play :P
To open most of the LZ files, you can use Every File Explorer.

Also, if you install the cia again (using FBI), it will say title already exist, and will brick.
 
  • Like
Reactions: olec04

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,916
Country
Italy
Hmm, at just about 300 titles, I don't notice crap performance on my home menu (I am on a N3DS if that makes a difference), so I'm not sure what you're referencing there.
It's not related to having many icons, the performance of any modern home launcher sucks overall compared to the 8.1 and under ones :)
 

tomx86

Well-Known Member
Member
Joined
Jun 3, 2015
Messages
778
Trophies
0
Age
38
XP
2,190
Country
Poland
WARNING: This will affect your HomeMenu, it's a critical core of the 3DS. Be sure to have a HardMod, or A9LH for recover a BRICK (I used it once, I got a brick the first time I did it. A9LH saved me) . Or your can do it on your EmuNand, but be sure to also backup your EmuNand before.

0) Download:http://www45.zippyshare.com/v/ohjEXrcU/file.html
1) Download, with 3DNUS the CIA of your HomeMenu (Latest Version):
JPN: 0004003000008202 v27648
USA: 0004003000008F02 v25600
EUR: 0004003000009802 v24576

2) Rename the CIA HomeMenu.cia.
3) Decrypt it using Decrypt9 -> Game Decryptor Options -> CIA Decryptor (Deep).
1461869653-screen1.png


4) Take now the decrypted CIA and put it in the HomeMenuEdition folder.
5) Run Part1.bat, it will extract all decrypted files, then it will extract them.

Do all your edits now.
Most of files are LZ11 compressed, you should decompress them before editing, then recompress them.
2 ways: DSDemcp GUI in 3DS explorer, or the LZ11 decompressor in "MSBT Editor Reloaded". Once a file is edited, you need to recompress it. Just use the Compressor / instead Decompressor, then fix the file name, and delete the old compressed and the uncompressed.

6) Start Part2.bat. No need to repack your RomFS, it will be done automatically. All your files should be packed in a new cia HomeMenu_Edited.cia.
7) Encrypt HomeMenu_Edited.cia using Decrypt9 -> Game Decryptor Options -> CIA Encryptor (NCCH).
1461873707-screen2.png


8) Once the CIA is encrypted, then you can install it. No need to delete the previous CIA, install it will overwrite the old one.
9) Reboot. Then pray or have A9LH. Check if you see your edits.

Some Screens:
1461874363-01.jpg
1461874360-02.jpg
1461874355-03.png

Q: Can we...
A: NO!

Q: How to...
A: I don't know.

Q: What can you do with it?
A: I don't know.
Hi, I did everything like in the Tutorial, but when I trying to use the "NCCH/NCSD Encryptor", I get a massage "Nothing fount in /D9Game/!" but I did put "HomeMenu_Edited.cia" in that folder on my SD (and yes it is compressed in LZ11). So what now?
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,916
Country
Italy
Hi, I did everything like in the Tutorial, but when I trying to use the "NCCH/NCSD Encryptor", I get a massage "Nothing fount in /D9Game/!" but I did put "HomeMenu_Edited.cia" in that folder on my SD (and yes it is compressed in LZ11). So what now?
You mustn't compress the cia with lz11, just the MSBT you had to decompress :)
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,916
Country
Italy
By "and yes it is compressed in LZ11" I meant that I compressed the edited MSBT, and then by using "Part2.bat" made the "HomeMenu_Edited.cia".
Ah, good, I just noticed that you simply used the wrong option in D9 - while the result is encrypting the CXI (a type of NCCH), you're working on a CIA so the correct option is "CIA Encryptor"!
 

MsMidnight

part time fe modder
Member
Joined
Oct 12, 2015
Messages
1,753
Trophies
0
Location
kys
Website
camilla.hostfree.pw
XP
1,437
Country
wait, on the topic of ntr, since FBI cant extract system cias from the nand and install it allowing us to have the ntr injected mode home menu unless it does something else (i read of NTR applying itself to home menu somewhere)
 

tomx86

Well-Known Member
Member
Joined
Jun 3, 2015
Messages
778
Trophies
0
Age
38
XP
2,190
Country
Poland
Ah, good, I just noticed that you simply used the wrong option in D9 - while the result is encrypting the CXI (a type of NCCH), you're working on a CIA so the correct option is "CIA Encryptor"!
Where? In the "Game Decryptor Options" I got only those options:
====================
NCCH/NCSD Decryptor
NCCH/NCSD Encryptor
CIA Decryptor (shallow)
CIA Decryptor (deep)
CIA Decryptor (for GW)
SD Decryptor/Encryptor
===================
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,658
Trophies
3
Age
29
XP
3,504
Country
France
Where? In the "Game Decryptor Options" I got only those options:
====================
NCCH/NCSD Decryptor
NCCH/NCSD Encryptor
CIA Decryptor (shallow)
CIA Decryptor (deep)
CIA Decryptor (for GW)
SD Decryptor/Encryptor
===================
Very old d9
Update it
 
  • Like
Reactions: Ryccardo

MasterLel

Cooonfusion of da highest orda
Member
Joined
Mar 14, 2015
Messages
1,244
Trophies
0
Location
France
Website
gbatemp.net
XP
587
Country
France
Nice script, it makes the whole process easier.

Now we need a bclan editor, so we can edit the menu apparence, the positions etc... I've already tried to manually edit bclan files on Animal Crossing New Leaf, the result was... not good.
 
Last edited by MasterLel,
  • Like
Reactions: Deleted User

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,658
Trophies
3
Age
29
XP
3,504
Country
France
Part1 is for extract
Part2 for Rebuild

You can use it for another system title, but you need to edit the batch to match the extracted files.

I will also release soon the script for rebuild any update in CIA, and not just XY/ORAS.
But there is a need of a base update, we will extract it, edit, and repack.
So I don't mean create an update in CIA from "nothing"

--------------------- MERGED ---------------------------

Nice script, it makes the whole process easier.

Now we need a bclan editor, so we can edit the menu apparence, the positions etc... I've already tried to manually edit bclan files on Animal Crossing New Leaf, the result was... not good.
And I want change grey for pink, on the power-off screen xD
 

MasterLel

Cooonfusion of da highest orda
Member
Joined
Mar 14, 2015
Messages
1,244
Trophies
0
Location
France
Website
gbatemp.net
XP
587
Country
France
And I want change grey for pink, on the power-off screen xD

I know where you can find the color value, but for some reasons it didn't change anything on ACNL.. you can still try.

It's in sleep_LZ.bin, extract Slp_D_00.bclyt, search for "32 32 32" (hexadecimal), that's the RGB color of the power-off screen. Edit it and the color should, in theory, change. But as I said, it didn't work in ACNL...
 
Last edited by MasterLel,
  • Like
Reactions: Asia81

PabloMK7

Red Yoshi! ^ω^
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,032
Country
Spain
I know where you can find the color value, but for some reasons it didn't change anything on ACNL.. you can still try.

It's in sleep_LZ.bin, extract Slp_D_00.bclyt, search for "32 32 32" (hexadecimal), that's the RGB color of the power-off screen. Edit it and the color should, in theory, change. But as I said, it didn't work in ACNL...
It worked for me, changed grey to red.
 
  • Like
Reactions: MasterLel

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: [goes back to 🛌 ] zzzzzzzzzzzzzz +1