[Windows Mobile Software Development] 50chickens:
hi all..

there is a new version - 1.31 dated 16/01/10. If you are not using this version you should. there are probably bugfixes and other features you want.

i've made a tool which can be used to update packages in an Ervius kitchen. i made it as Sparkienl updates his kitchens every so often, but sometimes the new version of the kitchen has old versions of the packages.. it can also convert .cab's to EXT kitchen packages

changes -

1.31 - added handling for HKCR registry settings.

- fix for null reference exception (caused by HKCR registry entries).

1.3a - added a default value for app.reg. if keyname = "" then it will write @ into the app.reg

1.3 - added tabs in app rather than stuffing everythign under one form. the .cab file import is now on the options tab. So is the folder mappings button.

- added a preload for the foldermappings.xml file. first time the datagrid is loaded it wont be blank now.

- added a {build} and {device} style combo box rather than assuming build and device numbers.

important. the build number is used when searching for packages in your kitchen. if you use the build number - eg 28014 rather than "common" you might then get duplicate packages inside your kitchen - eg one in c:\kitchen\ext\blackstone\common\package_1_0 and c:\kitchen\ext\blackstone\28014\package_1_0. This can lead to funny issues when you are cooking.

- added an image comparer. take a folder with a few images and then compare it to your kitchen. It will show any image which is different from your kitchen in a grid. you can select images that you want to update your kitchen with. THIS WILL OVERWRITE THE DESTINATION IMAGE WITH NO WARNING.

- added more UI disables when background threads are working. closing the app while the searcher is running will still crash the app though. i know about this one, but it's a 1% thing.

-

1.12a - .cab file import completely fails under win7. fixed.

1.12 - fixed app.dat entries (no really, it should be fixed this time). all files goes into \windows it seems and get copied from there to their proper destination. kinda stupid tbh.

- fixed app.dat shortcuts that were still not fixed in 1.11.

- added a foldermappings.xml file so that each of the variables can be changed for localisation - eg %CE2 -> \windows or it's local equivalent. you dont need to generate this file, if it doesnt exist it will be created with the english (0409) settings. you can then either hand edit the .xml or use the inbuilt editor. i'll add something later on so that you can have multiple locales in a combobox and use different ones.

1.11 - shortcut creation not working 100%.

- multiple registry keys under one branch not being exported properly. fixed.

- binary registry keys not being exported correctly. fixed. notification bar packages (eg dusk taskbar icons) now working properly.

- problem where multiple directories matching a source package name - eg power-* showing up as old version (red), not unknown version (blue). fixed.

1.10 - added import cab function. this can convert a .cab into a kitchen package using the _setup.xm in a wince cab. it will process the registry entries, files, shortcuts and app data and create the app.dat and app.reg files. i have only tested this on a few .cab's (the dusk 2.5 manila theme and the taskbar icons and a few other ones) so tbh i don't know how reliable it its but it seems ok. need feedback on this one please :D

- added new status icon - grey. when you refresh the package if the package exists in the source but not the kitchen you see a grey icon.

- new packages are now correctly added to kitchen rather than just being passed over.

- added some filters - show missing (packages exist in package source but not in kitchen), show different (versions are different), show same.

- other bugs fixed.. i think the packages.txt was being added to even if the package already existed. maybe some others.

1.02 - added combobox for users to select htc model. blackstone and topaz built in, but if you type in your model into the combobox this app will try and match the folder %kitchenroot%\EXT\%htcmodel%\common\packages.txt. If it finds packages.txt in that folder you can then choose to update packages.txt. It also uses this folder as the root of the packages folder in your kitchen.

- added .erv file updater. if you choose a .erv file from your kitchen this app will try and update it with your updated packages. you'll notice in the kitchen the new version of the package is not grey anymore (ie you dont need to enable it). But, you can only update one .erv file per package update.

1.00 - original version.

images comparer

before you do anything - backup your kitchen. THIS APP WILL MAKE CHANGES

TO YOUR KITCHEN AND IF SOMETHING GOES WRONG IT CAN OVERWRITE/DELETE STUFF.

1. open up the app.

2. point the source folder at your directory that contains kitchen packages

3. point the destination directory at the root of your ervius kitchen (other kitchens won't work (eg PRB), because their directory structures are different to ervius - i might make an update to try and more kitchens to the compatibility list since i know ervius isnt the fastest to cook.). the app will then try and fill in the device model and build numbers. If they are blank the folder structure in your kitchen is wrong.

4. click the refresh 'packages list' button.

the status led colours mean the following -

grey. new package. the package exists in the source, but not in the kitchen. you can choose to add it here.

red. the version in the kitchen is older than the version in your source package folder.

blue. something went wrong getting the destination package version. most likely this util could only find the directory name. also, if that package doesnt exist in your kitchen this will happen also.

yellow. the version of the package in your kitchen is newer than the version in your source folder. you can update it with this old version, but i don't recommend it of course.

green. the two versions are the same.

5. Select the packages you want to update (i advise only one or two each time) and then click copy packages.

6. browse to your .erv file you want to update with the new package versions. if you do this my updater will add the lines to the end of the .erv file and you won't have to enable the new version of the package when it has been updated.

7. click copy packages. packages that turn green have been updated.

8. open up Ervius visual Kitchen and then open up your .erv file. go ahead and cook your rom!.

Image comparer.

In 1.3 i have added an image comparer. It will take a folder of images and try and find images of the same name in your kitchen. hopefully this can help you update your kitchen images. Or atleast have a visual inspection of where images come from. The filter will limit the datagrid to only those images where the filename matches the filter (the filter isnt on the directory).

updated exe due to bug running on win7. if you are using any other version grab this one.