A C# library for reading several video game archive formats, and a sample file explorer.
Clone or download

README.md

GameArchives

C# Library for reading video game archives, and example file browser ("ArchiveExplorer").

Downloading

You can get the most up-to-date release from Appveyor (download the Release-x.x.x.x.zip file).

Supported Archive Formats

Ark (*.hdr, *.ark)

This format is used in many Harmonix games, including but not limited to:

  • Frequency
  • Amplitude (PS2/PS3 versions)
  • Guitar Hero 1 - 2, Encore: Rocks the 80s
  • Rock Band 1 - 4, Lego, Green Day, Beatles, VR
  • Karaoke Revolution (untested)
  • MAGMA (RBN Authoring Tool, PC)
  • Disney Fantasia: Music Evolved

Versions 1 through 7, 9, and 10 are supported at this time.

FSG-FILE-SYSTEM (DISC0.img)

This format is used in some FreeStyleGames games, including:

  • DJ Hero 2
  • Guitar Hero Live

Notes

Usually, these are on disc as DISC0.img.part0, DISC0.img.part1. The library will handle these files in addition to the combined DISC0.img.

FSAR (*.far)

This format is used in some FreeStyleGames games, including:

  • DJ Hero 1,2
  • Guitar Hero Live

This format may use compression.

PFS (pfs_image.dat, etc)

This format is used for downloadable content and games on the PS4. It is structured much like the Unix File System. PKG files from game discs and downloads contain encrypted (and compressed?) PFS images within them.

PSARC (*.psarc, *.pak)

This format is used commonly in Playstation 3 and 4 games, and usually has the extension .psarc. The files within can be compressed with zlib or lzma. Currently, only zlib-compressed archives are supported.

STFS (*)

This includes the CON and LIVE formats, used for game saves and downloadable content (among other things) on the Xbox 360. Since documentation on the format is somewhat limited, you may come across errors when trying to read these files. Please report any errors you encounter.

XDVDFS / GDFS (*.iso)

This is the file system used on Xbox and Xbox 360 game discs.

U8 (*.arc, *.app, etc)

This is a simple archive format commonly used in Wii games and system software, which gets its name from the printable ASCII characters in its magic number.

PACKAGE (*.pkf, *.themes)

Unencrypted archive format used in SingStar games on PS3.

Seven45 PK (*.hdr.e.2)

Archive format with an encrypted header used in Power Gig: Rise of the SixString by Seven45 Studios.