Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,412 Members 45,311 Now Online
XDA Developers Android and Mobile Development Forum

[UTIL][24MAY10]PreKitchen Tool (Sort, Clean, Merge and create folders)

Tip us?
 
TehPenguin
Old
(Last edited by TehPenguin; 26th May 2010 at 02:35 PM.) Reason: new version
#1  
TehPenguin's Avatar
Retired Senior Moderator - OP
Thanks Meter 5
Posts: 588
Join Date: Nov 2006
Location: Redmond

 
DONATE TO ME
Default [UTIL][24MAY10]PreKitchen Tool (Sort, Clean, Merge and create folders)

(Formerly "Dump Sorter" and "XipDumpSort")

New and Improved - Much more functionality than the old one!
I'm trying to make this a general cleaning\sorting\worker app for processing dumped folders. If you'd like a feature added, please let me know.

What is it?
This is a simple program designed to take the hard work out of rearranging, cleaning and merging dumped ROMs with Kitchens.

What can it do?
  • Clean - Removed all files with the same name as their directories (This is very useful when converting files to modules)
  • Sort - Files and Folders can be sorted by:
    • Ervius Kitchen's folder format
    • osKitchen's folder format
    • By comparing to a donor folder (should work with any kitchen)
  • Unsort from:
    • Ervius Kitchen's folder format
    • osKitchen's folder format
  • Merge missing file and folders from a donor directory (useful when the dump is missing files\folders) (SVN Directories are ignored ('.svn' and '_svn'))

How to install
Click the 'Install' button at http://vidmes.com/dumpsorter/publish.htm
(In order to use the 'launch' link, you need to be using IE)
(Alternatively, just use the zip below)

Notes
Merging is done last, so if the donor directory is 'dirty', this 'dirt' will be copied across

This requires .NET 3.5

Also attached is the source code (for anybody interested) - the project was built using Visual Studio 2010, so it may not open in older versions of VS

Known Issues
Things to do
  • Get a logo\icon
  • Ability to pull data from archives (eg zip, rar and 7 zip)

Changelog
Version numbers: <installer version> (<executable version>)

* 0.3.0.3 (0.3.3796.19478)
Fixed: Settings in ComboBoxes would not save (e.g. language, resolution, etc)
WARNING: Upgrading to 0.3.0.3 will wipe any of your current settings

* 0.3.0.2 (0.3.3789.38088)
Fixed: Bug where the 'Browse' button for selecting the donor folder to clone didn't do anything

* 0.3.0.1 (0.3.3734.42067)
Added: Support for OndraStar's osKitchen (sorting, unsorting, creating blank folders)

* 0.3.0.0 (0.3.3733.25038)
Added: Ability to unsort from Ervius format
Added: Ability to only sort DPI\RES\LANG that you actually want

* 0.2.0.1 (0.2.3518.38275)
Added: Ability to invert log
Added: Update log on the fly (instead of at the end)
Fixed: Progress bar go to 100% when complete (or reset afterwards)

* 0.2.0.0 (0.2.3516.36999)
Added: Ability to create a default folder layout for Ervius SYS

* 0.2.3516.24314
Added: About box
Fixed: Merger now ignores SVN directories ('.svn' and '_svn')

* 0.2.3516.23053
Added: Cleaner (remove files with same name as directory)
Added: Sorter for Ervius SYS format
Added: Merger (file and folder)
Fixed: Sorter now removes 'unsorted' directory if it is empty

* 1.0.3509.31117
Fixed: Browse buttons now re-enable after sorting is complete

* 1.0.3497.39310
Initial release

[O2 Xda IIi] -> [Xda Exec] -> HTC Touch Pro -> Samsung Focus
----------------
The post above is my own opinions, values and knowledge and not necessarily that of my employer.
----------------
Need helping sorting a SYS? http://forum.xda-developers.com/show....php?p=4226018
Signature image courtesy of Jake044: http://forum.xda-developers.com/showthread.php?t=701002
 
kancrutt
Old
#2  
kancrutt's Avatar
Senior Member
Thanks Meter 38
Posts: 1,043
Join Date: Nov 2007
Location: JakARTa
thanx Mr Moderator
its very usefull
 
jmckeejr
Old
(Last edited by jmckeejr; 10th August 2009 at 06:55 PM.)
#3  
jmckeejr's Avatar
Senior Member
Thanks Meter 16
Posts: 1,559
Join Date: Aug 2008
Location: Altoona, Pa
WOW!! This is an awesome tool. I'm definitely gonna be giving it a try. Thanks

EDIT: Works perfect


Now on Android, Galaxy Tab 3 8"
Recent devices: Lenovo IdeaPad a2109.
Asus Transformer tf300t
Now on Galaxy S4 AT&T
 
