dgf-texture-convert/README.md
2021-03-17 14:04:06 -06:00

36 lines
1.4 KiB
Markdown

Densha de Go! Final Texture Converter
=====================================
This program allows you to extract and inject textures for DDG Final.
Requirements
------------
Requires [LibDgf](https://github.com/GMMan/libdgf)
Usage
-----
The following commands are available. For arguments please use the `--help`
option.
- `extract-dat`: Unpacks files from .DAT container as-is.
- `convert-dat`: Unpacks a .DAT container of textures and converts everything
to PNG.
- `convert-txm`: Converts a single .TXM file to PNG.
- `replace-dat`: Imports and replaces a list of images into a .DAT file.
Requires a text file with a line for each texture to be replaced, consisting
of the index number and the path to the corresponding image (can be relative
to working directory).
- `dump-font`: Extracts characters from kanji font pack.
- `convert-trm`: Converts train model file contents to Wavefront OBJ models.
- `convert-pdb`: Converts other model files to Wavefront OBJ models. Note the
corresponding texture DAT needs to be supplied as well.
- `convert-bg`: Converts sky dome to Wavefront OBJ models. Note only the first
far texture is extracted.
- `convert-mapanim`: Converts files from the mapanim folder to Wavefront OBJ
models.
Other
-----
There is some code for bulk convert all .DAT/.TXM files in a directory, along
with some code for Aqualead texture/image formats. Modify the program as
necessary yourself to use them.