These files contain the compressed audio for every spoken line in the game, including the iconic dialogue from Vaas Montenegro and the protagonist Jason Brody .
def extract_audio(fat_path, dat_path, out_dir): fat = open(fat_path, 'rb') magic, version, num_files, name_table_offset = struct.unpack('<4sIII', fat.read(16)) entries = [] for i in range(num_files): offset_dat, size, unk1, flags, unk2, name_offset, channels, loop = struct.unpack('<8I', fat.read(32)) fat.seek(name_table_offset + name_offset) filename = fat.read(256).split(b'\x00')[0].decode('ascii') entries.append((offset_dat, size, flags, channels, filename)) # read dat blocks and decode based on flags far cry 3 soundenglishdat and soundenglishfat files
This is the gold standard for Far Cry 3 modding. It includes an "Unpacker" that allows you to drag the soundenglish.fat file onto an executable to unpack the entire contents of the .dat file into a folder of playable or editable assets. These files contain the compressed audio for every
: Users often rename these files (e.g., renaming sound_french.fat to sound_english.fat ) to force the game to use a specific audio language when the in-game menu options are restricted. : Users often rename these files (e