Blindingly pink screen....
by Ted Southard · in Torque Game Engine Advanced · 05/17/2005 (6:39 pm) · 7 replies
So, I'm trying to migrate my scripts from TGE to TSE, and moving the folder en masse to the TSE tree causes TSE to show up as a magenta screen with a variable sized red box as a cursor (gets bigger in X and Y directions as I move further in X and Y directions...).
The only error I have left in the script is a comment that it cannot find the function "loadDir", which seems to be located in main.cs. Other than that, things look fine, and the scripts compile fine, but I cannot even make it to the mainmenu.gui part. I'm pretty sure there's something I'm doing wrong, since the Demo app that comes with TSE works just fine, so it can't be a driver or SW issue.
I copied over the main.cs, prefs.cs, and defaults.cs files, to no avail. Anyone know anything about this? Thanks in advance!
The only error I have left in the script is a comment that it cannot find the function "loadDir", which seems to be located in main.cs. Other than that, things look fine, and the scripts compile fine, but I cannot even make it to the mainmenu.gui part. I'm pretty sure there's something I'm doing wrong, since the Demo app that comes with TSE works just fine, so it can't be a driver or SW issue.
I copied over the main.cs, prefs.cs, and defaults.cs files, to no avail. Anyone know anything about this? Thanks in advance!
About the author
Started with indie games over a decade ago, and now creates tools and tech for games. Currently working as a contractor for startups and game studios.
#2
05/18/2005 (5:36 am)
I was looking for that "loadDir" function, couldn't find it in any of the scripts (definition-wise). Is that an engine-function, or implemented in script? Never seen it before in TGE...
#3
05/18/2005 (11:50 am)
I don't know anything about it off hand, either, unfortunately. Of course, there's some five hundred console exposed bits of code, so it's entirely possible I've just blanked. :) Have you tried grepping for it?
#4
- Loading card profiles...
- Exec'ing profile/D3D9.cs
- Exec'ing profile/D3D9.NVIDIA.cs
- No profile/D3D9.NVIDIA.GeForceFX5700.cs
- No profile/D3D9.NVIDIA.GeForceFX5700.7189.cs
Those last two lines are a bit suspect, but then again, the .cs files don't include much more anyway.
I also remmed out 95% of the .cs files being called in the init.cs scripts for both server and client, to no avail. At this point, the problem is so deep and complex that I'm convinced that it's something like a missing apostrophe ;)
<-stumped
05/18/2005 (7:51 pm)
I was able to solve the problem with loadDir(had to get the function out of TGE 1.3 for some reason), but it doesn't seem to make any impact on the problem. There is, however, one thing I do see is the following in the console.log regarding the video card, though at first glance it seems to go on fine without it:- Loading card profiles...
- Exec'ing profile/D3D9.cs
- Exec'ing profile/D3D9.NVIDIA.cs
- No profile/D3D9.NVIDIA.GeForceFX5700.cs
- No profile/D3D9.NVIDIA.GeForceFX5700.7189.cs
Those last two lines are a bit suspect, but then again, the .cs files don't include much more anyway.
I also remmed out 95% of the .cs files being called in the init.cs scripts for both server and client, to no avail. At this point, the problem is so deep and complex that I'm convinced that it's something like a missing apostrophe ;)
<-stumped
#5
Thanks for the info though!
05/19/2005 (6:08 pm)
Okay, got it. Had to march my scripts through one at a time on top of the TSE ones until I found that a few of the older TGE scripts such as MainMenuGui were broken up into multiple scripts in TSE, as well as a non call of the MainMenuGui in the init.cs. Didn't figure out which script caused the odd red cursor thing, but as long as I don't run into it again, I don't necessarily need to find out ;)Thanks for the info though!
#6
The profile spam is normal. The profile code tries to find a closest match. We don't have time (nor is there generally need!) to create a profiler for every vendor, card, and version number combination... The idea is that it's a system to help developers out when they need to do work arounds for specific cards for their game, not some general all encompassing database - stock TSE ought to work ought of box for all hardware. :P
05/20/2005 (11:58 am)
Glad you got it fixed!The profile spam is normal. The profile code tries to find a closest match. We don't have time (nor is there generally need!) to create a profiler for every vendor, card, and version number combination... The idea is that it's a system to help developers out when they need to do work arounds for specific cards for their game, not some general all encompassing database - stock TSE ought to work ought of box for all hardware. :P
#7
Doesn't that make it ham?
Anyways, yeah, I'm glad too. It's been lumping me over the head for a couple of weeks now, and I can finally get back to making the game work like it should instead of making the game work at all, heheh...
05/20/2005 (1:18 pm)
Quote:The profile spam is normal.
Doesn't that make it ham?
Anyways, yeah, I'm glad too. It's been lumping me over the head for a couple of weeks now, and I can finally get back to making the game work like it should instead of making the game work at all, heheh...
Associate Kyle Carter
Do not pass go, do not collect $200... I think you'll have to read over the TSE scripts a little more and merge your changes more carefully. :) You might try fixing that loadDir issue first, though, it sounds like it might be breaking a lot of stuff.