Author Topic: Plugin not working on compiled game!  (Read 138 times)

Plugin not working on compiled game!
« on: 14 May 2019, 19:28 »

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!

Slasher

  • slasher
    • I can help with AGS tutoring
    • Lifetime Achievement Award Winner
    • I can help with scripting
    • I can help with story design
    • Slasher worked on one or more games that won an AGS Award!
    •  
    • Slasher worked on one or more games that was nominated for an AGS Award!
Re: Plugin not working on compiled game!
« Reply #1 on: 14 May 2019, 19:47 »
Generally .dll files go into the main ags folder.

Re: Plugin not working on compiled game!
« Reply #2 on: 14 May 2019, 20:22 »
Please tell, do you have plugin dll with your compiled game, and do you get any error messages?


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.


Is there anyway to build with the plugin "incorporated"...?

It's possible if you recompile the engine with plugin's code inside.
« Last Edit: 14 May 2019, 20:24 by Crimson Wizard »