Page 2 of 2

Re: Zip to MDV

Posted: Wed Sep 25, 2019 9:59 pm
by jll745562
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.

Re: Zip to MDV

Posted: Thu Dec 26, 2024 7:37 pm
by podge_de
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?

Re: Zip to MDV

Posted: Mon Jan 06, 2025 10:16 am
by jobdone
Please specify what OS you would require a binary for ? I'm adding my build from x64 Linux.

Re: Zip to MDV

Posted: Mon Jan 06, 2025 6:35 pm
by gferluga
MacOS ARM, please? Thx

Re: Zip to MDV

Posted: Mon Jan 06, 2025 6:45 pm
by XorA
Install brew (brew.sh)

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

Posted: Mon Jan 06, 2025 7:26 pm
by gferluga
./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 ;)-