Creating your own IPFs
Hi Folks,
I've been doing some more work on my Amiga disk decoding/encoding utilities. These allow you to read disk dumps from various sources (Kryoflux, IPF, ADF, etc) analyse the contained data according to known encoding schemes (AmigaDOS, Copylock, RNC PDOS, various game publisher custom formats, ...), and write the analysed data in another format. In effect this is an all-in-one Amiga disk archiving/transcoding/reading utility. The new feature which I just completed is support for writing IPFs. Previously the main useful target was a custom archival format, for which support has to be added to emulators and the like (I have patches to UAE to support reading my disk files, for example). However, with IPF support you can now create or transcode disk dumps that can be immediately loaded into emulators, read on a real Amiga (latest version of RawDIC/WHDLoad), or written back to a real disk using the latest Kryoflux software! For example, I was able to back up my own copy of New Zealand Story (a typical Copylocked game disk) as follows. In Linux: Code:
dtc -r6 -fnzs/ -i0 -e79 -i5 Then, since I believe Kryoflux write support is currently only in the Windows tools, I do the writing step from a Windows VM: Code:
DTC -d0 -fnzs.ipf -s0 -e79 -w -l15 You can also do things like write out unprotected ADFs through Kryoflux, by transcoding them via disk-analyse first: Code:
disk-analyse my.adf my.ipf The bad news: It's Linux only (also basic support for Cygwin/MinGW on Windows) and you have to build it yourself, something like: Code:
git clone http://github.com/keirf/Disk-Utilities |
I'm going to install Ubuntu in a virtual machine to try this.
Cheers. |
Let me know if you get stuck setting it up.
|
Any way to get it compiled in cygwin? :)
|
Just a small update. I've got VMWare player installed and Ubuntu installed.
|
I didn't think of trying Cygwin! Yes, it was quite easy to do a basic port to Cygwin. You can now compile and run on cygwin as follows:
Code:
git clone http://github.com/keirf/Amiga-Disk-Utilities Quote:
|
Quote:
|
Quote:
The point is, you have to give mfmparse some guidance to analyse your disk dump. That is what the --format=blah option is all about -- you specify a name listed in the mfmparse_formats file, which lists all the disks that I've had time to check the format of. If your disk is not listed, but you're lucky, you may find that the protection is something incredibly common, like Copylock. In which case specifying --format=amigados_copylock will work fine. You'll have to experiment a bit ;) |
Quote:
|
Quote:
|
Right, Ubuntu all working. Followed your instructions, but with 1 change:
Code:
git clone http://github.com/keirf/Amiga-Disk-Utilities Code:
Amiga_Extras_3_1.raw Code:
mfmparse --format=amigados Amiga_WorkBench_3_1.raw Amiga_Workbench_3_1.dsk Code:
mfmparse: Failed to probe input file: Amiga_WorkBench_3_1.raw Code:
ch_3_1.raw Amiga_Workbench_3_1.dsk [off topic, if I made a workbench IPF, then created a blank disc and copied a kickstart rom image onto it, then made an IPF of the disc and uploaded them to the zone I could probably break all the rules with 1 .zip file hehe] |
Well, you got somewhere! How did you generate these .raw files from Kryoflux? The Kryoflux format I support is generated by the -i0 option to dtc, and actually generates a file per disk track.
A single .raw file is not one I've come across. Perhaps it is a raw sector dump. If you can give me an example command line you used to generate one I may be able to say more. Ahhhh... hang on, you used the GUI. That has a drop-down menu where you select the output format to dump to. I would need you to be using "Kryoflux stream files". Other formats would probably need support to be added to my library. |
I do have the directories with all the .raw files in, 1 per track. Would they be better?
|
Quote:
Code:
mfmparse Amiga_Workbench_3_1/ Amiga_Workbench_3_1.dsk |
Tried the command:
Code:
mfmparse -v --format amigados Amiga_WorkBench_3_1/ out.ipf Code:
Found format "amigados" |
Quote:
|
The first file is called track00.0.raw, then track00.1.raw etc
|
Quote:
Code:
mfmparse Amiga_Workbench_3_1/track out.ipf |
I've got it working. The command I used is:
Code:
mfmparse -v --format amigados Amiga_WorkBench_3_1/track out.ipf Well done! |
This has probably been asked before elsewhere but are there any plans for CT RAW image support in the future for disk-analyse ?
|
All times are GMT +2. The time now is 18:31. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.