// DIE's signature file

init("format","Universal Disk Image Format");

function detect(bShowType,bShowVersion,bShowOptions)
{
    if(Binary.compare("7801730d62626060"))
    {
        sOptions="read-only zlib-compressed";
        bDetected=1;
    }
    else if(Binary.compare("45520200")&&Binary.compare("'disk image'",0x410))
    {
        sOptions="read/write";
        bDetected=1;
    }

    return result(bShowType,bShowVersion,bShowOptions);
}
