Game crash upon launch of QWTA 0.3.4


(DukeNukeM) #1

Hi all,

I have a problem running qwta 0.3.4. I first removed all the previous qwta folders in the folders below, and unzipped the qwta-v0.3.4 into my main etqw directory


Folders:
C:\Program Files\id Software\Enemy Territory - QUAKE Wars\qwta

C:\Documents and Settings***********\My Documents\id Software\Enemy
Territory - QUAKE Wars\qwta

C:\Documents and Settings*\My Documents\id Software\Enemy
Territory - QUAKE Wars\sdnet*
\qwta

C:\Documents and Settings***********\Local Settings\Application
Data\id Software\Enemy Territory - QUAKE Wars\qwta

File:
C:\Documents and Settings*\Local Settings\Application
Data\id Software\Enemy Territory - QUAKE
Wars\sdnet*
\qwta.dict


I then proceed to launch qwta, the loading screen comes up then crashes back to the desktop with an error message Fatal Error: couldn’t load game dynamic library. then i click OK, the small console window popup, with this as the log:


found DLL in pak file: C:\Enemy Territory - QUAKE Wars\qwta\game000.pk4/gamex86.dll
copy gamex86.dll to C:\Documents and Settings********\Local Settings\Application Data\id Software\Enemy Territory - QUAKE Wars\qwta\gamex86.dll


FATAL ERROR: couldn’t load game dynamic library


…unloading XInput DLL
mouse: Failed to remove raw input device
…unloading Raw Input DLL

------- Input Initialization -------
Initializing DirectInput8…
…calling LoadLibrary( ‘user32.dll’ ): succeeded
…initializing Raw Input
mouse: Raw Input initialized.
…calling LoadLibrary( ‘imm32.dll’ ): succeeded
…initializing Input Method Editor
…calling LoadLibrary( ‘xinput1_3.dll’ ): succeeded
…initializing XInput
…XInput controller 0 given hash = 232429
…XInput controller 1 given hash = 232566
…XInput controller 2 given hash = 232703
…XInput controller 3 given hash = 232840
…found 4 controller ports
controllers: XInput initialized.
…initializing DirectInput
…found 0 controllers
controllers: DirectInput initialized.

--------------- BSE Shutdown ----------------

Shutting down sound hardware
Shutting down OpenGL subsystem
…releasing DC
…destroying window
…shutting down QGL
…unloading OpenGL DLL
…unloading Windows Terminal Server API DLL
idRenderSystem::Shutdown()
Shutting down performance queries
couldn’t load game dynamic library


Furthermore, I get 3 entries in the system event log, all of the source “SideBySide”, content below.

Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 32
Date: 9-5-2010
Time: 21:58:09
User: N/A
Computer:
Description:
Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 59
Date: 9-5-2010
Time: 21:58:09
User: N/A
Computer:
Description:
Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system.
.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 59
Date: 9-5-2010
Time: 21:58:09
User: N/A
Computer:
Description:
Generate Activation Context failed for C:\Documents and Settings***************\Local Settings\Application Data\id Software\Enemy Territory - QUAKE Wars\qwta\gamex86.dll. Reference error message: The operation completed successfully.
.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

If i revert back to the 0.3.3 version of QWTA, it works perfectly.

I have visual c++ 2005, 2008 and 2008 sp1 redistributables installed on my system, and I am running Windows XP Pro SP2.

Thanks in advance for any help.


(Azuvector) #2

For the record, before anyone punts DukeNukeM back to me for a QWTA issue, I’ve been trying to help him out, and I’m out of ideas. Pretty sure it’s an issue either with his computer and/or his copy of ETQW, or some weirdness with how he installed QWTA v0.3.3 -> QWTA v0.3.4 (Which should be a clean install, and Duke’s done that.)

As far as I know, no one but DukeNukeM is having this issue with QWTA v0.3.4.
As far as I know, the error Duke’s getting is not in the SDK source, so it’s in the engine somewhere, and does seem to be related to loading the mod’s dll file.

