PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Windows Mobile Hacks/Tweaks (http://forum.ppcgeeks.com/forumdisplay.php?f=27)
-   -   Registry Tweak changing the "option.xml" file? (http://forum.ppcgeeks.com/showthread.php?t=53590)

Romantok 01-17-2009 07:46 AM

Registry Tweak changing the "option.xml" file?
 
Not sure if this is the right place to ask about this... I want to know how to do it right.

I have some "Registry Tweak" to change the location of many things to the Storage Card. Like:

Registry - Change the location of My Documents to Storage Card
Registry - Change the location of My Music to Storage Card
Registry - Change the location of My Pictures to Storage Card
Registry - Change the location of My Videos to Storage Card

I have to copy some files to the Windows directory with this "option.xml" fil to do so...

Here is the content of the first "option.xml" file:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="My Documents" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Documents to Storage Card</Tip>
<Guid type="p">2f1ae015-04e8-11dc-8314-0800200c9a66</Guid>
</Item>
</Items>

Now... if I want to add in this "option.xml" file the tweaks for the others, how do I edit this "option.xml" file?
Like this ? (Option A)
__________________________________________________ _______________
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="My Documents" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Documents to Storage Card</Tip>
<Guid type="p">2f1ae015-04e8-11dc-8314-0800200c9a66</Guid>
</Item>
</Items>
<Item name="My Music" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Music to Storage Card</Tip>
<Guid type="p">9f55f1f5-1f0d-4668-b0ee-544b95c14203</Guid>
</Item>
<Items>
<Item name="My Pictures" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Pictures to Storage Card</Tip>
<Guid type="p">50c9b2f9-e888-4feb-9026-36b9c5942f40</Guid>
</Item>
</Items>
<Tip>Change the location of My Videos to Storage Card</Tip>
<Guid type="p">dae0cf65-9623-4047-83a4-98cf1f88a701</Guid>
</Item>
</Items>
__________________________________________________ _______________
OR LIKE THAT ? (Option B)
__________________________________________________ _______________
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="My Documents" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Documents to Storage Card</Tip>
<Guid type="p">2f1ae015-04e8-11dc-8314-0800200c9a66</Guid>
</Item>
<Item name="My Music" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Music to Storage Card</Tip>
<Guid type="p">9f55f1f5-1f0d-4668-b0ee-544b95c14203</Guid>
</Item>
<Item name="My Pictures" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Pictures to Storage Card</Tip>
<Guid type="p">50c9b2f9-e888-4feb-9026-36b9c5942f40</Guid>
</Item>
<Tip>Change the location of My Videos to Storage Card</Tip>
<Guid type="p">dae0cf65-9623-4047-83a4-98cf1f88a701</Guid>
</Item>
</Items>
__________________________________________________ ______

Sorry but I'm new to this... so if someone can answer me on this I would appreciate.

P.S. Each setup has one *.dsm and one *.rgu file to copy over along the option.xml file to the windows directory... of course... I have to edit that option.xml file otherwise it will be replace.

So my question is only.... HOW DO I EDIT THIS " OPTION.XML " file in the right way ?

Thanks...

rstoyguy 01-17-2009 07:51 AM

Re: Registry Tweak changing the "option.xml" file?
 
I'd use just the xml for just the regedits. And save the file as "mxip_MyRegedits_100.provxml". That way windows will execute them after you flash...

The option.xml file is needed by buildos to identify your OEM. Or check out my tutorials for Adding Registry Entries. That will help you add them to the OEM's RGU file...

rstoyguy 01-17-2009 08:02 AM

Re: Registry Tweak changing the "option.xml" file?
 
Also check out "Creating OEM's for your ROM" tutorial, it will help you with that option.xml file and other things as well...

Romantok 01-17-2009 09:55 AM

Re: Registry Tweak changing the "option.xml" file?
 
Well all that is a bit complicated for me...
What happened is that I had a GPS program that I installed and was taking the maps in the Main Memory. I wanted to put them on the Storage card instead.
I found a file in a forum which was called :
Registry - Change the location of My Documents to Storage Card.
Inside this unzip file was 3 files :
2f1ae015-04e8-11dc-8314-0800200c9a66.dsm
2f1ae015-04e8-11dc-8314-0800200c9a66.rgu
Option.xml

After I copied those 3 files to the windows directory and rebooted my HTC Touch, I went back in the GPS program and saw that I could see finaly the Storage card. So I was happy that I could store all my maps (which some were big) on my Storage card and have the data taken from there now.

My question was if I could edit this " option.xml " file by adding the text found inside the others "Option.xml" from :
Registry - Change the location of My Music to Storage Card
Registry - Change the location of My Pictures to Storage Card
Registry - Change the location of My Videos to Storage Card

All those content their own : *.dsm *.rgu and option.xml files

In other words can I change the " option.xml " file to include all 4 changes. Do I need those DSM and RGU files to make the changes or not?
Or
How can I set up my HTC Touch so that my Storage card is use as the "Main" location to find all :
My Documents, My Music, My Pictures, My Videos. Without being too complicated.
I don’t want to do any new rom or anything like that, but just change some settings if possible.

rstoyguy 01-17-2009 10:00 AM

Re: Registry Tweak changing the "option.xml" file?
 
The option.xml doesn't contain any registry settings.

Look inside the RGU file, that's where the registry edits are.

Got a link to those three files? I could make you a quick .cab

Romantok 01-17-2009 10:42 AM

Re: Registry Tweak changing the "option.xml" file?
 
I don't have a link, I don't remember where I took those, but I sended the files to your MSN email.

You should have it by now.

rstoyguy 01-17-2009 10:59 AM

Re: Registry Tweak changing the "option.xml" file?
 
2 Attachment(s)
Quote:

Originally Posted by Romantok (Post 646836)
I don't have a link, I don't remember where I took those, but I sended the files to your MSN email.

You should have it by now.

Here is a .cab install for the 4 registry edits, and an OEM if your cook your own rom. Edit the RGU file inside the OEM and you will see your registry edits.

Romantok 01-17-2009 11:10 AM

Re: Registry Tweak changing the "option.xml" file?
 
Well... you are fast in your reply... thanks a lot...
I'll remember this one friend...

rstoyguy 01-17-2009 11:14 AM

Re: Registry Tweak changing the "option.xml" file?
 
On vacation, doing a scrosler and staying up all night... :) But no problems, we're here to help!


All times are GMT -4. The time now is 10:26 PM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0