Need Help with Some Debugging - Toontown

I confess I was a developer for decades, so I used to do all this stuff for a living and for fun, but “had a lobotomy” and became a general contractor. Nevertheless, I do still understand a lot of things…

My one little vice of fun has been playing Toontown. I bought a new laptop, and found my little vice no longer worked. I’ve been after the Disney developers for a month without them making any progress, and I’ve been pursuing things with Dell, trying to get them to get with Nvidia to try to work the problem the other way. The one clue I was able to get was that the Disney folks said that the game was returning an “errorCode 7” and that indicates a video subsystem error. No other clues to work from.

My old-fashioned gut feeling is that the Nvidia GeForce GT 555M is such a new-fangled and wildly capable device that somehow the device driver is returning something down in the DirectX9 code that no one expects. Just a hunch, but it’s all I have to go on.

While I’m at the mercy of, on the one hand, developers on what is probably a dying game not wanting to look into yet another device oddity and, on the other hand, Dell support folks who are more willing to say “let us ship you another laptop and see if it fixes it” rather than contacting an escalations support person inside Nvidia, I thought maybe I’d poke around and see if someone has a little video level unit test program that I could run on top of Panda and see if I can see an error or such that might help me pass information along to someone and get a faster answer.

The particulars that lead me here are these:

Win7 Ultimate on a new Dell laptop with an i7 chip and the above-mentioned Nvidia graphics card. I’ve tried four or five different versions of the drivers for the graphics card without success. Win7 is patched to date. I tried DirectX8, DirectX9, and OpenGL options on Toontown. What happens on Toontown is that I log in, it spawns the child process that is the game, it dies silently within milliseconds, writes the error 7 out to the little text file for the error, and then the child process spins out there forever. This makes me think some unhandled exception is taking place down in Panda and is such that the child process is either not ready for it or is taking it in the shorts in a way that it has never encountered before. It wouldn’t surprise me in the least that this new, silly 3D graphics card has so many strange capabilities that it’s returning something never envisioned to some initialization call. Who knows - it’s the stuff that runs through your mind when you have nothing to look at.

The older laptop is also running Win7 Ultimate with no problems. Another desktop in the house is running Win7 Home Premium (and has an Nvidia 240 card in it) with no problems. Both run Toontown just fine.

If someone has some test harness for the Panda video subsystem and a nice little pointer to instructions to installing Panda, that would be great. I was a Java developer and architect in the olden days, and C++ for many years before that, but I no longer have anything C+±oriented in my possession, so that’s not an option for me now.

Thanks in advance,
Confused in California

another thing you can try: panda also offers a software-rendering backend (tinygl). it might be dead-slow but if your problem is the gpu, it should no longer crash when using software-rendering.

If you can download Panda3D 1.7.2 here and try the sample programs, that will tell you a lot about what’s working. Toontown doesn’t do anything fancy with the graphics driver, so it will be interesting to know if you can run any of the sample programs at all.

Thomas’s advice is also good: Toontown actually runs just fine using tinydisplay, especially if you keep your window size down to 800x600 or smaller. With a decent CPU the performance is indistinguishable from a hardware-accelerated solution. (Of course, Toontown itself doesn’t present an option to run with tinydisplay, but I bet it can be persuaded to do so if this turns out to be your best bet.)

David

If the laptop has the NVIDIA Optimus automatic GPU switching feature you might try going into the NVIDIA control panel and set the executable for Toon Town to prefer the integrated Intel graphics instead of the discrete NVIDIA graphics. I’m sure the integrated graphics will be able to run Toon Town just fine. Alternatively it might be trying to run on integrated graphics already, so try forcing it to use the NVIDIA GPU as well.

These sound like interesting settings to explore. Alas, I’ve looked at the Nvidia control panel, and am having trouble figuring out which settings these might be in their UI.

Amazing, the number of things that are configurable for a GPU.

Have you tried to install the Panda3D SDK and run the sample programs yet? I’m very interested to know whether it works. Toontown is basically running Panda3D 1.7.2.

David

In the NVIDIA control panel there should be a section titled “Manage 3D settings”, and in there a “Program Settings” tab. Here you will have to click Add and browse to the .exe file for Toon Town. Then there will be a “Select the preferred graphics processor” menu where you can change it from automatic to NVIDIA or Integrated.

I cannot find that menu, nor anything that looks like it. I’ve looked it over good, and just haven’t spotted it. I think that would be the thing to try, though. I have upgraded the drivers several times. I wonder if maybe this is something that Dell has disabled and that fact is stored somewhere that is picked up, no matter what version of the driver I’m using.

I have successfully run all of the samples without problem. I will admit being stuck on the carousel several hours because Escape didn’t exit the sample, but other than that everything ran quite well.

(Okay, joking about being stuck. This is a month and a half ordeal, and I’m trying to keep myself amused while I go through all of this.)

I know Mac users used to run Toontown by invoking Panda directly sometimes when the Launcher wasn’t doing good things for them. That thought crossed my mind.

Also, just on a strange thought: I wonder if the Nvidia settings need to be set on the Toontown Launcher, not just toontown.exe - if somehow those settings are inherited. Not that I’ve found how to set them, but…

It’s quite possible that your computer doesn’t have dual graphics cards, which is why you don’t have that option.

It’s strange that Toontown crashes but you can run the samples without problems. Error code 7 in the Toontown system really means that there was an unexplained crash at launch, but it doesn’t specifically mean that something went wrong with the graphics system (that happens to be the cause 99% of the time, but it’s not a certainty).

For the record, setting the driver settings for the Toontown launcher wouldn’t do anything. The graphics context is created by toontown.exe; the launcher has nothing to do with your graphics drivers. Also, it probably wouldn’t help to circumvent the launcher and run toontown.exe directly, if you’re getting error code 7, which implies a crash within toontown.exe itself.

I’m not on the Toontown team any more, but maybe I can help diagnose the problem just a bit further. Can you paste one of your recent log files from the Toontown directory?

David

I’ll paste it here, but I really don’t see anything indicative at all. It looks far beyond normal and average to me:

