MC-TextureGen

所属分类:内容生成
开发工具:Java
文件大小:499KB
下载次数:0
上传日期:2023-01-14 00:03:31
上 传 者sh-1993
说明:  一个Java程序,在运行时以编程方式生成某些版本的Minecraft生成的纹理,以及...
(A Java program that programatically generates textures generated by certain versions of Minecraft at runtime, and then saves them to individual files.)

文件列表:
LICENSE (1210, 2023-06-14)
buildSrc (0, 2023-06-14)
buildSrc\build.gradle (429, 2023-06-14)
buildSrc\src (0, 2023-06-14)
buildSrc\src\main (0, 2023-06-14)
buildSrc\src\main\groovy (0, 2023-06-14)
ci-tools (0, 2023-06-14)
ci-tools\ECT-License.txt (11357, 2023-06-14)
ci-tools\ect-ubuntu-x86-64 (1174496, 2023-06-14)
gradle.properties (468, 2023-06-14)
gradle (0, 2023-06-14)
gradle\wrapper (0, 2023-06-14)
gradle\wrapper\gradle-wrapper.jar (62076, 2023-06-14)
gradle\wrapper\gradle-wrapper.properties (223, 2023-06-14)
gradlew (8496, 2023-06-14)
gradlew.bat (2776, 2023-06-14)
mc-texture-gen-app (0, 2023-06-14)
mc-texture-gen-app\build.gradle (275, 2023-06-14)
mc-texture-gen-app\guard.pro (2964, 2023-06-14)
mc-texture-gen-app\src (0, 2023-06-14)
mc-texture-gen-app\src\main (0, 2023-06-14)
mc-texture-gen-app\src\main\java (0, 2023-06-14)
mc-texture-gen-app\src\main\java\com (0, 2023-06-14)
mc-texture-gen-app\src\main\java\com\github (0, 2023-06-14)
mc-texture-gen-app\src\main\java\com\github\nerdthened (0, 2023-06-14)
mc-texture-gen-app\src\main\java\com\github\nerdthened\mctexturegen (0, 2023-06-14)
mc-texture-gen-app\src\main\java\com\github\nerdthened\mctexturegen\MCTextureGenerator.java (5845, 2023-06-14)
mc-texture-gen-impl (0, 2023-06-14)
... ...

# MC Texture Generator A Java program that programatically generates textures generated by certain versions of Minecraft at runtime, and then saves them to individual files. Currently, this program generates: - All textures generated by Minecraft 4k-1 - All textures generated by Minecraft 4k-2 - All frames of the gear rotation animation - All frames of the nether portal animation - The checkerboard "missing texture" textures The program can also generate some non-deterministic textures, if a valid value for the command line parameter -nonDeterministicFrames is passed to it. Currently, this program can generate the following non-deterministic textures: - Water textures from Minecraft Classic 0.0.19a - Lava textures from Minecraft Classic 0.0.19a and 0.0.22a - Fire textures Finally, platform dependant textures can be generated by passing true for the command line parameter -platformTextures. Currently, this program can generate the following platform dependant textures: - **Possibly not accurate on older versions of Java on MacOS ([Apple's Mac OS Runtime for Java](https://en.wikipedia.org/wiki/Mac_OS_Runtime_for_Java)).** Certain "missing texture" textures which use text rendering based on the the current JVM / system / system text anti aliasing settings ## How to generate the textures. Make sure to have a Java runtime environment of 1.4 or higher installed on your computer. The easiest way to run this program is just to double click the .jar file, which will generate and save all textures to a folder named "GeneratedTextures". The .jar file can also be run from the command line. Doing so will allow you to see log output when generating the textures, which can be useful if you need to debug anything. When this program is run from the command line, the "GeneratedTextures" folder will be placed at the current directory that your command line is in. The command line parameters you can pass are: - -multiThreaded (boolean b): If b is false, texture generation will be done consecutively on a single thread. Otherwise, each texture generator will be run on a seperate thread. This should not cause any differences in the generated textures. - -nonDeterministicFrames (integer n): Generates n frames of each non-deterministic texture. Otherwise, no non-deterministic textures are generated. - -platformTextures (boolean b): If b is true, platform dependant textures are generated. Otherwise, no platform dependant textures are generated. "Platform dependant" can mean that the textures vary depending on the version of Java, the operating system, and / or global settings for the current platform. - -randomSeed (long n): Sets the starting seed for each random number generator used by textures generated from non-deterministic generators. Otherwise, a random starting seed is used. Example command line usage: - Running `java -jar MCTextureGenerator.jar` generates all deterministic textures. - Running `java -jar MCTextureGenerator.jar -nonDeterministicFrames 1024` generates all deterministic textures, and 1024 frames of all non-deterministic textures. - Running `java -jar MCTextureGenerator.jar -nonDeterministicFrames 1024 -randomSeed 100` generates all deterministic textures, 1024 frames of all non-deterministic textures, and sets the seed of the random number generator for each non-deterministic texture generator to 100. - Running `java -jar MCTextureGenerator.jar -platformTextures true` generates all deterministic textures, and all platform dependant textures. ## Why have a dedicated program for this? The idea behind this program is to create an improvably accurate source for these textures - if this code contains any mistakes, the mistakes can simply be fixed, and the textures will then be generated accurately. The same improvement in accuracy cannot be achieved for an inaccurate screenshot, or a file accidentally saved in a reduced resolution or color depth.

近期下载者

相关文件


收藏者