[Art Asset and Palette] SanyaDuke3DTools

Posts: 788
Joined: Thu Apr 25, 2013 12:21 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
Graphics Processor: nVidia with Vulkan support
Location: The Corn Fields

[Art Asset and Palette] SanyaDuke3DTools

Post by SanyaWaffles »


Little known fact about me: I dabbled in Duke 3D modding for a while, so I wrote my own tools, loosely based on art2tga/tga2art. I personally preferred PNG, so I wanted a tool to work with PNGs instead.

These are provided as-is with the hopes that someone can either write these better (I admit, I'm not the best at C/C++ and I'm sure this is not written well) and drop the dependency on FreeImage perhaps. I'm aware SLADE3 is working on better ART asset manipulation though.

I last tested these years ago and I have no idea if it will still compile or whatnot. I did get it working with Visual Studio at one point.

Another thing of note: there's work on a palette tool that works to replace the lookup tables used for recoloring/shading due to how Duke 3D/Build works. However it's been so long since I touched it I forget exactly how it works. The idea was you could use text scripts to define it. There's probably better ways of doing it though nowadays.
User avatar
Spotlight Team
Posts: 1030
Joined: Mon Nov 25, 2019 8:54 am
Graphics Processor: Intel (Modern GZDoom)

Re: [Art Asset and Palette] SanyaDuke3DTools

Post by Redneckerz »

Very helpful Sanya. Thanks for highlighting this. I am sure this will have its uses. :)

Return to “Projects”