If anyone's still interested in this, I recently had need of mdvtool for a DIY microdrive emulator I'm working on (more about that in the future).
Anyway, I've fixed the Zip file import and added a 'create' command to create blank .mdv files, as well as squishing a few other bugs (but probably not all of them!)
I've attached a zip file of the source code if anyone wants it. You will need libzip to compile.
Jason.
Zip to MDV
Re: Zip to MDV
Hi!
I'm new to the QL, or at least new in the sense that I haven't touched the machine in the last 27 years. I just unpacked it and set it up recently and have discovered, that nearly all my disks and microdrive cartridges are no longer readable.
Unfortunately (for me) I don't have the skill or a compiler to compile the source. Is there any chance of sending me a compiled version?
I'm new to the QL, or at least new in the sense that I haven't touched the machine in the last 27 years. I just unpacked it and set it up recently and have discovered, that nearly all my disks and microdrive cartridges are no longer readable.
Unfortunately (for me) I don't have the skill or a compiler to compile the source. Is there any chance of sending me a compiled version?
Re: Zip to MDV
Please specify what OS you would require a binary for ? I'm adding my build from x64 Linux.
- Attachments
-
- mdvtool.zip
- (11.45 KiB) Downloaded 25 times
- XorA
- Site Admin
- Posts: 1586
- Joined: Thu Jun 02, 2011 11:31 am
- Location: Shotts, North Lanarkshire, Scotland, UK
Re: Zip to MDV
Install brew (brew.sh)
Use that to install libzip git and make
Then
Use that to install libzip git and make
Then
Code: Select all
git clone https://github.com/xxoraa/mdvtool
cd mdvtool
make
Re: Zip to MDV
./mdvtool
Usage: mdvtool <mdv> commands
or: mdvtool create commands
Commands:
create - create a new MDV image
dir - list MDV contents
check_files - check file integrity
file_chains - list chain of sectors for each file
check_mapping - check the sector mapping
show_mapping - show physical/loginal sector mapping
export file_name - export a file from the MDV image
erase - erase the MDV image
name image_name - rename the MDV image
rand random - set the rand for MDV image
import file_name - import a file to the MDV image
zip_import file_name - import an entire ZIP archive
write file_name - write the MDV image[/code][/code]
Thanks
-
Usage: mdvtool <mdv> commands
or: mdvtool create commands
Commands:
create - create a new MDV image
dir - list MDV contents
check_files - check file integrity
file_chains - list chain of sectors for each file
check_mapping - check the sector mapping
show_mapping - show physical/loginal sector mapping
export file_name - export a file from the MDV image
erase - erase the MDV image
name image_name - rename the MDV image
rand random - set the rand for MDV image
import file_name - import a file to the MDV image
zip_import file_name - import an entire ZIP archive
write file_name - write the MDV image[/code][/code]
Thanks
