Difference between revisions of "RPF archive"

From GTAMods Wiki
Jump to navigation Jump to search
m (Reverted edits by D@noosh Peechgah (Talk) to last version by Seemann)
Line 1: Line 1:
 
'''RPF''' is a new kind of the [[Archive|game archives]] introduced in [[GTA 4]]. They can be edited with [[SparkIV]] or [[OpenIV]].
 
'''RPF''' is a new kind of the [[Archive|game archives]] introduced in [[GTA 4]]. They can be edited with [[SparkIV]] or [[OpenIV]].
{{stub}}
+
 
 +
==Header==
 +
 
 +
The RPF Files all contain the same header. The header tells us the version of the archive, how many entries there are and whether or not the archive is encrypted.
 +
 
 +
4b - INT32 - RPF Version
 +
4b - INT32 - Table of Contents Size
 +
4b - INT32 - Number of Entries
 +
4b - INT32 - Unknown
 +
4b - INT32 - Encrypted
 +
 
 +
The RPF Version tells us the version of the RPF Archive. Version 2 is identified by 0x32465052 and Version 3 is identified by 0x33465052.
 +
The Table of Contents Size tells us the size of the table of contents segment in the file.
 +
The Number of Entries tells us the number of files contained in the archive.
 +
The Encryption flag tells us if the archive is encrypted, if the archive is unencrypted it is set to 0 (AKA NULL), otherwise it has a numerical value.
 +
 
 +
{{Incomplete}}
 +
 
 
{{GTA4-navi}}
 
{{GTA4-navi}}

Revision as of 03:29, 2 March 2009

RPF is a new kind of the game archives introduced in GTA 4. They can be edited with SparkIV or OpenIV.

Header

The RPF Files all contain the same header. The header tells us the version of the archive, how many entries there are and whether or not the archive is encrypted.

4b - INT32 - RPF Version
4b - INT32 - Table of Contents Size
4b - INT32 - Number of Entries
4b - INT32 - Unknown
4b - INT32 - Encrypted

The RPF Version tells us the version of the RPF Archive. Version 2 is identified by 0x32465052 and Version 3 is identified by 0x33465052. The Table of Contents Size tells us the size of the table of contents segment in the file. The Number of Entries tells us the number of files contained in the archive. The Encryption flag tells us if the archive is encrypted, if the archive is unencrypted it is set to 0 (AKA NULL), otherwise it has a numerical value.

This section is incomplete. You can help by fixing and expanding it.