PDA

View Full Version : ROM Kitchen registry problem


ND4SPD
12th July 2007, 07:52 PM
I have been currently making another ROM kitchen to use but I have gotten stuck. When trying to use BuildOS create the new dump, I always get an error creating registry with a dialog that says "The system cannot find the file specified."

I dumped the ROM with Tadzio's revised IMGFS tools and used PackageTool to create the OEM and SYS folders.

Where are the default.hv and user.hv files located?

Any suggestions?

mfrazzz
12th July 2007, 08:25 PM
I have been currently making another ROM kitchen to use but I have gotten stuck. When trying to use BuildOS create the new dump, I always get an error creating registry with a dialog that says "The system cannot find the file specified."

Does the error say anything else? Usually this indicates an error in one of your packages (possibly a syntax error in a .rgu file). Try disabling some packages in the OEM folder (either uncheck them in buildos.exe or move them out of the OEM folder to some holding folder) and see if it will run to completion. If it does, then move them back one at a time to find the offending package. Then go look at the .rgu file.

Also verify the files are saved in Unicode (.rgu, initflashfiles.txt) as that can cause issues too.

ND4SPD
12th July 2007, 09:32 PM
OK. I tried to fix this by unchecking all of the OEM packages. I still got the error. It shows the same error. On the status bar it says, "Error, last status: "Creating Registry..."". I then get the dialog mentioned before. When I do the same thing through Anichillus's kitchen, it works perfectly with the same OEM and SYS folders.

Is there something wrong that I'm doing in the dump procedure that could affect this?

Thanks

mfrazzz
12th July 2007, 09:42 PM
OK. I tried to fix this by unchecking all of the OEM packages. I still got the error. It shows the same error. On the status bar it says, "Error, last status: "Creating Registry..."". I then get the dialog mentioned before. When I do the same thing through Anichillus's kitchen, it works perfectly with the same OEM and SYS folders.

Ahhh... I had a similar issue with the Faria Kitchen rom and trying to move it to other kitchens. There seems to be slight variations in buildos.exe. Never figured out exactly what it was... You can just take the buildos.exe from Core Kitchen and move it to the one you are using now (that gets the errors) and it will work. I think it has to do with where it expects to find certain files, but from what I could tell they all work exactly the same.

ND4SPD
12th July 2007, 09:54 PM
Just tried that too. Got the same error. I don't remember, but I think I had already gotten the BuildOS from the Core Kitchen. Sorry, but do you know of any other versions that work? Or if it isn't to much trouble, do you think you could attach the version you are using?

Could you tell me if this process is correct or if there is something in this that is causing the problem?

1. Split the Rom with typho5
2. Split the nb with ImgfsFromNb or prepare_imgfs
3. Dump from bin using ImgfsToDump or viewimgfs
4. Use PKGTool and make packages
5. After adding/removing packages, use BuildOS to recreate ROM
6. use BuildImgfs to recreate the bin file
7. use make_imgfs to recreate OS file

Thanks for your time

mfrazzz
12th July 2007, 10:14 PM
Just tried that too. Got the same error. I don't remember, but I think I had already gotten the BuildOS from the Core Kitchen. Sorry, but do you know of any other versions that work? Or if it isn't to much trouble, do you think you could attach the version you are using?
I use the Core Kitchen and the scripts in the Extract and Panel folders there to break apart and build roms (its basically all setup and scripted that way).

Try extracting and rebuilding with Core Kitchen and see if that works (I know you said the build works with Core Kitchen). Is there a reason for this other kitchen tools you are trying to use (something newer/better)? Just curious.

While most of the kitchen tools are basically the same, there are some slight variations, and aparently something with this rom or kitchen doesn't quite mesh up...

ND4SPD
12th July 2007, 10:48 PM
OK. I will try that. Thank you for the suggestions. If it doesn't work, I'll let you know:)

Try extracting and rebuilding with Core Kitchen and see if that works (I know you said the build works with Core Kitchen). Is there a reason for this other kitchen tools you are trying to use (something newer/better)? Just curious.

I'm not too sure what you mean by this question, but if you are asking why I'm making another kitchen, it is so that cookers can build their own roms from a GUI without having to worry about putting things in certain folders.

Here is a screenshot:
http://www.nsamala.5gbfree.com/AutosculptPreviewBETA.bmp

The only thing not working right now is the rebuilding of the OS.

