HAR (File Format): Difference between revisions

From Wexos's Wiki
Jump to navigationJump to search
(Imported from avsys wiki)
 
m (Updated link)
 
Line 25: Line 25:
= Tools =
= Tools =
The following tools can handle HAR files:
The following tools can handle HAR files:
* [https://avsys.xyz/files/software/Atlas/harhix/ harhix], a tool made by [[Atlas]] that allows extracting the contents from HAR/[[HIX]] files.
* [https://drive.google.com/file/d/12gc1WDRxCLY2aiqnUeuA6KfVGrXAd8vq harhix], a tool made by [[Atlas]] that allows extracting the contents from HAR/[[HIX]] files.


[[Category:Wii U File Formats]]
[[Category:Wii U File Formats]]
[[Category:Switch File Formats]]
[[Category:Switch File Formats]]

Latest revision as of 13:06, 4 May 2024

HAR (Hagi ARchive) is part of an archive format found in emulated GameCube and Wii games on some Wii U Virtual Console and Nintendo Switch titles such as Super Mario 3D All-Stars. It works along with HIX files.

File Format

The file byte order is always little endian.

Header

The file starts with the following header:

Offset Type Description
0x00 Char[4] File magic. Always HARC in ASCII.
0x04 Int32 Number of file entries.
0x08 Byte[4] Unknown.

File Entry

Each file entry is found in the corresponding HIX file. File data is stored directly after the header in the HAR file.

File Data

After all nodes comes all the file data, with the file names 0x24 bytes before the data itself. There is a 2 0-byte padding before the name with unknown reason, and a UInt16 before the file data.

Tools

The following tools can handle HAR files:

  • harhix, a tool made by Atlas that allows extracting the contents from HAR/HIX files.