Author Topic: Cannot start game but demo will run. Failed to initialize Direct3D  (Read 6932 times)

0 Members and 1 Guest are viewing this topic.

Snapshot

  • MCOTest
  • Apprentice
  • *
  • Posts: 4
Hey there, I've been a longtime follower of mars colony ever since 2009 back when I used to play the simulator. I've never had an issue with it, but I just recently bought mars colony challenger after getting back together with a few of my friends who used to play it. Whenever I try and launch the game, it says it fails to initialize direct3D. I have a unique setup on this computer, as it is a switchable graphics laptop. I've tried running it in both dynamic and fixed mode on both cards, and no matter what it refuses to launch, but yet the demo launches completely fine.

Demo console.log
Code: [Select]
//-------------------------- 10/5/2014 -- 14:58:50 -----
Processor Init:
   Intel Pentium III Xeon, ~2.00 Ghz
   FPU detected
   MMX detected
   SSE detected
   SSE2 detected
   HT detected
   MP detected [4 cores, 8 logical, 1 physical]
 
Math Init:
   Installing Standard C extensions
   Installing Assembly extensions
   Installing FPU extensions
   Installing MMX extensions
   Installing SSE extensions
 
Initializing platform...
Input Init:
   keyboard0 input device created.
   mouse0 input device created.
   DirectInput enabled.

Done
SFXFMODProvider - Could not locate 'fmodex.dll' or 'fmodexp.dll' - FMOD  not available.
--------- Loading DIRS ---------
MAIN.CS BUILDING
Error: Unable to find specified directory: tools

--------- Parsing Arguments ---------
AUDIO CHANNEL DEFFS
AUDIO CHANNEL DEFFS DONE
Binding server port to default IP
UDP initialized on port 0
Attempting to create GFX device: Mobile Intel(R) HD Graphics (D3D9)
Device created, setting adapter and enumerating modes
   Cur. D3DDevice ref count=1
   Pix version detected: 3.000000
   Vert version detected: 3.000000
   Maximum number of simultaneous samplers: 16
   Number of simultaneous render targets: 4
   Hardware occlusion query detected: Yes
WMIVideoInfo: DxDiag initialized
Initializing GFXCardProfiler (D3D9)
   o Chipset : 'INTEL'
   o Card    : 'Mobile Intel(R) HD Graphics'
   o Version : '8.15.0010.2291'
   - Scanning card capabilities...
GFXCardProfiler (D3D9) - Setting capability 'autoMipMapLevel' to 1.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureWidth' to 16384.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureHeight' to 16384.
GFXCardProfiler (D3D9) - Setting capability 'maxTextureSize' to 16384.
GFXCardProfiler (D3D9) - Setting capability 'lerpDetailBlend' to 1.
GFXCardProfiler (D3D9) - Setting capability 'fourStageDetailBlend' to 1.
   - Loading card profiles...
profile 'profile/D3D9.cs'
profile 'profile/D3D9.INTEL.cs'
profile 'profile/D3D9.INTEL.MobileIntelRHDGraphics.cs'
profile 'profile/D3D9.INTEL.MobileIntelRHDGraphics.81500102291.cs'
ShaderGen: Write permission unavailable, switching to virtualized memory storage
LOAD CORE MATERIALS CALLED
FIRST MATERIAL LOAD
LOAD COMM MATERIALS
LOAD DOOR MATERIALS
DOOR MATERIALS LOADED
LOAD BIO MATERIALS
LOAD FARM MATERIALS
FARM MATERIALS LOADED
ITEMS MATERIALS
DONE ITEMS MATERIALS
LIFE SUPPORT MATERIALS
FUEL STATION MAT
FUEL STATION MAT
LIFE SUPPORT MATERIALS LOADED
LOAD MINE MATERIALS
MINE MATERIALS LOADED
PLANT MATERIALS
BUGGY MATERIALS
LOAD TERRAIN MATERIALS
 % - Initialized Core

--------- Initializing Directory: scripts ---------
sfxStartup...
SFXSystem::createDevice - created DirectSound device 'Primary Sound Driver'
SFXDSDevice::setDistanceModel - 'linear' distance attenuation not supported by DirectSound
   Provider: DirectSound
   Device: Primary Sound Driver
   Hardware: No
   Buffers: 16

--------- Initializing HyperKat Games - Mars:Challenger Demo : Server Scripts ---------
MAIN.CS BUILDING

--------- Initializing HyperKat Games - Mars:Challenger Demo : Client Scripts ---------

--------- Initializing Lighting Systems ---------
ACTIVATE LIGHTING SHADERS
Using Advanced Lighting


--------------
Attempting to set resolution to "1366 768 false 32 60 0"
Accepted Mode:
--Resolution : 1366 768
--Full Screen : No
--Bits Per Pixel : 32
--Refresh Rate : 60
--FSAA Level 0
--------------
** Loading GameDlg's **
** Done Loading GameDlg's **
Binding server port to default IP
UDP initialized on port 0
Engine initialized...
Win32Window::WindowProc - resetting device due to window size change.
Win32Window::WindowProc - resetting device due to window size change.
GFXPCD3D9Device::reset - depthstencil 58747a0 has 2 ref's
--- Resetting D3D Device ---
Window focus status changed: focus: 1
MAIN MENU AWAKE
OPEN GAME DATABASE
GAME CLIENT DATABASE OPEN 4461
Window focus status changed: focus: 0
  Using background sleep time: 200
Win32Window::WindowProc - resetting device due to window size change.
Window focus status changed: focus: 1
KILL GAME DB
Window focus status changed: focus: 0
  Using background sleep time: 200
Exporting client prefs
Exporting server prefs main
CANCEL CLIENT SCHEDULES
MAIN MENU AWAKE
ON SERVER DESTROYED
SERVER SAYS CLEAR HAND
GuiWindowCtrl::onWake - failed to create bitmap array from profile bitmap.
GuiControl::awaken: failed onWake for obj: (null)
GuiWindowCtrl::onWake - failed to create bitmap array from profile bitmap.
GuiControl::awaken: failed onWake for obj: (null)
MAIN MENU AWAKE
GuiWindowCtrl::onWake - failed to create bitmap array from profile bitmap.
GuiControl::awaken: failed onWake for obj: (null)
MAIN MENU AWAKE
GuiWindowCtrl::onWake - failed to create bitmap array from profile bitmap.
GuiControl::awaken: failed onWake for obj: (null)
MAIN MENU AWAKE
Cur. D3DDevice ref count=1

Full game console.log
Code: [Select]
//-------------------------- 10/5/2014 -- 15:06:09 -----
Processor Init:
   Intel Pentium III Xeon, ~2.00 Ghz
   FPU detected
   MMX detected
   SSE detected
   SSE2 detected
   HT detected
   MP detected [4 cores, 8 logical, 1 physical]
 
Math Init:
   Installing Standard C extensions
   Installing Assembly extensions
   Installing FPU extensions
   Installing MMX extensions
   Installing SSE extensions
 
Initializing platform...
Input Init:
   keyboard0 input device created.
   mouse0 input device created.
   DirectInput enabled.

Done
SFXFMODProvider - Could not locate 'fmodex.dll' or 'fmodexp.dll' - FMOD  not available.
--------- Loading DIRS ---------
Error: Unable to find specified directory: tools

--------- Parsing Arguments ---------
AUDIO CHANNEL DEFFS
AUDIO CHANNEL DEFFS DONE
Binding server port to default IP
UDP initialized on port 0
Attempting to create GFX device: Mobile Intel(R) HD Graphics (D3D9)
Device created, setting adapter and enumerating modes
Win32Window::setVideoMode - invoking curtain
   Failed to create hardware device, trying mixed device
   Failed to create mixed mode device, trying software device

Snapshot

  • MCOTest
  • Apprentice
  • *
  • Posts: 4
Re: Cannot start game but demo will run. Failed to initialize Direct3D
« Reply #1 on: October 05, 2014, 06:13:08 PM »
Dxdiag in dynamic mode linked here.

Hyper

  • Administrator
  • Mission Commander
  • *****
  • Posts: 1247
Re: Cannot start game but demo will run. Failed to initialize Direct3D
« Reply #2 on: October 05, 2014, 06:41:11 PM »
Can you get to the main menu?

Snapshot

  • MCOTest
  • Apprentice
  • *
  • Posts: 4
Re: Cannot start game but demo will run. Failed to initialize Direct3D
« Reply #3 on: October 05, 2014, 06:48:48 PM »
I wasn't able to get to the main menu. After playing around with the files, I did get it to work by replacing defaults.cs.dso under client scripts with the one from the demo, so, apparently it has something to do with that specific file. Now it seems to work fine, but I still need to have a proper playthrough to test for bugs related to changing that.
« Last Edit: October 05, 2014, 06:50:51 PM by trev10 »

Hyper

  • Administrator
  • Mission Commander
  • *****
  • Posts: 1247
Re: Cannot start game but demo will run. Failed to initialize Direct3D
« Reply #4 on: October 05, 2014, 07:10:50 PM »
might have just been a corrupted file, never saw that bug before, sorry for the trouble