Magpie/tools/MPVHookTextureParser
2025-12-18 20:54:15 +08:00
..
MPVHookTextureParser.cpp chore: 工具项目迁移到 VS18 2025-12-18 20:54:15 +08:00
MPVHookTextureParser.slnx chore: 工具项目迁移到 VS18 2025-12-18 20:54:15 +08:00
MPVHookTextureParser.vcxproj chore: 工具项目迁移到 VS18 2025-12-18 20:54:15 +08:00
MPVHookTextureParser.vcxproj.filters chore: 工具项目迁移到 VS18 2025-12-18 20:54:15 +08:00
packages.config chore: 工具项目迁移到 VS18 2025-12-18 20:54:15 +08:00
README.md perf: 优化解析 mpv hook texture 的流程 2021-10-30 23:55:55 +08:00
README_EN.md Translated all documentations to English 2022-03-26 16:46:31 -05:00

MPVHookTextureParser

Translates the TEXTURE in mpv hood to DDS format.

Usage Guides

Copy the texts in TEXTURE in to the files in the following format:

{WIDTH} {HEIGHT}
{TEXTURE DATA}

e.g.

45 2592
00000000000000000000000000000000a164deb9bc0290ba6a16...

Assuming the filename is TEXTURE.txt, execute the following command to output the results to weights.dds:

> .\MPVHookTextureParser TEXTURE.txt weights.dds