NVIDIA SHIELD Tablet Gets Android 5.0.1, OTA Available

The NVIDIA SHIELD Tablet is the latest Android-powered device released by famed GPU … more

FXP Team Delivers Lollipop to Various Xperia Devices!

From all of us here at XDA-Developers, we’d like to wish you Happy Holidays! If … more

Turn Your Camera Into a Live Puzzle Game

The classic sliding puzzle game hasnt changed much, if at all, over the years. Dating all the way … more

Samsung Begins Production of 8 Gb RAM Chips

With the release of Android 5.0, our favorite mobile operating system has become 64-bit ready. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP TehPenguin

29th July 2009, 03:10 PM   |  #1  
TehPenguin's Avatar
OP Retired Senior Moderator
Flag Redmond
Thanks Meter: 5
 
588 posts
Join Date:Joined: Nov 2006
Donate to Me
More
(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 03:35 PM. Reason: new version
29th July 2009, 06:50 PM   |  #2  
kancrutt's Avatar
Senior Member
Flag JakARTa
Thanks Meter: 38
 
1,045 posts
Join Date:Joined: Nov 2007
More
thanx Mr Moderator
its very usefull
10th August 2009, 03:47 PM   |  #3  
jmckeejr's Avatar
Senior Member
Flag Altoona, Pa
Thanks Meter: 16
 
1,559 posts
Join Date:Joined: Aug 2008
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 07:55 PM.
10th August 2009, 06:18 PM   |  #4  
ivanmmj's Avatar
Retired Moderator
Thanks Meter: 38
 
5,164 posts
Join Date:Joined: Jan 2007
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, 08:09 PM   |  #5  
DarkAngelFR's Avatar
Senior Member
Flag Lille
Thanks Meter: 1
 
191 posts
Join Date:Joined: Aug 2008
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 08:09 PM. Reason: design of the post...
10th August 2009, 08:35 PM   |  #6  
SOHKis's Avatar
Senior Member
Flag VA
Thanks Meter: 154
 
574 posts
Join Date:Joined: Apr 2008
More
very nice, thanks for sharing!
11th August 2009, 03:06 AM   |  #7  
TehPenguin's Avatar
OP Retired Senior Moderator
Flag Redmond
Thanks Meter: 5
 
588 posts
Join Date:Joined: Nov 2006
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, 03:49 AM   |  #8  
jmckeejr's Avatar
Senior Member
Flag Altoona, Pa
Thanks Meter: 16
 
1,559 posts
Join Date:Joined: Aug 2008
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, 04:06 AM   |  #9  
BesFen's Avatar
Senior Member
Flag Surabaya
Thanks Meter: 10
 
1,028 posts
Join Date:Joined: Mar 2008
More
I am testing it now....
11th August 2009, 06:14 AM   |  #10  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Aug 2009
Pretty cool set of resources...thanks
Point of Sale.

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

Advanced Search
Display Modes