FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

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

588 posts
Thanks Meter: 5
 
By TehPenguin, Retired Senior Moderator on 29th July 2009, 02:10 PM
Post Reply Subscribe to Thread Email Thread
(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
Last edited by TehPenguin; 26th May 2010 at 02:35 PM. Reason: new version
 
 
29th July 2009, 05:50 PM |#2  
kancrutt's Avatar
Senior Member
Flag JakARTa
Thanks Meter: 38
 
More
thanx Mr Moderator
its very usefull
10th August 2009, 02:47 PM |#3  
jmckeejr's Avatar
Senior Member
Flag Altoona, Pa
Thanks Meter: 17
 
More
WOW!! This is an awesome tool. I'm definitely gonna be giving it a try. Thanks

EDIT: Works perfect
Last edited by jmckeejr; 10th August 2009 at 06:55 PM.
10th August 2009, 05:18 PM |#4  
ivanmmj's Avatar
Retired Moderator
Thanks Meter: 41
 
Donate to Me
More
This thing is awesome. It's perfect for organizing SYS folders for any kitchen based on ervius's visual kitchen.
10th August 2009, 07:09 PM |#5  
DarkAngelFR's Avatar
Senior Member
Flag Lille
Thanks Meter: 1
 
More
Wink
Hello,
Thanks for this tool, it's really nice!!!
Just small thing added to your code :
Code:
void bgwDoSorting_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
	txtLog.Text = (string)e.UserState;
	pgbrStatus.Value = (e.ProgressPercentage > 100) ? 100 : e.ProgressPercentage;
}
and :
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!!
Last edited by DarkAngelFR; 10th August 2009 at 07:09 PM. Reason: design of the post...
10th August 2009, 07:35 PM |#6  
SOHKis's Avatar
Senior Member
Flag VA
Thanks Meter: 157
 
More
very nice, thanks for sharing!
11th August 2009, 02:06 AM |#7  
TehPenguin's Avatar
OP Retired Senior Moderator
Flag Redmond
Thanks Meter: 5
 
Donate to Me
More
Quote:
Originally Posted by DarkAngelFR

Hello,
Thanks for this tool, it's really nice!!!
Just small thing added to your code :

Code:
void bgwDoSorting_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
	txtLog.Text = (string)e.UserState;
	pgbrStatus.Value = (e.ProgressPercentage > 100) ? 100 : e.ProgressPercentage;
}
and :
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.
11th August 2009, 02:49 AM |#8  
jmckeejr's Avatar
Senior Member
Flag Altoona, Pa
Thanks Meter: 17
 
More
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.
11th August 2009, 03:06 AM |#9  
BesFen's Avatar
Senior Member
Flag Surabaya
Thanks Meter: 10
 
More
I am testing it now....
11th August 2009, 05:14 AM |#10  
Junior Member
Thanks Meter: 0
 
More
Pretty cool set of resources...thanks
Point of Sale.
11th August 2009, 06:17 AM |#11  
TehPenguin's Avatar
OP Retired Senior Moderator
Flag Redmond
Thanks Meter: 5
 
Donate to Me
More
Quote:
Originally Posted by jmckeejr

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.

Sure

Maybe I can change my sorter into a cleaner as well...

Any other 'common tasks' I should include?
Perhaps a tool to merge missing folders into the sorted folder? (eg if the new SYS or OEM is missing stuff from the old one)

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes