|
||||
Re: [TUT] Creating OEM's for your ROM
Advanced Topics & Tricks:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 1: Tweaking the "option.xml" 2: Tweaking the "initflashfiles.txt" 3: Importing Program Settings 4: Handling the Setupdll.dll file 5: Adding multiple files using OEMIzer (Good for Skins-n-Things) Advanced Topics: Tweaking the "option.xml" -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The file option.xml is basically for BuildOS. Here is the contents from a freshly made OEM: Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?> <Items> <Item name="Kevtris" group="Apps" checked="True"> <Tip></Tip> <Guid type="p">e29023a8-1df6-47e1-8b01-4c94430ece83</Guid> </Item> </Items> Kevtris - This is the name that show up in BuildOS Apps - This is the category sub-folder that the program will show up in BuildOS. True - True, it is checked when BuildOS is first started and will be included in the build. The other option is "False" for it will not be checked. Tip - This is the program description when you roll your mouse over that option in BuildOS (older) or to the right of the program name in the newer kitchen. Guid Type - This is the GUID of the OEM, the DSM and RGU files have this same name as well. Now let's add a few more components to the file. Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?> <Items> <Item name="Kevtris" group="Apps" checked="True"> <Tip>Kevtris for winmo</Tip> <OEMAuthor>rstoyguy</OEMAuthor> <OEMDate>1/1/2009</OEMDate> <OEMVersion>1.00</OEMVersion> <AppVersion>0.xx</AppVersion> <AppAuthorURL>www.google.com</AppAuthorURL> <Guid type="p">e29023a8-1df6-47e1-8b01-4c94430ece83</Guid> </Item> </Items> This is a text file I keep so I can easily cut and paste the above information into the option.xml of most of the OEM's I do. Code:
<OEMAuthor>rstoyguy</OEMAuthor> <OEMDate>12/9/2008</OEMDate> <OEMVersion>1.00</OEMVersion> <AppVersion>0</AppVersion> <AppAuthorURL></AppAuthorURL> <Require> {GUID} </Require> - Adding this line will require BuildOS to include that OEM as well. Replace the {GUID} with the actual GUID of the OEM. Quote:
Advanced Topics: Tweaking the "initflashfiles.txt" -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Here is a look at the file: Code:
;***************************************************************************** ;initflashes.txt created with packages generator by ervius!!! ;package: Kevtris Directory("\Program Files\"):-Directory("Kevtris 2") Directory("\Program Files\Kevtris 2"):-File("176x220.dll","\windows\000-176x220.dll") Directory("\Program Files\Kevtris 2"):-File("240x240.dll","\windows\000-240x240.dll") Directory("\Program Files\Kevtris 2"):-File("240x320.dll","\windows\000-240x320.dll") Directory("\Program Files\Kevtris 2"):-File("Kevtris.exe","\windows\000-Kevtris.exe") Directory("\Program Files\Kevtris 2"):-File("SetupDLL.dll","\windows\000-SetupDLL.dll") Directory("\Program Files\Kevtris 2"):-File("sounds.dll","\windows\000-sounds.dll") Directory("\windows\start menu\programs\games"):-File("Kevtris.lnk","\windows\Kevtris.lnk") ;Help files: ;end of package: Kevtris ;***************************************************************************** I've already covered handling this file in some other tutorials. So check out this tutorial to find out more: Customizing Your Rom: Adding Personal Files & Other Stuff (the beef is in post #2 for those quick learners) Last edited by rstoyguy; 01-14-2009 at 12:34 AM. |
This post has been thanked 12 times. |
|
|
|