Plugin not working on compiled game!

Started by Héctor Bometón, Tue 14/05/2019 19:28:37

Previous topic - Next topic

Héctor Bometón


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

Generally .dll files go into the main ags folder.

Crimson Wizard

#2
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.

SMF spam blocked by CleanTalk