Open gamecentric opened 1 year ago
What do you mean by they are never recognized? The banks are stored by GUID and localized banks all share the same GUID.
In the code affected by my PR, banks paths are being compared, not GUIDs.
Here the bank strings are compared to determine which banks to add to the map of bank guids/paths, the strings are compared because localized banks all share the same GUID. The map uses the GUID as the key so you cannot have multiple entries using the same key, which is why we only want to use the locale that is marked as 'bDefault'.
Are you having any issues or errors related to this?
The issue is that the warning message "Ignoring bank %s as another bank with the same GUID is already being used.\nBank %s does not match any locales in the FMOD Studio plugin settings." (see line 280) is always output for all non-default banks even if the bank actually matches locales in the settings.
Now I see, My original PR was wrong since the guid must be added to the map only for default locales. I updated the PR, so that only the warning is suppressed for non-default locales, while keeping the original logic.
Thanks, I have raised this a task that will be scheduled for a future release.
Banks with non-default locale are never recognized even if suffix is correct