Radcore Cement Library RCF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
No edit summary
imported>Baringmo
 
(20 intermediate revisions by 2 users not shown)
Line 3: Line 3:


* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian / Big Endian<br>
* ''' Signature ''':    RADCORE CEMENT LIBRARY <br>  
* ''' Signature ''':    RADCORE CEMENT LIBRARY <br>  


Line 12: Line 12:
<pre>
<pre>
// header
// header
32 bytes (char) - signature // "RADCORE CEMENT LIBRARY"
32 bytes (char) - signature + nulls // "RADCORE CEMENT LIBRARY"
1 byte (unsigned char) - major version  // e.g. 1
1 byte (unsigned char) - major version  // e.g. 1
1 byte (unsigned char) - minor version  // e.g. 2
1 byte (unsigned char) - minor version  // e.g. 2
Line 26: Line 26:


// directory
// directory
4 bytes (uint32) - total number of files
4 bytes (uint32) - total number of files
4 bytes (uint32) - filename directory offset  // e.g. 4096
4 bytes (uint32) - filename directory offset  // e.g. 4096
4 bytes (uint32) - first file start position// e.g. 4096
4 bytes (uint32) - first file start position// e.g. 4096
4 bytes (uint32) - unknown // likely an offset
num_of_files *
num_of_files *
{
{
    4 bytes (uint32) - file name hash
  4 bytes (uint32) - filename hash
4 bytes (uint32) - file offset  
  4 bytes (uint32) - file offset  
4 bytes (uint32) - file size  
  4 bytes (uint32) - file size  
}   
}   
x bytes - padding  
x bytes - padding  
Line 39: Line 40:


// filename directory  
// filename directory  
4 bytes (uint32) - total number of files  
4 bytes (uint32) - total number of files  
4 bytes - nulls
4 bytes - nulls
num_of_files *
num_of_files *
Line 70: Line 71:
=== Games ===  
=== Games ===  
List of games using this file format:
List of games using this file format:
* Dark Angel (*.RCF)
* James Cameron's Dark Angel (*.RCF v1.2)
* The Simpsons Hit & Run (*.RCF v1.2)
* Hulk (*.RCF)
* The Simpsons: Hit & Run (*.RCF v1.2)
* The Simpsons: Road Rage (*.RCF v1.2)


=== Compatible Programs ===  
=== Compatible Programs ===  

Latest revision as of 03:21, 30 November 2021

Back to index | Edit this page

RCF

  • Format Type : Archive
  • Endian Order : Little Endian / Big Endian
  • Signature : RADCORE CEMENT LIBRARY


Format Specifications

// header
32 bytes (char) - signature + nulls // "RADCORE CEMENT LIBRARY"
1 byte (unsigned char) - major version  // e.g. 1
1 byte (unsigned char) - minor version  // e.g. 2
1 byte (unsigned char) - endianess flag  // 0 - little endian
                                         // 1 - big endian 
1 byte (unsigned char) - is_library_valid flag   // 0 - not valid 
                                                 // 1 - valid 
4 bytes (uint32) - alignment value	
4 bytes (uint32) - padding net size	
4 bytes (uint32) - directory start offset 	
x bytes - padding 


// directory	
4 bytes (uint32) - total number of files 	
4 bytes (uint32) - filename directory offset  // e.g. 4096
4 bytes (uint32) - first file start position// e.g. 4096	
4 bytes (uint32) - unknown // likely an offset
num_of_files *
{
   4 bytes (uint32) - filename hash
   4 bytes (uint32) - file offset 
   4 bytes (uint32) - file size 
}  
x bytes - padding 


// filename directory 
4 bytes (uint32) - total number of files 
4 bytes - nulls
num_of_files *
{
   4 bytes (uint32) - filename length 
   x bytes (char) - filename  // e.g. "sound\scripts\ambul.spt"
   1 byte - null 
   4 bytes (time_t) - file's last modification time
} 
x bytes - padding 


// data
num_of_files *
{
   x bytes - file data 
   x bytes - padding
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • This file format occurs in games made using Radcore Cement Library from Radical Entertainment.

Games

List of games using this file format:

  • James Cameron's Dark Angel (*.RCF v1.2)
  • Hulk (*.RCF)
  • The Simpsons: Hit & Run (*.RCF v1.2)
  • The Simpsons: Road Rage (*.RCF v1.2)

Compatible Programs

  • FileCementer
  • Game Extractor
  • RCF Explorer
  • WinCementer

See Also