Thread: convert to pvr
View Single Post
  #8  
Old 05-04-2004, 13:17
terminator terminator is offline
Banned
 
Join Date: Sep 2002
Posts: 135
Thanks: 0
Thanked 0 Times in 0 Posts
terminator
I think the tool you need is included in the dc sdk

you find it under %your_installpath%\dc_sdk\utl\gfx\conv\texture
itīs called pvrconv.exe


Usage:
Version 1.00.00

-<command line>-
convert : pvrconv [options] <infile1> [<outpath>]
convert : pvrconv [options] <infile1.bmp> [<alpha.bmp>] [<outpath>]
convert : pvrconv [options] <infile1.pix> [<alpha.mask>] [<outpath>]
infile: .bmp .tga .pic .pix
outfile: .pvr

<converter default action>
create pvr file : output pvr file
square texture : twiddled
rectangle texture : rectangle
auto mipmap : ON
dither : OFF
alpha dither : OFF
stride : OFF
pixel format : 565(no translucent)
: 4444(translucent alpha0-255)
: 1555(bilevel translucent alpha0,255)
<VQ>
VQ auto mipmap : ON

-<options>-
-t or -twiddled : twiddled texture
-r or -rectangle : rectangle texture
-s or -stride : stride texutre
-bu or -bump : bump texture
-v3 or -vq3 : VQ algorithm 3
-v3a or -vq3auto : VQ and smallVQ(32x32,16x16) algorithm 3
-sv3 or -smallvq3 : smallVQ algorithm 3
-v4 or -vq4 : VQ algorithm 4
-v4a or -vq4auto : VQ and smallVQ(32x32,16x16) algorithm 4
-sv4 or -svq4 : smallVQ algorithm 4
-v4p or -vq4pri : use priority data for VQ algorithm 4
-p8 or -palette8 : Palettize algorithm 8bpp( 8bpp bmp only!!)
-p4 or -palette4 : Palettize algorithm 4bpp( 4bpp bmp only!!)
-5 or -565 : pixel format RGB565
-4 or -4444 : pixel format ARGB4444
-1 or -1555 : pixel format ARGB1555
-8 or -8888 : pixel format ARGB8888( Palettize only!!)
-y or -yuv : pixel format YUV422
-t1 or -t1555 : translucent pixel format ARGB1555
-b4 or -b4444 : bilevel translucent pixel format ARGB4444
-ra or -ralpha : reverse alpha (0 -> FF, FF -> 0)
-tra or -tgarevalpha: tga reverse alpha (0 -> FF, FF -> 0)
-di or -dither : dither on
-adi or -adither : alpha dither on
-ns or -nosuffix : ignore suffix
-f or -flip : flip texture
-nm or -nomipmap : auto mipmap off
-nvm or -novqmipmap : VQ auto mipmap off
-rep or -repeat : Repeat on
-gi or -globalIndex <number> : Write globalIndex
-p or -path <dir> : output path
-ps or -palsetting <Bank No>,<start>,<number> : Set Palette.
-pa0 or -palalpha0 <Palette No>
<start No>_<end No>
<Palette No>,<start No>_<end No>, ....
Alpha is 0x00 in these palettes. This option can use with Palettize only.
-out or -outname <filename> : output filename

-v or -ver: version info
-h or -help: Usage

hope this helps

Last edited by terminator; 05-04-2004 at 13:54.
Reply With Quote