Game Development Community

Client Not Starting

by Robert Fritzen · in Torque 3D Beginner · 12/15/2012 (12:02 pm) · 10 replies

So, I've been working on a little project, and I got it to the point where I could send out a beta, so I rebuild my EXE under the Shipping Build setting and compile it into .dso form removing my .cs files.

One of my friends however gets locked up at the Torque 3D popup and the client never loads afterwards:

http://staff.phantomdev.net/phantom139/images/lockup.png

I asked him for some basic system information to which he gave me the following:

------------------
System Information
------------------
Time of this report: 12/14/2012, 23:46:57
Machine name: BRANDON-PC
Operating System: Windows Vistaâ„¢ Home Premium (6.0, Build 6002) Service Pack 2 (6002.vistasp2_gdr.120824-0336)
Language: English (Regional Setting: English)
System Manufacturer: Gateway
System Model: FX7026
BIOS: Default System BIOS
Processor: Intel(R) Core(TM)2 Quad  CPU   Q9300  @ 2.50GHz (4 CPUs), ~2.5GHz
Memory: 4026MB RAM
Page File: 1952MB used, 6298MB available
Windows Dir: C:\Windows
DirectX Version: DirectX 11
DX Setup Parameters: Not found
DxDiag Version: 7.00.6002.18107 32bit Unicode

------------
DxDiag Notes
------------
      Display Tab 1: No problems found.
        Sound Tab 1: No problems found.
        Sound Tab 2: No problems found.
        Sound Tab 3: No problems found.
          Input Tab: No problems found.

--------------------
DirectX Debug Levels
--------------------
Direct3D:    0/4 (retail)
DirectDraw:  0/4 (retail)
DirectInput: 0/5 (retail)
DirectMusic: 0/5 (retail)
DirectPlay:  0/9 (retail)
DirectSound: 0/5 (retail)
DirectShow:  0/6 (retail)

---------------
Display Devices
---------------
        Card name: NVIDIA GeForce 8800 GT
     Manufacturer: NVIDIA
        Chip type: GeForce 8800 GT
         DAC type: Integrated RAMDAC
       Device Key: Enum\PCI\VEN_10DE&DEV_0611&SUBSYS_C8023842&REV_A2
   Display Memory: 2254 MB
 Dedicated Memory: 497 MB
    Shared Memory: 1757 MB
     Current Mode: 1680 x 1050 (32 bit) (59Hz)
          Monitor: HP w2207 Wide LCD Monitor
      Driver Name: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
   Driver Version: 9.18.0013.0697 (English)
      DDI Version: 10
   BGRA Supported: Yes
Driver Attributes: Final Retail
 Driver Date/Size: 10/10/2012 21:23:48, 18252136 bytes
      WHQL Logo'd: n/a
  WHQL Date Stamp: n/a
Device Identifier: {D7B71E3E-4551-11CF-4B59-0FE81FC2C435}
        Vendor ID: 0x10DE
        Device ID: 0x0611
        SubSys ID: 0xC8023842
      Revision ID: 0x00A2
      Revision ID: 0x00A2
      Video Accel: ModeMPEG2_A ModeMPEG2_C ModeVC1_C ModeWMV9_C

I can run this .dso version and shipping .exe just fine, so is there something wrong here?

#1
12/15/2012 (12:18 pm)
Did you remove prefs and procedural shaders before packaging? What about his console.log output?
#2
12/15/2012 (12:52 pm)
Yes, all proceedural shaders and prefs files were removed before packaging, I'll have him send me the console.log file and post back.
#3
12/17/2012 (2:02 pm)
According to him the console.log file is never being written, it just hangs up on the T3D Logo, but no file is created, even after closing it via task manager.
#4
12/17/2012 (2:08 pm)
That sounds like an incompatible preference setting causing something necessary not to initialize.... although it could be any number of things outside of that.

Since you cleaned out the pref files before packaging, I would look for audio and video defaults that may have gotten changed, then proceed to looking into other non-obvious causes.
#5
12/17/2012 (7:45 pm)
I'm not sure if this will help at all, but I cannot stop it via the task manager as the program does not appear in the running program or task list. That Torque Icon is still in the middle of my screen as I am typing, yet my computer treats it as if it is nothing at all.
#6
12/17/2012 (8:05 pm)
Has he (am assuming its Brandon) got DirectX 9 & Physx (if your project uses it) installed?

Its locking up before its doing anything so as Michael said it looks like an initialization error.

i.e. somethings missing or different than expected. sorry can't be more help without more info :-)
#7
12/19/2012 (2:54 pm)
I honestly think that the toolbox should have the package option re-installed for this reason. I've always used that in the past and have never had this issue with other projects before, so obviously I'm either packing it wrong, or I'm completely missing something here. I might have to re-install my old copy of T3D just to get the toolbox.

In the meantime, are there any resources that are available with steps for packaging a project?
#8
12/19/2012 (5:49 pm)
You just remove all prefs.cs files, config.cs, source art, procedural shaders, etc. Zip it up, or make an exe, and ship it.

We actually felt that there were much better alternatives (third party) to packaging the project than what the Toolbox did. The Project Manager is open source, and we couldn't do that with the Toolbox. Sure it's somewhat more limited than the Toolbox was, but user feedback, and participation, could certainly help define a roadmap for feature growth of the Project Manager... hint, hint.
#9
12/20/2012 (3:40 pm)
Does Brandon have DirectX 9 installed? He's running Vista and I don't think DirectX 9 is installed by default (the system info only lists DirectX 11, but it may only show the latest).

Also, is he able to run the FPS Tutorial? It includes an executable in the ZIP that should work.

- Dave
#10
12/23/2012 (8:40 pm)
Very... Very Odd...

It turned out to be a corrupted game.cs.dso file that was generated. I was able to reproduce this, pop in my developer .cs file and the client worked perfectly fine. I'm going to send a new .dso out that will hopefully produce similar results.