TextureTool.exe

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

TextureTool.exe

Post by AceMastermind »

There's a cool texture making tool in C:\BF2_ModTools\ToolsFL\bin called TextureTool.
This is a command-line utility that can be launched from a command prompt and these are the options that come up:
Hidden/Spoiler:
Image
The main purpose of this tool seems to be for creating specialized textures that can be used along with some Rendertypes that are applied in Edit Flags.

For example:
I have a rock texture named rock.tga located in C:\BF2_ModTools\ToolsFL\bin and say I want an ambientbump texture created from this rock texture so I would type this:

Code: Select all

TextureTool -ambientbump -output newbumptex.tga -input rock.tga
then press enter and wait a couple of minutes and it'll say Operation Successful! when it's done.

Play around with it and see what you get!

EDIT
Here's a better outline of the options:
Hidden/Spoiler:
[code]TextureTool -cubenormalizationmap -output <output file> -width <width of texture> -height <height of texture>

TextureTool -specular -output <output file> -width <width of texture> -height <height of texture> -power <power>

TextureTool -cubemappack -output <output file> -posx <image> -negx <image> -posy <image> -negy <image> -posz <image> -negz <image>

TextureTool -identity -output <output file> -width <width of texture> -height <height of texture> -blue <blue channel value>

TextureTool -hemispherenormalizationmap -output <output file> -width <width of texture> -height <height of texture>

TextureTool -specularspot -output <output file> -width <width of texture> -height <height of texture>

TextureTool -water -output <output file> -numframes <number of keyframes> -totaltime <seconds of animation> -width <width of texture> -height <height of texture>

TextureTool -randombump -output <output file> -width <width of texture> -height <height of texture>

TextureTool -attenuationvolume -output <output file> -width <width of volume> -height <height of volume> -depth <depth of volume>

TextureTool -ramp -output <output file> -width <width of ramp> -height <height of ramp> -start <start value> -end <end value> -power <exponent>

TextureTool -specularcubemap -output <output file> -width <width of texture> -height <height of texture> -rspecpower <red spec power> -gspecpower <green spec power> -bspecpower <blue spec power> -aspecpower <alpha spec power>

TextureTool -cubetosphere -output <output spheremap> -input <input cubemap> -width <width of texture> -height <height of texture> -samples <number of samples per texel (defaults to 4)>

TextureTool -convolvediffusecubemap -output <output convolved cubemap> -input <input cubemap> -diffuse <diffuse coefficient>

TextureTool -convolvespecularcubemap -output <output convolved cubemap> -input <input cubemap> -specularpower <speculat power> -specularcoefficient <specular coefficient>

TextureTool -ambientbump -output <output file> -input <input file>

TextureTool -fractal -output <output file> -width -height

TextureTool -terrainblend -output <output file> -input <input file> -width -height

TextureTool -simdither -output <output file> -input <input file>

TextureTool -noisevolume -output <output file> -width <width> -height <height> -depth <depth> -scale <scale> -amp <amplitude> -noisemode <NOISE|ABSNOISE|VEINS|RAW|DISTANCE>[/code]
vegati
Chief Warrant Officer
Chief Warrant Officer
Posts: 352
Joined: Fri Dec 26, 2008 1:21 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: At Gametoast.com enjoyin some fresh salmon jerky. Mmmmmm.
Contact:

Re: TextureTool.exe

Post by vegati »

So does it actually tell you the commands? Or do you have to have some scripting knowledge to be able to use it?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: TextureTool.exe

Post by DarthD.U.C.K. »

it displays the commands pon the screen ace posted :P
vegati
Chief Warrant Officer
Chief Warrant Officer
Posts: 352
Joined: Fri Dec 26, 2008 1:21 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: At Gametoast.com enjoyin some fresh salmon jerky. Mmmmmm.
Contact:

Re: TextureTool.exe

Post by vegati »

Oh, sorry. It just looked like a jumble of random words and phrases that I'm used to getting out of a command console.
Post Reply