@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
It wasn't too long ago we saw our first glimpse of Courage Reborn, another Twilight Princess PC port in the works based on last year's decompilation efforts. With...
Seemingly out of nowhere a PC port for Pokemon Platinum has surfaced online, bundled alongside the source code for those interested in building and developing it for...
After much speculation, Nintendo has finally followed their competitors in announcing price increases for their hardware.
You can find a breakdown of what's changing...
Airing last night with very little in the way of warning, a brand new Nintendo Direct was aired. Running for 15 minutes in total, it took a moment to celebrate the...
With very little in the way of announcement, Valve has today increased the price of the Steam Deck but some fairly considerable margins. Both of the available models...
As a part of their Financial Results Briefing for the previous year, Nintendo president Shuntaro Furukawa took to the floor to answer key questions around the Switch...
Earlier this year, Sony announced major price increases for the PS5, PS5 Pro, and PlayStation Portal. Now the company is raising prices again, this time for...
We are once again here to tell you about a game leaking before its release, but for once, it's not one published by Nintendo. The game files for Microsoft's upcoming...
Continuing with the great news of Pokémon Platinum getting a native unofficial PC port just a few days ago, today, yet another classic title from the franchise has...
The latest in a growing number of native PC ports, Paper Mario ReCut got its first pre-release build earlier this week. Based on the N64 recompilation toolchain, the...
With very little in the way of announcement, Valve has today increased the price of the Steam Deck but some fairly considerable margins. Both of the available models...
It wasn't too long ago we saw our first glimpse of Courage Reborn, another Twilight Princess PC port in the works based on last year's decompilation efforts. With...
After much speculation, Nintendo has finally followed their competitors in announcing price increases for their hardware.
You can find a breakdown of what's changing...
Airing last night with very little in the way of warning, a brand new Nintendo Direct was aired. Running for 15 minutes in total, it took a moment to celebrate the...
Seemingly out of nowhere a PC port for Pokemon Platinum has surfaced online, bundled alongside the source code for those interested in building and developing it for...
Earlier this year, Sony announced major price increases for the PS5, PS5 Pro, and PlayStation Portal. Now the company is raising prices again, this time for...
As a part of their Financial Results Briefing for the previous year, Nintendo president Shuntaro Furukawa took to the floor to answer key questions around the Switch...
The latest in a growing number of native PC ports, Paper Mario ReCut got its first pre-release build earlier this week. Based on the N64 recompilation toolchain, the...
A whole hour of PlayStation content is on the way, thanks to the latest State of Play showcase. Headlining the stream will be Marvel's Wolverine, alongside a...
For the first time in 13 years, the Call of Duty series will again return to Nintendo's consoles. Set to launch on the 23rd of October, the latest release, Modern...