RTC File format (reverse engineering)

General messages about RTC and it's development.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Taghor
Novice
Posts: 27
Joined: Fri May 16, 2003 11:37 am
Location: Hastings, United Kingdom
Contact:

RTC File format (reverse engineering)

Post by Taghor »

So,

Looking at the one drive I see there's alot of RTC dungeons (namely the EOB one) which has the txt file with it but not the graphics.

Poking about in the asm, I've made some progress in determing how the encryption methods are achieved. It's essentially a XOR Cipher stream (keystream XORd against plaintext).

Now, this does not mean I can extract anything... It means I can only see unencrypted binary data (for now).

it's only a personal project, I find these kind of things to be some what of a puzzle, but if anyone's interested I can put it on github..
User avatar
Gambit37
Should eat more pies
Posts: 13788
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: RTC File format (reverse engineering)

Post by Gambit37 »

Reverse engineering RTC!? The circle is now complete. :D
User avatar
Taghor
Novice
Posts: 27
Joined: Fri May 16, 2003 11:37 am
Location: Hastings, United Kingdom
Contact:

Re: RTC File format (reverse engineering)

Post by Taghor »

Progress!!

I've got the encryption sorted, and now the decompression.

It essentially stores in different sections, HDR, PTY, SAV, MOD ( maybe more )

MOD is where the graphics, sound etc are stored.

I've written some header carving stuff to extract the bitmaps from it and so far it's looking good, extracting BMP and the WAV files

Image

I'll have a look at tidying it up tomorrow, it's doing the decode, decompress stuff in C and the signature carving in c#. I'd like to have it all in C or C# before I put it on github.
User avatar
Taghor
Novice
Posts: 27
Joined: Fri May 16, 2003 11:37 am
Location: Hastings, United Kingdom
Contact:

Re: RTC File format (reverse engineering)

Post by Taghor »

Github repo:
https://github.com/joesblog/RTCExtractor

The codes a mess, its written for use not beauty!

Probably best to just use the release.
User avatar
Sphenx
On Master
Posts: 605
Joined: Sun Sep 09, 2001 11:23 am
Contact:

Re: RTC File format (reverse engineering)

Post by Sphenx »

Wow ! that's impressive. This is working great on several RTC I tried. The decode code looks like magic to me.
Post Reply