Formats/Common:BIG: Difference between revisions

From SSX Modding Wiki
No edit summary
No edit summary
Line 1: Line 1:
== Overview ==
EA's archive format.
EA's archive format.


Line 8: Line 7:
== File Data ==
== File Data ==
All integers are Big endian unless stated otherwise.
All integers are Big endian unless stated otherwise.

=== Magic words ===
{| class="wikitable"
{| class="wikitable"
|+Magic words
|+
!Hex
!Hex
!ASCII
!ASCII
Line 27: Line 24:


=== BIGF/BIG4 ===
=== BIGF/BIG4 ===

==== Header ====
{| class="wikitable"
{| class="wikitable"
|+
|+Header
!Type
!Type
!Description
!Description
Line 43: Line 38:
|Data Start Offset
|Data Start Offset
|}
|}
<!-- Editor's note, I believe the third word is header size. This is is how you should check for lumpy debug info iirc -->
<!-- Editor's note, I believe the third word is header size. This is is how you should check for lumpy debug info iirc -->{| class="wikitable"
|+File Entries

==== File Entries ====
{| class="wikitable"
|+
!Type
!Type
!Description
!Description
Line 61: Line 53:
|}
|}
If the first word of the file data starts with 0x10FB, the file is RefPack compressed.
If the first word of the file data starts with 0x10FB, the file is RefPack compressed.

==== Debug Info Footer ====
This footer contains a tiny bit of debug info about the Lumpy used to pack the archive.
{| class="wikitable"
{| class="wikitable"
|+Debug Info Footer
|+
!Type
!Type
!Description
!Description
Line 75: Line 64:
|Lumpy flags (as a bitflag. Unknown)
|Lumpy flags (as a bitflag. Unknown)
|}
|}
This footer contains a tiny bit of debug info about the Lumpy used to pack the archive.


=== C0FB ===
=== C0FB ===

==== Header ====
{| class="wikitable"
{| class="wikitable"
|+
|+Header
!Type
!Type
!Description
!Description
Line 90: Line 78:
|File Count
|File Count
|}
|}

==== File Entries ====
{| class="wikitable"
{| class="wikitable"
|+File Entries
|+
!Type
!Type
!Description
!Description

Revision as of 08:46, 29 September 2022

EA's archive format.

Tools

File Data

All integers are Big endian unless stated otherwise.

Magic words
Hex ASCII
C0FB Àû
42494734 BIG4
42494746 BIGF

C0FB is identified as "old 24bit", and BIGF is identified as "old 32bit".

BIGF/BIG4

Header
Type Description
UInt32 LE Big File Size
UInt32 File Count
UInt32 Data Start Offset
File Entries
Type Description
UInt32 Offset
UInt32 File Size
C String Path

If the first word of the file data starts with 0x10FB, the file is RefPack compressed.

Debug Info Footer
Type Description
char[4] Lumpy version/creator code (e.g: `L218`)
uint32 Lumpy flags (as a bitflag. Unknown)

This footer contains a tiny bit of debug info about the Lumpy used to pack the archive.

C0FB

Header
Type Description
UInt16 Data Start Offset
UInt16 File Count
File Entries
Type Description
UInt24 Offset
UInt24 File Size
C String Path

Footer

Same as BIGF/BIG4?