Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: no_rhythm on Wed 20/04/2016 04:54:37

Title: Unable to load AGSteam plugin + dependency(3.3.4)
Post by: no_rhythm on Wed 20/04/2016 04:54:37
Hey all,

I hate making my first posts requests for help as the manuals and existing posts have been sufficient so far but I'm stumped here.  I had installed AGS on two different machines without a hitch and now on this third one I can't seem to get it to load AGSteam.dll.  I placed AGSteam.dll and steam_api.dll in the editor root folder just as I did the previous two installs and get the same error: "There was an error loading plugin 'agsteam.dll'.  Unable to load plugin 'agsteam.dll'.  It may depend on another DLL that is missing."  I'm on a Windows 10 machine (One of the previous installs is windows 10)

I've tried reinstalling, running as admin, installing to different location, installing Visual C++ redist 2015, running compatibility mode for win7 and win8 and now I'm done.  I'm thinking I missed some silly step along the way but can't for the life of me figure it out.  I'm not sure if this is a gap in my knowledge of the AGS editor or a technical problem so thought I'd post this here instead of the advanced technical forum.

Thanks in advance!  This project is already Greenlit and I got my hands on a better laptop to speed up the editing and importing of final art.. starting to think I should just keep working on my clunker :)
Title: Re: Unable to load AGSteam plugin + dependency(3.3.4)
Post by: Crimson Wizard on Thu 21/04/2016 14:09:04
Just one remark:
Quote from: no_rhythm on Wed 20/04/2016 04:54:37installing Visual C++ redist 2015,

The thing is that VC++ redists are not backwards-compatible, the 2015 is not compatible with previous versions - 2012, 2008 etc.
For example, AGS Editor itself requires VC Redist 2008 of particular version, and since these became rarely installed on modern systems, we had to add this component to AGS installer.
You need to know which VC Redist does Steam plugin require precisely (if any), and have that installed.

There is a good advanced tool called Dependency Walker: http://www.dependencywalker.com/
It is free, and lets you know which components current DLL depends on. You could try checking the agsteam.dll (and steam_api.dll too, perhaps) you have with this program to see whether something is missing on your PC.
Title: Re: Unable to load AGSteam plugin + dependency(3.3.4)
Post by: no_rhythm on Thu 21/04/2016 16:23:49
Thanks!  I will try that when I get home tonight.  Failing that I have other machines I can use to wrap up the project. 

Here's a link to the Steam greenlight page if you're interested: https://steamcommunity.com/sharedfiles/filedetails/?id=556564685
Title: Re: Unable to load AGSteam plugin + dependency(3.3.4)
Post by: no_rhythm on Fri 22/04/2016 02:21:33
DependencyWalker itself did not help me, but in searching for how to use it I found SysInternals process monitor and googling some of the results from that lead me to download Visual Studio Community, which I think installed a number of Visual C++ redists(?).  Seems to be running as expected now, much appreciated.  Kind of a roundabout way but thanks for setting me on the right path :)