=====Log Open
CHECKING CPU…
CPU speed: 2394 Mhz
NumProcessors: 8
CPU vendor code: Intel
CPU vendor name: GenuineIntel
CPU name: Intel® Core™ i7-2760QM CPU @ 2.40GHz
CPU type: unknown
CPU level: 6
CPU features: MMX, MMX Extensions, SSE, SSE FP, SSE2,
CHECKING OS…
Microsoft Windows Longhorn OS (Newer than WinXP) Professional Service Pack 1 (Build 7601)
User has NT Admin privileges
IE Ver: 9.0.8112.16421
Mouse detected
CHECKING RAM…
RAM: Total: 8172.17 MB, Free: 5356.52 MB, Utilization: 34%
CHEKING VIDEO RAM…
VRAM: Total: 2768 MB
CHECKING DISK SPACE…
Free Disk Space: 201057 MB
CHECKING 3D HARDWARE…
installed DX VerStr: 4.09.00.0904
DX Level Installed: DX 9.0
Detected DX Card[0]: NVIDIA GeForce GT 555M
Driver Version: (8.17.12.8562) Date: (10/15/2011) DriverName: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um; VendorID: 0x000010DE; DeviceID: 0x00000DCD; SubsysID: 0x04B71028; Revision: 0x000000A1
Suggested GfxApi: DX 9.0
CHECKING SOUND… Removed
Keyboard Layout: 00000409 LangID: 0x0x0409 Locale ID: 0x0x0409
CHECKING NET CONNECTION…
IP Addr: 0.0.0.0
ignoring IP Addr
MAC Address: 88-53-2E-67-B9-53
IP Addr: 0.0.0.0
ignoring IP Addr
MAC Address: 88-53-2E-67-B9-53
IP Addr: 0.0.0.0
ignoring IP Addr
MAC Address: 88-53-2E-67-B9-56
IP Addr: 192.168.1.12
MAC Address: 88-53-2E-67-B9-52
IP Addr: 0.0.0.0
ignoring IP Addr
MAC Address: 14-FE-B5-9A-66-13
Internet connection is through a LAN
Microsoft Windows Longhorn OS (Newer than WinXP) Professional Service Pack 1 (Build 7601)
User has NT Admin privileges
found potentially conflicting installed program: CyberLink PowerDVD 9.6
found potentially conflicting installed program: McAfee SecurityCenter
found potentially conflicting installed program: Dell DataSafe Local Backup
found potentially conflicting installed program: Junk Mail filter update
found potentially conflicting installed program: Dell DataSafe Online
found potentially conflicting installed program: CyberLink PowerDVD 9.6
found potentially conflicting installed program: Dell DataSafe Local Backup - Support Software
Trying To Start Splash and Sefl Path
-------->[WEB1] Setting Url To res://C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\ToontownLauncher.exe/157
-------->[WEB2] Setting Url To res://C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\ToontownLauncher.exe/157
-------->[WEB3] Setting Url To res://C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\ToontownLauncher.exe/157
****Found Command line Varable []
-------->[WEB1] Setting Url To toontown.go.com/content/en/launcher/live/news/
Detail Rule [38120890 1d903e0fd88cad30257aa4b78892726e]
Detail Rule [22767361 b71f1b52664bb9e5f1173c87aed50735]
Detail Rule [7348948 c8f8da1df72034a62c11ee087d2cd6bf]
Detail Rule [77719731 a088719b2813743530f9042c34b60358]
Detail Rule [35609254 3356a8022dd0c515d250a4c5965dd917]
Detail Rule [37625122 bbae192dddd2dc28f0e88969f7f95c6a]
Detail Rule [9663157 0d7f5a5cc9c61ffd1f74a90181b2bf8b]
Detail Rule [29432731 b5f2cb85a152d1b326a515cedf256dce]
Detail Rule [305256 3c773fedd9dcc4696f972fef7ff9bc6d]
Detail Rule [17516594 1172f086e30df11b6f129e5fe05d8d57]
Detail Rule [7216258 9dfffe25a0935344031cf2e25a58479e]
Detail Rule [3483147 ff055885be65e1aabe9887b77d72b191]
Detail Rule [2827958 f246e71abb0ac45366f61585c51548e3]
Detail Rule [5289389 4603d72effe524f2731be52a650c70f5]
Detail Rule [5347674 8e57543edd533f7fc7bbab26a6b44af1]
Detail Rule [38120890 1d903e0fd88cad30257aa4b78892726e]
Detail Rule [22767361 b71f1b52664bb9e5f1173c87aed50735]
Detail Rule [7348948 c8f8da1df72034a62c11ee087d2cd6bf]
Detail Rule [77719731 a088719b2813743530f9042c34b60358]
Detail Rule [35609254 3356a8022dd0c515d250a4c5965dd917]
Detail Rule [37625122 bbae192dddd2dc28f0e88969f7f95c6a]
Detail Rule [9663157 0d7f5a5cc9c61ffd1f74a90181b2bf8b]
Detail Rule [29432731 b5f2cb85a152d1b326a515cedf256dce]
Detail Rule [305256 3c773fedd9dcc4696f972fef7ff9bc6d]
Detail Rule [17516594 1172f086e30df11b6f129e5fe05d8d57]
Detail Rule [7216258 9dfffe25a0935344031cf2e25a58479e]
Detail Rule [3483147 ff055885be65e1aabe9887b77d72b191]
Detail Rule [2827958 f246e71abb0ac45366f61585c51548e3]
Detail Rule [5289389 4603d72effe524f2731be52a650c70f5]
Detail Rule [5347674 8e57543edd533f7fc7bbab26a6b44af1]
Looking For FileC:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_1.mf
Detail Rule [38120890 1d903e0fd88cad30257aa4b78892726e]
Detail Rule [22767361 b71f1b52664bb9e5f1173c87aed50735]
Detail Rule [7348948 c8f8da1df72034a62c11ee087d2cd6bf]
Detail Rule [77719731 a088719b2813743530f9042c34b60358]
Detail Rule [35609254 3356a8022dd0c515d250a4c5965dd917]
Detail Rule [37625122 bbae192dddd2dc28f0e88969f7f95c6a]
Detail Rule [9663157 0d7f5a5cc9c61ffd1f74a90181b2bf8b]
Detail Rule [29432731 b5f2cb85a152d1b326a515cedf256dce]
Detail Rule [305256 3c773fedd9dcc4696f972fef7ff9bc6d]
Detail Rule [17516594 1172f086e30df11b6f129e5fe05d8d57]
Detail Rule [7216258 9dfffe25a0935344031cf2e25a58479e]
Detail Rule [3483147 ff055885be65e1aabe9887b77d72b191]
Detail Rule [2827958 f246e71abb0ac45366f61585c51548e3]
Detail Rule [5289389 4603d72effe524f2731be52a650c70f5]
Detail Rule [5347674 8e57543edd533f7fc7bbab26a6b44af1]
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_1.mf Hash=1d903e0fd88cad30257aa4b78892726e Size=38120890
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_2.mf Hash=b71f1b52664bb9e5f1173c87aed50735 Size=22767361
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_3.mf Hash=c8f8da1df72034a62c11ee087d2cd6bf Size=7348948
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_3.5.mf Hash=a088719b2813743530f9042c34b60358 Size=77719731
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_4.mf Hash=3356a8022dd0c515d250a4c5965dd917 Size=35609254
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_5.mf Hash=bbae192dddd2dc28f0e88969f7f95c6a Size=37625122
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_5.5.mf Hash=0d7f5a5cc9c61ffd1f74a90181b2bf8b Size=9663157
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_6.mf Hash=b5f2cb85a152d1b326a515cedf256dce Size=29432731
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_7.mf Hash=3c773fedd9dcc4696f972fef7ff9bc6d Size=305256
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_8.mf Hash=1172f086e30df11b6f129e5fe05d8d57 Size=17516594
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_9.mf Hash=9dfffe25a0935344031cf2e25a58479e Size=7216258
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_10.mf Hash=ff055885be65e1aabe9887b77d72b191 Size=3483147
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_11.mf Hash=f246e71abb0ac45366f61585c51548e3 Size=2827958
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_12.mf Hash=4603d72effe524f2731be52a650c70f5 Size=5289389
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_13.mf Hash=8e57543edd533f7fc7bbab26a6b44af1 Size=5347674
Starting install check for phase_1.mf
Updating Toontown Online 0 of 2
File operation fetch hash phase_1.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_1.mf Hash=1d903e0fd88cad30257aa4b78892726e Size=38120890
File operation mf extract phase_1.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\Configrc.pre Hash=cf596ec883aab9776341bc4b71eefac6 Size=2734
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\Microsoft.VC80.CRT.manifest Hash=1b1f46ba090737b6e9434e89a8b6c228 Size=507
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\Microsoft.VC90.CRT.manifest Hash=6bb5d2aad0ae1b4a82e7ddf7cf58802a Size=524
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\PlayToontown.url Hash=4db57353f5812c6f54e38138378f026a Size=164
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\PlayToontownTest.url Hash=3b396970f45ffd239a4dcbb215496910 Size=151
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\Toontown.exe Hash=d97ed752c39ee6f7b93685440f4772cd Size=16226304
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\Toontown.exe.manifest Hash=da068fa7e983687ae000dd1ce3144842 Size=851
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\Toontown.url Hash=c315498c423aec562223ff40a900fa93 Size=136
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\ToontownTest.url Hash=913f4fbf8364421fbadda306a875804d Size=116
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline_ctypes.pyd Hash=ad963705aa93d214b25fe25a781b45af Size=73728
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline_socket.pyd Hash=868e15701c6fe4f9c6e8e1b6c4ff089c Size=49152
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\avcodec.dll Hash=49c9d20e5e81ec1cd8fec532f267c5e1 Size=8105982
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\avformat.dll Hash=e43db6e3181b0ed9b4dd60569956b3bb Size=1288378
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\avutil.dll Hash=b08bc73f102056b0ebf997125cd84b78 Size=37915
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\bz2.pyd Hash=2297ede0ae364ab5eb741182095c64e7 Size=77824
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libdtool.dll Hash=2905f5188fc63aefaa6b006a6a1d6d83 Size=230400
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libdtoolconfig.dll Hash=4ea4b8f18b7d0a11e9bcc7f5c926dfaa Size=713216
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libheapq.dll Hash=01df94f27180bd17ec0bd7e796bb97f4 Size=9728
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libpandaegg.dll Hash=784b9ccb17383b4ff7f99390ee8342eb Size=2128384
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libpandaexpress.dll Hash=2f57d38cedeb8e817a7f44d1399e3491 Size=2657280
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libpandaode.dll Hash=117c1c67fc87cff9c99afd3b4bc4268a Size=721920
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\msvcp71.dll Hash=561fa2abb31dfa8fab762145f81667c2 Size=499712
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\msvcp80.dll Hash=2bc650257fb0867abd54fd460ec2bafc Size=548864
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\msvcp90.dll Hash=6de5c66e434a9c1729575763d891c6c2 Size=568832
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\msvcr71.dll Hash=86f1895ae8c5e8b17d99ece768a70732 Size=348160
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\msvcr80.dll Hash=16d7ddf3b659f7cf1cb9f4dcff4219f0 Size=626688
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\msvcr90.dll Hash=e7d91d008fe76423962b91c43c88e4eb Size=655872
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_3/etc/otp.dc Hash=54c99b2b323fc1405ab3b78f361699f0 Size=17724
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_3/etc/toon.dc Hash=cf7aba853c2c38ffa8ec6e4fc247635e Size=127284
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\python24.dll Hash=4db8d2758b4ad68d7cc08e5bd37f9b1b Size=1871872
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\pywintypes24.dll Hash=fffa0670f877624d2d5ed14516c7710d Size=102400
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\toontown.ico Hash=af4b6bd94baee0af6ea1aec0a54f21b1 Size=2238
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\unicodedata.pyd Hash=b3e13d4e45508bd28b2826dc8a787200 Size=405504
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\win32api.pyd Hash=03d9bae2266d965474887b20c1790ff9 Size=73728
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\zlib.pyd Hash=7fb07d775fbea465659b71d3e25f3331 Size=65536
Starting install check for phase_2.mf
Updating Toontown Online 1 of 2
File operation fetch hash phase_2.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_2.mf Hash=b71f1b52664bb9e5f1173c87aed50735 Size=22767361
File operation mf extract phase_2.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\Phase2.pyd Hash=20e9cd383d3ed36f7a875c0c506afe27 Size=7168
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libdirect.dll Hash=231bcbbdab66874dfd3b5d38395bbd83 Size=1033216
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libmiles_audio.dll Hash=fea4fe100fab051fa8e703006cdc62dc Size=108544
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libotp.dll Hash=4c4f84230e1a19a0719a84180f79d271 Size=457728
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libpanda.dll Hash=fbc21f56bf7ae81736b2df64e05cf715 Size=16679424
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libpandadx8.dll Hash=bbe60fbdc433f9a715d8dde0ee7bfa96 Size=454144
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libpandadx9.dll Hash=baecadd53f45240490a80abff0184a52 Size=534528
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libpandafx.dll Hash=1ef7384fbacf2f75c90ccead07bb8359 Size=172032
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libpandagl.dll Hash=8665b5484e4ae9bc49fb1426b59164ac Size=342016
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libpandaphysics.dll Hash=3a9d7d6693044b7f59f33ac95e59e215 Size=985088
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libtoontown.dll Hash=44168fb3396485e7e4f4a8b5c3a68202 Size=845824
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\libwindisplay.dll Hash=7b3f1cc34c3a9144ec0740528f4f26e8 Size=127488
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\mss32.dll Hash=d77ed4dd18f33205effe5fad9fff4e8e Size=389120
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\mssmp3.asi Hash=9e887cf069316dc17f387a5341f0eb02 Size=150016
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\ode_single.dll Hash=108bfd88185a6a800cb47be6677a95d9 Size=479232
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\toonmono.cur Hash=1b3b5972ea433ed8d21e3e348f5a94a9 Size=326
Starting install check for phase_3.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_3.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_3.mf Hash=c8f8da1df72034a62c11ee087d2cd6bf Size=7348948
Starting install check for phase_3.5.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_3.5.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_3.5.mf Hash=a088719b2813743530f9042c34b60358 Size=77719731
Starting install check for phase_4.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_4.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_4.mf Hash=3356a8022dd0c515d250a4c5965dd917 Size=35609254
Starting install check for phase_5.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_5.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_5.mf Hash=bbae192dddd2dc28f0e88969f7f95c6a Size=37625122
Starting install check for phase_5.5.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_5.5.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_5.5.mf Hash=0d7f5a5cc9c61ffd1f74a90181b2bf8b Size=9663157
Starting install check for phase_6.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_6.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_6.mf Hash=b5f2cb85a152d1b326a515cedf256dce Size=29432731
Starting install check for phase_7.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_7.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_7.mf Hash=3c773fedd9dcc4696f972fef7ff9bc6d Size=305256
Starting install check for phase_8.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_8.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_8.mf Hash=1172f086e30df11b6f129e5fe05d8d57 Size=17516594
Starting install check for phase_9.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_9.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_9.mf Hash=9dfffe25a0935344031cf2e25a58479e Size=7216258
Starting install check for phase_10.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_10.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_10.mf Hash=ff055885be65e1aabe9887b77d72b191 Size=3483147
Starting install check for phase_11.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_11.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_11.mf Hash=f246e71abb0ac45366f61585c51548e3 Size=2827958
Starting install check for phase_12.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_12.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_12.mf Hash=4603d72effe524f2731be52a650c70f5 Size=5289389
Starting install check for phase_13.mf
Updating Toontown Online 2 of 2
File operation fetch hash phase_13.mf
MD5 From cache =C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\phase_13.mf Hash=8e57543edd533f7fc7bbab26a6b44af1 Size=5347674
Patches Up to date
-------->[WEB1] Setting Url To res://C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\ToontownLauncher.exe/157
-------->[WEB1] Setting Url To toontown.go.com/content/en/launcher/live/news/
Cleaning old logs unlink C:\Program Files (x86)\Disney\Disney Online\ToontownOnline\toontown-111216_125219.log

