MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Loader needed
PostPosted: August 2nd, 2016, 15:39 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 16960
Location: Australia
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 318 times

_________________
A backup a day keeps DR away.
Top
 Profile  
 
 Post subject: Re: Loader needed
PostPosted: August 2nd, 2016, 16:01 
Offline

Joined: October 21st, 2007, 8:48
Posts: 1712
Thank you very very much Mr. Frank


Top
 Profile  
 
 Post subject: Re: Loader needed
PostPosted: August 2nd, 2016, 20:32 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 16960
Location: Australia
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

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Loader needed
PostPosted: August 3rd, 2016, 6:42 
Offline

Joined: December 5th, 2011, 5:38
Posts: 1740
Location: Verona, Italy
Thank you Frank :wink:

_________________
My firmware database:
https://mega.nz/folder/O01DkBRI


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 136 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group