Jump to content

AutoPNG - An open source auto converter for tex file


Recommended Posts

The AutoPNG is an open source converter that automatically converts PNG files to TEX files, Use KTEXlib(open source),this tool works almost same as autocompiler, but now it can only converts png files to tex files.

By using Multithreading Technology, It can convert more than one files at the same time.

image.png.0678bfac608a348c9ed3172fc3ccfb8a.png

(About 1s, condition: CPU:AMD A12-9800K , 12 PNG files, Avg. size: 128x128)

Screenshot:

image.thumb.png.38046aec7a815d7d46f929df90d7d1d3.png

 

Usage:

  • The Easiest way:
  1. Double Click and wait for it.
  • manual way:
  1. drag it into the "mods" folder, shift + right click ,
  2. click "Open Command Prompt window here"
  3.  type autopng_win32 t into CONSOLE.
  • Linux users:
  1. download ktexlib_dynamic
  2. modify MAIN.cpp
  3. compile it

Source Code(C++ 17):

Downloads(bundled with MyPNG):

中文时间:

AutoPNG开源,不要钱

这玩意能把png图片转换成游戏内的tex纹理

截图

image.thumb.png.c17299bec144ff11c11d7055149ada76.pngimage.png.55d4f0605df1033703b9f8a6da41d667.png

 

 

根据CPU核心数量计算转换线程数量,因为多开转换器线程,可能会比官方的autocompiler快一点

 

测试条件:A12-9800K,64位win10,13个PNG文件(平均128x128)

用法:

steam正版:双击打开autopng_win32.exe

D版/双击没用:拖进mods文件夹,shift+右键,点“在此处打开命令行窗口”,然后在命令行窗口输入 "autopng_win32 t"(不带双引号) 

Linux玩家:你都用Linux了,就自己下载依赖项编译吧

源代码(C++17,Visual Studio 2019的项目):AutoPNG_win32(GitHub)

下载地址(送一个mypng):

拿了记得顶帖

Bug report here

二楼报告bug

Release_x64.zip

image.png

Edited by Akarinnnnnn
Fix critical bug
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...