New ACC 1.47!

News about ZDoom, its child ports, or any closely related projects.
[ZDoom Home] [Documentation (Wiki)] [Official News] [Downloads] [Discord]
[🔎 Google This Site]

Moderator: GZDoom Developers

User avatar
ReX
Posts: 1580
Joined: Tue Aug 05, 2003 10:01 am
Location: Quatto's Palace

Re: New ACC!

Post by ReX »

randy wrote:As a consolation, here's a new version of ACC instead. It includes support for setting #include directory search paths, courtesy of CodeImp. This allows you to have two ACS files in the same directory where one includes the other, and it will always find the included file. Previously, this was problematic. There is also support for [wiki=GetPlayerInput]features[/wiki] that will be available in the next version of ZDoom.
Is it possible that a retroactive problem could occur once the new ACC is installed and the user reverts to the previous version? The reason I ask is that I installed the new ACC without realizing that it was not for WadAuthor. I found that my scripts were not compiling, as described in this thread. I reverted to 1.46 and I was able to get the one script working. Unfortunately, when I tried to re-compile changes made to the scripts on another map in the wad, it refused to compile. However, it refused to compile a script that I had previously successfully compiled. Specifically, it refuses to recognize the Sector_SetLink special, i.e., $.acs:44: Function sector_setlink is used but not defined. (There may be other specials that it does not recognize, in other maps, but I haven't tried them out yet.

The more I think about this, the more I wonder if this is not so much an ACC problem as something related to the .exe - something that has changed in the .exe that made the relevant part of v1.46 of the ACC obsolete. I am using GZDooM v1.1.6 (R239) and ZDoom v2.2.0 (R1286). [For the record, I'd rather stick with the released versions instead of using one of the sub-versions.]

Ideally, I'd like to use an ACC compiled for WadAuthor. But if that's too much work perhaps you might look into why I'm having a problem that I didn't have before. Thanks.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49194
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: New ACC!

Post by Graf Zahl »

Use the 1.47 headers with 1.46 and it should work. Sector_SetLink was a post-1.46 addition and you must have gotten updated headers off the forum which you now overwrote again.
User avatar
Enjay
 
 
Posts: 26706
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: New ACC!

Post by Enjay »

Is it not possible to trick WA somehow? I dunno, maybe running ACC via a batch file that WA calls instead of running it directly or something. I do that for both ACC and ZDBSP from DeePsea. Not because DeePsea can't run them, but merely to put a pause into the bat file so that I can see the output directly from those two utils before DeePsea captures them and displays them in its own dialogue. It's not really necessary, but I like to do it. :P
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49194
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: New ACC!

Post by Graf Zahl »

I think the hack WA uses is too bad to allow this. If he managed to hack program execution to pieces so that it doesn't work properly anymore any attempt to circumvent it is futile. He's certainly not using regular Windows facilities to do what he does.
User avatar
ReX
Posts: 1580
Joined: Tue Aug 05, 2003 10:01 am
Location: Quatto's Palace

Re: New ACC!

Post by ReX »

Graf Zahl wrote:Use the 1.47 headers with 1.46 and it should work. Sector_SetLink was a post-1.46 addition and you must have gotten updated headers off the forum which you now overwrote again.
You lost me at "use the headers". I remember asking about the Sector_SetLink feature some months ago, and getting it to work. The strange thing is that I can't find that discussion, either on the ZDooM forums or the GZDooM forums. Anyway, I'm pretty sure that I didn't use any headers to get the special to work (especially if it involved recompiling the acc.exe file).

I'd appreciate your help with setting it up to get it to work for me. Thanks.
User avatar
Enjay
 
 
Posts: 26706
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: New ACC!

Post by Enjay »

I think Graf may be referring to the *.ACS files that ship with ACC (zcommon.acs, zdefs.zcs etc).
User avatar
ReX
Posts: 1580
Joined: Tue Aug 05, 2003 10:01 am
Location: Quatto's Palace

Re: New ACC!

Post by ReX »

Enjay wrote:I think Graf may be referring to the *.ACS files that ship with ACC (zcommon.acs, zdefs.zcs etc).
Worked like a charm! Thanks, matey.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm

Re: New ACC!

Post by randi »

Once I have my system back in order, I'll do a build with DJGPP. In the meantime, it's a Windows-only binary.

Why he chose to trick ACC into thinking it was running in a pure DOS environment is beyond me. He doesn't do this for the nodebuilder.
User avatar
ReX
Posts: 1580
Joined: Tue Aug 05, 2003 10:01 am
Location: Quatto's Palace

Re: New ACC!

Post by ReX »

randy wrote:Once I have my system back in order, I'll do a build with DJGPP.
Excellent! Meanwhile, the workaround mentioned by Graf & Enjay is working for me.
Why he chose to trick ACC into thinking it was running in a pure DOS environment is beyond me. He doesn't do this for the nodebuilder.
Graf will probably postulate that Williston was either stoned or senile or both :wink:. I have stopped using WadAuthor's internal node-builder in favor of ZDBSP, as the latter is orders of magnitude faster. On large maps (which, unfortunately, I tend to create) the internal node-builder could take upwards of 40 seconds to do its thing while ZDBSP will do it in a few seconds.
User avatar
Enjay
 
 
Posts: 26706
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: New ACC!

Post by Enjay »

I too now always use ZDBSP for (G)Zdoom maps at least. Not so much for its speed (DeePBSP is also pretty fast) but because it has options that allow it to build nodes that are suited to G and Zdoom without either having to recompile them at run time.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm

Re: New ACC!

Post by randi »

I might also add that I have no idea how he did it. I thought maybe it was the stub program he had that did the magic, but even that is run as if it were in DOS mode. Whatever he's doing, it's not standard Windows procedure. It's probably a miracle that it even works at all on all the recent versions of Windows with NT kernels.
User avatar
Chris
Posts: 2958
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: New ACC!

Post by Chris »

If you're really interested in how, you could probably check vdmsound, which also helps hide the presence of Windows, which is useful for some DOS apps that abort if they detect Windows.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm

Re: New ACC!

Post by randi »

Okay, I concede defeat. I got the hard drive from ebay today. It is practically identical to my dead drive, even being made in the same factory just one week apart. Alas, it was not good enough. Swapping the boards did no good. So now I get to redownload and reinstall all the software I had on there. I am sad, because some of that stuff had been on one hard drive or another for over 10 years.

On the plus side, I now have two nearly identical drives, so I should be able to create a RAID-1 array. Hopefully they don't both die at the same time.
User avatar
zwouth
Posts: 72
Joined: Wed Oct 31, 2007 5:57 pm

Re: New ACC!

Post by zwouth »

=(
User avatar
Rachael
Posts: 13854
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: New ACC!

Post by Rachael »

That sucks, Randy. That really does.

Return to “ZDoom (and related) News”