[TOOL] DSM Analyzer + ModulesTools by MichyPrima - Update 14 June 2009 - Windows Mobile Development and Hacking General

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.

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][30.09.09] TotalFire - Package Converter 1.3

TotalFire - Package Converter​
Here's a tool Ive been making, it converts packages made for the visual kitchen to old style, and vice versa.
{
"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"
}
Features:
Converts Visual Packages to Old Style
If No DSM is include, it generates one.
Batch Convert Packages
Convert Packages with any Language Code
Convert Old Style to Visual
How To Use:
Convert Visual To Old Style
Click Select Next to the Text Box with Package Written in it.
Choose the Folder for the Package
Change the Package Name in the Text Box at the top or Let the app Choose it.
Click Convert VTO
Batch Convert Visual To Old Style
Click Batch Convert VTO
Choose the Folder with the Packages in.
Convert Old Style To Visual
Click Select Next to the Text Box with Package Written in it and choose the Folder for the Package
If Theres a Folder Named the Same as the Package with _0409 or your Language Code on the end, Click Select Next to the Text Box with Package 0409 or Package and your Language Code Written in it and Choose the Folder for the Package
Change the Package Name in the Text Box at the top or Let the app Choose it.
Click Convert OTV
Batch Convert Old Style To Visual
Click Batch Convert OTV
Choose the Folder with the Packages in.
Change The Applications Language Code
Open the "TotalFire - Package Converter.exe" File with WinRAR
Double Click Data, Double Click LanguageCode.txt
A Text File will Open With The Text 0409 in, Change it to your Language Code, Save and Close
A Message Box will Open in WinRAR asking if you want to Update The Archive, Click Yes
Close WinRAR, The Application will Now use the Language Code you Entered.
Download Link - Version 1.3​
Thanks for program, today it helped me with converting from Visual to Old style kitchen
sergiorus said:
Thanks for program, today it helped me with converting from Visual to Old style kitchen
Click to expand...
Click to collapse
No Problem, Great its helped someone.
Ive Just released version 1.1, it now can convert old style to visual, batch convert old style to visual and you can change the language code.
Thanks for program, man!
I start convert all packs manually, but then found your wonderful solution!
I guess all russian HTC Jade users, which wants WM6.5 RUS told thank you
Version 1.2 Out Now
Renames app.dat to initflashfiles.txt, forgot to in last one
Add option to generate dsm for a selected folder
nice one!!!
just one bug....modules are not placed inside the \pkg-name\files\ in OTV
also. instead of deleting the dsm and rgu, maybe leving them in \pkg-name\ and in \pkg-name\0409\ would be a better choice
Thanks for the bug report agent_47, i'll get that fixed.
thanks mate, I was really wishing for a batch reverse-converter
Big thanks!
jus gr8
wonderful tool....thanks man....
looking forward to your fix on agent_47's bug report.
thanks totalfire waiting for a longtime for thisone....thanks
Version 1.3 Out Now
Fixed Modules Bug
Download Link
TotalFire said:
Version 1.3 Out Now
Fixed Modules Bug
Download Link
Click to expand...
Click to collapse
thanks for the update!!
Would be great to add a CAB conversion option too; one that also parses the XML portion of the cab and dumps in EXT files folder.
Eg, I tried converting dcd's carrier cabs using other batch tools, and while they process the main cab components, the pre/post xml was not touched, and thus the resulting EXTs were useless until I added the mxipupdate/mxipinit .provxml files.
Also, drag and drop would be nice feature
I've tried several "batch conversion tools, and this one looks most promising.
Thanks!!
is there a tutorial for how to use the tool? I mean how does the old package and visual package looks like? sorry...am a noob
Great application indeed!!!
I was looking for this application since ages.
I can convert EXT packages to old style package.
thanks a lot...

Cooking with Ervius Kitchen,CMD batch files and Mortscript

