Data recovery and disk repair questions and discussions related to old-fashioned SATA, SAS, SCSI, IDE, MFM hard drives - any type of storage device that has moving parts
Post a reply

Re: Loader needed

August 2nd, 2016, 15:39

Attached are two Python scripts, one for converting from LDR to LOD format (cnvrtldr.py), and the other for converting from LDR to LOD (cnvrtlod.py). (I have used a script written by HaQue as a template.)

The following commands should convert from LOD to LDR and then back to LOD again. FC performs a binary comparison between the original and resulting files. They should be identical.

    python cnvrtldr.py test.lod test.ldr
    python cnvrtlod.py test.ldr test1.lod
    fc /b test.lod test1.lod
Attachments
MRT_loader_conversion.rar
(1.56 KiB) Downloaded 338 times

Re: Loader needed

August 2nd, 2016, 16:01

Thank you very very much Mr. Frank

Re: Loader needed

August 2nd, 2016, 20:32

The end of the loader contains some information which appears to be specific to MRT.

Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00070800  34 48 00 00 00 00 00 00 00 01 B4 48 00 00 00 00
00070810  00 00 01 01 5D 7E 00 00 00 00 00 00 03 01 DD 7F
00070820  00 00 00 00 00 00 04 01

ICBW, but this is how I interpret the "footer":

Code:
00070800  34 48 00 00 00 00 00 00 00 01  file #100  Overlay ID = 00  LBA 0x4834
0007080A  B4 48 00 00 00 00 00 00 01 01  file #101  Overlay ID = 01  LBA 0x48B4
00070814  5D 7E 00 00 00 00 00 00 03 01  file #103  Overlay ID = 04  LBA 0x7E5D
0007081E  DD 7F 00 00 00 00 00 00 04 01  file #104  Overlay ID = 05  LBA 0x7FDD

Re: Loader needed

August 3rd, 2016, 6:42

Thank you Frank :wink:
Post a reply