Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first file for putting in a folder and converting many files
- ************************************************************
- @echo off
- for %%x in (*.jpg) do "C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" "%%x"
- pause
- ************************************************************
- second file for putting anywhere and then dropping a .jpg or .png onto it - can also be placed in C:\Documents and Settings\username\SendTo in windows xp to add to right click send to menu
- ************************************************************
- @echo off
- "C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" %1
- pause
- ************************************************************
- third file for taking a whole bunch of .tbn (what xbmc renames its thumbnail/fanart files) from a windows folder (sftp a long list can take a while to rename) turns them first to .jpg to try to to convert them that way, then to .png to try to convert those if any (though few are) were in that format, then deletes all .png files from the folder, leaving you with just your shiny new .dds files
- ************************************************************
- @echo on
- ren *.tbn *.jpg
- for %%x in (*.jpg) do "C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" "%%x"
- ren *.jpg *.png
- for %%x in (*.png) do "C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools 2\bin\nvcompress.exe" "%%x"
- del *.png
- pause
- ************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement