Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Namco Archive [*.PKG | PS2/XBOX]

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
TopazTK
beginner
Posts: 20
Joined: Thu Mar 21, 2019 6:26 pm
Has thanked: 2 times
Been thanked: 14 times

Namco Archive [*.PKG | PS2/XBOX]

Post by TopazTK »

This thread is a specification of the archive format used by Namco in game series like Soul Calibur in the PS2/XBOX era, which have the ".pkg" extension.

NOTE: This format seems really simple, but it's way of actual function is extremely bizzare. As such, many of it's properties are... uncertain.

Format Specifications:
  • PS2/XBOX Checksum Enabled [Valid If: FileSize % 16 = 0]
  • 32-bit Format
  • Capacity unknown due to it's bizzare nature.
  • Value-Dependent Archive, any sections not declared by Offset+Size does NOT affect the game.
Format Structure:
The code given is a psuedo code inspired by 010 Editor's Template Language.

Code: Select all

struct FILE
{
	struct HEADER
	{
		int EntryCount;
		int FileOffsets[EntryCount];
		int EOF_Offset;
	} header;
	
	char DATA[];
} file;
Interesting Tidbits:
  • Format is Value-Dependent, it does not care what happens outside of it's declared offsets and unused offsets do not affect the game if changed. However, because of this format's bizzare nature, extra functionality cannot be given to it without serious consequences.
Post Reply