I have to kill off the spawned process, so there is no nice recovery there, but there just isn’t anything in here at all that seems to be a clue. I do see that maybe I could shut down the silly DataSafe program that they have - that’s not running on the old laptop. Maybe…

Thanks for looking at it.

This is the launcher log. Is there a log from the game itself, the “spawned process”? That will be the one called toontown-XXXX.log.

Actually, I didn’t realize you were explicitly killing the game process. That will be what causes the error 7 to be reported, which is what is leading to the diagnosis of a graphics fault.

But the bigger, still unanswered question is, why does the game process fail to start correctly, requiring you to kill it?

David

You might get this because of some firewall or realtime virus scanner. It may be popping up a little confirmation box you need to click on that you will not see if running in full screen. If there is an option to do so, try running the game in windowed mode.

The error 7 is present while the spawned process is still spinning. I get this before I ever kill it off.

I never run with a firewall. Ever. I have tried with and without virus scanning running, and it’s actively running on the two other machines with no problems.

the Toontown log (sorry - grabbed the wrong one):

Starting Toontown…
Current time: Sun Jan 01 00:47:25 2012 Pacific Standard Time
sys.path = [’’]
sys.argv = [‘Toontown’]
os.environ = {‘TMP’: ‘C:\Users\jjames\AppData\Local\Temp’, ‘DOWNLOAD_SERVER’: ‘http://download.toontown.com/english/currentVersionWIN/content’, ‘COMPUTERNAME’: ‘BLUEDOG’, ‘PROCESSOR_REVISION’: ‘2a07’, ‘USERDOMAIN’: ‘BlueDog’, ‘BURN_AUTOPLAY’: ‘C:\Program Files (x86)\Roxio\OEM\Roxio Burn\’, ‘EMC_AUTOPLAY’: ‘C:\Program Files (x86)\Common Files\Roxio Shared\OEM\’, ‘PSMODULEPATH’: ‘C:\Windows\system32\WindowsPowerShell\v1.0\Modules\’, ‘CHATTERBOX’: ‘’, ‘PROCESSOR_IDENTIFIER’: ‘Intel64 Family 6 Model 42 Stepping 7, GenuineIntel’, ‘CFG_PATH’: ‘.’, ‘PROGRAMFILES’: ‘C:\Program Files (x86)’, ‘CHAT’: ‘’, ‘SYSTEMROOT’: ‘C:\Windows’, ‘PATH’: ‘;.’, ‘USERPROFILE’: ‘C:\Users\jjames’, ‘PROGRAMFILES(X86)’: ‘C:\Program Files (x86)’, ‘COMSPEC’: ‘C:\Windows\system32\cmd.exe’, ‘USER_TOONTOWN_ACCESS’: ‘VELVET’, ‘GAME_ADFRAME_BUTTON_3’: ‘http://toontown.go.com/toon-hq/top-toons’, ‘TEMP’: ‘C:\Users\jjames\AppData\Local\Temp’, ‘COMMONPROGRAMFILES(X86)’: ‘C:\Program Files (x86)\Common Files’, ‘PROCESSOR_ARCHITECTURE’: ‘x86’, ‘GAME_ADFRAME_BUTTON_5’: ‘’, ‘ALLUSERSPROFILE’: ‘C:\ProgramData’, ‘GAME_ADFRAME_BUTTON_1’: ‘’, ‘PLAYTOKEN’: ‘’, ‘GAME_ADFRAME_BUTTON_6’: ‘http://toontown.go.com/membership/account-management/’, ‘LOCALAPPDATA’: ‘C:\Users\jjames\AppData\Local’, ‘ACCOUNT_SERVER’: ‘https://toontown.go.com’, ‘HOMEPATH’: ‘\Users\jjames’, ‘GAME_USERNAME’: ‘NvidiaTest’, ‘GAME_ADFRAME_BUTTON_7’: ‘http://toontown.go.com/help/report-bug’, ‘PROGRAMW6432’: ‘C:\Program Files’, ‘GAME_SERVER’: ‘https://gameserver-lv.toontown.com’, ‘USERNAME’: ‘jjames’, ‘FP_NO_HOST_CHECK’: ‘NO’, ‘LOGONSERVER’: ‘\\BLUEDOG’, ‘CLASSPATH’: ‘.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip’, ‘WINDOWS_TRACING_FLAGS’: ‘3’, ‘PROGRAMDATA’: ‘C:\ProgramData’, ‘PYTHONPATH’: ‘.’, ‘ADFRAME_125X125’: ‘’, ‘COMMONPROGRAMFILES’: ‘C:\Program Files (x86)\Common Files’, ‘DISLTOKEN’: ‘U2FsdGVkX18Zf1MrdUiNyMBzJOBuwfNloEjZ1EXf72EsiZgWMCZYVZieKeVaXeBlvzScQlfSh/UEAGB7a/EGBDifw8FjLNJMQNyXKf2cbp3lwDt9FL6Y4ehN/7e7wXghm5TwIDGBnsn6UqKLqW26ICGRReq9fKn3inKSJKXI0sGvH0DhKayDenerB5EH/KK2CoVOBLh1BUl4/w0TY9q8XTWEkUhJRH/FC68WlDLg0edziU5QSL77F7H6DOXqwo2h5csV+c6LtnBc9hhr/i3vEnEUs01xIFTzINUNf/lXeW6ETEHCJSuHPmntr+z0Tlup6k6AuHM3cBwhF4X0dgvZE8LUY3cRYZAb9n+hhJJMBklnFNIUsMbevwXQYjjw1nQOU2vRv7NlNdmGtHsV3gl4wBDtud/PQb5NWK8uqwgkNzXe/9Tx9gTKwkCN/YXYbskmfDXdS6EvYSKI/m4aclxQtUWF+SJ4JiGbUfDzG+8nryAPQemcrGxbMc7FmExhfsAt/34Z+YVtooE3zxALXj/diSF9NJ6uE2Bhf0xuSbxF9ZI3tnV/n7mWxa/Noi87SuHYYAt1AvL7y4TrcmRnMlGRrY6uPCClAzze3hHNfsF6oD3f46tiTNdg0rKBroslO7FH’, ‘SESSIONNAME’: ‘Console’, ‘PATHEXT’: ‘.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC’, ‘GAME_ADFRAME_BUTTON_2’: ‘’, ‘ASL.LOG’: ‘Destination=file’, ‘GAME_ADFRAME_BUTTON_4’: ‘http://toontown.go.com/help/players-guide/’, ‘IS_TEST_SERVER’: ‘0’, ‘WEB_ACCT_PARAMS’: ‘’, ‘GAME_CHAT_ELIGIBLE’: ‘0’, ‘LGID’: ‘’, ‘WINDIR’: ‘C:\Windows’, ‘ADFRAME_728X90’: ‘’, ‘GAME_DISL_ID’: ‘450926245’, ‘WINDOWS_TRACING_LOGFILE’: ‘C:\BVTBin\Tests\installpackage\csilogfile.log’, ‘HOMEDRIVE’: ‘C:’, ‘SESSION_TOKEN’: ‘’, ‘RCAUTOPLAY’: ‘C:\Program Files (x86)\Roxio\OEM\Roxio Central 5\’, ‘OS’: ‘Windows_NT’, ‘SYSTEMDRIVE’: ‘C:’, ‘LOGIN_TOKEN’: ‘U2FsdGVkX18Zf1MrdUiNyMBzJOBuwfNloEjZ1EXf72EsiZgWMCZYVZieKeVaXeBlvzScQlfSh/UEAGB7a/EGBDifw8FjLNJMQNyXKf2cbp3lwDt9FL6Y4ehN/7e7wXghm5TwIDGBnsn6UqKLqW26ICGRReq9fKn3inKSJKXI0sGvH0DhKayDenerB5EH/KK2CoVOBLh1BUl4/w0TY9q8XTWEkUhJRH/FC68WlDLg0edziU5QSL77F7H6DOXqwo2h5csV+c6LtnBc9hhr/i3vEnEUs01xIFTzINUNf/lXeW6ETEHCJSuHPmntr+z0Tlup6k6AuHM3cBwhF4X0dgvZE8LUY3cRYZAb9n+hhJJMBklnFNIUsMbevwXQYjjw1nQOU2vRv7NlNdmGtHsV3gl4wBDtud/PQb5NWK8uqwgkNzXe/9Tx9gTKwkCN/YXYbskmfDXdS6EvYSKI/m4aclxQtUWF+SJ4JiGbUfDzG+8nryAPQemcrGxbMc7FmExhfsAt/34Z+YVtooE3zxALXj/diSF9NJ6uE2Bhf0xuSbxF9ZI3tnV/n7mWxa/Noi87SuHYYAt1AvL7y4TrcmRnMlGRrY6uPCClAzze3hHNfsF6oD3f46tiTNdg0rKBroslO7FH’, ‘NUMBER_OF_PROCESSORS’: ‘8’, ‘APPDATA’: ‘C:\Users\jjames\AppData\Roaming’, ‘GAME_VERSION_TEXT’: ‘sv1.0.47.11’, ‘PROCESSOR_LEVEL’: ‘6’, ‘CONFIG_CONFIG’: ‘:configpath=CFG_PATH’, ‘PROCESSOR_ARCHITEW6432’: ‘AMD64’, ‘COMMONPROGRAMW6432’: ‘C:\Program Files\Common Files’, ‘__COMPAT_LAYER’: ‘ElevateCreateProcess’, ‘PUBLIC’: ‘C:\Users\Public’, ‘QTJAVA’: ‘C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip’}
generating standard configrc
CONFIG_CONFIG is set to: :configpath=CFG_PATH
Resetting CONFIG_CONFIG
:01-01-2012 00:47:25 Launcher: isTestServer: 0
:01-01-2012 00:47:25 Launcher: Download Server List download.toontown.com/english/cu … IN/content
:01-01-2012 00:47:25 Launcher: Using download server download.toontown.com/english/cu … IN/content.
:01-01-2012 00:47:25 Launcher: Game Server gameserver-lv.toontown.com
:01-01-2012 00:47:25 Launcher: patch directory is 0
:01-01-2012 00:47:25 Launcher: Starting Disney’s Toontown Online…
:01-01-2012 00:47:25 :downloader(warning): Could not read gameserver.txt.
:01-01-2012 00:47:25 Launcher: Proxy spec is:
:01-01-2012 00:47:25 :downloader: [04311300] created.
:01-01-2012 00:47:25 Launcher: No proxy for download.
:01-01-2012 00:47:25 :downloader: [04311300] begin HEAD [ download.toontown.com/english/cu … ?280726025 ]
:01-01-2012 00:47:25 :downloader: [04311300] reset_to_new.
:01-01-2012 00:47:25 :downloader: [04311300] reset_to_new.
:01-01-2012 00:47:25 :downloader: [04311300] reset_to_new.
:01-01-2012 00:47:26 :downloader: [04311300] Connected to download.toontown.com:80
:01-01-2012 00:47:26 Launcher: Download server: download.toontown.com/english/cu … IN/content
:01-01-2012 00:47:26 Launcher: foreground: Launcher now operating in foreground
:01-01-2012 00:47:26 Launcher: prepareClient: Preparing client for install
:01-01-2012 00:47:26 Launcher: Downloading launcherFileDb
:01-01-2012 00:47:26 Launcher: Download request: download.toontown.com/english/cu … ?280726025
:01-01-2012 00:47:26 :downloader: [04311300] begin GET [ download.toontown.com/english/cu … ?280726025 ]
useTTSpecificLogin=1
:01-01-2012 00:47:26 Launcher: getRegistry (‘WEB_ACCT_PARAMS’, None)
:01-01-2012 00:47:26 Launcher: self.VISTA = True
:01-01-2012 00:47:26 Launcher: checking env
:01-01-2012 00:47:26 Launcher: webAcctParams =
:01-01-2012 00:47:26 Launcher(warning): no secretNeedsParentPassword token in webAcctParams
:01-01-2012 00:47:26 Launcher(warning): no chatEligible token in webAcctParams
:01-01-2012 00:47:26 Launcher: maybeStartGame: starting game
:01-01-2012 00:47:26 Launcher: Starting Toontown…
:01-01-2012 00:47:26 Launcher: background: Launcher now operating in background
ToontownStart: Polling for game2 to finish…
ToontownStart: Game2 is finished.
ToontownStart: Starting the game.
ToontownStart: setting default font
:01-01-2012 00:47:26 Launcher: setting panda error code to 7
:01-01-2012 00:47:26 :display: loading display module: libpandadx9.dll
Known pipe types:
wdxGraphicsPipe9
(3 aux display modules not yet loaded.)
:01-01-2012 00:47:27 :display:windisplay: OS version: 6.1.2.7601
:01-01-2012 00:47:27 :display:windisplay: Service Pack 1
:01-01-2012 00:47:27 :display:windisplay: max Mhz 2401000000, current Mhz 2401000000
:01-01-2012 00:47:27 :display:wdxdisplay9: DX 9.0c GetAvailableVidMem (including AGP) returns Total: 2903007232, Free: 2894712832 for device #0
:01-01-2012 00:47:27 :display:wdxdisplay9: GetAvailableVidMem (no AGP) returns Total: 3181838336, Free: 3173543936 for device #0

Well, that does appear to be getting locked up right around the time it should be opening a window.

The way that error code 7 works is, Panda sets a global flag to error code 7, opens a window, and then clears the global flag when it has successfully opened the window. You see the first half of that happening in the log. If the program exits and error code 7 is still set, the launcher infers that it crashed when it attempted to open the window, and reports a graphics subsystem error.

So, killing the program “triggers” the error code 7. But, of course, the program was locked up anyway, so something indeed had already gone wrong. It’s not obvious what, and it’s strange that the same problem happens if you force OpenGL mode (can you confirm that the log looks the same in that case, but without the wdxdisplay9 stuff at the end?); and it’s also strange that you have no troubles running Panda3D 1.7.2.

This log file gives you all of the information you need to run Toontown without the launcher. Let’s try it now, so we can try a few experiments. See the big bunch of stuff at the beginning where it says “os.environ = blah blah blah”? That’s the set of environment variables that the launcher left set. Some of those are important to Toontown.exe to start correctly (for instance, DISLTOKEN). We can create a .bat file that sets all of them here and then launches Toontown.exe; the easiest way to do this is to write a Python script like this:

d = {'TMP': 'C:\\Users\\jjames\\AppData\\Local\\Temp', ....  'PUBLIC': 'C:\\Users\\Public', 'QTJAVA': 'C:\\Program Files (x86)\\Java\\jre6\\lib\\ext\\QTJava.zip'}

for key, value in d.items():
  print 'set %s="%s"' % (key, value)

Just paste in that long bracketed nonsense from the log, and run the script. The output will be something like this:

set TMP="C:\Users\jjames\AppData\Local\Temp"
set DOWNLOAD_SERVER="http://download.toontown.com/english/currentVersionWIN/content"
set COMPUTERNAME="BLUEDOG"
set CHAT=""
set USERDOMAIN="BlueDog"
set BURN_AUTOPLAY="C:\Program Files (x86)\Roxio\OEM\Roxio Burn\"
set EMC_AUTOPLAY="C:\Program Files (x86)\Common Files\Roxio Shared\OEM\"
set HOMEDRIVE="C:"
set PSMODULEPATH="C:\Windows\system32\WindowsPowerShell\v1.0\Modules\"
set CHATTERBOX=""
set PROCESSOR_IDENTIFIER="Intel64 Family 6 Model 42 Stepping 7, GenuineIntel"
set CFG_PATH="."
set PROGRAMFILES="C:\Program Files (x86)"
set PROCESSOR_REVISION="2a07"
set PATH=";."
set QTJAVA="C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip"
set SYSTEMROOT="C:\Windows"
set PROGRAMFILES(X86)="C:\Program Files (x86)"
set WINDOWS_TRACING_FLAGS="3"
set USER_TOONTOWN_ACCESS="VELVET"
set ASL.LOG="Destination=file"
set TEMP="C:\Users\jjames\AppData\Local\Temp"
set COMMONPROGRAMFILES(X86)="C:\Program Files (x86)\Common Files"
set PROCESSOR_ARCHITECTURE="x86"
set PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
set IS_TEST_SERVER="0"
set ALLUSERSPROFILE="C:\ProgramData"
set PLAYTOKEN=""
set WEB_ACCT_PARAMS=""
set LOCALAPPDATA="C:\Users\jjames\AppData\Local"
set ACCOUNT_SERVER="https://toontown.go.com"
set HOMEPATH="\Users\jjames"
set GAME_USERNAME="NvidiaTest"
set GAME_CHAT_ELIGIBLE="0"
set PROGRAMW6432="C:\Program Files"
set GAME_SERVER="https://gameserver-lv.toontown.com"
set USERNAME="jjames"
set LGID=""
set LOGONSERVER="\\BLUEDOG"
set COMSPEC="C:\Windows\system32\cmd.exe"
set PROGRAMDATA="C:\ProgramData"
set PYTHONPATH="."
set CLASSPATH=".;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip"
set __COMPAT_LAYER="ElevateCreateProcess"
set SESSIONNAME="Console"
set GAME_ADFRAME_BUTTON_1=""
set GAME_ADFRAME_BUTTON_2=""
set GAME_ADFRAME_BUTTON_3="http://toontown.go.com/toon-hq/top-toons"
set GAME_ADFRAME_BUTTON_4="http://toontown.go.com/help/players-guide/"
set GAME_ADFRAME_BUTTON_5=""
set GAME_ADFRAME_BUTTON_6="http://toontown.go.com/membership/account-management/"
set GAME_ADFRAME_BUTTON_7="http://toontown.go.com/help/report-bug"
set FP_NO_HOST_CHECK="NO"
set COMMONPROGRAMFILES="C:\Program Files (x86)\Common Files"
set GAME_DISL_ID="450926245"
set WINDOWS_TRACING_LOGFILE="C:\BVTBin\Tests\installpackage\csilogfile.log"
set DISLTOKEN="U2FsdGVkX18Zf1MrdUiNyMBzJOBuwfNloEjZ1EXf72EsiZgWMCZYVZieKeVaXeBlvzScQlfSh/UEAGB7a/EGBDifw8FjLNJMQNyXKf2cbp3lwDt9FL6Y4ehN/7e7wXghm5TwIDGBnsn6UqKLqW26ICGRReq9fKn3inKSJKXI0sGvH0DhKayDenerB5EH/KK2CoVOBLh1BUl4/w0TY9q8XTWEkUhJRH/FC68WlDLg0edziU5QSL77F7H6DOXqwo2h5csV+c6LtnBc9hhr/i3vEnEUs01xIFTzINUNf/lXeW6ETEHCJSuHPmntr+z0Tlup6k6AuHM3cBwhF4X0dgvZE8LUY3cRYZAb9n+hhJJMBklnFNIUsMbevwXQYjjw1nQOU2vRv7NlNdmGtHsV3gl4wBDtud/PQb5NWK8uqwgkNzXe/9Tx9gTKwkCN/YXYbskmfDXdS6EvYSKI/m4aclxQtUWF+SJ4JiGbUfDzG+8nryAPQemcrGxbMc7FmExhfsAt/34Z+YVtooE3zxALXj/diSF9NJ6uE2Bhf0xuSbxF9ZI3tnV/n7mWxa/Noi87SuHYYAt1AvL7y4TrcmRnMlGRrY6uPCClAzze3hHNfsF6oD3f46tiTNdg0rKBroslO7FH"
set SESSION_TOKEN=""
set RCAUTOPLAY="C:\Program Files (x86)\Roxio\OEM\Roxio Central 5\"
set OS="Windows_NT"
set SYSTEMDRIVE="C:"
set ADFRAME_125X125=""
set PUBLIC="C:\Users\Public"
set NUMBER_OF_PROCESSORS="8"
set APPDATA="C:\Users\jjames\AppData\Roaming"
set GAME_VERSION_TEXT="sv1.0.47.11"
set PROCESSOR_LEVEL="6"
set COMMONPROGRAMW6432="C:\Program Files\Common Files"
set CONFIG_CONFIG=":configpath=CFG_PATH"
set PROCESSOR_ARCHITEW6432="AMD64"
set ADFRAME_728X90=""
set WINDIR="C:\Windows"
set LOGIN_TOKEN="U2FsdGVkX18Zf1MrdUiNyMBzJOBuwfNloEjZ1EXf72EsiZgWMCZYVZieKeVaXeBlvzScQlfSh/UEAGB7a/EGBDifw8FjLNJMQNyXKf2cbp3lwDt9FL6Y4ehN/7e7wXghm5TwIDGBnsn6UqKLqW26ICGRReq9fKn3inKSJKXI0sGvH0DhKayDenerB5EH/KK2CoVOBLh1BUl4/w0TY9q8XTWEkUhJRH/FC68WlDLg0edziU5QSL77F7H6DOXqwo2h5csV+c6LtnBc9hhr/i3vEnEUs01xIFTzINUNf/lXeW6ETEHCJSuHPmntr+z0Tlup6k6AuHM3cBwhF4X0dgvZE8LUY3cRYZAb9n+hhJJMBklnFNIUsMbevwXQYjjw1nQOU2vRv7NlNdmGtHsV3gl4wBDtud/PQb5NWK8uqwgkNzXe/9Tx9gTKwkCN/YXYbskmfDXdS6EvYSKI/m4aclxQtUWF+SJ4JiGbUfDzG+8nryAPQemcrGxbMc7FmExhfsAt/34Z+YVtooE3zxALXj/diSF9NJ6uE2Bhf0xuSbxF9ZI3tnV/n7mWxa/Noi87SuHYYAt1AvL7y4TrcmRnMlGRrY6uPCClAzze3hHNfsF6oD3f46tiTNdg0rKBroslO7FH"
set USERPROFILE="C:\Users\jjames"

Paste these lines into a runtt.bat file, and add the line “Toontown” at the end. Now you can launch Toontown with the command “runtt”. (Of course you will want to be in the Toontown directory first.)

(For the record, note the hashed value for DISLTOKEN is time-dependent and will expire after a few hours or so, and then the game won’t let you in until you log in from the website again and get a fresh token. But that doesn’t matter for this purpose, we just want to know if the game can open a window at all.)

So, the first thing to try is the sanity check: try runtt.bat, and see if the game locks up in exactly the same way.

Assuming it does, then try removing libpandadx9.dll, libpandadx8.dll, and libpandagl.dll. That should force it to run libtinydisplay.dll instead, which is the software-only renderer. I’d love to know if that works or if it locks up in the same way. (We can’t try this experiment from the Toontown launcher, because the launcher will just download these missing files again and put them back.)

David

Okay, I made the batch file, got the environment set as suggested, made another attempt through the launcher and failed, just so I could get a current DISL token, copied that value in for the DISL and LOGIN tokens into my runtt.bat file, and got the following:

C:\Program Files (x86)\Disney\Disney Online\ToontownOnline>.\Toontown.exe
Traceback (most recent call last):
File “toontown.launcher.QuickStartLauncher”, line 5, in ?
File “toontown.launcher.QuickLauncher”, line 7, in ?
File “random”, line 828, in ?
File “random”, line 96, in init
File “random”, line 110, in seed
WindowsError: [Errno -2146893818] Invalid Signature
C:\Program Files (x86)\Disney\Disney Online\ToontownOnline>

I then went, renamed the three DLLs you mentioned, and tried again, but I got exactly the same error. I wonder if they’ve rigged it so that it can’t be invoked without the launcher?

I was optimistic this was going to get us around something.

Also, FWIW, the error 7 that I get in the toontown log file (not the launcher log) is BEFORE I kill the process off, not after. The process has already detected a failure of some sort before writing out the following information about loading directx libraries.

Ah, looking closer, I think it looks like the “graphics options” button isn’t really working, and the game is always trying to launch in DirectX9 no matter what you specify here.

So, we can force another mode. We can do this by turning off the permissions on libpandadx9.dll so that it can’t be executed. This will force the game to fail over to one of the other display drivers instead.

Navigate to C:\Program Files (x86)\Disney\Disney Online\ToontownOnline , right-click on libpandadx9.dll, click the Security tab, and check “Deny” for all users, all privileges (but mainly for Read & execute). Now launch Toontown, and in the Toontown log you should see:

:01-06-2012 15:10:51 Launcher: setting panda error code to 7
:01-06-2012 15:10:51 :display: loading display module: libpandadx9.dll
:01-06-2012 15:10:51 :display(warning): Unable to load: Access denied
:01-06-2012 15:10:51 :display: loading display module: libpandadx8.dll
:01-06-2012 15:10:51 :display: loading display module: libpandagl.dll
:01-06-2012 15:10:51 :display: loading display module: libtinydisplay.dll
:01-06-2012 15:10:51 :display(warning): Unable to load: Path not found
Known pipe types:
  wdxGraphicsPipe8
  wglGraphicsPipe
(all display modules loaded.)

See, it failed to load libpandadx9.dll, and automatically went onto the next one, libpandadx8.dll. Hopefully that one will work for you. If it doesn’t, turn off that one too and let it fail over to libpandagl.dll.

Assuming this works and gets you in the game, note that it will foil the launcher’s next attempt to update these dll’s when the next update is released, and you’ll probably get an obscure error message. When this happens, you’ll have to go in there and reset these permissions to allow it to update.

Of course, perhaps a future update will fix this problem, or at least fix the “Graphics options” button. :slight_smile:

David

It took me awhile to get to this, and even a bit more time to just decide to do it. In the end, this was exactly half the problem. Granted, it’s the better half, and I thank you immensely for this answer. I cannot run in DirectX9 or DirectX8, but I can run just fine in OpenGL, so making the two DirectX libraries non-read took care of the problem.

I have no idea why this is so, and the larger half of the problem is why TT doesn’t run on my graphics card, but at least with this workaround I’m back functioning, and I figured this out with time to spare. I was about to head off to Canada to visit my girlfriend, and I didn’t want to take yet another trip where I had to take two laptops with me, one being only for my guilty pleasure.

Thank you so much again for prowling over the log file and seeing what was preventing me from running. Unless the Panda samples run in OpenGL by default, I know the problem is not a Panda problem. If, by any chance, the samples do run with OpenGL as their default, I’d be happy to flip whatever switch is needed to try to run them with DirectX* and try to debug why things don’t work on this card.

The Panda samples do indeed run in OpenGL by default, and you can try switching by editing the Config.prc file and commenting out “load-display pandagl” and replacing it with “load-display pandadx9” or “load-display pandadx8”.

David

Okay, guess what…

I ran the Ball In Maze demo real quick, making sure it still worked. Then I commented out the openGL line and uncommented the 9X line. Voila: instant trouble again! As soon as I change over, I get this in a command window:

DirectStart: Starting the game.
Known pipe types:
wdxGraphicsPipe9
(all display modules loaded.)

Nothing else, and the process is spinning away inside, no window is created, no ball in maze is displayed. the process runs at 100% of the cpu, but never gets anything done.

So, it appears the problem is not Disney’s at all, but somewhere either in the Panda library, or further down in the driver not returning something expected (my hunch). If there is a debuggable version that will let us know how far it is or is not getting, I’d be glad to run it for you and give you the log file. However, the problem is further down than inside the Toontown code.

You can change various configuration settings to make Panda more verbose. Adding “notify-display spam” to your Config.prc file will make Panda be extremely verbose in debug messaging, so you can use that to find out what it’s doing before it freezes.