[P3400 ROM Development] krazy_about_technology:
Customizing the packages inside the EXT Folder

=====================================

The EXT folder is logically divided into 3 sections :

NewGene, OldGene and Shared.

The first two are further divided into 6.5 and 6.1 and contain packages specific to these OSs. The packages are different for both OSs, mostly due to the fact that WM 6.5 needs the new PNG icon system.

Shared folder contains packages that can be used across both devices and across both operating systems.

Note that The NewGene and Old Gene folders have exact duplicates, and one might worder that why didn't i put them all inside the Shared folder. The answer is that, shared folder cannot be subdivided further to arrange packages for 6.1 and 6.5. So thats why this redundency was needed.

While updating these folders just keep in mind that you put packages according to their type in different folders. If the package contains WM 6.5 png icons and registry settings, then that package should be seperately placed inside WM 6.5 folder in both NewGene and OldGene folders. If its a generic package with no icons and anything like certain frameworks, dlls etc, then it should go into Shared folder outside the NewGene and OldGene folders.

The NewGene and OldGene folders also contain Common folder, which was not useful in the present scheme that i used. So these are left empty, however, you cannot delete these, the kitchen will stop working.

Cutomizing the SYS folder

=====================================

The SYS folder is also divided into many subfolders at various levels. At first level, its divided according to the Build number, each build number has its own folder inside SYS.

Then inside each build, there are three folders, a Shared folder containing Language only files and Common SYS, a DPI_96 folder containing 96 dpi files that are applicable for all 96 dpi resolutions like 240x320, 320x320 etc. and a DPI_96_resh_240_resv_320 that contains files specific to the devices with horizontal resolution of 240 and vertical resolution of 320 like our Gene.

This arrangement allows files for multiple resolution based devices to be kept in one place. Files not specific to resolution of devices are in Shared folder and resolution specific are in other two folders.

Now again, all these three folders are divided into 2 more folders each, 0409, and Common. 0409 is the language code of WWE, United States English, so files that are language specific goes into this one and other go into Common.

You dont have to remember all this, just remember one thing, if you add a package (which can be a group of one or more folders like xyz, xzy_dpi_96, xyz_lang_0409 etc ), its components should go into the right folders and when removed, all the folder should be looked for its lang and dpi folders too.

Other Folders

=====================================

1. Utility : The utility folder contains two utilities:

a. SuperRecMod: This utility can be used to recmod modules(convert modules to flat files). Create a shortcut to the SuperRecMod.exe to your send to folder. In Windows XP, this can be found by just going to start>Run, writing sendto and pressing enter. IN Windows Vista and Windows 7, it is located at <systemdrive>:\USers\<username>\Appdata\Roaming\Microsoft\Windows\Sendto, where <systemdrive> is the driver letter of the drive on which Windows is installed (uaually C drive) and <username> is the user account name you are currently looged in to windows with.

After doing this, you can just select the modules to be recmodded, right clicking on them and choosing SendTo><your shortcut name>.

b. PruneNonQVGAResources.bat : In a raw sys, like that posted by our friends da_g on xda and joojoobee666 on ppcgeeks, the folders contain some non qvga files in the common sys. This happens in WM 6.5 SYS, in LockscreenEA, LockscreenNonEA, BronzeEA and BronzeNonEA folders. Now you can create a shortcut to this batch file in the sendto menu just using the method specified above and send these folders to this batch file to get rid of Non QVGA cpr files.

2. RUU: This contains the ROM Update Utility, just put the generated ROM inside this, connect your phone to pc with cable and run ROMUpdateUtility.exe to update your ROM.

3. RELEASE_NewGene and RELEASE_OldGene : These folder are used by the kitchen to store the final .nbh file after cooking.

4. Removed: In this folder i put those components which i dont use generally in my roms, these are mostly taken from SYS and are stored according to build numbers.