2MG Properties Editor

 

This tool allows you to see and update some of the attributes embedded in a 2MG disk image file.  Select the disk image you want to open (it will usually have a ".2mg" or ".2img" suffix), and click "Open".

 

Some fields from the file header are shown at the top.  "Creator" is a 4-letter code for the software that created the file (CiderPress uses 'CdrP').  "Version" is the 2MG file version number, usually 0 or 1.  "Image format" tells you whether the image uses DOS-ordered sectors, ProDOS-ordered sectors, or raw nibbles.  "Blocks" is the number of 512-byte blocks in the file.

 

"Locked" is a software flag used to indicate whether or not the virtual disk has been write-protected.  Some emulators obey the flag, some don't.

 

"Specify disk volume number" indicates whether or not a volume number has been explicitly defined.  This is potentially of use for 140K 5.25" disk images.  5.25." floppies have a volume number embedded in the address field of every sector on the disk, but this value is lost when disks are converted to sector images (you have to use nibble images to retain it).  Some emulators will use the volume number from the 2MG header to determine the sector-address-field volume number.  This is only useful for a handful of mildly copy-protected disks that actually care about the volume number.

 

The "Volume number" field is enabled if the previous checkbox is set.  You may enter a number from 1 to 254.

 

The "Comment" box holds the comment for this file.  It can be any length you want.

 

If CiderPress is unable to open the file for writing, perhaps because it's marked read-only in Windows (a common occurrence for files copied off of a CD-ROM), the file will be opened read-only.  You will be able to see the contents of the fields but not edit them.