Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Joacim Andersson on Wed 25/01/2023 18:58:11

Title: [RESOLVED] Can't build EXE
Post by: Joacim Andersson on Wed 25/01/2023 18:58:11
When I try to build an EXE for my game I get the following error:

Unable to set EXE name/description: Unable to replace resource: EndUpdateResource for 00000001 failed: 0000006E

What's going on here?
Title: Re: Can't build EXE
Post by: eri0o on Wed 25/01/2023 20:01:51
I am not sure what that error specifically means, but usually if the file is considered in use, AGS Editor cannot access it, in this case the exe of your game (the editor copies acwin.exe and customizes it as your game).

If you have the game open, or sometimes just leaving the Windows Explorer with the Compiled/Windows directory opened in it, and other similar types of access to the exe in that directory may hang when you tell AGS Editor to build the exe.

Ah, sometimes Antivirus software may also cause the issue since they see a new executable and will try to access it for scanning.
Title: Re: Can't build EXE
Post by: Joacim Andersson on Wed 25/01/2023 20:06:52
Thank you, I knew the file wasn't in use but I did have the output folder opened in File Explorer, closing that solved the issue.