[Resolved] Failed to initialise Direct3D error

For questions about using Classic.

Post » Fri Apr 20, 2012 12:12 am

Hi guys,

I've finaly finished my game on CC, but when I launch the exported EXE, I get this error:

-Runtime error
Construct encountered an error in the display engine. Please report this problem to the application developper.
Failed to initialise Direct3D 9! (0x8876086a)

Actually I get this error on a mounted virtual machine (in VirtualBox), the specs of the machine are :
Windows XP SP3
2GB RAM
Video : 128 MB

and the game uses 14 VRAM.

But that's very strange... My game don't use any 3D effect of CC.
The game is did only with 2D sprites... So why this error ?
I don't want my game to use any effects related to Direct3D, how can I do this on CC ?

'Cause actually it's a small and fast game, I don't want the user to install big 3D drivers to play to a simple 2D game.

What's the solution ?

Thanks.




T. Kretts.TopsyKretts2012-04-21 23:03:17
B
4
Posts: 20
Reputation: 365

Post » Fri Apr 20, 2012 12:23 am

Its still a part of DirectX 9, which Construct needs.
Check that you have the latest version installed, or run the updater located in the main folder.
Dx9, not 10, or 11, blah, blah, blah.
If that doesn't help update the graphics drivers.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Fri Apr 20, 2012 11:48 am

That's done, I've installed the DX updater, the error come back, so after that I installed the Microsoft Visual C++ 2005 Redistributable - KB2467175 and the error come back again...

No solution ?
B
4
Posts: 20
Reputation: 365

Post » Fri Apr 20, 2012 12:11 pm

DirectX generally doesn't work in a VM. It's a problem with the VM rather than Construct Classic. The VM doesn't have a real graphics card, so hardware-accelerated games don't work. You'll have to run it on a real machine (not in a VM).

FYI it doesn't matter if DirectX content is 3D or 2D, it's rendered the same way with the same thing so that doesn't affect if it will work or not.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Fri Apr 20, 2012 12:30 pm

Ah...
Ok, so the prob is with the VM...
Ok, anyway, thanks for your help :)
I'll test on real machines later.
B
4
Posts: 20
Reputation: 365

Post » Sat Apr 21, 2012 9:42 am

Maybe try it with the free VMWare Player software, it's probably the best around in terms of DirectX hardware acceleration/emulationJayjay2012-04-21 09:42:28
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Sat Apr 21, 2012 11:50 am

Hey, thanks !
Never heard about this soft
B
4
Posts: 20
Reputation: 365


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests