Guest stoehovve Posted July 16, 2009 Report Share Posted July 16, 2009 Hi Guys, Saw your open sourcing of this game earlier today (Via /.), and decided to take a look over everything, and see if I can contribute. I checked out the read only version of the source, managed to get a clean compile via VS C++ 2008 express (except for 2 test sections, have not had a chance to look into why they failed to compile yet tho).As I was attempting to run the game, however, I ran into an assertion, that appears to being cause by the game trying to load the following DLL (it occurs when running the debug and non-debugging versions: C:\windows\system32\ct_oal.dllA search of the system shows me that, despite me having a Creative Labs Sound Blaster X-Fi Platinum Fatality Champion sounds card, that driver DLL is not loaded anywhere on my system. It appears that it was phased out for Vista (64-bit) drivers (and possibly other OS versions), according to this thread:http://opensource.creative.com/pipermail/o...ust/004922.html(of which the removal discussion starts here):http://opensource.creative.com/pipermail/o...ust/004931.htmlI understand that (as you stated in the introduction page), that this is very pre-alpha code, and am willing to look into what might need to be done to work around/take into account different driver versions - though I will admit my windows development experience is lacking, and I'm more or less jumping in head first, feet first, and belly flopping all in one :>But, I do know C++, so I'm half there.However, after some additional searching, and according to Dxdiag, ct_oal.dll is actually in:C:\Windows\SysWOW64\ct_oal.dllSo this might simply be due to the fact that I am running a 64-Bit OS, and the detection is seeing 32-Bit:(generated 2009-07-16 17:20:23 UTC)OS : Vista SP 2 (6.0.6002)CPU : IA-32, Intel Core2 Quad Q6600 @ 2.40GHz (1x4x1), 2.40 GHzMemory : 6142 MiB; 2970 MiB freeGraphics Card : NVIDIA GeForce 8800 GTSOpenGL Drivers : 3.0.0; Video Mode : 1024x768:32@60Sound Card : Creative X-Fi Audio Processor (WDM)Sound Drivers : OpenAL32.dll (6.14.0357.19), wrap_oal.dll (2.1.4.0), ct_oal.dll (unknown) Quote Link to comment Share on other sites More sharing options...
Guest stoehovve Posted July 16, 2009 Report Share Posted July 16, 2009 Some additional information, executing via the quickstart seems to work with out issue. Quote Link to comment Share on other sites More sharing options...
feneur Posted July 16, 2009 Report Share Posted July 16, 2009 I'll let the programmers answer the more technical aspects, but I can say this much. When using the quickstart option the game doesn't use sound which explains why it doesn't look for the .dll in that case. Quote Link to comment Share on other sites More sharing options...
dankl__ Posted July 16, 2009 Report Share Posted July 16, 2009 (edited) For the issue of the 2 failed sections. Dont check out to c:\program files or any other directory that has a space in it, it messes up the file path when building in vc2008 (or atleast it did for me ). Also maybe try reinstalling/updating your sound drivers. Edited July 16, 2009 by dankl__ Quote Link to comment Share on other sites More sharing options...
janwas Posted July 16, 2009 Report Share Posted July 16, 2009 When using the quickstart option the game doesn't use sound which explains why it doesn't look for the .dll in that case.Just a minor addition: ct_oal is examined for purposes of reporting your sound driver version. While -quickstart does skip sound init, it also skips the system-info-retrieval code that results in binaries/logs/system_info (of which sound driver version is a part).So this might simply be due to the fact that I am running a 64-Bit OS, and the detection is seeing 32-Bit:Yeah, there are definitely gremlins lurking in that area (Wow64 does magic redirection of the system32 directory).Can you provide more details on what assertion is being triggered? Quote Link to comment Share on other sites More sharing options...
Guest stoehovve Posted July 16, 2009 Report Share Posted July 16, 2009 For the issue of the 2 failed sections. Dont check out to c:\program files or any other directory that has a space in it, it messes up the file path when building in vc2008 (or atleast it did for me ). Also maybe try reinstalling/updating your sound drivers.Actually, I had no issues in relation to that, the check out worked with out issue, the building of work space elements worked, and other then 32-bit vs 64-bit related elements.As for the sound drivers, this is a fresh installation of vista (quad HD crash 2 weeks ago, so there's nothing that's been futzed about once I got new drives). As well, the creative labs drivers are about as up to date as the web site says they can be, but thanks for the suggestions.Here is a direct copy of the assertion being kicked out. When I first ran it, it was not very clear and so I code stepped to track down that it was looking for the ct_oal.dll file, as that was not reported in the assertion.Function call failed: return value was -100102 (Case 2)Location: wdll_ver.cpp:57 (ReadVersionString)Call stack:ReadVersionString (wdll_ver.cpp:41) modulePathname_ = 0x01AE0258 -> m_path = (error -100500 while analyzing string >) out_ver = 0x0029EF50 -> [8] { 0, 0, 0, 0, 204 (0xCC), 204 (0xCC), 204 (0xCC), 204 (0xCC) } out_ver_len = 4191315237 (0xF9D26525) ver_size = 3435973836 (0xCCCCCCCC) mem = px = 0x00000000 pn = pi_ = 0x00000000 subblock = [64] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... unused = 3435973836 (0xCCCCCCCC) noRedirect = m_wasRedirectionEnabled = 0xCCCCCCCC modulePathname = (error -100500 while analyzing string >) s = m_lastError = 31 (0x0000001F) lang_len = 0 (0x00000000) ok = 0 (0x00000000) lang = 0x00000000 in_ver_len = 0 (0x00000000) in_ver = 0x00000000ILT+57655(?wdll_ver_AppendYAXABV?$basic_pathV?$basic_stringDU?$char_traitsDstdV?$allocatorD (:0)add_oal_dlls_in_dir (wsnd.cpp:52) path = 0x0029F1D8 -> m_path = (error -100500 while analyzing string >) dlls = 0x01350228 -> (error -100500 while analyzing set<string > >) versionList = 0xF9D27A7D -> (error -100500 while analyzing string >)ILT+165435(?win_get_snd_infoYAJXZ) (:0)ILT+135540(?snd_detectYAXXZ) (:0)ILT+70400(?WriteSystemInfoYAXXZ) (:0)ILT+92775(?InitYAXABVCmdLineArgsHZ) (:0)RunGameOrAtlas (main.cpp:379) argc = 1 (0x00000001) argv = 0x01BE4C90 -> 0x01BE4C98 -> "c:\Users\excalibur\Documents\Visual Studio 2008\Projects\ps\binaries\system\pyrogenesis_dbg.exe" ran_atlas = false args = m_Args = (error -100500 while analyzing vector<pair<CStr8,CStr8> >) m_Arg0 = { (error -100500 while analyzing string >) } res = 1.6976e-314 (0x00000000CCCCCCCC)ILT+159835(_main) (:0)__tmainCRTStartup (crtexe.c:410)mainCRTStartup (crtexe.c:393)CallStartupWithinTryBlock (wseh.cpp:350) ret = 2750620 (0x0029F89C)errno = 0 (?)OS error = 0 (no error code was set) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.