ZDoom ACS disassembler/decompiler

Any utility that assists in the creation of mods, assets, etc, go here.

Re: ZDoom ACS disassembler/decompiler

Postby wildweasel » Mon Nov 24, 2014 12:24 pm

nambona890 wrote:Hey, well you might need to update ListACS to a new ACS version, because there is this WAD that was pulled from /idgames called Caverns of Blood. It is a Terry WAD that slipped past the filter because the scripts and strings were obfuscated, and the scripts were obfuscated by adding an ACS command that ListACS doesn't support which blanks out all the scripts. The trap also occurs VERY randomly, but in gamemodes like LMS for Zandronum, it takes only 3 minutes. But if you are playing single player, it can take anywhere from a few minutes, to a few hours. The WAD was also made by Terry himself.

Thank you for the heads-up. If it hasn't already been reported, you should also consider sending Ty Halderman a message about it so the proper action can be taken.
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 15 Jul 2003

Re: ZDoom ACS disassembler/decompiler

Postby nambona890 » Mon Jan 12, 2015 6:13 am

wildweasel wrote:
nambona890 wrote:Hey, well you might need to update ListACS to a new ACS version, because there is this WAD that was pulled from /idgames called Caverns of Blood. It is a Terry WAD that slipped past the filter because the scripts and strings were obfuscated, and the scripts were obfuscated by adding an ACS command that ListACS doesn't support which blanks out all the scripts. The trap also occurs VERY randomly, but in gamemodes like LMS for Zandronum, it takes only 3 minutes. But if you are playing single player, it can take anywhere from a few minutes, to a few hours. The WAD was also made by Terry himself.

Thank you for the heads-up. If it hasn't already been reported, you should also consider sending Ty Halderman a message about it so the proper action can be taken.

I already said it was pulled from /idgames, just saying. :)
User avatar
nambona890
WADs with faces for enemies and loud sounds are now Terry WADs.
Banned User
 
Joined: 31 May 2014
Location: Realm 69

Re: ZDoom ACS disassembler/decompiler

Postby quake3guy » Sun Sep 27, 2015 8:51 pm

ListACS needs to update the list of pcodes, I'm trying to fix a missing script reference in Wrath of Cronos by pulling the script from a previous version (not sure why it was removed and still referenced in the latest version..) but I can't decompile its ACS, I get the following error:

Code: Select allExpand view
C:\games\zdoom_2_7_1\listacs>c:\Python27\python.exe listacs.py -d RPGSCRIP.o
<failed id was 72>
Traceback (most recent call last):
  File "listacs.py", line 288, in <module>
    main()
  File "listacs.py", line 259, in main
    p = SwitchParserScript(m, acsf)
  File "listacs.py", line 77, in __init__
    self.stgt = self.read_instructions(scr.ptr)
  File "C:\games\zdoom_2_7_1\listacs\acsutil.py", line 665, in read_instructions
    self.run()
  File "C:\games\zdoom_2_7_1\listacs\acsutil.py", line 604, in run
    func(*args)
  File "C:\games\zdoom_2_7_1\listacs\acsutil.py", line 637, in read_instruction
    pcd = pcodes[pcd]
IndexError: list index out of range
User avatar
quake3guy
 
Joined: 27 Sep 2015

Re: ZDoom ACS disassembler/decompiler

Postby Seidolon » Sat Apr 20, 2019 2:25 am

I know this is a really old thread, but to anyone who might have trouble, I got it working by using these command lines:
Code: Select allExpand view
echo off
cls
set /p fname=Filename:
listacs.py -d *input* -o "output"
pause
exit

That's the same as what TZK posted earlier, just with the .py after listacs.

After that I had to install python 2.5. I had a newer version before, but that makes it incompatible with this application, so installing 2.5 worked.
User avatar
Seidolon
Zombie suicide is a non-issue
 
Joined: 10 Oct 2013
Location: No Jokes Allowed on ZDForum
Discord: NunOfYaBiznis
Twitch ID: DonkeyChonkey
Github ID: Ihavecancerplssuckmydfick
Operating System: Other OS Not Listed Here
Graphics Processor: Not Listed

Previous

Return to Editors / Asset Manipulation

Who is online

Users browsing this forum: No registered users and 1 guest