alessandrofama / wwise-godot-integration

Wwise Integration for the Godot Engine
Other
288 stars 14 forks source link

Banks get copied to the user directory at every start in a standalone build #8

Closed alessandrofama closed 3 years ago

alessandrofama commented 4 years ago

At every start of a the engine, the integration copies over the banks to the user directory if it detects it's run as a standalone game and not in-editor (only on Win/macOS/Linux) as detailed here:

https://github.com/alessandrofama/wwise-godot-integration/blob/54fa652f123e667122289a73ae258a2a1c59c3ee/wwise-gdnative/src/wwise_gdnative.cpp#L224-L234

It is probably not necessary doing that every time, especially when using multiple large banks. It would be better to check if the banks are already present first. What do you think?