1XOREOSTEX2TGA(1) BSD General Commands Manual XOREOSTEX2TGA(1)
2
4 xoreostex2tga — BioWare textures to TGA converter
5
7 xoreostex2tga [options] input_file output_file
8
10 xoreostex2tga converts textures of various formats found in BioWare games
11 into plain TGA images.
12
13 Supported formats:
14 DDS Both the common DirectDraw Surface format and BioWare's own, com‐
15 pletely different DDS format are supported, each with a variety
16 of pixel formats
17 SBM Found in Jade Empire, holding font glyphs
18 TXB Textures in Jade Empire and the Xbox version of Knights of the
19 Old Republic
20 TPC Textures in other versions of Knights of the Old Republic.
21 TGA Textures in various games, in many different pixels formats
22
23 The output format is always either 24-bit or 32-bit BGR(A) TGA, depending
24 on whether the input file has an alpha channel or not. Only the highest
25 resolution mip map will be used.
26
28 -h
29 --help
30 Show a help text and exit.
31 --version
32 Show version information and exit.
33 -f
34 --flip
35 Flip the image vertically while converting.
36 --auto
37 Try to autodetect the format of the input file. This is the
38 default mode of operation.
39 --dds
40 Explicitly mark the input file as DDS.
41 --sbm
42 Explicitly mark the input file as SBM.
43 --tpc
44 Explicitly mark the input file as TPC.
45 --txb
46 Explicitly mark the input file as TXB.
47 --tga
48 Explicitly mark the input file as TGA.
49 input_file
50 The name of the texture file to read.
51 output_file
52 The resulting TGA file will be written there.
53
55 Convert texture.dds into image.tga:
56
57 $ xoreostex2tga texture.dds image.tga
58
59 Convert texture.dds into image.tga and flip the image:
60
61 $ xoreostex2tga --flip texture.dds image.tga
62
63 Convert the TPC texture.txb into image.tga and flip the image:
64
65 $ xoreostex2tga --flip --tpc texture.txb image.tga
66
68 More information about the xoreos project can be found on its website:
69 https://xoreos.org/.
70
72 This program is part of the xoreos-tools package, which in turn is part
73 of the xoreos project, and was written by the xoreos team. Please see
74 the AUTHORS file for details.
75
76BSD July 23, 2015 BSD