Heh, okay. Simply, I wanted to edit Hexen's scripts. But the scripts in general are compiled, and not available through Doom Builder 2.
DB1 never had any trouble with it, but on a 64-bit windows 7, it tries to run deacc.exe and fails, saying its not compatible with this version of windows.
So, hum, how do I get to the scripts? Why doesn't Doom Builder 2 have that?
Script decompiler
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.
Re: Script decompiler
I know that DeePsea can do it under Win7. If you want a particular map's scripts I can do it for you.
It's just a shame that there isn't a decompiler for the newer format of scripts too.
It's just a shame that there isn't a decompiler for the newer format of scripts too.
- Kappes Buur
-
- Posts: 4120
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: Script decompiler
I've already done that for all 31 maps.
Re: Script decompiler
Thats perfect, thanks.Kappes Buur wrote:I've already done that for all 31 maps.
There isn't? Shame. But Hexen doesn't need it, at least.Enjay wrote:I know that DeePsea can do it under Win7. If you want a particular map's scripts I can do it for you.
It's just a shame that there isn't a decompiler for the newer format of scripts too.
I'll use DeepSea for the expansion scripts.
-
- Posts: 168
- Joined: Tue Mar 08, 2011 1:25 pm
Re: Script decompiler
What about jspenguin's listacs?Enjay wrote:It's just a shame that there isn't a decompiler for the newer format of scripts too.
- Kappes Buur
-
- Posts: 4120
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: Script decompiler
Listacs never worked for me, all it would do is generate the pcode:disposable_username2 wrote:What about jspenguin's listacs?
Code: Select all
25: function 1 (2, 1, 0) -> 1
25: PUSHSCRIPTVAR 1
27: PUSHBYTE 1
29: LT
30: IFNOTGOTO 38
35: PUSHBYTE 1
37: RETURNVAL
38: PUSHSCRIPTVAR 0
40: ASSIGNSCRIPTVAR 2
42: DECSCRIPTVAR 1
44: PUSHSCRIPTVAR 1
46: IFNOTGOTO 60
51: PUSHSCRIPTVAR 0
53: MULSCRIPTVAR 2
55: GOTO 42
60: PUSHSCRIPTVAR 2
62: RETURNVAL
-
- Posts: 168
- Joined: Tue Mar 08, 2011 1:25 pm
Re: Script decompiler
Even with the -d switch?Kappes Buur wrote:Listacs never worked for me, all it would do is generate the pcode
- Kappes Buur
-
- Posts: 4120
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: Script decompiler
Ah, what d'yo know, that worked
Thank you disposable_username2
Code: Select all
listacs -d file.o >> file.acs