@echo off
title LZ11 (De)Compressor
cd /d %~dp0
echo LZ Compressionlog [%date:~0%] > LZ.log
echo ============================== >> LZ.log
:DECOMPRESS
Title LZ11 Decompressor
for %%F in (*.bin) do (
Title LZ11 Decompressor [%%~nxF]
LZ -d %%F %%~nF.lz
cls
if exist "%%~nF.lz" (
del %%F
move %%~nF.lz %%F
echo [%time:~0,8%] %%~nxF decompressed! >> LZ.log
) else (
echo [%time:~0,8%] %%~nxF couldn't be decompressed >> LZ.log
)
cls
)
echo [%time:~0,8%] Finished >> LZ.log
echo ============================== >> LZ.log
:EDITSECTION
echo Do your edits now!
echo Press any key to recompress your files.
PAUSE>NUL
:COMPRESS
Title LZ11 Compressor
for %%F in (*.bin) do (
Title LZ11 Compressor [%%~nxF]
LZ -c lz11 %%F %%~nF.lz
cls
if exist "%%~nF.lz" (
del %%F
move %%~nF.lz %%F
echo [%time:~0,8%] %%~nxF compressed! >> LZ.log
) else (
echo [%time:~0,8%] %%~nxF couldn't be compressed >> LZ.log
)
cls
)
:end
echo [%time:~0,8%] Finished >> LZ.log
echo ============================== >> LZ.log
This little Script is Part1, Part2 and Clean combined.
It also features a copy to SD Card.
To make it work simply change the SDDrive in Uservariables to your Letter.
if you want to use a different name for the cia you can also change it in the uservariables.
Or you can just drag a cia onto the batchfile and it will decrypt this cia instead and rebuild to that name.
Code:
@echo off
::USER VARIABLES
set ciaName=HomeMenu
set SDDrive=J
if NOT [%1]==[] set ciaName=%~n1
::==============
:START
cls
title Homemenu Builder
echo [1] Extract CIA
echo [2] Build CIA
echo [3] Clean Folder
echo [4] Copy to SD
echo [Q] Exit program
echo.
set /p usrchoice="Enter your choice [Number]: "
cls
if "%usrchoice%"=="1" goto EXTRACT
if "%usrchoice%"=="2" goto BUILD
if "%usrchoice%"=="3" goto CLEAN
if "%usrchoice%"=="4" goto COPYSD
if "%usrchoice%"=="Q" goto EOF
if "%usrchoice%"=="q" goto EOF
if "%usrchoice%"=="" goto EOF
goto START
:EXTRACT
title Homemenu Builder [Extracting]
ctrtool.exe --content=SystemApp "%ciaName%.cia"
ren SystemApp.0000.* SystemApp.0.cxi
3dstool.exe -xvtf cxi SystemApp.0.cxi --header NCCH.Header --exh DecryptedExHeader.bin --exefs DecryptedExeFS.bin --romfs DecryptedRomFS.bin --logo Logo.bcma.LZ --plain PlainRGN.bin
3dstool.exe -xvtf exefs DecryptedExeFS.bin --exefs-dir ExtractedExeFS --header ExeFS.Header
3dstool.exe -xvtf romfs DecryptedRomFS.bin --romfs-dir ExtractedRomFS
goto START
:BUILD
title Homemenu Builder [Building]
3dstool.exe -cvtf romfs CustomRomFS.bin --romfs-dir ExtractedRomFS
3dstool.exe -cvtf exefs CustomExeFS.bin --exefs-dir ExtractedExeFS --header ExeFS.Header
3dstool.exe -cvtf cxi SystemApp.0.cxi --header NCCH.Header --exh DecryptedExHeader.bin --exefs CustomExeFS.bin --romfs CustomRomFS.bin --logo Logo.bcma.LZ --plain PlainRGN.bin
MakeRom.exe -f cia -content SystemApp.0.cxi:0:0x00 -o "%ciaName%_Edited.cia"
goto START
:CLEAN
title Homemenu Builder [Cleaning]
del *.bin
del *.Header
del *.cxi
rmdir ExtractedExeFS /s /q
rmdir ExtractedRomFS /s /q
goto START
:COPYSD
title Homemenu Builder [Copy to SD]
copy "%ciaName%_edited.cia" "%SDDrive%:\D9GAME\%ciaName%_edited.cia"
echo Done!
goto START
:EOF
For everyone trying to change the color of the internet bar, maybe is stored somwhere else, since Home Menu doesn't exclusively use it, it is used on another apps as well (Download Play, Friend List, System Settings)
For everyone trying to change the color of the internet bar, maybe is stored somwhere else, since Home Menu doesn't exclusively use it, it is used on another apps as well (Download Play, Friend List, System Settings)
Everything that shows in the Homemenu has to be in the Homemenu cia.
The Battery and the Connection Strength are not exclusive to Homemenu either, but we can change it's color.
If I enter eShop they will show blue in the eShop, but the color I changed it to in the Homemenu.
Everything that shows in the Homemenu has to be in the Homemenu cia.
The Battery and the Connection Strength are not exclusive to Homemenu either, but we can change it's color.
If I enter eShop they will show blue in the eShop, but the color I changed it to in the Homemenu.
@echo off
title LZ11 (De)Compressor
cd /d %~dp0
echo LZ Compressionlog [%date:~0%] > LZ.log
echo ============================== >> LZ.log
:DECOMPRESS
Title LZ11 Decompressor
for %%F in (*.bin) do (
Title LZ11 Compressor [%%~nxF]
LZ -d %%F %%~nF.lz
cls
if exist "%%~nF.lz" (
del %%F
move %%~nF.lz %%F
echo [%time:~0,8%] %%~nxF decompressed! >> LZ.log
) else (
echo [%time:~0,8%] %%~nxF couldn't be decompressed >> LZ.log
)
cls
)
echo [%time:~0,8%] Finished >> LZ.log
echo ============================== >> LZ.log
:EDITSECTION
echo Do your edits now!
echo Press any key to recompress your files.
PAUSE>NUL
:COMPRESS
Title LZ11 Compressor
for %%F in (*.bin) do (
Title LZ11 Compressor [%%~nxF]
LZ -c lz11 %%F %%~nF.lz
cls
if exist "%%~nF.lz" (
del %%F
move %%~nF.lz %%F
echo [%time:~0,8%] %%~nxF compressed! >> LZ.log
) else (
echo [%time:~0,8%] %%~nxF couldn't be compressed >> LZ.log
)
cls
)
:end
echo [%time:~0,8%] Finished >> LZ.log
echo ============================== >> LZ.log
This little Script is Part1, Part2 and Clean combined.
It also features a copy to SD Card.
To make it work simply change the SDDrive in Uservariables to your Letter.
if you want to use a different name for the cia you can also change it in the uservariables.
Code:
@echo off
::USER VARIABLES
set ciaName=HomeMenu
set SDDrive=J
if NOT [%1]==[] set ciaName=%~n1
::==============
:START
cls
title Homemenu Builder
echo [1] Extract CIA
echo [2] Build CIA
echo [3] Clean Folder
echo [4] Copy to SD
echo [Q] Exit program
echo.
set /p usrchoice="Enter your choice [Number]: "
cls
if "%usrchoice%"=="1" goto EXTRACT
if "%usrchoice%"=="2" goto BUILD
if "%usrchoice%"=="3" goto CLEAN
if "%usrchoice%"=="4" goto COPYSD
if "%usrchoice%"=="Q" goto EOF
if "%usrchoice%"=="q" goto EOF
if "%usrchoice%"=="" goto EOF
goto START
:EXTRACT
title Homemenu Builder [Extracting]
ctrtool.exe --content=SystemApp "%ciaName%.cia"
ren SystemApp.0000.* SystemApp.0.cxi
3dstool.exe -xvtf cxi SystemApp.0.cxi --header NCCH.Header --exh DecryptedExHeader.bin --exefs DecryptedExeFS.bin --romfs DecryptedRomFS.bin --logo Logo.bcma.LZ --plain PlainRGN.bin
3dstool.exe -xvtf exefs DecryptedExeFS.bin --exefs-dir ExtractedExeFS --header ExeFS.Header
3dstool.exe -xvtf romfs DecryptedRomFS.bin --romfs-dir ExtractedRomFS
goto START
:BUILD
title Homemenu Builder [Building]
3dstool.exe -cvtf romfs CustomRomFS.bin --romfs-dir ExtractedRomFS
3dstool.exe -cvtf exefs CustomExeFS.bin --exefs-dir ExtractedExeFS --header ExeFS.Header
3dstool.exe -cvtf cxi SystemApp.0.cxi --header NCCH.Header --exh DecryptedExHeader.bin --exefs CustomExeFS.bin --romfs CustomRomFS.bin --logo Logo.bcma.LZ --plain PlainRGN.bin
MakeRom.exe -f cia -content SystemApp.0.cxi:0:0x00 -o "%ciaName%_Edited.cia"
goto START
:CLEAN
title Homemenu Builder [Cleaning]
del *.bin
del *.Header
del *.cxi
rmdir ExtractedExeFS /s /q
rmdir ExtractedRomFS /s /q
goto START
:COPYSD
title Homemenu Builder [Copy to SD]
copy "%ciaName%_edited.cia" "%SDDrive%:\D9GAME\%ciaName%_edited.cia"
echo Done!
goto START
:EOF
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
For fans of Sinnoh, the pickings are slim. If you want the best experience you're left deciding between the updated region in Platinum, or the somewhat controversial...
If you've been waiting for an excuse to replay Super Mario Sunshine and happen to have up to nine friends, do I have some good news for you. Released earlier today...
The Switch 2 has been out for a year now, but you shouldn't count the original system out yet! Released a few days ago, popular PS2 emulator NetherSX2 has found its...
It's a good time to be a first generation Pokemon fan. But when was it not a good time to be one? In recent weeks we've seen a native LOVE2D recreation of Pokemon Red...
Hot on the heels of their NetherSX2 port, @Nagaa is back with another hugely anticipated release: a Switch port of the popular Wii U emulator Cemu. We've got more...
The Pokemon series is known for its vast assortment of spin off titles, with the majority being well-received. We've had an assortment of Mystery Dungeon titles, a...
The golden age of emulation on the Switch continues as a native Dolphin port was released by @Nagaa earlier today. Included in this port, we're looking at cover art...
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
With the latest entry to the Fire Emblem series, Fortune's Weave, set to launch in September, Nintendo have today announced a new Nintendo Direct to put it soundly in...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
It's a good time to be a first generation Pokemon fan. But when was it not a good time to be one? In recent weeks we've seen a native LOVE2D recreation of Pokemon Red...
Amidst news of layoffs and cancellations in the wake of Xbox's larger changes, Bethesda has today come out with a statement discussing their active projects. In this...
For fans of Sinnoh, the pickings are slim. If you want the best experience you're left deciding between the updated region in Platinum, or the somewhat controversial...
Announced today during the Octopath Traveler 8th Anniversary live stream, it's been confirmed that both the first game and its sequel will be launching on the Switch...
In this time of everything costing more a year after it's released, it's nice to see some things sticking to the old ways. Capcom have today announced that the latest...
If you've been waiting for an excuse to replay Super Mario Sunshine and happen to have up to nine friends, do I have some good news for you. Released earlier today...