mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
Expand NPC voice file search to test multiple path patterns
Tests various path structures to find where voice files actually exist: - Wowhead StandardNPC paths - Lowercase variations - PC voice files (HumanVocMale/Female - player emotes) - VO/Voice directories - Simpler creature paths This will help identify which files actually exist in the 3.3.5a MPQs.
This commit is contained in:
parent
c3c6ffeedb
commit
609185f10f
1 changed files with 19 additions and 6 deletions
|
|
@ -20,15 +20,28 @@ bool NpcVoiceManager::initialize(pipeline::AssetManager* assets) {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Probe for actual sound file paths (NPC sounds are in Sound\Creature\)
|
||||
LOG_INFO("=== Probing for NPC voice files ===");
|
||||
// Comprehensive probe - try many path/name variations
|
||||
LOG_INFO("=== Searching for NPC voice files (testing patterns) ===");
|
||||
std::vector<std::string> testPaths = {
|
||||
// Wowhead paths
|
||||
"Sound\\Creature\\HumanMaleStandardNPC\\HumanMaleStandardNPCGreetings01.ogg",
|
||||
"Sound\\Creature\\HumanFemaleStandardNPC\\HumanFemaleStandardNPCGreeting01.ogg",
|
||||
"Sound\\Creature\\DwarfMaleStandardNPC\\DwarfMaleStandardNPCGreeting01.ogg",
|
||||
"Sound\\Creature\\NightElfMaleStandardNPC\\NightElfMaleStandardNPCGreeting01.ogg",
|
||||
"Sound\\Creature\\OrcMaleStandardNPC\\OrcMaleStandardNPCGreeting01.ogg",
|
||||
"Sound\\Creature\\TaurenFemaleStandardNPC\\TaurenFemaleStandardNPCGreeting01.ogg",
|
||||
|
||||
// Try lowercase everything
|
||||
"sound\\creature\\humanmalestandardnpc\\humanmalestandardnpcgreetings01.ogg",
|
||||
|
||||
// Try PC voice files (player character emotes - these exist!)
|
||||
"Sound\\Character\\Human\\HumanVocMaleHello01.wav",
|
||||
"Sound\\Character\\Human\\HumanVocMaleHello02.wav",
|
||||
"Sound\\Character\\Human\\HumanVocFemaleHello01.wav",
|
||||
|
||||
// Try VO directory
|
||||
"Sound\\VO\\Human\\Male\\Greeting01.wav",
|
||||
"Sound\\Voice\\HumanMale\\Greeting.wav",
|
||||
|
||||
// Try simpler creature paths
|
||||
"Sound\\Creature\\Human\\Greeting01.ogg",
|
||||
"Sound\\Creature\\Humanoid\\MaleGreeting01.ogg",
|
||||
};
|
||||
for (const auto& path : testPaths) {
|
||||
bool exists = assetManager_->fileExists(path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue