Nbmerge issue with "-conservative" switch - Windows Mobile Development and Hacking General

I'm cooking a Hermes 6.1 ROM with Bepe's old Hermes ROM kitchen using Tadzio's tools, and when the .bat file gets to the last nbmerge command it throws an error: Could not open input file -conservative.payload.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The instructions when using nbmerge state "In -conservative mode, <os-new.nb.extra> must exist". How do I write this command in the .bat file to get it to build the ROM in -conservative mode. I'm trying to leave the ULDR partition in place.
Help anyone?

Bumpity bump bump... I'll refrain from using the mod powers to sticky this until I get an answer.

From what I can see... you're not supplying nbmerge with the right number of parameters. It thinks "-conservative.payload" is the input file name. I'd say you need to supply it a file name... most likely "os.nb.payload" and THEN pass it that conservative switch.

NRGZ28 said:
From what I can see... you're not supplying nbmerge with the right number of parameters. It thinks "-conservative.payload" is the input file name. I'd say you need to supply it a file name... most likely "os.nb.payload" and THEN pass it that conservative switch.
Click to expand...
Click to collapse
That's what I thought. I know that os.new.payload.extra has to be there, but I don't know where it goes.

Code:
ImgfsToNb imgfs-new.bin OS.nb.payload OS-new.nb.payload -bigstoragemove
thats what I use for imgfstonb if that helps... (Cant get conservative to work with this though )

The -conservative parameter MUST be used in the nbmerge command line if it is also used in the imgfstonb command line. The idea is simply to find out where os-new.payload.extra fits in the command.

NBMerge
-------
Usage:
NBMerge -hermes|-kaiser|-titan|-sp|-wizard|-athena <os-new.nb> or
NBMerge -hermes|-kaiser|-titan|-sp|-wizard|-athena <os-new.nb> -conservative
or
NBMerge -data <payload-chunk-size> -extra <extra-chunk-size> <os-new.nb> or
NBMerge -data <payload-chunk-size> -extra <extra-chunk-size> <os-new.nb> -conservative
IMPORTANT NOTE:
If you ran ImgfsToNb with -conservative, you also *must* use -conservative with NBMerge. Similarily, if you ran ImgfsToNb without -conservative, you *must not* use -conservative with NBMerge!
Adds back in the device-specific extra data, creating a properly formatted <os-new.nb> file. The names of the input files are derived from the output file name - for example, if you call NBMerge with os-new.nb, then os-new.nb.payload is used as input file.
Just like NBSplit, NBMerge does nothing for Wizard and Athena.
The -data <numer> -extra <number> format is explained above, under NBSplit.
If -conservative is not given, the extra data is generated internally. (This currently only works for devices which have an extra-chunk-size of 8, like Hermes, Kaiser, and Titan.) In this case, <os-new.nb.extra> is not needed.
In -conservative mode, <os-new.nb.extra> must exist.
As the last step of creating <os-new.nb>, the resulting file is checked for bad NAND block markers (only for Hermes, Kaiser, and Titan). If any are found, a warning is printed and an errorlevel > 0 is returned. DO NOT IGNORE THIS WARNING!

B4PJS said:
NBMerge
-------
Usage:
NBMerge -hermes|-kaiser|-titan|-sp|-wizard|-athena <os-new.nb> or
NBMerge -hermes|-kaiser|-titan|-sp|-wizard|-athena <os-new.nb> -conservative
or
NBMerge -data <payload-chunk-size> -extra <extra-chunk-size> <os-new.nb> or
NBMerge -data <payload-chunk-size> -extra <extra-chunk-size> <os-new.nb> -conservative
In -conservative mode, <os-new.nb.extra> must exist.
Click to expand...
Click to collapse
When written as above, I got the error. Please follow with an example.
Also, if <os-new.nb.extra> must exist, where does it go?

jwzg said:
When written as above, I got the error. Please follow with an example.
Also, if <os-new.nb.extra> must exist, where does it go?
Click to expand...
Click to collapse
I was just quoting from the readme.txt found in my \tools\imgfs folder. I am guessing that the .extra needs to be in the same folder as the .payload. I have attached the readdme just in case you dont have it.

B4PJS said:
I was just quoting from the readme.txt found in my \tools\imgfs folder. I am guessing that the .extra needs to be in the same folder as the .payload. I have attached the readdme just in case you dont have it.
Click to expand...
Click to collapse
Thanks. I actually have this, but I'm just still needing clarification on how this nbmerge line should read or why it's asking for conservative.payload.
We'll figure this out if I can get ahold of Bepe or one of the others supergods.

How about...... "NBMerge -hermes os-new.nb.payload os-new.nb.payload.extra -conservative" ? Better yet... upload the batch file u use here so I can take a look see...

Here ya go. This is the original and I know that it does not copy OS-new.nb.extra into the temp folder as well as call for it in the nbmerge cmd line. No matter what I do, for some reason nbmerge thinks that -conservative is a file. I'm using v. 2.0 rc1 I think.

Bumpity, bump, bump....

Double bump!

batch looks just fine to me.... os.nb.extra is not needed why are you using imgfstools 2.0 rc1?
edit: whoops, um, i know how to read....
B4PJS said:
In -conservative mode, <os-new.nb.extra> must exist.
Click to expand...
Click to collapse
well i was going to test for you with .nb.extra there, but i cant seem to trim my stuff down to fit within -conservative. can i ask why you want to use -conservative mode anyways?

Well, I don't know why I was using RC1 but I have it fixed now. It seems I dumped the RC2 tools into my Kaiser kitchen.
Basically, I needed to put in a copy command to get OS-new.nb.extra into the temp folder. It worked, and now my device isn't dropping to 9mb of RAM available after 30 minutes. ROM release upcoming soon.
Thanks for your help.

i am glad you got it working
i am still curious why you dont want to use bigstorage, and im very surprised that your device booted with the improper nb and ate RAM.

Well, I was using bigstoragemove, but I wanted a perfect port. I'm wanting to keep the ULDR partition due to the fact that device update is currently being developed on another thread in this subforum, and I may be interested in using it. I ported my build directly from the 19214 build from the Tilt using Bepe's first Hermes kitchen and his kitchen used the RC1 tools.

Related

[Release] UC ROM SDConfig.txt Builder

Following on from the great work Sleuth255 has been doing around UC ROMs, I have joined the party and created a tool which will ease with the creation of the SDConfig.txt files for UC ROMs.
http://forum.xda-developers.com/showthread.php?t=366337
There is a long way to go with this app and I would like the community to guide its development.
Comments and feedback welcomed
Info on AdvancedConfig - http://forum.xda-developers.com/showthread.php?t=317070
Info on UC ROMS - http://forum.xda-developers.com/showthread.php?t=366337
How to make a UC ROM - http://forum.xda-developers.com/showthread.php?t=366333
Change Log:
v0.6
Fixed Tab's at end of lines
v0.5
Fixed missing CABs & XML in output file issue
Fixed source CABs & XML selection issues
Fixed Move Up / Down experiance
Added Select All option in source files
Reserverd Again
.
looking forward to trying this out, thanks for this release!
I added several files (about 7) to the tool (see attached), but my sdconfig file only shows 3 files to be executed... Looks like this:
LOCK:Enabled
CAB:\Storage Card\Apps\Cabs\PocketCM-0.20b.cab
CAB:\Storage Card\Apps\Cabs\LiveSearch.cab
EXCH:\Storage Card\Apps\Cabs\MyMobile10_70821.exe
LOCK: disabled
RST:Reset
Am I doing something wrong...?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nice...
Over all, very nice improvement over your last built. Awesome job and keep up the good work! Here is what I've noticed...
Bugs:
When loading a folder that contains cabs AND additional folders, no cab files are loaded into the left pane (see first attached image).
Also, when you change move up a cab, all of the cabs in between stay selected (see second attached image).
Moving a cab down does not seem to work at all... The selected cab and the cab below it seem to only trade positions.
These problems should be easy to fix if you're using VB.NET or C#
?:
In the CAB & Copy tab, the convert button for the " convert .reg to .xml" function is not enabled. I don't know if you did this intentionally or not but just wanted make sure that you know.
Requests:
On the left pane, can you add in a "select all" cabs and a "de-select all" cabs function? I am sure that lots of users have already sorted out the cabs they want into one folder.
All reported issues fixed in v.05 - Please test and report back anyfurther bugs / feature requests.
convert .reg to .xml - feature not ready yet.
v0.5 still puts tabs at the end of lines
stan23 said:
v0.5 still puts tabs at the end of lines
Click to expand...
Click to collapse
Fixed in latest release v0.6
is there a way, if not could you add the feature, to import your own text file (previously created) to edit or add more cabs to the sdconfig.txt great prog for a great tool. thanks
doedoe said:
Fixed in latest release v0.6
Click to expand...
Click to collapse
elgreek84 said:
is there a way, if not could you add the feature, to import your own text file (previously created) to edit or add more cabs to the sdconfig.txt great prog for a great tool. thanks
Click to expand...
Click to collapse
Working on this but want to get all of the bugs out of the beast first.
Thinking of making this app flow based, like a wizard...
doedoe said:
Thinking of making this app flow based, like a wizard...
Click to expand...
Click to collapse
In that case, make it a selectable interface option (a la WinZip), so that you can start with the "wizard" whilst you're getting used to building your config, then when you're ready to get down and dirty, allow the user to switch into "hardcore" mode
Just a thought.....
Mark.
@doedoe: looks like various ideosyncracies with spaces/no spaces after different comnads that you might want to code for:
Examples
command with space after: CAB: \Storage Card\Cabs\mycab.cab
command with no space: CPY1:\Storage Card\Cabs\mycab.cab
Commands that require no space after the command
CPY1:
CPY2:
HIDE:
Commands that require a space after the command
CAB:
XML:
Commands where space requirement is unknown
LOCK:
RST:
I'm going to code this logic into SDAutoRun eventually.
Sleuth255 said:
Commands where space requirement is unknown
LOCK:
RST:
Click to expand...
Click to collapse
For my Hermes, RST: seems to need a space, LOCK: must not have a space after.
great work will try it and lets see if I can understand this UC building better because until now I am really confused
It seems to me, and looking at all the 'ready made' config.txt files in operator ROMs, that if the command has 4 letters eg EXEC:, LOCK: there must NOT be a space after, but if the command has 3 letters eg XML:, CAB: there MUST be a space after.
It has the other advantage of making everything line up nicely if you view using a non-proportional font, something like Courier New
Welcome.not trick is working on ELF.
But it would be great if people could Capture the Registry settings for those HKLM\HARDWARE\\DEVICEMAP\\etc..... TOUCH values before they do choose to skip welcome.
Shouldn't be to hard for you to ad this as an option.
Great work i've been waiting for this.
I don't know how your doing it, this whole building an aplication.
I'm not a developer.
JoelC said:
It seems to me, and looking at all the 'ready made' config.txt files in operator ROMs, that if the command has 4 letters eg EXEC:, LOCK: there must NOT be a space after, but if the command has 3 letters eg XML:, CAB: there MUST be a space after.
It has the other advantage of making everything line up nicely if you view using a non-proportional font, something like Courier New
Click to expand...
Click to collapse
Eureka! You may have figured it out! first 4 characters are reserved for the command field, parameter starts at 5th character.
If it seems to work, it might be good to mention it in the User thread, possibly in the first post - in the hopes that it may solve some of the problems people are having... building their SDConfig.txt files....
It's a real pity the ROM I'm using isn't UC compliant, I've got lots of plans!!
Hi DoeDoe,
I recall that sometime last month you posted images for the WinCE SDConfig. I was wondering if you were in any beta stages and/or if you were looking for beta testers?
I think your prototype screenshots were amazing. I'm sure if you created a new thread for this, tons of people would be knocking on your door to give feedback!

[TOOL] DSM Analyzer + ModulesTools by MichyPrima - Update 14 June 2009

This tool let you to analyze *ANY* DSM or *ANY* Folder containing DSM. It doesnt use files like packages.sof or other so you can analyze XIP folders, SYS folders, OEM folders, DUMP folder, and others.
However, it can export files listed in a DSM in a folder that you want (useful if you analyze a dump folder). Another feature is that it can modify package name and package versions.
Screenshots: (not updated, 1.5)
After analyzing a folder:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After analyzing a DSM and clicking on "Manage Files Included":
Tools menù Opened:
Certificate info:
PS. The certificate window depends on your system language
Changelog
Code:
Update - 1.9:
- Added Dissolvence on opening and closing
- No more compressed: no antivirus false-positive detection anymore
- Added command line switches:
-a DSM_PATH (analyze the dsm specified)
-af F_PATH (analyze the folder specified)
-mp F_PATH (make packages in the folder specified)
-mpnc F_PATH (make packages in the folder specified but without making certificates)
- Other small changes
- Other small fixes
Update - 1.7:
- Added Random Button at the right of GUID boxes (to generate a random guid!!)
- Added Make Packages Function in tools menu (It works a little different then Bepe's package tool)
- Added Correct Packages Lists in tools menu (To check if all files listed in some DSM(s) are present there, and correct them automatically.)
It will check for unlisted files too (as make packages function do) and will ask to you if make a package with the unlisted files (as make packages function do too)
http://rapidshare.com/files/168309883/DSMAnalyzer-1_7.rar
Update - 1.6:
- Added function to Remove a certificate
- Added "Delete package files" to tools menu (this will allow you to delete a package entirely with all his files, useful when you want to delete a pkg from a dump...THIS WILL NOT DELETE REGISTRY ENTRIES!!!)
- Added function that allow to remove files listed that are not present in the DSM folder automatically (in manage files included window)
- Small fixes
http://rapidshare.com/files/166327889/DSMAnalyzer_1.6.rar
Update - 1.5:
- Added possibility to export, view and import certificates
- Added possibility to modify voices in file list
- Added function to populate the file list automatically
- Added Donate button
- Remapped objects TabIndex
[url]http://rapidshare.com/files/165396325/DSMAnalyzer-1_5.rar[/url]
Update - 1.4:
- Better Error Handling
- GUID can be modified now
- File list can be modified now
- Now DSMs can be created from nothing
- Some small fixes
[url]http://rapidshare.com/files/163149188/DSMAnalyzer-1_4.rar[/url]
Start Version - 1.2:
[url]http://rapidshare.com/files/162480867/DSMAnalyzer.rar[/url]
Download latest version:
http://rapidshare.com/files/210015398/DSMAnalyzer_1.9.rar
Modules Tool v0.1
This tool allows you to convert modules to file and viceversa. It can try to fix modules converting them to file then back to modules.
http://rapidshare.com/files/244548153/ModulesTools.rar
Nice!!!, release it already
ather90 said:
Nice!!!, release it already
Click to expand...
Click to collapse
How cool, when can we see the light of this tool !!
Of course....i want it
ehehe good works miky!
Thanks a lot!
ok,ok link added
michyprima said:
This tool let you to analyze *ANY* DSM or *ANY*
Click to expand...
Click to collapse
Thank you for this tool ..
michyprima said:
PS: Other tools coming soon!
Click to expand...
Click to collapse
What other tools, can we expect from you ?
nice work indeed , any hint on the upcoming tools ?
tools from my kitchen that i coded myself, so simply apps like this, but some times useful a lot.
michyprima said:
tools from my kitchen that i coded myself, so simply apps like this, but some times useful a lot.
Click to expand...
Click to collapse
Sounds really cool, i will keep one eye on you, and your usefull tools
Cool, great tool even for "non experienced" chef!
Nice tool, very thanks
You are wlcome
A dream which is coming into reality....
Hopefully there will come a day to easily convert any cabs to an OEM package...
Awesome tool. Gonna subscribe to this thread to keep an eye on the upcoming tools too Thanks a lot
Thanks for great tool michyprima!
character said:
Hopefully there will come a day to easily convert any cabs to an OEM package...
Click to expand...
Click to collapse
This day came long time a go Try to use ervius tool: Package creator v2.7
anyone that can tell me if for him works good?
michyprima said:
anyone that can tell me if for him works good?
Click to expand...
Click to collapse
I have found it usefull, i have find out that the one sys file i have downloaded is 20755 instead of 20921
DSM Analyzer updated to v1.4!!!
This is nice!
Thanks for the update.

HP Ipaq 914c Rom Dump

How can you dump the rom of the Hp Ipaq 914c?
Is this possible with ervius kitchen?
I just downlaoded the update from the Hp website the folder has the following files:
amss.mbn
amsshd.mbn
EBOOT.NBF
FLASH.NBF
IPL.NBF
PARTITION.NBF
Which file do I need to dump the rom and customize it?
Thanx In Advance,
Emrulez
envius kitchen probably won't work as it is designed for htc device
you need to rename flash.nbf to TEMPLATE.ROM and (may need to cut first 3432 byte) then use my rom kitchen to dump the rom
keyx said:
envius kitchen probably won't work as it is designed for htc device
you need to rename flash.nbf to TEMPLATE.ROM and (may need to cut first 3432 byte) then use my rom kitchen to dump the rom
Click to expand...
Click to collapse
Thanx for the fast reply.
Which file do I need? the 0.3? or the 23047 build kitchen?
I just got the ipaq. Also I have the dutch version. That wont matter right.
Thanx In Advance
just the kitchen itself(0.3) is fine since you are dumping rom.
keyx said:
just the kitchen itself(0.3) is fine since you are dumping rom.
Click to expand...
Click to collapse
Any how to on how to use the kitchen?
like i said , you need to rename flash.nbf to TEMPLATE.ROM and (may need to cut first 3432 byte) then use my rom kitchen to dump the rom by executing the iPAQ61x_91x flex kitchen.bat and select 1
keyx said:
like i said , you need to rename flash.nbf to TEMPLATE.ROM and (may need to cut first 3432 byte) then use my rom kitchen to dump the rom by executing the iPAQ61x_91x flex kitchen.bat and select 1
Click to expand...
Click to collapse
I renamed It and placed it in he ROM folder. How do I know If I have to cut off those bytes and how will I do that? Thanx
you just try..if you don't have any error when dumping then that's ok. otherwise you need to remove the first 3432 bytes using any hex editor or see here
keyx said:
you just try..if you don't have any error when dumping then that's ok. otherwise you need to remove the first 3432 bytes using any hex editor or see here
Click to expand...
Click to collapse
Evreything goed well untill the XIPtool it crashes
then cut the first 3432 bytes and retry
keyx said:
then cut the first 3432 bytes and retry
Click to expand...
Click to collapse
I opended the NBF with a hex editor but how do I cut it off?
just detele from start to 3432 byte, usually there is an option to select or go the offset which you can put 3432 (in decimal)
keyx said:
just detele from start to 3432 byte, usually there is an option to select or go the offset which you can put 3432 (in decimal)
Click to expand...
Click to collapse
I tried something but XIP crashed again guess i did it wrong.
I used XVI32 can you help me out?
o actually i forgot to tell you during xip dumping if you see error is fine..as long as you don't have something like imgfstodump is closing due to error.
it will has some null pointer error or something when dumping xip since there is empty section in xip
this is what I get:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
after I clos the error I get this fread: No error. It doesnt continiou after that
I'm having the same problem here, and as I looked for it is actually a problem with the PKGtool, as it gives the "the file is not a msflsh50 format" error, then the sepx2xip locks up.
But I don't know how to circunvent this problem with PKGtool.
I discovered why that was happening.
I was deleting one byte more than I should.
Now it's working!!!
Guitago said:
I discovered why that was happening.
I was deleting one byte more than I should.
Now it's working!!!
Click to expand...
Click to collapse
Can you tell me how you exactly deleted it?
Emrulez said:
Can you tell me how you exactly deleted it?
Click to expand...
Click to collapse
- open flash.nbf with XVI32
- click on the menu "xviscript" then "editor"
- in editor, type: Del 3432 then click on the "execute" button
- it will ask you to save the script, it's not necessary
- then save the file as flash.dio.

[TOOL] "The Unbelievably Awesome Package Sorter!" (OEM To EXT) v1.1.5

I believe this screenshot is REALLY, REALLY self-explanatory (also notice how the words in package names are also splitted, like AdobePDF becoming "Adobe PDF" and aGPSConfirmation becoming "aGPS Confirmation", it's so awesome that it detects all the words!). This is also the first tool to do all the necessary initflashfiles.dat and config.txt files splitting.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to use:
Put the EXE where the OEM folder is and then double-click on it, or drag&drop the OEM folder on the EXE (the EXT folder will be created where the EXE is located unless you specify another destination using command line parameters).
Command line syntax (All parameters are optional, including the paths that will default to "OEM" and "EXT" if missing):
Syntax: "The Awesome Package Sorter.exe" [/UseUnderscores] [/Quiet|/Q] [/WriteIndex] [/StripComments] [/OriginalName] [/InternalName] [/NoSplitting] [/SkipNeutralPackages] [/DeleteDSMFiles] [OEMFolderPath] [EXTFolderPath]
/UseUnderscores to have the tool rename all the packages with underscores instead of spaces at the end of the conversion
/Quiet or /Q to enable the quiet mode where only error messages will be shown
/WriteIndex to write a packages index in the EXT folder
/StripComments to save the initflashfiles.dat in OEM_Lang_XXXX with all the comment lines removed
/OriginalName uses the original package name with only the device part removed (like PACKAGE_ManilaCore_1_0_0_0)
/InternalName is like /OriginalName but without the "PACKAGE_" prefix and uses space instead of underscore to separate the name from the version (you can use /UseUnderscores to suppress this)
/NoSplitting turns the file initflashfiles.dat/config.txt splitting off
/SkipNeutralPackages leaves all the packages that don't start with PACKAGE_ in the OEM folder
/DeleteDSMFiles deletes all the DSM files from the packages
Note:
It doesn't have an user-interface, it only shows messageboxes however it will tell you when it starts and when it ends or if there is any issue. It's based on the osKitchen guaranteed file operations engine so nothing will break if the folders are locked.
This and more wonderful automatic package importing functions are now available in the latest osKitchen!
Interesting tool...will give a spin...thx...
Nice to know this thanks AirXtreme hope many ppl can see this.... will u post it in the repository kitchen tool by souchef? please
Here is the link... its a pleasure that you all are making this kind of tools and even better including them into the OSkitchen
Keep it up
Thanks Airxtreme, it´s a super fast tool.
Cheers.
Great tools....thank u doctor airxtreme
Thanks for this Bro
How about a tool like this that does OEM to OEM for chefs that use OEM format. What I mean is to combine the lang pack with the common pack and rename the package with the version info (like with EXT packages), but still retain OEM format?
I notice the 0409 folder does not have a "files" subfolder and the rgu stays a rgu file, but in one of my importing an official ROM to oskitchen created the files subfolder. Also, my kitchen run has the rgu converted to an app.reg in 0409 and it seems to work.
Are you in the process of changing the formats?
RoryB said:
I notice the 0409 folder does not have a "files" subfolder and the rgu stays a rgu file, but in one of my importing an official ROM to oskitchen created the files subfolder. Also, my kitchen run has the rgu converted to an app.reg in 0409 and it seems to work.
Are you in the process of changing the formats?
Click to expand...
Click to collapse
No, I forgot to apply the ext formatting to subfolders. I uploaded a fixed version in the first post.
New beta3 that fixes an issue where empty LCID folders were left behind. Thanks to OndraSter for reporting the issue!
Thanks for the awesome tool airxtreme....you sure make cooking fun ...
Great tool! Is there anyway to have it use _ instead of spaces? I use some .cmd files and the spaces break it.
WoZZeR999 said:
Great tool! Is there anyway to have it use _ instead of spaces? I use some .cmd files and the spaces break it.
Click to expand...
Click to collapse
You can enclose the directory names in batch/cmd files with double quotes to avoid issues with spaces in the file/directory names.
Not I can't, because many of my scripts use for loops with %%a where I do some parsing. It's also cleaner naming in my opinion with _'s instead of spaces in my folder.
WoZZeR999 said:
Not I can't, because many of my scripts use for loops with %%a where I do some parsing. It's also cleaner naming in my opinion with _'s instead of spaces in my folder.
Click to expand...
Click to collapse
I added a new version with the /UseUnderscores command line switch
Awesome! Btw, I'm loving the new osKitchen. With the new dump tool, it seems to build better than EVK did (plus, I don't have to worry about java crapping out on me!).
Sorry for another request, but would it be possible for it only to show dialog boxes if there were errors?
WoZZeR999 said:
Sorry for another request, but would it be possible for it only to show dialog boxes if there were errors?
Click to expand...
Click to collapse
Done. I released a new version with the /Quiet (or /Q) switch.
The Unbelieveably Awesome Package Sorter just got more unbelievably awesome!
Hey, I've been thinking about this for a while, but I don't know the easiest way to do it. Would it be possible, with a given initflashfiles.dat, that it could create app.dat's for you in the EXT folders? All it would have to do is parse the initflashfile lines, find the file, and locate the file in whatever EXT package it was in.
It's not really a request (because it would be a GIANT pain in the ass), but if you wanted another cool tool to work on, it may have it's own interesting challanges... Just a thought.

[TOOL] Registry File (.REG) Validator v1.00beta2

Description
This tool parses a .REG file to find all the invalid entries.
How to use
Drag&drop the .REG file on the tool and a list of the wrong entries will be immediately shown.
Changelog
1.00beta2: fixed issues with dwords with wrong value length and added support for REG_NONE hexadecimal strings and added a command-line version
1.00beta1: initial release
airxtreme said:
Description
This tool parses a .REG file to find all the invalid entries.
How to use
Drag&drop the .REG file on the tool and a list of the wrong entries will be immediately shown.
Click to expand...
Click to collapse
Very nice! Thanks for the tool.
testing my own .reg ATM
Testing my own .reg At The Moment
Looking GooD !! ThanX for this looking good 'validator'.
Hi Airextreme
Would it be possible for you to put links to your ever-growing tools collection in your signature?
Thanks for all the work and creations by the way.
Cheers
Thanks, for this
Seems very very useful. Thanks for sharing....
Didn't try yet but sounds good and very usefull.
Thanks Airxtreme
It would be really helpful if all these tools could be combined into 1 single gui... I am working on this now...and also for the reg validator it would be great if it could scan recursively a folder and validate all reg files in it instead of single files ( I am creating the workaround for this in the GUI )
@airxtreme : Is it possible that the application can return the result as string instead of popup... ?
Mockup of reg validator ui...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok...its working for single files now and shows the actual registry line alongwith the each error which was raised.
Awesome, just what i was looking for!! thanks buddy !!!
v-b-n said:
It would be really helpful if all these tools could be combined into 1 single gui... I am working on this now...and also for the reg validator it would be great if it could scan recursively a folder and validate all reg files in it instead of single files ( I am creating the workaround for this in the GUI )
Click to expand...
Click to collapse
I didn't add a GUI because since the kitchen already scans all the packages for invalid registry entries it would have been redundant to have another GUI to do the same but feel free to write one if you want, it certainly wouldn't hurt.
v-b-n said:
@airxtreme : Is it possible that the application can return the result as string instead of popup... ?
Click to expand...
Click to collapse
I don't know what you mean with string but I added a commandline version that you can run from your application. If you want I can directly send you the c# class file that does all the checking so you can build a standalone registry scanner without having to launch the tool for each file.
Ok...thanks the command line version should be perfect... I personally found so many errors in the registry ...lol
Thanks a bunch for the tool !
airxtreme said:
Description
This tool parses a .REG file to find all the invalid entries.
How to use
Drag&drop the .REG file on the tool and a list of the wrong entries will be immediately shown.
Changelog
1.00beta2: fixed issues with dwords with wrong value length and added support for REG_NONE hexadecimal strings and added a command-line version
1.00beta1: initial release
Click to expand...
Click to collapse
Hi,
I know this post is old but I was looking for a .reg file validator so I found the thread. :angel:
I've removed lot of lines from a reg file with Regex and wanted to validate the output and everything was fine (as it should be) according to the validator But right after I tried it again with a complete export of a Reg Key from Windows 10 that I know good and it throw some errors like:
Code:
Error at line 5825: the registry value type specified next to the hexadecimal values prefix is not recognized as a valid registry value type.
Error at line 5826: the registry entry was not recognized.
And there is no error, so I'd like to know if you have a more recent/updated version somewhere.
It would be useful to double check when editing manually and also when I extract some part/value of the registry to be sure formatting is fine.
Also the pop up don't work when the error log is to big I had to Copy the output of the Validator with CTRL-C and paste it in my editor to see them
Best Regards !
bug(version): Windows Registry Editor Version 5.00
Sorry, I can't add links and images to my reply due to restrictions for new users.
1. Summary
If Windows Registry Editor Version 5.00 in file beginning, Registry File Validator show an error:
Error at line 1: the registry entry was not recognized
Click to expand...
Click to collapse
Unfortunately, the source code of the program is not open, and I can't fix this bug.
2. Argumentation
“Windows Registry Editor Version 5.00” RegistryEditorVersion required for Windows 2000 and above.
Without this line we can't, for example, merge my KiraREG.reg file via reg import KiraREG.reg or regedit /S KiraREG.reg commands.
3. Data
Example valid D:\SashaTwickenham\KiraREG.reg file:
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"uTorrent"=-
4. Steps to reproduce
I downloaded and unpacked Registry File (.REG) Validator v1.00beta2 → I ran command:
Code:
"Registry Files Validator.exe" D:\SashaTwickenham\KiraREG.reg
5. Expected behavior
No errors.
6. Actual behavior
Error at line 1: the registry entry was not recognized
Click to expand...
Click to collapse
Thanks.

Categories

Resources