@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
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
With the vast success of Super Mario Maker and its Switch sequel Super Mario Maker 2, Nintendo fans have long been calling for "Maker" titles for other iconic genres...
Retro handheld manufacturer Anbernic has revealed its first clamshell device: the Anbernic RG35XXSP. As the suffix indicates, this handheld's design is inspired by...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
After a little more than three years of exclusivity with the Epic Games Store, Square Enix has decided to bring their beloved Kingdom Hearts franchise to Steam. The...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Sony is once more attempting to reintroduce players to their older library of games by re-releasing classic PlayStation 2 titles onto the PlayStation Store. During...
Me and wifey was deciding on our next vacation, so I hung up a map on the wall, and give her a dart and said, wherever you hit, we will go. She threw the dart and it missed the map completely and fell into a trash can below on floor. So I said "ok Florida it is."