Hi, I propose this new thread for two things:
- Share my cooking method and asking for help in order to bring it to the next level.
- Share other cooking techniques based on EVK, and Mortscript and Batch Files automation.
So let's start:
The second post covers cooking icons with mortscript. The attachment below has all the code.
The fifth post covers my Ervis Visual Kitchen extrabuttons: Lots of automation for helping upgrade the kitchen, help cooking the rom and customizing the ppc.
The zip is in 4shared since has exes inside and can not be posted here.
Hopefully, some people will share other code and other ways of cooking. I would appreciate if somebody could help me to integrate this code in the kitchen batch file so that the mortscript would run once the temp/dump files where created but before building the nbh file.
I cheer everibody to post links or code to other batch/cmd scripts that help automation when cooking.
Cooking icons with Mortscript at 1st boot (no files in windows folder)
I was looking for a way to cook shortcuts that:
1) did not overload windows directory
2) was "easy" to mantain (in terms of folders, rank & icons definition)
3) contributed to reduce errors
4) was simple to attach to any EVK kitchen
How I do it?
- On the pc side, I use mortscript to generate automatically a few provxml files that create shortcuts and asign icons, rank and group. Is a two-steps process: 1) I cook the rom, 2) run a ppc mortscript that inspects the dump directory and creates the code only for the exe and mscr files present in the temp\dump folder and zips and copies Icons to the appropiate kitchen EXT folders. It also zips and copies icons to be used on the ppc side 3) I re-cook the rom. Standard windows png are currently stored in the usual windows directory but bonus shortcuts (shortcuts to ext rom packages, to self made scripts, etc) are created in a specific directory out of the windows directory.
- On the ppc side, I use mortscript to generate automatically control panel shortcuts, mortscript shortcuts, shortcuts to main memory programs and shortcuts to sd programs that do not need reinstallation after flashing.
I publish my code as it is now. I start with the basic scripts but will keep adding material if interest is risen.
reserved for future2
reserved for future2
cruiserrr said:
Hi, I propose this new thread for two things:
- Share my cooking method and asking for help in order to bring it to the next level.
- Share other cooking techniques based on EVK, and Mortscript and Batch Files automation.
Please mods, move to another forum if this one is not the appropiate.
I will reserve 3 posts that I will update with contributions to the thread, if any.
So let's start:
I was looking for a way to cook shortcuts that:
1) did not overload windows directory
2) was "easy" to mantain (in terms of folders, rank & icons definition)
3) contributed to reduce errors
4) was simple to attach to any EVK kitchen
How I do it?
.
Click to expand...
Click to collapse
big thanks....
Cruiserrr's EVK Extrabuttons
Hi, I have build a little scheleton where I keep on adding the different tools I use in my Roms cooking:
backup the kitchen or parts of it,
download/upload files to the ppc to test,
create build version and date provxml files,
optimize png
import sys (currently da_g structure)
play with the ppc: sync the time, show/kill processes, run programs, reboot
recmod, ...
create .erv file from the latest build cooked
{
"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"
}
You simply have to download the file and extract it to your extrabuttons folder (please be aware the zip has an extrabuttons ini file that should not be copied but adapted to yours)
Hope you find it useful, you discover tools you did not now of and of couse I post it hoping some other people will share their scripts so we can all benefit from it.
What this moertscripts code do??
And how to cook them??

[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]App.Dat Creator (from InitFlashFiles.dat) (beta .95)

