Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
HEModdingWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Guides/DDS compression with DirectXTex
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Basic Command-line Usage == DirectXTex tools are only operable through the Windows Command Prompt, so first we must understand how to operate the command line. [[File:Command Prompt after startup.png|alt=The window has a line with the current selected directory, waiting for user input.|left|thumb|Command Prompt window upon opening it.]] First, open up Command Prompt (you may need to use the search bar). You will be met with a screen like this. The input line tells you the current selected directory, which by default is your user folder. To run any DirectXTex tool, it is best to navigate to the directory which you have the tools stored in. To change the active directory, you need the '''cd''' (Change Directory) command. Enter:<syntaxhighlight> cd <filepath-to-directxtex> </syntaxhighlight>Make sure to replace <filepath-to-directxtex> with the actual filepath, without the angle brackets included. If the tools are on another drive, e.g. D: or E:, you may also need to switch to this drive by simply enter the name of the drive. For example:<syntaxhighlight> D: </syntaxhighlight>Once this is done, you should be in the correct directory, ready to run the tools. You could test this by typing the name of the tool's exe (without the .exe extension) and it should show you the tool's help menu:<syntaxhighlight> texconv </syntaxhighlight>Extra tip: you can enter filepaths quickly by dragging a file or folder into the command prompt window, it will quickly insert the file or folder's filepath at the cursor's location.
Summary:
Please note that all contributions to HEModdingWiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
HEModdingWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)