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
![]()
Go to the source MBaseLocale.cpp, line 47.
Then look at the conditional statement inside the ASSERT prep function.
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?
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; }
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.
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.
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![]()
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?
check here on DLL Installer for every dll file you whant.
use these dll
https://www.sendspace.com/file/yrzisn
You Rock My World