samsface / godot-steam-api

Godot Steam integration using GDNative.
403 stars 16 forks source link

Godot exports Steam dlls even when Plugin is disabled. #5

Closed DaisyGames closed 2 years ago

DaisyGames commented 2 years ago

Hey, I disabled your plugin, even removed Steam.tscn from autoload but when I export my project, it creates the steam_api64.dll and steamsdk-godot.dll anyway.

samsface commented 2 years ago

Maybe custom file filters on project export could help? I never thought about not wanting to export tbh, I’ll look into it.

snoopdouglas commented 2 years ago

I've resorted to making a 'null plugin' that stubs out the Steam, SteamAPI etc. classes. For Steam builds, I duplicate the entire project and replace the null plugin with the real one. This ensures Godot doesn't complain about missing classes or files.

steam_api_null.zip

samsface commented 2 years ago

I've added a switch in porject settings > steam api settings to make all Steam calls do nothing for people dual publishing to itch or whatever.