I've recently been asked about jSAVF, so I thought finally getting around to publishing the latest version might help. The code in this version is a bit more
recent than the one in v1.28, but I haven't touched it in about 7 years except for some finishing touches for this release.
This version brings a lot of change, amongst which the support of the more modern SAVF compression algorithms TERSE (*MEDIUM) and LZ1 (*HIGH) together with
the previously supported SNA (*LOW / *YES), and some user interface and performance improvements. I'm now considering finishing the physical file export to CSV,
or the debugging sources included in *PGM objects.
Announce: Happy new year
Happy new year for 2010, and thanks to all who mailed me their thanks, bug reports and ideas.
There hasn't been much activity here for some time, but I'm still developping the tools available here. I've had less spare time than I thought I would, which
delayed the new versions of DriveSort and JSavf. I hope I'll be able to release those faster this year.
Aside from this, a satisfied user of DriveSort recently asked me if there was any way to send me a small donation to thank me for it, but until now there
wasn't anything like this on the site so I added a PayPal donation link near my mail down there should you feel generous.
Info: DriveSort under Linux
I've done some tests in Ubuntu Linux v8.04 using Wine v0.9.59 as Windows emulator, and it seems to allow DriveSort to run under Linux. I currently don't plan
to make a cross platform version of DriveSort, since my code base is tightly bound to the Microsoft APIs. It would be easier to rewrite the whole thing from
scratch, and I'm not even sure there are portable APIs for disk management somewhere.
Still, there are some issues involved in running DriveSort under Wine:
I only managed to sort something by running DriveSort using sudo wine DriveSort.exe, otherwise it complained of "Access denied" when I tried to open
a mounted FAT filesystem.
This might be due to my somewhat exotic testing conditions (I've tried to sort an USB key connected to my Windows machine by running DriveSort over Wine over
Ubuntu Linux over VMWare Player over Windows). I've tried to sort a TrueCrypt volume mounted in Ubuntu to skip the virtual machine layer, but it doesn't seem to
solve the problem, I can only open the FS by running Wine as root. It might also have something to do with my Ubuntu installation, which is a preinstalled image
(The Ubuntu VM Image I use).
If you find a way to open a disk in DriveSort without running Wine as root, please tell me.
There are some Windows functions used by DriveSort which are not supported by Wine at the moment. Some are important, the others less so:
Volume locking (FSCTL_LOCK_VOLUME): Enables DriveSort to prevent other programs from accidentaly modifying the filesystem which it sorts, and to
prevent DriveSort from opening a filesystem while another program works on it. Without this, there is no guarantee that your FAT filesystem won't be modified
by two programs at the same time, so it might lead to a corrupted filesystem. You can try to prevent this by not doing anything on that filesystem, but it's
still a bit dangerous. Reported by Wine as fixme:ntdll:NtFsControlFile stub! return success - Unsupported fsctl 90018 (device=9 access=0 func=6 method=0)
Volume Unlocking (FSCTL_UNLOCK_VOLUME): Enables DriveSort to release a volume lock when you close it. Not missed much when there is no way to lock
the volume, but still important if Wine implements the locking without implementing the unlocking in a beta version. Reported by Wine as fixme:ntdll:NtFsControlFile stub! return success - Unsupported fsctl 9001c (device=9 access=0 func=7 method=0).
Drive Layout (IOCTL_DISK_GET_DRIVE_LAYOUT): Gives more details on the disk partitions to DriveSort. Reported by Wine as fixme:mountmgr:harddisk_ioctl unsupported ioctl 7400c.
Internet file read (InternetReadFileExW): Enables DriveSort to read the last DriveSort version from the net asynchronously when looking for uptades. Since
the Wine placeholder function does nothing, the updater will complain that it can't tell the latest version of DriveSort with "Success" as a reason, which does
not tell much. Reported by Wine as err:wininet:InternetReadFileExW (0x3, 0x14eae0, 0x8, 0x14ead0): not implemented in native
There's a Windows DLL which is not packaged with Wine: mfc42u.dll. To run DriveSort under Wine you need to put it either with DriveSort.exe or in the Wine
system files. You can easily find it with Google mfc42u.dll.
Usually, when DriveSort closes a disk it just sorted, it attempts to dismount it to force the operating system to reload its filesystem caches. Under
Windows the disk is automatically remounted, so this is transparent for the user. Under Wine, the disk is not automatically remounted, so don't freak out if
your disk disappears when you close it under Wine, since it was only dismounted.
Using Wine allows to run DriveSort under Linux, but it won't be as safe as running it under Windows until Wine implements the volume locking.
Update: DriveSort v1.223
There should be a small performance improvement during the disk opening with this version, since I deferred some code which was only useful to the file
properties dialog and took some time when confronted to many files, or big files.
Apart from that, given the number of bugs I found last time, I realized that it's nice to fix all that stuff, but then you need to keep up to date to benefit
from it. There was no way to tell if the version you were running was the latest without having a look at this website, which might be a pain. I decided to
include a new background task which checks if DriveSort is up to date. If it's not the case, it informs you of the new version, and allow you to go directly to
the download page. By default, this checks are activated and performed at most once a week during DriveSort startup.
If you want to disable the update checks, or change their frequency, or manually launch an update check, you can do so from a new submenu "Updates..." in the
mysterious menu on the right ("?").
If you have a firewall, it might ask you whether to allow DriveSort to connect to the Net. To help you set that up, here is what DriveSort does when it check
for updates:
DriveSort asks the IP address of the www.anerty.net server, through a DNS request.
Once it found out where that is, it tries to connect to it on the TCP port 80 (HTTP)
It then requests the following URL:
/software/file/DriveSort/?style=ver&curVer=1.222&curLang=0409.You can
check it out if you want, there's only the application name and a version number for now. Later I might add some other stuff, that's why I added two parameters
describing the version you're running. It'll allow to distinguish between critical and minor updates, and to redirect you to the traduction you had.
curVer is the program version you have (1.222 in this example)
curLang is a Windows language code which meands "French (France)" for 040c or "English (US)" for 0409
If DriveSort receives something ("DriveSort v1.222"), it checks if it's up to date, otherwise it tries a second time, and if it still doesn't work it
informs you about not being able to get the version, and drops the matter until the next update check.