Anno 1701 RDA: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Matsy
No edit summary
imported>Ikskoks
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 7: Line 7:
<tt>
<tt>
<b>
<b>
Char {26}&nbsp;&nbsp;&nbsp; - header {{Purple|(Crypted Resource File V1.1)}}<br>  
{{InlineComment|//header}}<br>
Char {26}&nbsp;&nbsp;&nbsp; - header {{Constant|("Crypted Resource File V1.1")}}<br>  
byte {230}&nbsp;&nbsp; - reserved<br>
byte {230}&nbsp;&nbsp; - reserved<br>
uint32 {4}&nbsp;&nbsp; - number of files<br>
uint32 {4}&nbsp;&nbsp; - number of files<br>
{{Blue|//dictionary}}<br>
{{InlineComment|//dictionary}}<br>
Char {256}&nbsp;&nbsp; - filename<br>
Char {256}&nbsp;&nbsp; - filename<br>
uint32 {4}&nbsp;&nbsp; - file offset<br>
uint32 {4}&nbsp;&nbsp; - file offset<br>
uint32 {4}&nbsp;&nbsp; - file size{{Purple|(compressed)}}<br>
uint32 {4}&nbsp;&nbsp; - file size {{InlineComment|(compressed)}}<br>
uint32 {4}&nbsp;&nbsp; - file size{{Purple|(decompressed)}}<br>
uint32 {4}&nbsp;&nbsp; - file size {{InlineComment|(decompressed)}}<br>
uint32 (4)&nbsp;&nbsp; - compression flag{{Purple|(7...compressed)}}<br>
uint32 (4)&nbsp;&nbsp; - compression flag {{InlineComment|(7:compressed)}}<br>
uint32 {4}&nbsp;&nbsp; - timestamp<br>
uint32 {4}&nbsp;&nbsp; - timestamp<br>
{{Blue|//data}}<br>
{{InlineComment|//data}}<br>
byte {x}&nbsp;&nbsp;&nbsp;&nbsp; - files<br>
byte {x}&nbsp;&nbsp;&nbsp;&nbsp; - files<br>
</b></tt>|
</b></tt>|
notes=Das Archiv enthält komprimierte(deflate) und unkomprimierte Daten,<br>
notes=Das Archiv enthält komprimierte(deflate) und unkomprimierte Daten,<br>
Kopf und Verzeichnis sind verschlüsselt. Hier der Algorithmus:<br>
Kopf und Verzeichnis sind einzeln verschlüsselt. Hier der Algorithmus:<br>
(anzahl ist die Größe des Puffers durch 2, also für den Kopf = 130. Kopf und Verzeichnis werden getrennt verschlüsselt)<br>
(anzahl ist die Größe des Blocks durch 2, also für den Kopf = 130)<br>
English:
English:
The archive contains compressed(deflate) and uncompressed data, <br>
The archive contains compressed(deflate) and uncompressed data, <br>
The head and the listings are encrypted. Here is the algorythm, <br>
header and dictionary are separately encrypted. Here is the algorithm: <br>
(The number is the size of the buffer times 2, for the head too = 130. The head and the listings are seperately encrypted)<br>
(anzahl is the size of the block divided by 2, for the head = 130)<br>


mov ebx, puffer<br>
mov ebx, puffer<br>
Line 46: Line 47:
jb start|
jb start|
bms_script=Not written yet|
bms_script=Not written yet|
programs=AnnoEx ([http://www.annozone.de/forum/thread.php?threadid=4263 hier] erhältlich)|
programs=AnnoEx (available [http://www.gameformats.de.vu here])|
documentation=None|
documentation=None|
games=ANNO 1701
games=Anno 1701
}}
}}
[[Category:XOR encryption]]
[[Category:File Format]]

Latest revision as of 14:22, 4 April 2021

Back to index | Edit this page

*.rda

{{GRAFPageMisc{{ subst:#if: Archive | {{subst:!}}Archive }}{{ subst:#if: Little Endian | {{subst:!}}Little Endian }}}}

Format Specifications

//header
Char {26}    - header ("Crypted Resource File V1.1")
byte {230}   - reserved
uint32 {4}   - number of files
//dictionary
Char {256}   - filename
uint32 {4}   - file offset
uint32 {4}   - file size (compressed)
uint32 {4}   - file size (decompressed)
uint32 (4)   - compression flag (7:compressed)
uint32 {4}   - timestamp
//data
byte {x}     - files

Notes and Comments

Das Archiv enthält komprimierte(deflate) und unkomprimierte Daten,
Kopf und Verzeichnis sind einzeln verschlüsselt. Hier der Algorithmus:
(anzahl ist die Größe des Blocks durch 2, also für den Kopf = 130)
English: The archive contains compressed(deflate) and uncompressed data,
header and dictionary are separately encrypted. Here is the algorithm:
(anzahl is the size of the block divided by 2, for the head = 130)

mov ebx, puffer
mov ecx,0
mov x,0xA2C2A
start:
mov eax,x
imul eax,eax,0x343FD
add eax,0x269EC3
mov x,eax
shr eax,0x10
and eax,0x7FFF
mov ebx, ecx
shl ebx, 1
add ebx, puffer
xor word ptr [ebx], ax
inc ecx
cmp ecx, anzahl
jb start

MultiEx BMS Script

Not written yet

Supported by Programs

AnnoEx (available here)

Documentation

None

Games

Anno 1701

Navigation

Jump to a listing by...
All Formats - Common Formats - Standard Formats - Malformed Pages
Platforms
Microsoft:
Xbox
Xbox 360
Nintendo:
GameCube
DS
Desktop:
PC
Sega:
Dreamcast
Sony:
PlayStation
PlayStation 2
PlayStation 3
PlayStation Portable
Type
Animation - Archive - Audio - Image - Mesh - Miscellaneous - Model - Video
Endianness
Little-endian - Big-endian
BMS Scripts
Pages Without a BMS Script

All Pages with Scripts:
Recently Added Scripts

Program Support
No Known Support

MultiEx Commander - Game Extractor

Format Specification Completion
Work in Progress - Almost Done - Completed
Compression and Encryption
No Compression or Encryption Used - Unknown Compression or Encryption Used

One or Both Used:
Compression Used - Both Compression and Encryption Used