Crate fable_format

Source
Expand description

A Rust library for using the assets of Fable, Fable: The Lost Chapters, Fable Anniversary, and mods.

Work in progress.

FormatDescription
BbaAnimation format.
BbmMesh format.
BigGraphics archive containing Bba and Bbm.
BncfgBone config.
DefDefinition source code.
DefBinDefinition binary.
FmpMod packages from fabletlcmod.com.
Gtg
IniGame configs (and debug scripts?)
LevLevel heightmap and cell data.
Lut
Met
Qst
SaveGame save format.
SaveBinBin file included with save files.
StbA cache of local details generated from Lev.
TngThing scripts.
WadWorld archive containing Lev and Tng.
Wld

Structs§

Bba
Animation format.
Bbm
Mesh format.
BbmHeader
BbmHelperDummy
BbmHelperPoint
Big
BigBankIndex
BigFileEntry
BigFileIndex
BigHeader
BigSubHeaderAnimation
BigSubHeaderMesh
BigSubHeaderTexture
Bncfg
Def
DefBin
Compiled def format.
DefBinHeader
DefBinNameLookup
DefSecondTableHeader
DefSecondTableRow
DefSecondTableRowDecompressed
Definition
Fmp
Gtg
Ini
For user.ini, userst.ini, etc.
Lev
Level cells and nodes.
LevHeader
LevHeightmapCell
LevInteractiveNode
LevNavigationBlankNode
LevNavigationExitNode
LevNavigationHeader
LevNavigationNavigationNode
LevNavigationRegularNode
LevNavigationSection
LevNavigationUnknown1Node
LevNavigationUnknown2Node
LevNavigationUnknown3Node
LevNavigationUnknownNode
LevSoundmapCell
Lug
Audio data for effects.
Lut
Audio data for dialogue
Met
Audio metadata (?)
Qst
Save
Save format.
ScriptAccessor
A complex reference containing another reference or expression.
ScriptBinaryOp
A binary operation.
ScriptCall
A call.
ScriptField
Reference and expression.
ScriptMarkup
XML-like markup (but not real XML).
Stb
StbEntriesHeader
StbEntry
StbEntryExtras
StbHeader
StbLev
Temporary comments from fabletlcmod.com.
StbReader
Tng
TngSection
TngThing
Wad
The world archive.
WadEntry
A Wad entry with a file’s metadata and the location of its contents.
WadHeader
A Wad header used for finding the start and end of the entry section.
Wld
WldMap
WldRegion

Enums§

BigSubHeader
BncfgScriptValue
DefItem
Error
ErrorKind
LevNavigationNode
ScriptAccessorPath
ScriptBinaryOpKind
ScriptComment
A line or block comment.
ScriptExpression
ScriptReference
The named part of calls and fields.
ScriptValue
A value.

Traits§

Decode
Trait that decoders implement.
Encode
Trait that encoders implement.
Entry
An entry to another section of the data.

Functions§

decode_bytes_as_utf8_string
decode_null_terminated_string
decode_rle_string