Dolphin, the GameCube and Wii emulator - Forums

Full Version: Can I use debugger to see what files are used? (Music rip)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Excuse me, if this is illegal, then I will remove this thread.

I want to rip the full OST from game Fragile Dreams but it is a game from Namco and these are hard to extract with Wiiscrubber as you can't see which files contain music data... but I wonder if I can see with the debugger which music files are used so I can rip them...as I see secret tracks on YouTube and the original OST doesn't have all music in it...
Open the Log Window and enable "File Monitor" (should be on by default). It will tell you when files are accessed, altho it wont tell you whether its music or not.
For that, you can try FileMonitor.cpp:
Code:
// Filtered files
bool ShowSound(std::string FileName)
{
    std::string Ending;
    SplitPath(FileName, NULL, NULL, &Ending);
    std::transform(Ending.begin(),Ending.end(),Ending.begin(),::tolower);

    if (  
           (Ending == ".adp") // 1080 Avalanche, Crash Bandicoot, etc
        || (Ending == ".afc") // Zelda WW
        || (Ending == ".ast") // Zelda TP, Mario Kart
        || (Ending == ".dsp") // Metroid Prime
        || (Ending == ".hps") // SSB Melee

        || (Ending == ".brstm") // Wii Sports, Wario Land, etc
        || (Ending == ".sad") // Disaster
        )
        return true;

    return false;
}
(08-09-2010, 08:49 PM)Jack Frost Wrote: [ -> ]Open the Log Window and enable "File Monitor" (should be on by default). It will tell you when files are accessed, altho it wont tell you whether its music or not.
For that, you can try FileMonitor.cpp:
Code:
// Filtered files
bool ShowSound(std::string FileName)
{
    std::string Ending;
    SplitPath(FileName, NULL, NULL, &Ending);
    std::transform(Ending.begin(),Ending.end(),Ending.begin(),::tolower);

    if (  
           (Ending == ".adp") // 1080 Avalanche, Crash Bandicoot, etc
        || (Ending == ".afc") // Zelda WW
        || (Ending == ".ast") // Zelda TP, Mario Kart
        || (Ending == ".dsp") // Metroid Prime
        || (Ending == ".hps") // SSB Melee

        || (Ending == ".brstm") // Wii Sports, Wario Land, etc
        || (Ending == ".sad") // Disaster
        )
        return true;

    return false;
}

I need to compile it into it? /newbie
And is it normal that my games suddenly run @ 13% speed...?
Music runs smoothly though.

HELP! TortoiseSVN etc. I don't know how to apply. Please tell me what to do.
Err, no need to compile anything, its already in there. The ShowSound snippet was meant for you as idea on what the music files could be.
For the log window, its View > Show Logwindow.
It's hardcoded... damn