Textures Parser (write and read) made in python

Any utility that assists in the creation of mods, assets, etc, go here. For example: Ultimate Doom Builder, Slade, WadSmoosh, Oblige, etc.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Posts: 1
Joined: Wed Mar 10, 2021 1:20 am
Graphics Processor: ATI/AMD (Modern GZDoom)

Textures Parser (write and read) made in python

Post by Gianpt »

Hi, i made a small tool to parse TEXTURES text definitions in python.
It can read and write valid textures data blocks, can be usefull for automated scripts about large amount of textures.

full wiki and installation instructions in the project github

I will not release more updates unless someone want some specific feature.
Here an example of code:

Code: Select all

import zdtwriter # zdoom-textures-writer

# Make a new texture block
wall = TextureData("WALLBRICK",type = "walltexture", optional = True, scaleY = 1.2)

# Make a path block
p = PatchData("textures/brick.png")

# Add the patch in the texture

# Show on screen a texture block.

Return to “Creation, Conversion, and Editing”