1
0
mirror of synced 2024-11-27 15:40:48 +01:00

Add in readme for txdtutils.

This commit is contained in:
Jennifer Taylor 2023-09-19 00:25:25 +00:00
parent a1c8d18b49
commit 56e68f211a
2 changed files with 11 additions and 5 deletions

View File

@ -312,6 +312,15 @@ pointers to sub-structures and pointers to C strings. Note that much like "psmap
has the ability to print out structures that are dynamically constructed at runtime by
emulating x86 and x64 instructions. Run it like `./struct --help` to see how to use this.
## tdxtfiles
Utilities for working with raw TDXT texture files. These are found packed inside TXP2
and TEXP containers but sometimes can be found standalone. This utility has the capability
to extract a PNG of the texture for all known texture formats that I've come across, and
can repack a TDXT file given a PNG of the same size under certain circumstances. Not all
texture formats are supported for repacking. Run it like `./tdxtutils --help` to see help
output and determine how to use it.
## trafficgen
A utility for simulating traffic to an eAmusement service. Given a particular game,

View File

@ -1,14 +1,11 @@
#! /usr/bin/env python3
import argparse
import io
import json
import math
import os
import os.path
import sys
import textwrap
from PIL import Image, ImageDraw
from typing import Any, Dict, List, Optional, Tuple, TypeVar
from PIL import Image
from typing import Optional
from bemani.format import TDXT