DEACC
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
I found the source for DEACC in the WinTex source archive. It is quite old and will probably need some work to even make it compile now.Graf Zahl wrote:Unfortunately there is also no released source code for an ACS decompiler. Otherwise I would have updated it a long time ago
- Attachments
-
deacc.zip
- The source code for DEACC 1.1
- (28.45 KiB) Downloaded 85 times
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Thanks! I've been looking for this stuff for ages. Let's see what I can do with it.randy wrote:I found the source for DEACC in the WinTex source archive. It is quite old and will probably need some work to even make it compile now.Graf Zahl wrote:Unfortunately there is also no released source code for an ACS decompiler. Otherwise I would have updated it a long time ago
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
I just tried to compile the Deacc source. Unfortunately it's incomplete as the main .c file (deacc.c) is missing. In its current state I don't see any chance to use this without doing some major research first 
EDIT: I just got it to compile a raw Hexen style BEHAVIOR lump. The next steps are to handle actual WAD files and to extend the line special output to ZDoom and add names for Doom and Heretic stuff. After that I'll add support for the new enhanced format. I could use some info about this format, however.

EDIT: I just got it to compile a raw Hexen style BEHAVIOR lump. The next steps are to handle actual WAD files and to extend the line special output to ZDoom and add names for Doom and Heretic stuff. After that I'll add support for the new enhanced format. I could use some info about this format, however.
- SargeBaldy
- Posts: 366
- Joined: Tue Jul 15, 2003 3:49 pm
- Location: Oregon
- Contact:
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Yes, I found out already. The code is surprisingly well structured, a pleasantly rare encounter with things like these. I think I can get all the simple stuff running until the weekend.randomlag wrote:Yeah, you really don't need main, since all it does is call the behavior thingy.
It's going to be a bit more trouble to do the commands which use multiple pcodes (like hudmessage) because right now I have no idea how they work so I have to do a little research but I at least want the basics running before I try to add functionality for the enhanced format (parts of this are really going to be fun...)
The biggest problem I see right now are the global arrays because I have absolutely no reference material for them. Fortunately this also means that there is probably no script that uses them which means that there are most likely no scripts out there yet which use them. Of course, as soon as I get my hands at something to work with I'll implement support for it, too.