Requirements on exported .exe

For questions about using Classic.

Post » Tue Feb 17, 2009 4:12 am

Sent a test game to 2 friends who don't have Construct installed, for testing.
They say an error window shows up saying DirectX8 is missing. One of them plays WOW on that same machine.

What are the exact requirements for games exported as .exe?

PS: first post, Construct is great, python support made me decide to learn it.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Tue Feb 17, 2009 5:36 am

The November 2008 build of the DirectX 9 runtime(or something like that) is required to run Construct games.
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Tue Feb 17, 2009 1:42 pm

[quote:dm3r9qqj]They say an error window shows up saying DirectX8 is missing.[/quote:dm3r9qqj]
That's not right - the runtime uses DirectX 9. Microsoft release updates every few months to DirectX 9 without changing the version number from 9.0c. Construct uses the August 2008 update of DirectX, so you'll need that.

If you visit this page you'll see the exact error message they'll have received. Don't ignore it! It tells you exactly what is wrong, and how to fix it. If they follow the instructions, the game should then run.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Tue Feb 17, 2009 1:45 pm

Oh one more thing - people seem to regularly run in to this no matter what the error message says. I think people have a phobia of the red X and close it before following the instructions which make it work. Have you got any suggestions on how to make this clearer so it doesn't happen again?
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Tue Feb 17, 2009 2:48 pm

"Your machine will self destruct in 30 seconds if you don't follow these instructions" may get their attention ;)
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Tue Feb 17, 2009 6:00 pm

Put the words "Don't Panic" right at the top...
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Feb 17, 2009 10:41 pm

Honestly I think this is going to be a problem for quite some time. Here's a few reasons why:
1. Most everybody assumes that directx is automatically updated because its Windows.
2. Most people assume that just because they installed directx with some other game that their version is up to date, or a least good enough. "Hey I run WOW on this machine, so it must be the right version".
3. Yeah the big red x, and the annoying Windows error sound will put off most people.

So a couple options are to either a: make a way to have games be backwards compatible to other versions, or b: like deadeye said have a quaint little notice that wont scare them away.
Something with rainbows, and unicorns, and a nice big font with lots of hearts and smiley faces.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Tue Feb 17, 2009 11:28 pm

How important is the August 2008 update? I mean, is it absolutely essential that Construct have it set as the minimum?

This is Adobe's version penetration for Flash Player:
http://www.adobe.com/products/player_ce ... ation.html

Version 10 is the latest and greatest, but if I was developing in Flash (which I have done in the past), I'd be aiming for version 9, at most. I wouldn't want to turn away users by making them download an update to their system before they could play my game.

Perhaps the same could be said for developing in DirectX. I'm won't claim to know anything about it, but couldn't the bar be set a little lower and still work to an acceptable level? What would be lost by requiring an earlier version of the DX runtime as a minimum spec?
B
2
S
2
G
3
Posts: 105
Reputation: 1,510

Post » Tue Feb 17, 2009 11:35 pm

There's two reasons we need the August 2008 version:
- The runtime depends on D3DX, a library external to DirectX and updated separately. Newer versions have fewer bugs.
- XAudio2 requires DLLs from an "optional" DirectX update to work, and XAudio2 was only released in 2008.

However, we might be able to come up with a system which bundles the DLLs inside the final EXE. If we do this, I think we should enable it on by default, so people don't run in to this problem.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Wed Feb 18, 2009 12:50 am

It's not ideal, but it's what we're forced to do with Microsoft being silly about DX distribution.

On an aside, WoW uses OpenGL I think?
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests