sirjuddington / SLADE

It's a Doom editor
https://slade.mancubus.net
GNU General Public License v2.0
697 stars 105 forks source link

Parse compiled ACS #384

Open eevee opened 8 years ago

eevee commented 8 years ago

You might think that's ridiculous, but I'm already 60% of the way there! I don't handle loops or other jump constructs yet, but for a straightforward "do multiple things" script I can tell you exactly what specials are called with what arguments — even if the arguments are script arguments, or come from a global array. All determined statically, no evaluation required.

The goal is to be able to do all of this stuff even for maps without source code available:

Gaerzi commented 8 years ago

That's interesting. You're focusing on the map editor side of things, but the first use for this feature would be offering a built-in script decompiler/disassembler.

eevee commented 8 years ago

That... is... rather a lot harder, but feasible. And has been done before.