|
Main loop startup hanging on some PCs
#204484
04/29/08 15:28
04/29/08 15:28
|
Joined: Jul 2005
Posts: 24
cwc
OP
Newbie
|
OP
Newbie
Joined: Jul 2005
Posts: 24
|
We have many beta testers running a game successfully, but just a rare few seem to have trouble at startup. The acknex.txt shows everything is fine until "main loop.." at which point no more is logged. We tried creating additional diag() logs in main() to isolate the problem in our own code, but we found that not even the first line of code in main() was being executed. The first line in main() was diag("main:1") but "main:1" was never output to the log.
I've read here that there are issues with Windows Server 2003, but this user has XP Pro (32-bit). The hardware is all up-to-date (1GB RAM, DirectX 9.0c, an 8800 graphics card, etc.) We're completely stumped here about what could be causing this. We've completely replaced every file in the instalation to make sure corruption isn't the problem.
The game is running on CScript using A7 v. 7.06. If anyone has even a guess as to what might be causing the problem, that would at least give us something to investigate. Thanks.
(FYI - I put this under bugs because it appears to be an engine bug rather than something with our code, since our code never starts executing.)
Last edited by cwc; 04/29/08 15:29.
|
|
|
Re: Main loop startup hanging on some PCs
[Re: cwc]
#204572
04/30/08 01:02
04/30/08 01:02
|
Joined: Jul 2005
Posts: 24
cwc
OP
Newbie
|
OP
Newbie
Joined: Jul 2005
Posts: 24
|
Just tested with user. As it turns out, you nailed it, JCL! (Thank God.) The problem was the DEP setting.
Now the only question remaining is about the dev vs. public versions. Here's exactly what's in the game install (and what's causing the problem with DEP):
{app name}.exe (automatically created during Publish based on acknex.exe) acknex.dll d3dx9_30.dll acknex.wdf {app name}.wdl (used to launch game with other wdls in wrs files)
That's it. The rest of the installation includes various wrs files with wdls and graphics/sound resources, a third-party dll used to change the app icon after the game engine starts, and some raw media files (ico, pcx, tga, wmv).
Again, all of the above files come straight out of the output .cd folder after using Publish.
Is it possible the icon-changing dll is the culprit? If not, you may want to check into this, since it would mean that non-dev files are resulting in the DEP problem.
Many thanks, JCL, for pinpointing this one so quickly.
|
|
|
|