CtxrTool

所属分类:图形图像处理
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2023-10-25 22:57:00
上 传 者sh-1993
说明:  用于将CTXR纹理从Metal Gear Solid:Master Collection转换为DDS的程序,反之亦然,
(A program for converting CTXR textures from Metal Gear Solid: Master Collection to DDS and vice versa,)

文件列表:
CtxrTool.sln (1405, 2023-11-04)
CtxrTool.vcxproj (7329, 2023-11-04)
CtxrTool.vcxproj.filters (2202, 2023-11-04)
CtxrTool.vcxproj.user (710, 2023-11-04)
image/ (0, 2023-11-04)
image/bmp/ (0, 2023-11-04)
image/bmp/bmp.cpp (1298, 2023-11-04)
image/bmp/bmp.h (1118, 2023-11-04)
image/ctxr/ (0, 2023-11-04)
image/ctxr/ctxr.cpp (4924, 2023-11-04)
image/ctxr/ctxr.h (2358, 2023-11-04)
image/dds/ (0, 2023-11-04)
image/dds/dds.cpp (1965, 2023-11-04)
image/dds/dds.h (1702, 2023-11-04)
image/tga/ (0, 2023-11-04)
image/tga/tga.cpp (1267, 2023-11-04)
image/tga/tga.h (1060, 2023-11-04)
interface/ (0, 2023-11-04)
interface/cli.cpp (4841, 2023-11-04)
interface/cli.h (1636, 2023-11-04)
main.cpp (122, 2023-11-04)
util/ (0, 2023-11-04)
util/fileutil.h (3370, 2023-11-04)
util/imageutil.h (2645, 2023-11-04)

# CtxrTool CtxrTool is a free open source tool to convert CTXR textures from Metal Gear Solid: Master Collection to DDS, BMP or TGA. It is also possible to convert DDS. BMP and TGA textures to CTXR but as there are still some unknown's it is a work in progress. DDS files must be saved in the 8.8.8.8 ARGB format, I have only tested using the NVIDIA Texture Tools Exporter plugin and Photoshop. TGA and BMP files can also be converted to CTXR, the tool will automatically generate mip maps but it is recommended to use DDS. you can use the -m no option to moit generating mip maps. They must be saved as 32 bits/pixel. ### Latest Changes - Added support for extracting as BMP - Added support for converting BMP and TGA to CTXR with mipmap generation. ### To Do - Find out purpose of unknown bytes for DDS to CTXR conversion. ## Usage Currently only a CLI version of the application exists. You can drag a CTXR file onto the tool and it will create a DDS file and param file in the same folder. Alternatively you can drag a DDS file on the tool and it will create a CTXR file (Experimental). You can use the -f command along with 'bmp' or 'tga' when extracting a CTXR file to export it as a TGA or BMP instead of a DDS. This will not save mip map data, example below. Upon exporting a ctxr file a 'param' file will also be created, this will be used when repacking the data if it exists. Running the program without any arguments will display usage information. ``` CtxrTool.exe ``` The above command will convert a CTXR file to a DDS file. ``` CtxrTool.exe -f tga ``` The above command will convert a CTXR file to a TGA file. This will not export mipmap data. ``` CtxrTool.exe -f bmp ``` The above command will convert a CTXR file to a BMP file. This will not export mipmap data. ``` CtxrTool.exe ``` The above command will convert a DDS file to a CTXR file, if a file with same name and extension as param is in the same directory it will repack that data back into the ctxr file (Work in progress, still some unknowns) ``` CtxrTool.exe ``` The above command will convert a TGA file to a CTXR file, this will generate mip maps for you. It is recommeneded to use DDS and create your own, but this option is available for those that can't ``` CtxrTool.exe -m no ``` The above command will convert a TGA file to a CTXR file, this will not generate any mip maps. ``` CtxrTool.exe ``` The above command will convert a BMP file to a CTXR file, this will generate mip maps for you. It is recommeneded to use DDS and create your own, but this option is available for those that can't ``` CtxrTool.exe -m no ``` The above command will convert a BMP file to a CTXR file, this will not generate any mip maps. ## License [MIT](https://github.com/Jayveer/CtxrTool/blob/master/LICENSE.md) This project falls under the MIT license.

近期下载者

相关文件


收藏者