Skip to content

rootext/dis3tool-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Disciples III Tool

dis3tool is utility tool to convert Disciples III texture, geomtry, animation and camera resources.

Download

version 1.1 pass: dis3tool-1.1-2025

version 1.0.1 pass: dis3tool-1.0.1-2024

Features

  • Convert between DIII texture *.t and DDS texture *.dds
  • Convert between DIII geometry *.g and glTF format *.gltf
  • Convert between DIII scene *.scene and glTF format *.gltf
  • Convert between DIII camera *.camera and glTF format *.gltf
  • Extract *.vdpack and *.vdpatch files
  • Bulk conversion
  • Scale DIII geometry

Supported versions

Formats

*.vdpack and *.vdpatch

A simple container to pack set of files to one file. Header contains number of files, file name, size, flags and offset in pack with actual file content.

type name repeat description
header
u32 count number of resources
item[] items count resources
u8[] resources count content of each resource(file)
item
string name file name of resource
u32 size size of resource in bytes
u32 offset offset of resource data in bytes from beggining of file
u32 flags flags, usually 0
string
u32 length length of string including zero
u8[] value length string value in UTF-8
u8 zero zero

*.t

Just .dds format with custom (badly designed) header.

type name repeat description
header header texture metadata
u8[] data till eof texture data
header 59 bytes
u32 - 1
u32 type texture type
1=R5G6B5
2=A4R4G4B4
3=A1R5G5B5
4=R8G8B8
5=A8R8G8B8
6=DXT1
7=DXT3
8=DXT5
u32 cubemap is cubemap
u32 mipmap number of mipmaps
u32 width texture width
u32 height texture height
u8 - 0 or 1
u8 - 0 or 1(once)
u8 - 0
u8 - 0
u8[] - 3 0 or 2
u32 - 0 or 2
u32 - 0 or 1
u32 - 0 or 1
u32 frames number of frames
u32 - 0
f32 - fps 15.0/0.0/30.0(once)/1.0(once)
u32 - 0

copyright 2024 [email protected]

About

Disciples III Converter Tool

Resources

Stars

Watchers

Forks

Packages

No packages published