ivanmmj
Old
#4  
ivanmmj's Avatar
Retired Moderator
Thanks Meter 35
Posts: 5,164
Join Date: Jan 2007

 
DONATE TO ME
This thing is awesome. It's perfect for organizing SYS folders for any kitchen based on ervius's visual kitchen.
God bless you!!!
 
DarkAngelFR
Old
(Last edited by DarkAngelFR; 10th August 2009 at 07:09 PM.) Reason: design of the post...
#5  
DarkAngelFR's Avatar
Senior Member
Thanks Meter 1
Posts: 191
Join Date: Aug 2008
Location: Lille
Hello,
Thanks for this tool, it's really nice!!!
Just small thing added to your code :
Code:
Select Code
void bgwDoSorting_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
	txtLog.Text = (string)e.UserState;
	pgbrStatus.Value = (e.ProgressPercentage > 100) ? 100 : e.ProgressPercentage;
}
and :
Code:
Select Code
//old : bgwDoSorting.ReportProgress(workDone * 100 / workTotal);
bgwDoSorting.ReportProgress(workDone * 100 / workTotal, result);
I also reverse the log to have latest lines on top (log+newline instead of newline+log)


Thanks for the great job!!
HTC Touch Diamond
* A.Z.T.O.R. HotBlood WM6.5 - FRE *
Donate for this rom HERE

HTC Touch Pro (aka Raphael)
my custom WM6.5 French (23403)
Donate for Da_G work HERE

Samsung Omnia 7
-- Original WP7 --

My programs should be here (not updated since a long time!)
 
SOHKis
Old
#6  
SOHKis's Avatar
Senior Member
Thanks Meter 143
Posts: 561
Join Date: Apr 2008
Location: VA
very nice, thanks for sharing!
 
TehPenguin
Old
#7  
TehPenguin's Avatar
Retired Senior Moderator - OP
Thanks Meter 5
Posts: 588
Join Date: Nov 2006
Location: Redmond

 
DONATE TO ME
Quote:
Originally Posted by DarkAngelFR View Post
Hello,
Thanks for this tool, it's really nice!!!
Just small thing added to your code :
Code:
Select Code
void bgwDoSorting_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
	txtLog.Text = (string)e.UserState;
	pgbrStatus.Value = (e.ProgressPercentage > 100) ? 100 : e.ProgressPercentage;
}
and :
Code:
Select Code
//old : bgwDoSorting.ReportProgress(workDone * 100 / workTotal);
bgwDoSorting.ReportProgress(workDone * 100 / workTotal, result);
I also reverse the log to have latest lines on top (log+newline instead of newline+log)


Thanks for the great job!!
I was considering that, but I think you'll find it will run a bit slower (due to having to constantly update the log box). Then again, if you have a dual processor machine (and who doesn't?), you probably won't notice a difference.

[O2 Xda IIi] -> [Xda Exec] -> HTC Touch Pro -> Samsung Focus
----------------
The post above is my own opinions, values and knowledge and not necessarily that of my employer.
----------------
Need helping sorting a SYS? http://forum.xda-developers.com/show....php?p=4226018
Signature image courtesy of Jake044: http://forum.xda-developers.com/showthread.php?t=701002
 
jmckeejr
Old
#8  
jmckeejr's Avatar
Senior Member
Thanks Meter 16
Posts: 1,559
Join Date: Aug 2008
Location: Altoona, Pa
Any chance someone would also be interested in writing a batch file or simple program to delete duplicate files inside of a folder? ie: if there happened to be files inside of the module folder as well as the actual module files. So for example "tapres.dll" module folder for some reason has "tapres.dll" file inside. Would need to got hrough whole SYS though.


Now on Android, Galaxy Tab 3 8"
Recent devices: Lenovo IdeaPad a2109.
Asus Transformer tf300t
Now on Galaxy S4 AT&T
 
BesFen
Old
#9  
BesFen's Avatar
Senior Member
Thanks Meter 10
Posts: 1,028
Join Date: Mar 2008
Location: Surabaya
I am testing it now....
 
ggpark
Old
#10  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Aug 2009
Pretty cool set of resources...thanks
Point of Sale.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Control Your Toast Notifications with SlicedToasts

Toasts are delicious, even in their Android flavor. In Android, toast doesn’t lead … more

Rotation Lets You Take Full Control of Your Device’s Orientation Settings

To be brutally honest, the native options for screen … more

Change the Alarm Icon in the Status Bar with Xposed

It’s hard to find a more hated object than your alarm clock. They wake us up nearly … more

Return to Outer Space Outer Space with Ship Up Game

Since the release of Flappy Birds, we’ve had the “fortune” to see … more