[Wing, P4350 ROM development] ace10134:
How to Cook a Theme into your ROM

Start with your .tsk file (That's the theme file). Rename it so that it has no spaces.

Open up your kitchen's folder. Locate the SYS folder. Then locate this folder, "Base_Lang_0409_DPI_96_RESH_240_RESV_320". That is where all the theme files are stored.

You should already have some themes in that folder. Take your .tsk theme file (from step 1) and place it in the folder from step 2. Remember, you can't have spaces in the name of the .tsk file.

Now... Download WinImage, Dutty's, and HTC Tools.zip

Unzip it to the location of your choice. Open the WinImage, Dutty's, & HTC Tools folder. You should find three files in there, winimage, duttys tool nbhtool, and Htc Rom Tool, as you can see below...

Run winimage from within that folder. Click OK to the Trial Registration screen (you have a 30 day trial, and the days only count when you use the program).

Now you should see this screen...

On that screen, go to File -> Open, and then navigate to your kitchen's folders. Now navigate to your kitchen's Build folder. Locate a file that has "ExtROM" in it's filename and make sure that the extention is a .NB file. (For users of Holly's Kitchen, the file is called WingDev_ExtROM.nb) Double click on the file, and then you should see something like this...

Double click on the __TFAT_HIDDEN_ROOT_DIR__ folder. Now you should see something like this...

Drag and drop the Config.txt file from that window to your Desktop (or any other location of your choice)

Now open your Config.txt file from your Desktop (or wherever you placed it). You should see something similar to this in the notepad window...

LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
LOCK:Disabled
RST: Reset

Just before the "LOCK:Disabled" line, create a new line, and write in, "EXEC: \Windows\cusTSK.exe", like below...

LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
EXEC: \Windows\cusTSK.exe
LOCK:Disabled

Then, press space and write in "\Windows\". Now, write in the name of your theme's file, and remember to include the .tsk extention. It should look like this, with "PointUI_Theme" being replaced by your theme's file name...

LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
EXEC: \Windows\cusTSK.exe \Windows\PointUI_Theme.tsk
LOCK:Disabled

Save and close that notepad (Config.txt) window. You are now done editing it!

Return to the WinImage program (you should have left it running this whole time).

In WinImage, select your Config.txt file, and press Del on your keyboard.

Now in a File Explorer, navigate to your Config.txt file that you just edited (I told you to place it on your Desktop). Drag and drop that Config.txt file into the WinImage program. It will ask you, "Do you want to inject 1 files occupying xxxxx bytes?" Click Yes.

In WinImage, right click the Config.txt file that you just placed there. Click File properties. Then check the Read-only box and click OK.

Go to File -> Save. Once it saves, (it saves quickly, so you probably don't even notice it saving), close the WinImage window.

Now cook your ROM like usual. The theme will be applied just after the ROM flashes, while the Setup is running! If you have any more questions, or need more clarification, just ask!