Expand description
§DFF Parser
A parser for RenderWare DFF (Clump) files, commonly used in Grand Theft Auto 3, Vice City, and San Andreas. This module provides structures and methods to deserialize binary DFF data into a structured format.
§Features
- Parses geometry, materials, frames, and skinning data.
- Determines the model type (Generic, Vehicle, Skin).
- Supports multiple RenderWare versions.
- Outputs a serializable
RwDff
structure.
§Example
use rw_parser_rs::renderware::dff::dff_parser::DffParser;
use std::fs;
let file_data = fs::read("path/to/your/model.dff").unwrap();
let mut parser = DffParser::new(&file_data);
let dff_data = parser.parse().unwrap();
println!("Model version: {}", dff_data.version);
Structs§
- DffParser
- The main parser for DFF files.
- RwAnim
Node - RwAtomic
- RwBin
Mesh - RwBone
- RwClump
- RwDff
- Represents the top-level structure of a parsed DFF file.
- RwFrame
- RwFrame
List - RwGeometry
- RwGeometry
List - RwMaterial
- RwMaterial
List - RwMesh
- RwSkin
- RwTexture