XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Nov 18, 2018 9:50 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Indiana Jones and the Emperor's Tomb (.RPE extractor)
PostPosted: Sat Jun 09, 2018 1:58 pm 
Offline
ultra-n00b

Joined: Sun Jul 26, 2015 11:49 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time














You can make the ads go away by registering

Hi!

I was trying to decompress .RPE files of this game and managed to do so in fairly short time.
Though, I stumbled upon one big issue - I cannot for whatever reason play the IMA ADPCM files that came out of the archive.

They seem to be modified in some way, I don't know how exactly.
There are two extra chunks at the end (probably some extra data for the game engine) and size of data chunk seems to be garbage value in every extracted file for whatever reason.

If somebody could help me get the playback working, I would really appreciate it!

Findings about .RPE files:
1..4 - seems to always be uint32 = 1
5..8 - number of files in archive (lets call this N)
9..32 - all nulls
33..N*44 - file information table
rest - uncompressed data

Each file information table chunk has following structure:
1..32 - null-terminated string, ID
33..36 - offset to data
37..40 - size of data
41..44 - unknown (seems to be floating point value, duration of audio file possibly?)

All files contained within .RPE files seems to be encoded with some variation of IMA ADPCM.

In attachment is compiled tool for extraction along with source code.
Its console only, usage is printed when run without any arguments.
(creation of RPE files is currently not implemented, as there are still few unknowns to be cleared out...)


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Indiana Jones and the Emperor's Tomb (.RPE extractor)
PostPosted: Sat Jun 09, 2018 2:21 pm 
Offline
ultra-n00b

Joined: Sun Jul 26, 2015 11:49 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
I just realized that I didn't give any example file that is outputted.
Here are few...


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 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