fmod.dll missing and assert error.

Results 1 to 10 of 10
  1. #1
    Account Inactive VanillaLulu is offline
    InactiveRank
    Apr 2014 Join Date
    4Posts

    fmod.dll missing and assert error.

    fmod.dll missing and assert error.
    So I just started to dive into gunz mods and can't seem to get the game running. After successfully building gunz using Visual Studio 2003(have 2012 but not sure if that will work any better :p ) I go to the runtime folder and open up the exe file and get these following errors.

    The first image is when I don't have fmod.dll. The Second image is when I copy my fmod.dll from my universe gamers gunz file and try to paste it inside my runtime folder.

    Edit: Also I am going off this thread for help [GUIDE] How to build Gunz source code


  2. #2
    Wait wut PenguinGuy is offline
    True MemberRank
    Apr 2010 Join Date
    United StatesLocation
    765Posts

    Re: fmod.dll missing and assert error.

    Go to the source MBaseLocale.cpp, line 47.
    Then look at the conditional statement inside the ASSERT prep function.

  3. #3
    Account Inactive VanillaLulu is offline
    InactiveRank
    Apr 2014 Join Date
    4Posts

    Re: fmod.dll missing and assert error.

    const MCountry GetCountryID( const char* pLanguage )
    {
    ASSERT( (0 != pLanguage) && (0 < strlen(pLanguage)) ); /*Line 47 where assert statement is */

    if( 0 == pLanguage ) return MC_INVALID;
    if( 0 == strlen(pLanguage) ) return MC_INVALID;


    if( 0 == stricmp("kor", pLanguage) )
    return MC_KOREA;
    else if( 0 == stricmp("international", pLanguage) )
    return MC_US;
    else if( 0 == stricmp("jpn", pLanguage) )
    return MC_JAPAN;
    else if( 0 == stricmp("brz", pLanguage) )
    return MC_BRAZIL;
    else if( 0 == stricmp("ind", pLanguage) )
    return MC_INDIA;
    else if( 0 == stricmp("usa", pLanguage) )
    return MC_NHNUSA;
    else
    {
    ASSERT( 0 );
    }


    return MC_INVALID;
    }

    Not 100% what I should do to get around this problem. Could I comment out this section or somehow set the default country to usa to avoid this error?

  4. #4
    Wait wut PenguinGuy is offline
    True MemberRank
    Apr 2010 Join Date
    United StatesLocation
    765Posts

    Re: fmod.dll missing and assert error.

    Your argument is null (the argument being pLanguage). I'm guessing your default language isn't being found, so it's set to NULL.
    So when that is set to NULL, the assert happens.

    And yes, you could set it to USA.
    Code:
    const MCountry GetCountryID( const char* pLanguage )
    {
        return MC_NHNUSA;
    }
    

  5. #5
    Account Inactive VanillaLulu is offline
    InactiveRank
    Apr 2014 Join Date
    4Posts

    Re: fmod.dll missing and assert error.

    Hmm so I did try replacing that portion of the code but now I'm getting an error in.

    c:\users\administrator\desktop\gunz\stable\cscommon\source\mbasestringresmanager.cpp Line: 46

    bool MBaseStringResManager::Init(const char* szPath, const int nLangID, MZFileSystem* pfs )
    {
    m_strPath = szPath;
    m_pFS = pfs;


    string strFileName;


    //string table
    strFileName = m_strPath + FILENAME_STRING_TABLE;
    if (!m_StringTable.Initialize(strFileName.c_str(), nLangID, pfs))
    {
    _ASSERT(0); <---------------------------------------------------------------------------LINE 46
    mlog("Error!! - StringTable Initalize Failed\n");
    return false;
    }


    // error table
    strFileName = m_strPath + FILENAME_ERROR_TABLE;
    if (!m_ErrorTable.Initialize(strFileName.c_str(), nLangID, pfs))
    {
    _ASSERT(0);
    mlog("Error!! - ErrorTable Initalize Failed\n");
    return false;
    }


    bool ret = OnInit();
    return ret;
    }

    I'm assuming now that I need to do something with the ASSERT function.

  6. #6
    Wait wut PenguinGuy is offline
    True MemberRank
    Apr 2010 Join Date
    United StatesLocation
    765Posts

    Re: fmod.dll missing and assert error.

    Your files are f'ed up. You need to dig through your locale/language/resource files. Basically, it's failing to load your strings.xml, you don't want to skip that.

    Make sure system.mrs is packed, no 'system' folder. Validate your XML's, check your configuration, so on.

  7. #7
    Account Inactive VanillaLulu is offline
    InactiveRank
    Apr 2014 Join Date
    4Posts

    Re: fmod.dll missing and assert error.

    Okay so I just realized that I haven't actually built the gunz.sln in release as well, so now I have two exe files. gunz.exe and gunzd.exe

    I've tried running the gunz.exe but now I'm getting a "dll hacking detected" error, so after a little searching I downloaded the dbghelp.dll and now my exe file runs but doesn't pop up.

    Getting too many errors trying to run it, might try a few things on my own. Thx for all the help

  8. #8
    Newbie enm is offline
    MemberRank
    Jan 2021 Join Date
    1Posts

    Re: fmod.dll missing and assert error.

    why after updating win8 I had an error missing fmod.dll what cause that problem I never had it before, how to solve it any ideas?

  9. #9
    Newbie ucs is offline
    MemberRank
    Jan 2021 Join Date
    1Posts

    Re: fmod.dll missing and assert error.

    check here on DLL Installer for every dll file you whant.

  10. #10
    Aikatsu! jorklenis2 is offline
    True MemberRank
    Oct 2011 Join Date
    PanamáLocation
    688Posts

    Re: fmod.dll missing and assert error.

    You Rock My World



Advertisement