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

Discussion in '3DS - Flashcards & Custom Firmwares' started by xdarkmario, Oct 11, 2015.

  1. xdarkmario
    OP

    xdarkmario Philosopher

    Member
    1,321
    303
    Dec 30, 2010
    United States
    Mushroom Kingdom
    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.
     
  2. usernametaken

    usernametaken GBAtemp Maniac

    Member
    1,247
    345
    May 13, 2015
    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.
     
    xdarkmario likes this.
  3. xdarkmario
    OP

    xdarkmario Philosopher

    Member
    1,321
    303
    Dec 30, 2010
    United States
    Mushroom Kingdom
    Thanks! that did it!
    DSC_0050.JPG HNI_0061.JPG
     
    usernametaken likes this.