Reaper Grimm
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Was the ACC source code ever released?
 
Author
All times are GMT. The time now is 20:24. Post New Thread    Post A Reply
DaniJ
Senior Member


Posts: 1691
Registered: 08-03


In short, was the ACC (Hexen ACS compiler) source code ever released?

I understand that the source for Randy Heit's ACS compiler is available but given ZDoom's enhancements I expect the bytecode it produces is radically different?

I'm currently working on a BEHAVIOR decompiler for use with Doomsday. The ACC source code would be helpful for reference.

Old Post 03-17-10 02:19 #
DaniJ is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Blzut3
Junior Member


Posts: 205
Registered: 06-04



DaniJ said:
given ZDoom's enhancements I expect the bytecode it produces is radically different?

By default it is, but it has a "-h" parameter to put it in hexen compatibility mode. ZDoom's ACC is based off of the original so I would imagine the source was released.

Old Post 03-17-10 02:48 #
Blzut3 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 4484
Registered: 08-00


It was released, however it is under a EULA not much better than the one the Heretic and Hexen sources were previously under. I already talked to James Monroe about this and he considered it a mistake, but he seems to have forgotten about fixing it.

You could gently remind him maybe :P

Old Post 03-17-10 06:11 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
DaniJ
Senior Member


Posts: 1691
Registered: 08-03



Quasar said:
It was released

Ah yes, so it was.



...it is under a EULA not much better than the one the Heretic and Hexen sources were previously under.

This won't be a problem for me because I don't actually want to do anything with it per say. All the information I need to write my decompiler is already there, in the format of the produced bytecode and the runtime script interpreter in Hexen.



...I already talked to James Monroe about this and he considered it a mistake, but he seems to have forgotten about fixing it.

You could gently remind him maybe :P


I could certainly enquire about it. I presume then, that he is still at Raven?

Old Post 03-17-10 07:09 #
DaniJ is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 6458
Registered: 07-07



Blzut3 said:
ZDoom's ACC is based off of the original

Is it? I thought all the ACS-related stuff in ZDoom, including the compiler, was reverse engineered before Raven released the sources.

Old Post 03-17-10 07:21 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6963
Registered: 01-03


No. The ACC source was released earlier if I am not mistaken. ZDoom's ACC is a direct descentant of Raven's version.

Old Post 03-17-10 08:03 #
Graf Zahl is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
DaniJ
Senior Member


Posts: 1691
Registered: 08-03


I should explain that I'm not actually interested in creating another BEHAVIOR decompiler.

The idea for this project is to convert BEHAVIOR bytecode directly into Doomsday script source file(s), not an ACS script source file. The plan is to drop the BEHAVIOR bytecode interpreter in jHexen completely, converting scripts into our core scripting language at load time (and subsequently parsed along with the rest of the scripts).

It will certainly be an interesting project as ACS script is not directly convertible to Doomsday script. For example, the different flow statement logics in loops and switch case expression evaluation.

So not only do I need to "decompile" and output a different syntax I'll also need to modify the scripts in the process.

Old Post 03-17-10 21:11 #
DaniJ is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 4484
Registered: 08-00



DaniJ said:
I should explain that I'm not actually interested in creating another BEHAVIOR decompiler.

The idea for this project is to convert BEHAVIOR bytecode directly into Doomsday script source file(s), not an ACS script source file. The plan is to drop the BEHAVIOR bytecode interpreter in jHexen completely, converting scripts into our core scripting language at load time (and subsequently parsed along with the rest of the scripts).

It will certainly be an interesting project as ACS script is not directly convertible to Doomsday script. For example, the different flow statement logics in loops and switch case expression evaluation.

So not only do I need to "decompile" and output a different syntax I'll also need to modify the scripts in the process.


Not a bad idea. I thought of this myself earlier back when Small still looked like a sure thing. I figured that ACS bytecode was simple enough to convert into Small bytecode. There ended up being too many issues involved for my liking in that particular instance, though. And now Small is out anyway so it's actually good that ACS doesn't depend on it ;)

Old Post 03-17-10 23:14 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
DaniJ
Senior Member


Posts: 1691
Registered: 08-03


Yeah it shouldn't be that difficult as the (Raven-spec) ACS language isn't particularly complex. In our instance it makes sense to dump the BEHAVIOR interpreter as Doomsday script is a much more feature-full scripting system all round.

Plus a nice side benefit is that mod authors will be able to use the port itself to convert pre-existing ACS bytecode into new Doomsday script source files, should they wish to incorporate Doomsday-specific features (without resorting to rewriting/recreating their scripts manually).

Old Post 03-17-10 23:40 #
DaniJ is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 20:24. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Was the ACC source code ever released?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory