From GameBrew - a wiki dedicated to Video Game Homebrew.
DriveSort is a freeware application for advanced users that sorts the directory tables of a volume formatted in FAT12, FAT16 or FAT32. This includes thumb drives, MP3 players, etc. It sorts orders the files in each folder according to their short or long names alphabetic order.
You can edit the order of files saved in the SD card or other USB storages. This also works for changing the order of the games list in SD card.
DriveSort depends on the latest x86 Visual C++ redistributable components to run. When these are missing it will show an error message mentioning missing DLLs such as mfc140u.dll, vcruntime140.dll or some others with names like api-ms-win-crt-*.dll.
These are available for free from Microsoft and compatible with recent Windows versions (Windows XP to Windows 10). On the most recent Windows versions these components are usually already deployed and kept up to date by Windows Update. If you need to install them, you'll find the official installer for these components here: vc_redist.x86.exe, or in the latest supported Visual C downloads.
Note: You'll need the x86 components even if you have a 64bit edition of Windows because DriveSort is compiled as a 32bit executable for compatibility reasons.
The comparison base:
- Short File Names (Default).
- Long File Names.
- Logical Long Name.
- File Size.
- Creation Date.
- Access Date.
- Update Date.
The sort direction:
- Ascending (Default).
The position of folders relative to the files:
- Folders before the files (Default).
- Folders after the files.
- Mixed folders with files.
The recursive mode which sorts a folder and all its sub-folders by checking Subdirectories.
It is a manual ordering mode for files, which you can drag the files in the order you want (only for files with long file names).
This is particularly useful for multimedia players which play songs using the short file name alphabetic order, and display them using their long file names, such as the I-Bead, the Sony K750i, some devices for GBA/NDS. The playlist mode is initially able to move .MP3, .OGG and .WMA files around, to avoid files that are not really part of a playlist, like system files. If you want to add other extensions to these, use the Extensions... menu in the playlist menu, or add them to the RecognizedExtensions option of the DriveSort.ini settings file.
Note: This program works directly with the basic structures of the filesystem, so be careful when using it, and backup anything important before.
DriveSort can create a backup of a disk or a partition from the disk selection dialog. Use this program at your own risks.
- Fixes two file list scrolling bugs which affect the DriveSort's playlist mode:
- The first bug prevented the list from automatically scrolling up or down when you were dragging a file above or below the files currently visible in the file list, which made manually sorting folders with many files a pain. It was due to DriveSort's use of an up or down scroll increment with a number of pixels which was smaller than the list line height, which was rounded down to zero lines by the list view control and thus lead to no scrolling at all.
- The second bug made the list scroll back up to the first file when a file was dropped in its new position. I've fixed it so the files currently in view before the drop stay displayed after the drop.