While testing jSAVF with a SAVF found on the net, I noticed a bug in my LZ1
(*HIGH) unpacking routine which sometimes mangled the extracted data or made the unpacking fail. This update fixes the issue and a few minor ones (fixed the
version check URL, cleanup of unpacking temporary files, ...).
Update: jSAVF 1.30
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.