mfrazzz
12th July 2007, 11:19 PM
Nice and well done! Interested to see this in action...

I will say that while I like most everything about Core Kitchen, one thing I don't care for is the scripts all assume everything is on your SystemFolder drive (C:\) and assume top level folder names. I'm going to look at modifying this so its generic (like most other kitchens) just haven't had the time to do it yet.

So I guess what I'm saying is, if you build this project, don't hardcode the location of the kitchen ;)

anichillus
12th July 2007, 11:28 PM
BuildOS needs some files in same folder with it in order to work if i remember corectly. Maybe you missed that.

I wonder though...Are you sure you completely understand the big scheme ?
I mean ... you are trying to build a kitchen not knowing all the steps necessary to do that. Maybe you should collaborate with someone. I don't want to have a wave of bricked wizards around here. Again...your choice...and...btw i wanted to do that for some time also so you would save me the work. :P

The Wizard ROM doesn't use the SPLIT option. If you use typhoon decode.



Don't worry mfrazzz , i will redo my kitchen. Today was my last exam, and as i promised i will get on with it :D

ND4SPD
13th July 2007, 01:41 AM
Sorry it took me some time to reply, I was busy with something else

@anichillus:
i guess it would be a VERY good idea to collaborate on this. I have been trying to build a kitchen based on the way yours and Molski's works. Or, I could give you the source code if you want. It's in VB, but I haven't put a single comment in the whole thing.

So I guess what I'm saying is, if you build this project, don't hardcode the location of the kitchen
Oops! I probably should change that then. Right now, it's all hardcoded to a folder "C:\Autosculpt"

Btw I named it Autosculpt from the customization of a car's parts in the game Need For Speed Carbon. Just thought you would like to know.

Also, with the progress bars, don't take any notice of them, they are time based and automatically go to 100% when the certain task is done.

I have attached the current build of my program and kitchen. See what problems you can find. I have been doing this from a computer on which typho5 doesn't work so I have only tested it twice on a different computer.

Also, don't worry about the splash screen tool makers. They don't do anything just yet as I haven't added code for them.

Make sure that the directory of the Kitchen is C:\Autosculpt!

Once again, please tell me if you want the source code. If you want to use it, you will need Microsoft Visual Basic 2005 Express Edition which you can get as a free download from microsoft. If you can turn this into something successful, you don't need to give me credit for the original. I just did because I was bored and I had to anyways learn a few programming languages so for a class I will be taking.

nandlal_mk
13th July 2007, 04:15 AM
good work,
im interested in sorce code if u dont mind.

ND4SPD
13th July 2007, 01:27 PM
Please wait till about 12:30. I have summer school and can't upload it now

ND4SPD
13th July 2007, 06:55 PM
Here is the link:

ftp://xdaupload:xda@ftp.xda-developers.com/Upload/testapp.zip

Place the folder testapp projects folder in the Visual Studio 2005 folder in My Documents. Then you can just open up the project file from Microsoft Visual Basic Express Edition.

Be warned: I haven't placed a single comment in the program. If you want I can send one with the comments later today. I can't do it immediately as I have to go and practice tennis with my friend.

Also, as mentioned before, I haven't put the code to activate the splash tools yet. I asked the-equinoxe about them yesterday and will be implementing them later today.

ND4SPD
14th July 2007, 03:18 AM
Now have gotten a little further with this. I still haven't made any effort to fix the registry problem.

Changes to kitchen:
Added Splash editing support
Added G4 flashing support (not that this will do any good until I fix the registry problem)

Note: progress bar has not been binded to any running of an application at this time. Instead, you will get a dialog box telling you when a certain process is done.

If anyone has looked at the kitchen, do you think you can figure out what is going wrong with the registry.

Updated source code is posted on ftp server at the same link
Here is the link to the updated kitchen: ftp://xdaupload:xda@ftp.xda-developers.com\Upload\Autosculpt.rar

nothin
14th July 2007, 04:20 AM
make "temp" folder in kitchen folder.....if i understood your prob correctly....

rich156
14th July 2007, 01:04 PM
hi,

i'm trying to cook a rom using buildOS i get this error message:

'error building defaul.hv and user.hv'

anyone got a clue how to fix this??

ccc
11th March 2008, 06:07 PM
I have been currently making another ROM kitchen to use but I have gotten stuck... I always get an error creating registry with a dialog that says "The system cannot find the file specified."

In my case it was lacking the rgucomp.exe utility in the tools folder.