Anyone have a good method for tracking Reg errors in a kitch
I just started playing with sfaure03's latest kitchen (1.2) and when I am running CreateOS I am getting the error when it builds the hives. I have been going through all of the .rgu files looking for errors. Most of them I have even been copying to make them default.txt and running the default-to-hv tool to look for the errors. Still haven't found it. Just checking to see if anyone had any other tricks aside from this long and painful process.
__________________
Kitchen updates at www.ppckitchen.org and you can get BuildOS help Here
If you have been helped by me or would like to support developers like Olipro, helmi_c, and others please feel free to Donate ALWAYS FLASH BACK TO YOUR CARRIER'S OFFICIAL ROM BEFORE TAKING YOUR PHONE IN FOR SERVICE OF ANY KIND |
|
||||
I got an error whenever the .rgu didn't have a final carriage return. Make sure all the .rgu's end with a blank line. Unfortunately I don't know of a way to do that without opening each one.
__________________
Now with VGA support on all software!
Projects: (PeraStats 1.7) (PeraCount with Clock 1.3) (PeraCount 1.3) (PeraProfiler 1.2) (S2U2Lock 1.1) |
|
||||
the createOS program shows where the error is at the very end of the log in that window. Also if you need to do searching through the unicode files i've used agent ransack
|
|
||||
Here is what I was getting
Code:
-- adding dump\ff1dcb21-efff-4a57-8d60-dbb09e72cccd.dsm -- adding dump\ff1dcb21-efff-4a57-8d60-dbb09e72cccd.rgu Completed successfully DEV:\Temp> rgucomp.exe Microsoft (R) RGUComp Version 1.0.000 Registry file processor and hive builder. Copyright (C) 2004 Microsoft Corporation All Rights Reserved. built: Nov 19 2004 15:17:13 importing registry file ".\boot.rgu"... wmain: (RGUComp) !ERROR failed building DEFAULT hives Quote:
|
|
||||
hmm.. i get no error.
Trying again. any chance you've reused that UUID in another rgu? That is the DIM module, and well, i aint touched that bugger.
__________________
shawn
|
|
||||
Quote:
|
|
||||
That message can be caused by 1 of 3 things: either the file wasnt saved in unicode, the last line wasn't left blank or the file rgucomp was looking for wasn't found. the latter is most likely. another problem you will run into with that build is that it has entries for .net cf2 built in which rgucomp has trouble parsing but that is a separate issue. I will be releasing a tutorial soon for working with hive files including simplified tools.
|
|
||||
Just a couple things,
At that part of the build, I don't think a UUID conflict is possible since they're all dumped into the same directory right before the hives are built using rgucomp and packages.sof. Also that last UUID that is showing isn't really indicative of anything other then that's the last sorted dsm/rgu file being built into the cab file. I suspect you might get that sort of error if you try to build the hives with rgu files without matching dsm files. Most rgu compile errors are usually a little more descriptive. That being said, I use a batch script to automatically compile/verify all the rgu's in the oem directories (this assumes all the components of the kitchen are verified). Oh yeah, and of course, I try to avoid using createos if at all possible. I find it to be an unnecessarily cumbersome process. |
|
|
|