[Bug]: Init file cannot mount voice sound banks of maps/mods
- Dominant language
- Lua
- Stars
- 264
- Forks
- 260
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 21
Description
### Describe the Bug
Maps/mods mount sounds through the `root/sounds/` folder, but if you try to mount `/Voice/US/` it says that there is a conflict and it doesn't mount because the init file just uses the directory/file name to determine conflicts.
### Reproduce the bug
Add a folder called `voice` to a map or mod and see in the log that it fails to mount due to a conflict:
```
info: Found conflicting sound banks for map: 'openworldsix.v0001', cannot mount the sound bank(s):
info: - Conflicting sound bank: 'voice' of map 'openworldsix.v0001' is conflicting with a sound bank from: 'FA installation'
```
As for testing if the voice banks work, copy over some existing game bank into a `/voice/US/` directory and use PlayVoice with the appropriate bank and cue to see if it works.
### Screenshots
_No response_
### Additional context
_No response_
Contributor guide
Research direction
Start by locating the init file that mounts map and mod sound banks, then reproduce the conflict with a folder named voice under root/sounds/. Test with an existing game bank copied to /voice/US/ and PlayVoice; done means the voice bank mounts without the false conflict and the cue plays.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100