Difference between revisions of "DEACC"

From DoomWiki.org

[checked revision][checked revision]
m (External links: differentiate links)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''DEACC''' is a {{wp|decompiler}} for [[Hexen]]'s [[BEHAVIOR]] [[lump]]s, which turns the {{wp|bytecote}} generated by [[ACC]] back into human-readable code in the [[ACS]] language. It was written by Luc Cluitmans. It was first released as v1.0 on November 21, 1995, and the final v1.1 was released on December 5, 1995. It features 100% accurate decompilation of [[Raven Software]]'s ACS bytecode, meaning that, for the original game's files, the resulting scripts can be re-compiled via ACC and will result in the same bytecode generation. DEACC is a command-line program for {{wp|MS-DOS}} and {{wp|OS/2}}.
+
'''DEACC''' is a {{wp|decompiler}} for [[Hexen]]'s [[BEHAVIOR]] [[lump]]s, which turns the {{wp|bytecode}} generated by [[ACC]] back into human-readable code in the [[ACS]] language. It was written by Luc Cluitmans. It was first released as v1.0 on November 21, 1995, and the final v1.1 was released on December 5, 1995. It features 100% accurate decompilation of [[Raven Software]]'s ACS bytecode, meaning that, for the original game's files, the resulting scripts can be re-compiled via ACC and will result in the same bytecode generation. DEACC is a command-line program for {{wp|MS-DOS}} and {{wp|OS/2}}.
  
 
==Limitations==
 
==Limitations==
Line 12: Line 12:
  
 
==External links==
 
==External links==
* {{idgames|file=utils/level_edit/hexen_scripting/deacc11.zip|title=DEACC v1.1}}; MS-DOS only package
+
* {{idgames|file=utils/level_edit/hexen_scripting/deacc11|title=DEACC v1.1}}; MS-DOS only package
* {{idgames|file=utils/level_edit/hexen_scripting/deacc11x.zip|title=DEACC and DEACCOS2 v1.1}}; includes OS/2 version.
+
* {{idgames|file=utils/level_edit/hexen_scripting/deacc11x|title=DEACC and DEACCOS2 v1.1}}; includes OS/2 version.
  
 +
 +
{{ACS}}
 
[[Category:DOS add-on software]]
 
[[Category:DOS add-on software]]
 
[[Category:Hexen]]
 
[[Category:Hexen]]
 
[[Category:Scripting utilities]]
 
[[Category:Scripting utilities]]

Latest revision as of 16:29, 26 October 2022

DEACC is a decompiler for Hexen's BEHAVIOR lumps, which turns the bytecode generated by ACC back into human-readable code in the ACS language. It was written by Luc Cluitmans. It was first released as v1.0 on November 21, 1995, and the final v1.1 was released on December 5, 1995. It features 100% accurate decompilation of Raven Software's ACS bytecode, meaning that, for the original game's files, the resulting scripts can be re-compiled via ACC and will result in the same bytecode generation. DEACC is a command-line program for MS-DOS and OS/2.

Limitations[edit]

As with all decompilers, certain limitations exist in the generated source code:

  • Variable names cannot be recovered.
  • Comments cannot be recovered.
  • Some logic structures may alias each other when compiled to bytecode and thus may decompile to different but logically equivalent ACS source code (for example certain combinations of if, loops, and the break and continue keywords).
  • Because of its age, the program does not understand any source port extensions to ACS.

Revision history[edit]

v1.1 was released primarily to repair an error with decompiling scripts which contained string variables. Some additional undocumented bug fixes were included.

External links[edit]


ACS
Fundamentals:
Utilities:
Hexen usage:
Other: