Various game assets can be extracted from the Steam version of Trine.
File Types (overview)[]
File Extension MIME Type "Real" Extension Explanation .fbz application/zip .zip Common ZIP archive file. .fba audio/x-vorbis+ogg .ogg Ogg Vorbis .fbi image/x-dds .dds Microsoft DirectDraw Surface [1]
Data Files[]
These are found within Trine's installation directory, typically something like these:
- Steam: C:\Program Files\Steam\steamapps\common\trine
- Direct2Drive: ?
- Retail Disc: ?
audio_cache.fbz[]
This archive contains all the game's sounds.
Path: trine\dev\audio_cache.fbz
Interesting Files:
- data\audio\music\track\...
- music (the game's Soundtrack)
- data\audio\music\sound\...
- sound effects
cache.fbz[]
This archive contains many 2D assets, including images of characters, items, etc.
Path: trine\dev\cache.fbz
Interesting files:
- data/gui/...
-
- (User Interface data such as the Health Bar or in-game menus)
- data/model/...
- (3D assets used in the game)
- data/texture/...
- (Textures to be applied to the 3D assets during run-time)
data1.fbz[]
Path: trine\data1.fbz
Loose Files[]
Many files exist directly in the game installation directory: This archive contains a bunch of miscellaneous stuff — font, localization, configuration, cinematics, ...
Interesting files:
- trine\data\gui\font\common\Argos.ttf
- a font used in game
- trine\data\video\cinematic
- cinematics
Converting Files[]
.fbz[]
This is a matter of simply renaming the .fbz files to .zip, and opening them with your favourite archival tool. Be sure to restore the names when you are done if you want your game to work.
.fba[]
First, we need to rename these files to .ogg. You can do this by hand, or if you have access to a BASH prompt you can use the following command to rename a whole bunch at once:
for f in *.fba; do mv $f `basename $f .fba`.ogg;done;
Many players support .ogg natively (e.g. Winamp, VLC, Foobar2000), but you might want to convert these to .mp3. There are many ways to do this. I used Winamp 2.95's disk writer feature to convert to .wav, and then encoded these to .mp3 with iTunes.
.fbi[]
First, we need to rename these files to end on .dds, their proper file extension. You can rename them manually, or a shell script like this can be used to recursively rename them while preserving the directory structure.
There are several ways to work with DDS files. Paint.NET supports them natively. If you wish to batch convert them, you can use nvdecompress to convert from DDS to TGA, and then ImageMagick to convert to the format of your choice.