Hacking I Need a too compile a Single theme into a .cia for installation.

xdarkmario

Philosopher
OP
Member
Joined
Dec 30, 2010
Messages
1,635
Trophies
1
Location
Mushroom Kingdom
XP
2,578
Country
United States
i have a theme that i would like to compile into a .cia so that i can just install it. i know about installing with other things but im working on something so this is the only way i want to do it.
i downloaded a tool that compiles a entire pack of 41 themes but i only want 1, and if i compile all that i have 40 corrupt themes and my 1 working one.
 

usernametaken

Well-Known Member
Member
Joined
May 13, 2015
Messages
1,276
Trophies
0
Age
34
XP
646
Country
United States
i have a theme that i would like to compile into a .cia so that i can just install it. i know about installing with other things but im working on something so this is the only way i want to do it.
i downloaded a tool that compiles a entire pack of 41 themes but i only want 1, and if i compile all that i have 40 corrupt themes and my 1 working one.

If you're still using Reisyukakus' compiler, just edit the pack.bat to:

Code:
@echo off
FOR /L %%G IN (1,1,41) DO (
echo Converting icon %%G...
tools\desc txt\%%G.txt tools\USA\rom\ContentInfoArchive_USA_en.bin %%G
tools\desc txt\%%G.txt tools\USA\rom\ContentInfoArchive_USA_es.bin %%G
tools\desc txt\%%G.txt tools\USA\rom\ContentInfoArchive_USA_fr.bin %%G
tools\desc txt\%%G.txt tools\USA\rom\ContentInfoArchive_USA_pt.bin %%G
tools\bmp2icon.exe icns\%%G.bmp
del "tools\USA\rom\icons\%%G.icn"
copy icns\%%G.icn tools\USA\rom\icons\%%G.icn
del icns\%%G.icn
)
echo.
tools\makerom.exe -v -f ncch -target t -rsf tools/USA.rsf -icon tools/USA/exe/icon.bin -o tools/USA.app
FOR /L %%H IN (1,1,41) DO (
tools\makerom.exe -v -f ncch -target t -rsf tools/rsf/ThemeUSA%%H.rsf -o New%%H.cfa
)
tools\makerom -f cia -o NewThemePack.cia -target t -major 1 -minor 1 -micro 0 -dlc -content tools/USA.app:0:2 -content New1.cfa:1:0 
FOR /L %%I IN (1,1,41) DO (
del New%%I.cfa
)
pause

Replace the existing themes data in Data - Icns - Txt for theme 1 with yours.
 
  • Like
Reactions: xdarkmario

xdarkmario

Philosopher
OP
Member
Joined
Dec 30, 2010
Messages
1,635
Trophies
1
Location
Mushroom Kingdom
XP
2,578
Country
United States
If you're still using Reisyukakus' compiler, just edit the pack.bat to:

Code:
@echo off
FOR /L %%G IN (1,1,41) DO (
echo Converting icon %%G...
tools\desc txt\%%G.txt tools\USA\rom\ContentInfoArchive_USA_en.bin %%G
tools\desc txt\%%G.txt tools\USA\rom\ContentInfoArchive_USA_es.bin %%G
tools\desc txt\%%G.txt tools\USA\rom\ContentInfoArchive_USA_fr.bin %%G
tools\desc txt\%%G.txt tools\USA\rom\ContentInfoArchive_USA_pt.bin %%G
tools\bmp2icon.exe icns\%%G.bmp
del "tools\USA\rom\icons\%%G.icn"
copy icns\%%G.icn tools\USA\rom\icons\%%G.icn
del icns\%%G.icn
)
echo.
tools\makerom.exe -v -f ncch -target t -rsf tools/USA.rsf -icon tools/USA/exe/icon.bin -o tools/USA.app
FOR /L %%H IN (1,1,41) DO (
tools\makerom.exe -v -f ncch -target t -rsf tools/rsf/ThemeUSA%%H.rsf -o New%%H.cfa
)
tools\makerom -f cia -o NewThemePack.cia -target t -major 1 -minor 1 -micro 0 -dlc -content tools/USA.app:0:2 -content New1.cfa:1:0
FOR /L %%I IN (1,1,41) DO (
del New%%I.cfa
)
pause

Replace the existing themes data in Data - Icns - Txt for theme 1 with yours.
Thanks! that did it!
DSC_0050.JPG HNI_0061.JPG
 
  • Like
Reactions: usernametaken

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/fRENPoVaZHk?si=0xgCyaSVzuc5GD5F