Far Cry 3 Sound-english.dat And Sound-english.fat Files - Google -
Since "Far Cry 3 Sound-english.dat And Sound-english.fat Files - Google" appears to be a search query rather than a formal academic title, I have interpreted this as a request for a technical white paper or guide regarding the structure, function, and manipulation of these specific game archive files.
Below is a technical paper generated based on the subject matter.
Title: Technical Analysis and Extraction Methodologies for the Far Cry 3 Audio Archive Format (Sound-english.dat and .fat) Since "Far Cry 3 Sound-english
Abstract
This paper explores the file architecture utilized by the Dunia Engine 2 in Far Cry 3 for the storage and retrieval of localized audio assets. Specifically, it examines the symbiotic relationship between the .fat (header/metadata) and .dat (data payload) file formats. The analysis covers the binary structure of the file headers, the encryption and compression standards used, and the practical methodologies for extracting and repacking audio assets for localization and modification purposes.
1. Introduction
Far Cry 3, developed by Ubisoft and released in 2012, utilizes a proprietary engine known as Dunia Engine 2. Within the game’s directory structure, audio assets—specifically localized voice-overs and dialogue—are stored in paired archive files. The primary files of interest for localization are Sound-english.dat and Sound-english.fat. Understanding the relationship between these two files is critical for modders seeking to translate the game, restore cut content, or replace audio assets. Sound-english
2. File Architecture Unlike monolithic archive formats, the Dunia Engine separates the archive into two distinct components.
Sound-english.fat(File Allocation Table): This file serves as the index or header. It does not contain the audio data itself but rather the metadata required to locate and identify files within the corresponding.datfile. This includes the file table, offsets, file sizes, and hashed filenames.Sound-english.dat(Data Archive): This file contains the raw binary data of the audio files. It is a contiguous block of data where files are stored sequentially (or with alignment padding). Without the.fatfile, the.datfile is structurally meaningless, as there are no markers within the.datfile to indicate where one file ends and another begins.
3. Technical Specification
3.1 The Header Structure
The .fat file begins with a standard header that identifies the version of the archive. Research into the Dunia Engine format suggests the following approximate structure for the header:
- Magic Number: A 4-byte identifier indicating the file type (often
0x56415446or similar variations representing "FAT"). - Version: Integer values determining the engine version (relevant as Far Cry 2, 3, and Blood Dragon use slightly different iterations).
- File Count: An integer indicating how many files are stored in the archive.
3.2 The File Entry Table Immediately following the header is a sequential list of file entries. Each entry typically contains: Example practical workflow (concise)
- Filename Hash: A 64-bit hash (often FNV-1a) representing the original file path. Because the original filenames are not stored, modders rely on hash databases to identify specific audio lines.
- Offset: A pointer indicating the byte offset where the specific file begins inside the
Sound-english.datfile. - Size: The uncompressed and compressed sizes of the data block.
4. Compression and Encoding
The audio files stored within Sound-english.dat are not standard .wav or .mp3 files.
- Container Format: The audio is typically stored within an Ogg Vorbis container.
- Extraction: When extracted using third-party tools, the raw streams often require header reconstruction (specifically the OGG header) to be playable in standard media players.
- Compression:
7. Forensic & Modding Considerations
7.3 Known Corruption Indicators
- Mismatch between number of entries in
.fatand actual.datfile size. .fatstring table offset pointing beyond file bounds.- Zero offsets for some entries but non-zero size (unused space).
What these files are
- Purpose: Sound-english.dat and Sound-english.fat are package/container files used by Far Cry 3 to store localized English audio assets and metadata (dialogue lines, voice-over files, sound effects referenced for English-language content). They are part of the game’s resource system for efficient loading and localization.
- Naming: The “.dat” and “.fat” extensions are container conventions used by Ubisoft in several games; “fat” sometimes denotes a file allocation table or a bundled archive with an index, while “dat” is often a data package containing the actual payload. In Far Cry 3 specifically, both coexist—one serving as an index or descriptor and the other holding bulk audio data (player-confirmed by community reverse engineering).
Example practical workflow (concise)
- Backup originals.
- Use known extractor for Far Cry 3 to dump files.
- Convert extracted audio to WAV and edit in audio editor.
- Re-encode edited files matching original codec/sample rate.
- Repack using the repacker tool ensuring index and alignment match original.
- Test in a single mission or cutscene before broader testing.