"The Unbelievably Awesome Package Sorter!" by airxtreme has this built in the sorter now. Please use that as it will probably do a better job.
This is a little tool I created to create app.dat's from an initflashfile.dat.
How to use: After dumping your nbh or os.nb, run a program to create your EXT's, "The Unbelievably Awesome Package Sorter!" by airxtreme does an awesome job (go figure with it's name). Then just move the initflashfile.dat from the oem/oem_lang_xxx folder to the root of the ext folder. This tool will work with any kitchen that uses EXT's, you just need to put it and the initflashfile in the root EXT folder. Example:
{
"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"
}
It will run, and will pop up a message box letting you know when it's done. It will log what it's doing (what app.dat's it's creating or appending to) like this:
I have not tested it with non WWE roms, but it should work fine. This is a nice tool to get some of the app.dat work out of the way, it's not a final solution for EXT packages. This will append to app.dat's that it finds, so if you already have an app.dat, it will add the stuff from initflashfiles to the end.
Let me know if this tool doesn't work for you, or what you think of it.
WoZZeR999 said:
This is a little tool I created to create app.dat's from an initflashfile.dat.
How to use: After dumping your nbh or os.nb, run a program to create your EXT's, "The Unbelievably Awesome Package Sorter!" by airxtreme does an awesome job (go figure with it's name). Then just move the initflashfile.dat from the oem/oem_lang_xxx folder to the root of the ext folder. Example:
Click to expand...
Click to collapse
You probably missed that but my package sorter already does initflashfiles.dat/config.txt files splitting like you asked and also moves any initflashfiles.dat to App.Reg as well so using this tool with it would probably be a bit redundant but I think that if you can adapt this to work on ervius kitchen folder layout its users would be very happy.
I just ran your package sorter and I didn't see any App.dat's created. This tool should work with any EXT folder structure. Theoretically I could also add initflashtile.txt support pretty easily (for those running osBuilder).
WoZZeR999 said:
I just ran your package sorter and I didn't see any App.dat's created.
Click to expand...
Click to collapse
Are you sure you are using a recent version? The files splitting turns itself off if there are errors in the file but I added it the day after you asked for the feature since I had the code already written.
WoZZeR999 said:
This tool should work with any EXT folder structure. Theoretically I could also add initflashtile.txt support pretty easily (for those running osBuilder).
Click to expand...
Click to collapse
What I meant is that you put the tool in the ervius kitchen root folder and when you launch it it finds all the OEM_Lang_XXXX folders and split all the entries in the EXT packages LCID subfolders without having to move anything.
airxtreme said:
Are you sure you are using a recent version? The files splitting turns itself off if there are errors in the file but I added it the day after you asked for the feature since I had the code already written.
What I meant is that you put the tool in the ervius kitchen root folder and when you launch it it finds all the OEM_Lang_XXXX folders and split all the entries in the EXT packages LCID subfolders without having to move anything.
Click to expand...
Click to collapse
Just tried it again with 1.0.4. I do use the /UseUnderscores and /q switch, so maybe that's what causes it not to print out app.dats? I'll try it without the switches later.
Hmm, that is an interesting idea about using different locale folders for the app.dat, I'll have to think about it.
Edit: I tried it again without any switches, and it will doesn't add app.dat's.
airxtreme said:
Are you sure you are using a recent version? The files splitting turns itself off if there are errors in the file but I added it the day after you asked for the feature since I had the code already written.
Click to expand...
Click to collapse
WoZZeR999 said:
Edit: I tried it again without any switches, and it will doesn't add app.dat's.
Click to expand...
Click to collapse
A quick test, it works with airxtreme's OsKitchen Zero 1.31b1, not with the Awesome Package Sorter 1.04. Maybe he missed something.
You mean with a rom dump? When you import a rom?
WoZZeR999 said:
You mean with a rom dump? When you import a rom?
Click to expand...
Click to collapse
Ya, when import an OS.nb. I've just downloaded his kitchen to test this feature as I can't get it to work with the APS 1.04.
Ahh, this tool (in my mind) is more for when you download a new rom for a different device and just want to move new EXT folders over. If it gets put into his sorter, I will probably stop this project since I have fairly sloppy coding, and his will be more efficient.
Cloudyfa said:
Ya, when import an OS.nb. I've just downloaded his kitchen to test this feature as I can't get it to work with the APS 1.04.
Click to expand...
Click to collapse
What ROM did you import?
WoZZeR999 said:
Ahh, this tool (in my mind) is more for when you download a new rom for a different device and just want to move new EXT folders over. If it gets put into his sorter, I will probably stop this project since I have fairly sloppy coding, and his will be more efficient.
Click to expand...
Click to collapse
I think he did include this feature in his tool but only apply it to his kitchen tool (forgot something or laking some requirement that his kitchen have it automatically).
airxtreme said:
What ROM did you import?
Click to expand...
Click to collapse
OBOE Debug ROM.
your kitchen --> app.dat works well
your tool --> app.dat not work
Btw, WoZZeR999, if you're interest: http://forum.xda-developers.com/showpost.php?p=6992501&postcount=46
His tool does everything I wanted mine to do now.
Cloudyfa said:
I think he did include this feature in his tool but only apply it to his kitchen tool (forgot something or laking some requirement that his kitchen have it automatically).
OBOE Debug ROM.
your kitchen --> app.dat works well
your tool --> app.dat not work
Click to expand...
Click to collapse
The kitchen was skipping errors while the tool wasn't and the OBOE rom like the Rhodium ones is full of wrong entries. I turned error skipping on the tool too so now it should work fine on rhodium and OBOE roms as well (but when using /StripComments the invalid lines won't be saved).

Categories

Resources