Can you expand a bit on how the new patches folder works? Or point me at whatever docs I missed?
|
Quote:
First, if you don't have the patches folder already, you can add it to the 11/07_1 kitchen by createing a Patches folder and adding PatchDir=Patches to your selections.txt file. 11/07_1 distribution is the first ditribution with support for this feature. It's really easy to use...put any files you want to overwrite core files in it. BuildOS will copy those files to the ROM right after hive creation (which is why you can't use this method for rgu changes) Any file that already exists in the ROM will be overwritten. For RGU changes to core files, the best mechanism is the same as always...make an OEM with a uuid in the ffffff range. That's all there is to it. |
Thanks, seems simple enough.... so for example you could use that to do the PIE .dll patch in rom just by dropping in the .dll in the Patches folder?
|
Quote:
The down side of this approach, which will probably cause me to change a few things, is that you _always_ get the patch applied. This is fine for 90% of the core, but some things you can opt not to include...and the patch shouldn't be applied when you've opted out. I'll try to fix that behaviour for the next release. Replacing modules is a bit trickier, as the patch must also be a module - you can't replace a module with a file. |
Just to expand on the information given in this thread, when you have conflicting registry entries in the RGUs of your kitchen, the one parsed last is the one that will make it into the final rom. By using a UUID starting with f's in the first group of the UUID, your rgu in that package will be parsed towards the end, effectively replacing any conflicting registry entry you want to replace/update.
Another method of updating registry values is by using a minus sign after the opening bracket of the line, but this is not the preferred method in this application, as users may inadvertently remove an entire key when just trying to update one value. The f's naming convention is the way to go. A UUID is usually assigned randomly or based on the time it was generated or both. In the current variant used, there are 5 versions used.
Anyway, this is probably way more than you ever wanted to know about UUIDs and how RGUs are processed and why, but figured I'd throw the information out there for those who care. |
Quote:
[asdf] a=1 b=2 and I put this in my rgu: [-asdf] b=3 c=4 that I'll end up with [asdf] b=3 c=4 instead of [asdf] a=1 b=3 c=4 Is that correct? |
BigJ - out of curiosity do you have an OEM for the WM6 threaded SMS? If you need the cab let me know.
|
Quote:
example: If your package has the following: Code:
Code:
[-HKEY_LOCAL_MACHINE\SOFTWARE\GGuruInc\CoolApp\Parms] |
Quote:
|
Quote:
...now I need a CoolApp to try it on... |
All times are GMT -4. The time now is 06:51 AM. |
Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com