AceToolkit

Any utility that assists in the creation of mods, assets, etc, go here.
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.

AceToolkit

Postby Accensus » Wed Apr 22, 2020 8:29 am

AceToolkit is a collection of tools I've developed over time, mostly at the request of friends. The goal of those is to automate or otherwise help out with GZDoom modding. Some may be more helpful than others.

Main repository.

So far includes:
  • ImageCropper: Crop around the empty space around a sprite and automatically adjust the offsets using SetPNG.exe or GrabPNG.exe, which must be located in the same folder as this executable.
  • ZSDFEdit: ZDoom Strife Dialog Format Editor is a GUI tool designed to help with dialogue management and editing.
  • MDEFGen: Parse MODELDEF scripts to automate frame creation.
  • GLDEFSGen: Use the images in a folder to generate GLDEFS definitions for each file from a template file using keywords.
  • MTAConvert: Read .obj data and output an array with the vertices.
  • PresetGen: Read XML files and generate an alias for KEYCONF that you'd bind to a command in MENUDEF or via console.

Requirements are individual for each project (though most if not all require .NET Core 3.1 x86 Runtime). See the descriptions for more information. The downloads for each tool are on the Releases page in the respective project. Those that come as a zip tend to have a manual inside. Those that don't, usually contain the manual in the form of CLI help. It's all documented in some way.

Spoiler: Notes


Spoiler: Credits
Last edited by Accensus on Wed Apr 29, 2020 9:18 am, edited 9 times in total.
User avatar
Accensus
Vector, locked in.
 
Joined: 11 Feb 2016
Location: Somalia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby Redneckerz » Wed Apr 22, 2020 8:52 am

Eyyy, this is neato stuff. Reminds me a bit of MTrop's utilities. These definitely have some good use.
You should also mention this to DooMad, who is actually looking for stuff like this to cover on his webpage. Might be worthwhile.

Either way, thanks for these. :)
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

Re: AceToolkit

Postby Accensus » Wed Apr 22, 2020 9:00 am

You're welcome! There are two more tools that I have yet to re-release. More precisely, ZSDFEdit and (maybe) UsageChecker (god, I suck at naming things). They still use .NET Framework 4.6, and likely will continue to use that for a while, but they are in need of a good refactor, so it might be a while.
User avatar
Accensus
Vector, locked in.
 
Joined: 11 Feb 2016
Location: Somalia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby Rachael » Wed Apr 22, 2020 12:43 pm

Accensus wrote:P.S. I'm not too sure if this should go in this forum or the Editors/Asset manipulation subforum. I'll leave it to the mods to decide.

That's a probably more useful place for this. These look like some useful tools, nice work!
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby Accensus » Wed Apr 22, 2020 1:08 pm

Thank you. And thanks for the move.
User avatar
Accensus
Vector, locked in.
 
Joined: 11 Feb 2016
Location: Somalia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby Nash » Wed Apr 22, 2020 1:35 pm

I would like to especially highlight - and consider this a PSA - the significance of ImageCropper, in particular.

This is a GAME CHANGER if you are working with a high asset count as what this does automates the process of cropping your sprites while setting the offsets for you. As most of you may know - (or if you don't, consider yourself educated now) sprites with lots of blank pixels around them are NOT GOOD as they consume a LOT of VRAM - this situation worsens exponentially when the user plays your mod with high quality resize modes enabled.

So being able to crop and set offsets for HUNDREDS of files in one go is something that many mod authors have asked for for a very long time and there's finally a tool that can do it for you with 1 click. I am going to urge everyone to use ImageCropper (especially for artists with similar workflows to mine where we generate hundreds and hundreds of frames from external content authoring tools) to make absolutely sure that the assets in your mods are optimized and not wasting texture memory.

Check out some before/after animations. You make think, "uh sure that's not a big deal, just crop them in Photoshop or whatever" but remember - this thing allows you to do it for hundreds, even thousands, of files in 1 go... all while making sure the offsets are correct... imagine doing all that by hand... ;)

Image
Image

(Notice the bounding box size differences, those are the PNG's borders before and after)

tl;dr ImageCropper is good shit. Use it. Love it.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: AceToolkit

Postby SanyaWaffles » Thu Apr 23, 2020 1:14 am

Honestly if I can find grabpng this might be useful, as someone who handles sprites in a much higher resolution and hates using photoshop for simple crop jobs.
User avatar
SanyaWaffles
Navy Did Nothing Wrong
 
Joined: 25 Apr 2013
Location: Eastern Ohio
Discord: SanyaWaffles#5095
Twitch ID: sanyawaffles
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby Jaska » Thu Apr 23, 2020 1:30 am

I've ZSDFEdit v1.2.0.exe. Is this still developed?
Jaska
 
Joined: 17 Dec 2019
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby Accensus » Thu Apr 23, 2020 1:34 am

@Nash: Wow, thank you! Happy to hear you are putting IC to good use.

@Sanya: http://baghead.drdteam.org/tools.xml It's part of DoomCrap. SetPNG also works. IC will prioritize GrabPNG if it finds both, though.

@Jaska: Yeah, it is, but I'm planning on doing some much-needed overhauls here and there.
User avatar
Accensus
Vector, locked in.
 
Joined: 11 Feb 2016
Location: Somalia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby Jaska » Thu Apr 23, 2020 1:39 am

Good to know, It's very nice tool!
Jaska
 
Joined: 17 Dec 2019
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby Accensus » Thu Apr 23, 2020 2:58 am

Updated ImageCropper to 2.2.1.

I think with that bug out of the way, 2.2.1 is pretty much version final, unless something else pops up. In terms of functionality, I can't think of anything else to add without entering feature creep territory.
User avatar
Accensus
Vector, locked in.
 
Joined: 11 Feb 2016
Location: Somalia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby SanyaWaffles » Fri Apr 24, 2020 12:47 am

grabpng gives me a 404 on the hosting. Oof.
User avatar
SanyaWaffles
Navy Did Nothing Wrong
 
Joined: 25 Apr 2013
Location: Eastern Ohio
Discord: SanyaWaffles#5095
Twitch ID: sanyawaffles
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby Accensus » Fri Apr 24, 2020 1:19 am

Get DoomCrap from that page I linked. GrabPNG is inside the zip. The independent downloads are dead, yeah.
Last edited by Accensus on Fri Apr 24, 2020 5:32 am, edited 1 time in total.
User avatar
Accensus
Vector, locked in.
 
Joined: 11 Feb 2016
Location: Somalia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby SanyaWaffles » Fri Apr 24, 2020 2:38 am

Ah, gotcha.
User avatar
SanyaWaffles
Navy Did Nothing Wrong
 
Joined: 25 Apr 2013
Location: Eastern Ohio
Discord: SanyaWaffles#5095
Twitch ID: sanyawaffles
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: AceToolkit

Postby kodi » Sat Apr 25, 2020 2:11 am

An interesting thing you can do with MTAConvert is if you've got say a torch model for your dungeon map, you can make a copy of the model and remove all but the part that's supposed to burn and make an obj of that. Run the result through MTAConvert, and you can now spawn fire particles (actors or A_SpawnParticle) on the exact vertices of the model that are supposed to be burning.
User avatar
kodi
Proscrastinator
 
 
 
Joined: 06 May 2013

Next

Return to Editors / Asset Manipulation

Who is online

Users browsing this forum: No registered users and 1 guest