GZDoom Builder won't compile my external ACS

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Rexxilion_ex
Posts: 3
Joined: Mon Dec 04, 2017 1:23 pm

GZDoom Builder won't compile my external ACS

Post by Rexxilion_ex »

Hi!

I've been trying to compile an external ACS on GZDoom Builder Bugfix r2992 but I always get this weird error.
Output file "C:\Users\rexxilion\AppData\Local\Temp\lh88fl5z\kbv38wt2.tmp" doesn't exist.
Well... actually isn't always the same error because the folder and file name in the Temp folder change each time press compile. I've been messing around with this for a long time but I can't come up with anything (and Google doesn't help), and I know the code is good because when I compile it with acc.exe it makes the .o file, I could work like this but is kinda inconvenient. I have Windows 10 64 bits and it also happens with r2787 and every WAD I try.

Here is what I've already tried:
I've redownloaded the program many times; I've checked if my Temp folder was read-only (it never was); I've opened GZBuilder as administrator and with Windows 7 compatibility mode (it used to work in my older laptop with Windows 7 32 bits); I tried to change the temporary folder location in GZBuilder.txt but every time I open the program the location changes back to \AppData\Local\Temp\ .

Please help, I don't know what else to do.
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: GZDoom Builder won't compile my external ACS

Post by Nevander »

How and where are you compiling it? Because if you are doing map scope scripts, they go into the SCRIPTS lump that you edit from the Script Editor. Compiling external ACS is easier done with SLADE because it's map-independent and you can then use LOADACS and whatever else.
Rexxilion_ex
Posts: 3
Joined: Mon Dec 04, 2017 1:23 pm

Re: GZDoom Builder won't compile my external ACS

Post by Rexxilion_ex »

I'm compiling them in the GZDoom Builder script editor, the map scripts compile perfectly fine but external ACS don't. I was able to compile them in my old laptop but now I can't... weird.

Return to “Scripting”