Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: cutmeat on Sat 13/07/2019 10:36:23

Title: SOLVED: Can't open AGS Editor 3.5 on Windows 7 - AGS.Native.dll "missing"
Post by: cutmeat on Sat 13/07/2019 10:36:23
Hey guys,
I'm at my parents with our daughter, and wanted to show my girlfriend the game I'd been working on the last weeks. I have it on github, including the AGS 3.5 (beta 5) as a zip.

When I download and unpack my repository, and try to open the editor, I get a big "AGS.Native.dll"- error and AGS won't start, even though the splash screen appears. I have to then close that with the Task Manager. It says this dll or one of its dependencies is missing.

This PC is running Windows 7. Is this connectedc to the .NET version installed? The latest .NET version is "v4.0.30319" here. I'll try to install 4.5 now, it seemed to me that that might remedy the problem from some old posts I found in the forum.

Any hints?

Thanks and have a great weekend,

Johannes

EDIT: I was mistaken, I actually have .NET 4.7 installed here already, as well as some lower versions. Also, I forgot to mention in the original post: AGS.Native.dll is of course present in the AGS folder with the executable.

I tried redownloading the current editor and tried using it from a different folder, but no dice. Also, I tried the solution from this thread: https://www.adventuregamestudio.co.uk/forums/index.php?topic=47966.msg636479217#msg636479217
Didn't get it to run though :(
Title: Re: Can't open AGS Editor 3.5 on Windows 7 - AGS.Native.dll "missing"
Post by: eri0o on Sat 13/07/2019 11:31:34
Can you print screen the error and add it here?
Title: Re: Can't open AGS Editor 3.5 on Windows 7 - AGS.Native.dll "missing"
Post by: cutmeat on Sat 13/07/2019 12:20:38
Sure, and thanks for replying:

(https://i.postimg.cc/hGs4pgBP/Unbenannt.png)

I only just noticed it's in German.
"Die Datei oder Assembly..." etc translates to "The file or assembly 'AGS.Native.dll' or a dependency wasn't found. The declared module couldn't be found."
Title: Re: Can't open AGS Editor 3.5 on Windows 7 - AGS.Native.dll "missing"
Post by: Crimson Wizard on Sat 13/07/2019 12:36:20
For AGS.Native.dll to load up you need to install corresponding VC Runtime too, but we were not sure which one.

If you could, please try this download (from official MS site):
https://download.microsoft.com/download/6/A/A/6AA4EDFF-645B-48C5-81CC-ED5963AEAD48/vc_redist.x86.exe
and if it does not work then also this:
https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe
Title: Re: Can't open AGS Editor 3.5 on Windows 7 - AGS.Native.dll "missing"
Post by: cutmeat on Sun 14/07/2019 11:26:54
It worked after installing your first link, didn't try the second one after that. Thank you!