@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
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
After much speculation, a lot of which being caused by dbrand's unceremonious reveal of their Companion Cube casing, the Steam Machine is finally available to order...
Remember when you could get an Xbox Series S for $300? Those were the days. Microsoft has today announced the latest in their console price hikes, seeing their...
Happy June 15th! Well, this one was close enough. Atmosphere has been updated to add support for the latest Nintendo Switch firmware, 22.5.0. This means all of you...
The delays may be behind us, but the news isn't all good for Grand Theft Auto VI. Rockstar have today announced that pre-orders for the game will go live tomorrow, on...
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...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
In case you missed it following the barrage of summer gaming news and events, Square Enix launched Final Fantasy VII Rebirth (FF7 Rebirth) on the Nintendo Switch 2...
In this time of economic uncertainty and rampant price hikes, the Steam sales stand as our final bastions of affordability for those opting to avoid the seas. The...
Indie developer Spiderware has today revealed the Steam Early Access launch date of the pixel art MMO, Soulbound. It originally launched for browser and Discord, and...
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
After much speculation, a lot of which being caused by dbrand's unceremonious reveal of their Companion Cube casing, the Steam Machine is finally available to order...
Remember when you could get an Xbox Series S for $300? Those were the days. Microsoft has today announced the latest in their console price hikes, seeing their...
The delays may be behind us, but the news isn't all good for Grand Theft Auto VI. Rockstar have today announced that pre-orders for the game will go live tomorrow, on...
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...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
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...
Apple have today announced price increases, primarily focused on their MacBook and iPad lines. These increases have already come into effect, with both prices and the...
In this time of economic uncertainty and rampant price hikes, the Steam sales stand as our final bastions of affordability for those opting to avoid the seas. The...
Happy June 15th! Well, this one was close enough. Atmosphere has been updated to add support for the latest Nintendo Switch firmware, 22.5.0. This means all of you...