This is a set of scripts I used to build Ketamine Keep, a Half-Life 1 deathmatch map of a Minecraft schematic. It was a birthday present to my girlfriend (which she ended up insisting on helping with anyways).
This code is not ready for use and never will be. All of the assets are missing, several paths are hardcoded, there are several hardcoded cases for the specific schematic it was made for, there are a lot of bugs, and there was still plenty of manual work done. I'm putting this out here so people can have fun with it. Good luck if it even compiles!
- exporter.py: Takes in a .litematic file and converts it to .json.
- converter: A Rust program that takes the .json file and outputs a .vmf from scratch.
- ImageConverter: Converts textures to 8bpp BMP files.
- modelgen: The model conversion code from converter but as a standalone application. Designed for bulk model processing to ease rendering issues.
- NotNite: Project "lead", converter code
- funcjay: Map cleanup, model recreation, deathmatchifying the map
- Project Orange: Map design (miss you all)
- Mojang: Texture and model assets
along with all of these tools and resources:
- Prism Launcher for getting the Minecraft 1.20.2 client jar
- Litematica for generating the schematic from the world
- Panoramica for taking the skybox photo
- litemapy for parsing JSON out of the schematic
- paint.net for texture editing
- J.A.C.K. for all of the manual work required after converting it
- WadMaker for assembling the textures into a .wad
- Blockbench for converting Minecraft models to .obj
- EnhancedBlockEntities for the chest model
- Sven Co-op's StudioMDL for compiling Minecraft models
- VHLT for compiling the map
- Tons of information on minecraft.wiki, VDC, TWHL, and the303.org