[Palm Treo 750 ROM Development] Fjtorsol:
How to build your own language pack for an already built ROM

1. Get any CAB maker (WinCECABManager is recommended)

2. Get the following info from the already built ROM:

BUILD_XXXX

LANG_XXXX

DPI_XX

RESH_XXX_RESV_XXX

3. Grab somwere the packages for your language matching the previous requirements (if you have a DPI 192 folder and your device is DPI 92 you delete that folder) and the initflashfiles.dat from the device you own in your language (if not WM65 you can get it from other device I.E.: for Palm Treo, HTC Topaz).

4. When you already have all the required files you just extract them in a folder and undo packages (if they are done) with a package tool (unless you want to manually put all the files and modules together in the folder). Now you should set Windows Explorer to show hidden files and folder and system hidden files.

5. Now you will have to recmod all the modules and delete cespell.dll.

6. Now go to the folder you created first and delete all *.dsm files. After that you should combine all the RGU files (Unicode TXT based registry entries). To do this you can create a new TXT document and copy the contents of each file to it, the you should save the file as Unicode and with the extension *.reg.

7. Now lets fix the registry file we created to avoid duplicated devices or connections. You have to delete the following keys and it's contents:

[HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
*<Contents>*

*[Following Key]*

[HKEY_LOCAL_MACHINE\Drivers\Display\Active\*<Display name depending on language>*]
*<Contents>*

*[Following Key]*

And whe're done with the registry.

8. No we create another folder and read the initflashfiles.dat whe got before. In the file you will find all the links folders and subfolders that will be created. With this list you have to consider the second folder you created as the roout of Windows Mobile and start creating folders, subfolders and links (to create the links just copy the ones from the already created rom and rename them). After creating folders and subfolders you may have empty folders where you should place an empty hidden file (I.E.: desktop.ini, empty).

9. Now whe have our new language dependant folders and translated links so we have to open our CAB creator, we will explain it for WinCECABManager.

With WinCECABmanager we create a new CAB package (use the name you want, no additonal settings as processor type require to be changed) now we add all the files including the ones we created for empty folders and the links. 10. After they are all added we set them to be in the proper directory the ones comming from the first folder we created in windows and the ones from the second folder in their respective folders considering the second folder as the root of Windows Mobile. Finally we import the registry file we created first and save the CAB package.

Necessary links = Google

For this ROM and in English "23017 0409 .zip/.rar" or "23016 0409 .zip/.rar", this file contains all necessary files for the steps related with the first folder.

For the iniflashfiles.dat dump RUU_Signed.nbh from WM 6.5 Topaz updater English with HTC ROM Image Editor (HTCRIE).

Now we have a fully working device specific language pack !!!