So, help call goes out to anyone with ideas. Particularly anyone from SD who might have an idea what’s going on here.
QWTA installs stuff/ETQW creates stuff for QWTA to the following locations, and Duke’s cleared those and things haven’t helped.


Folders:
%PROGRAMFILES%\id Software\Enemy Territory - QUAKE Wars\qwta
%HOMEPATH%\My Documents\id Software\Enemy Territory - QUAKE Wars\qwta
%HOMEPATH%\My Documents\id Software\Enemy Territory - QUAKE Wars\sdnet\%ETQWUSERNAME%\qwta
%HOMEPATH%\Local Settings\Application Data\id Software\Enemy Territory - QUAKE Wars\qwta
File:
%HOMEPATH%\Local Settings\Application Data\id Software\Enemy Territory - QUAKE Wars\sdnet\%ETQWUSERNAME%\qwta.dict

I noticed tonight while trying to figure this out that the error Duke gets seems to be just after this line:

Looks almost like the game is extracting the dll file from the game000.pk4 file, but then failing to copy it to the %HOMEPATH%\My Documents\id Software\Enemy Territory - QUAKE Wars\qwta directory. Like maybe ETQW/the current user on the machine doesn’t have write access to that directory?

Any ideas would be appreciated. I’m gonna see if anyone from SD’s on IRC to bother about this.


(Susefreak) #3

