Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Héctor Bometón on Tue 14/05/2019 19:28:37

Title: Plugin not working on compiled game!
Post by: Héctor Bometón on Tue 14/05/2019 19:28:37

So... Has the .dll file to be on the same place as the .exe? It works while testing but not when I build the exe and run it BY ITSELF. Is there anyway to build with the plugin "incorporated"...? For distribution I wish I could have the .exe file standing alone and nothing else.

Thank you!
Title: Re: Plugin not working on compiled game!
Post by: Slasher on Tue 14/05/2019 19:47:28
Generally .dll files go into the main ags folder.
Title: Re: Plugin not working on compiled game!
Post by: Crimson Wizard on Tue 14/05/2019 20:22:31
Please tell, do you have plugin dll with your compiled game, and do you get any error messages?


Quote from: Héctor Bometón on Tue 14/05/2019 19:28:37
So... Has the .dll file to be on the same place as the .exe?

In the final dll should be put at the game.exe.
Normally when working with AGS you place plugin's dll in the AGS Editor folder, activate plugin in the project tree for your game, and then AGS should copy plugin to compiled game automatically when you build it.


Quote from: Héctor Bometón on Tue 14/05/2019 19:28:37
Is there anyway to build with the plugin "incorporated"...?

It's possible if you recompile the engine with plugin's code inside.