EveryFileExplorer icon indicating copy to clipboard operation
EveryFileExplorer copied to clipboard

Better sorter

Open GolyBidoof opened this issue 11 years ago • 9 comments

Since we don't get the filenames anyway, can you try to make an option to sort the images not by its hash, but for example the resolution (22x22 goes before 32x32, but after 16x16) or the filesize (similar, 4kB goes before 8kB, but after 2kB)?

GolyBidoof avatar Nov 21 '14 20:11 GolyBidoof

I could try to make different sort modes like windows explorer.

Gericom avatar Nov 21 '14 20:11 Gericom

That's precisely what I mean, can you try doing this? And can you also try opening the Mario Kart 7 file that's in some files in certain categories, check the names that are there, generate hashes from them and try to assign these hashes to files already in SZS? I mean this one. http://prntscr.com/58qht9

GolyBidoof avatar Nov 21 '14 21:11 GolyBidoof

Do you mean adding a file that matches hashes with filenames? (based on for example all track names and the objects)

Gericom avatar Nov 21 '14 21:11 Gericom

I'm meaning something like:

open a file from Mario Kart 7 category separate the filename into a string every few bytes, generate a hash from this filename check if this hash matches any of the files in SZS if it does, change display name of the hashed file to the string one, but not the real name advance to the next filename in Mario Kart 7 Category file repeat

It should work, I mean I think :P

GolyBidoof avatar Nov 21 '14 21:11 GolyBidoof

It would not work in the way you mean. The file you just showed, is ObjFlow.bin (or something). It contains all objects with their names.

What I mean would be a xml like file containing the hashes and their belonging filenames. This means that you would open the sarc, and the known hashes would show like it has a name.

Gericom avatar Nov 21 '14 21:11 Gericom

That sounds good!

GolyBidoof avatar Nov 21 '14 21:11 GolyBidoof

I will try to get that implemented.

Gericom avatar Nov 21 '14 21:11 Gericom

I pushed the hash table stuff.

Gericom avatar Nov 23 '14 16:11 Gericom

How is the sorter progressing? Nice job anyway ;)

GolyBidoof avatar Nov 23 '14 22:11 GolyBidoof