Nuke and pave. A reinstall or etqw? (take back-up measures ofcourse with the /base and mod folders besides qwta.

Did you also remove your sdnet folder? Maybe that is causing the issue?
What I did was run 0.3.4 in a different folder, like qwta_0_3_4 and then launched the game to run in besides the prior version. See if that causes issues for you as well.


(DukeNukeM) #4

[quote=Susefreak;225949]Nuke and pave. A reinstall or etqw? (take back-up measures ofcourse with the /base and mod folders besides qwta.

Did you also remove your sdnet folder? Maybe that is causing the issue?
What I did was run 0.3.4 in a different folder, like qwta_0_3_4 and then launched the game to run in besides the prior version. See if that causes issues for you as well.[/quote]

Yes, a reinstall will be my last resort, i will try to solve it thru other ways first. Yes, i have removed my sdnet/qwta folders, any folder/files related to qwta has been removed.

How do u run qwta in a different folder? Something like putting the 0.3.4 in qwta_0_3_4 and then with command line option “+set fs_game qwta_0_3_4”?

@Azuvector: The gamex86.dll is extracted and put into the %HOMEPATH%\My Documents\id Software\Enemy Territory - QUAKE Wars\qwta folder just fine, its there but anything that is supposed to happen after that doesn’t.


(DrFunkenstein) #5

I have the same problem.

I connected to our custom server to get the new version, the download worked, it installed itself but when the game restarted it crashed with the same error message as DukeNukem got. Deleted everything QWTA related, tired it again, same result. Downloaded the files from the website and stalled those to see if that made any difference, but no, same problem.

I did the same check as DukeNukem, the file is in the correct location, that’s not the issue, but the mod won’t load.

Dr. Funkenstein


(Susefreak) #6

edit the qwta description file on qwta_0_3_4 to something different, so you recognise it.
Then launch it from the mod tab ingame.

edit:

Game works fine for me.

edit2:
These are the md5 checksums from the 0.3.4 pk4’s which I know work.

MD5 (game000.pk4) = def5986892c3bfe9e083ce45deb2c491
MD5 (game001.pk4) = 7857f66438dd8e4db390b77e99c2cba6
MD5 (game002.pk4) = 32c5d0e5d2386a41ab4f5715e93c82fc
MD5 (qwta000.pk4) = 1b4672cba3b321e6abc2fe474c9d5162
MD5 (zpak_english000.pk4) = c71df65b915adf778e39f2b375ad53a2

edit3:
The files:
Link


(DukeNukeM) #7

[quote=DrFunkenstein;225968]I have the same problem.

I connected to our custom server to get the new version, the download worked, it installed itself but when the game restarted it crashed with the same error message as DukeNukem got. Deleted everything QWTA related, tired it again, same result. Downloaded the files from the website and stalled those to see if that made any difference, but no, same problem.

I did the same check as DukeNukem, the file is in the correct location, that’s not the issue, but the mod won’t load.

Dr. Funkenstein[/quote]
Hi Dr.Funkenstein!

Oh no, not another person in the same boat as me, at least you got the same problem thru the same procedure that I did… What OS are you using?

Just to add, in %HOMEPATH%\Local Settings\Application Data\id Software\Enemy Territory - QUAKE Wars\qwta, there are only 2 files:
gamex86.dll
demonware.log

DrFunk, do u only have those 2 files in that folder too?

@Susefreak: Ok I checked the MD5 of the files that I have, they’re exactly the same as the ones u posted. I’ll try grabbing the files off the link you posted, but I doubt that would make any difference at all, since the checksums are the same.

I tried putting the qwta 0.3.4 into another folder and launching it via the method you mentioned, still the exact same error message and behaviors.


(DrFunkenstein) #8

Hello!

Those are the only 2 files in that directory on my PC. I checked the read and write permissions when I got the error and they are what they should be, I have both for that directory.

Dr. Funkenstein


(Susefreak) #9

Just had confirmation for that the mod works on Win 7.


(Azuvector) #10

Works fine on Windows XP SP3 too(which is what I’m running).
AFAIK it’ll work on anything ETQW runs on… I kinda think there was some kind of installation issue when you guys were upgrading from QWTA v0.3.3 to QWTA v0.3.4(That autodownloading part of v0.3.4 while running v0.3.3?), that somehow hasn’t been fixed by reinstalling QWTA. I honestly have no idea what’s wrong. :S


(DrFunkenstein) #11

Running XP SP3 as well. Something that may be relevant is that I didn’t install ETQW in the default location.

Dr. Funkenstein


(DukeNukeM) #12

Just to add, I did not install ETQW in the default %PROGRAMFILES% directory either… And the read/write permissions are set to full control.

Maybe I’ll just bite the bullet and reinstall ETQW, see if that fixes the problem, and report back… Till then, I’m open to other suggestions.


(Azuvector) #13

As far as I can recall I haven’t done any pathing stuff that would care where QWTA’s been installed. But for the record, I installed ETQW to the default location myself.

Anyone here who’s installed ETQW to a non-default location who’s not having the problems Duke and Funk are having?
edit
For the record, I’ve grepped the QWTA sourcecode and all script files(All files; . actually.), and the word “Application” doesn’t appear in them in any context that would be related to the folder “Application Data”. Same for “appdata”(as in %APPDATA% and %LOCALAPPDATA%).
QWTA is not hardcoded, even by accident, to require a certain installation path.


(DrFunkenstein) #14

Thanks for the reply Azuvector.

I certainly don’t want to send you off on a wrong tangent, but it’s interesting that DukeNukem has the game in a different location as well. For the record, I used the installation procedure and it’s registered with Windows (I can see it in the add/remove programs part of the control panel.) I just installed it on a different partition in a directory with a non-standard name.

It would be nice if we could get a reply from someone that has the game installed in a different location and has no trouble loading the mod.

Dr. Funkenstein


(AnthonyDa) #15

You can copy/paste the game folder to default location and try it too meanwhile :stuck_out_tongue:


(DrFunkenstein) #16

That’s sounds like a proper test, what’s the default location? I have no clue.

Dr. Funkenstein


(DukeNukeM) #17

I believe it is C:\Program Files\id Software\Enemy Territory - QUAKE Wars\


(DrFunkenstein) #18

Tried it with the game in the default location, but have the same problems there. So I guess that’s not the cause of the problems DukeNukem and me are having.

Dr. Funkenstein


(DukeNukeM) #19

I think that if i re-install etqw to try to fix this issue, I will install the 1.5 patch, then install qwta 0.3.4 and nothing else, see if that solves the problem.


(DukeNukeM) #20

I have done a full uninstall of the game, cleared out the leftover directories. Installed the game again from the DVD, patched to v1.5, unzipped qwta 0.3.4 into the ETQW folder. Launch game - same error comes up again.

Ouch…