Game Development Community

TGEA 1.7.0 Beta 1 Bug - T3D Demo

by Stephan Goebels · in Torque Game Engine Advanced · 03/19/2008 (12:11 pm) · 42 replies

The menu text in the "T3D Demo" is not shown.

Windows XP. Latest DirectX (WEB March 2008) and Drivers 69.21: Nvidia 7800GS.
#21
03/25/2008 (11:15 am)
Matt I have two files in there:

Arial Bold 14 (ansi).uft

Arial Bold 20 (ansi).uft

Stefan
#22
03/25/2008 (11:29 am)
How big is the Arial Bold 20 (ansi).uft file? Mine is 1.68 KB.
#23
03/25/2008 (11:31 am)
It's 848 Byte.
#24
03/25/2008 (1:07 pm)
Ok...few more things to check:

1) Grab www.rustycode.com/matt/T3D.exe and save it to the T3D\game folder (you probably should back up your old version). Run that and send me the last 6 or so lines of your console.log.

2) Goto C:\Windows\Fonts and see if you have an "Arial Bold" font. If not, then check for just "Arial".

3) If you hit the ~ key can you see the text on the console?

4) If you go ahead and load the mission (top button in the Main Menu), do you ever see any text in the loading dialog?

5) Once you are in the mission try hitting F11 to load the Mission Editor. Does any text show up there at all?

Thanks!
#25
03/25/2008 (1:22 pm)
1)
Default implementation. Override onQuit() to add game specific functionality
textWidth = 77, text = Play Game, (const UTF8*)text = Play Game
textWidth = 92, text = Select Model, (const UTF8*)text = Select Model
textWidth = 43, text = Setup, (const UTF8*)text = Setup
textWidth = 74, text = Exit Game, (const UTF8*)text = Exit Game
textWidth = 77, text = Play Game, (const UTF8*)text = Play Game
textWidth = 92, text = Select Model, (const UTF8*)text = Select Model
textWidth = 43, text = Setup, (const UTF8*)text = Setup
textWidth = 74, text = Exit Game, (const UTF8*)text = Exit Game

2) I don't have an "Arial Bold" font, but the equivalent on my German system should be "Arial Fett" (arialbd.ttf). The "Arial font" exists.

3) Yes

4) I see the text in the loading bar on the bottom (loading datablocks, loading objects)

5) Yes, looks fine.
#26
03/25/2008 (1:32 pm)
Everythin the same here as Stefan described

except the last 6 or more lines of console log:

(Didn't change anything of the game but recompiled it with VS 2008)

Here are mine:

Exporting Gui preferences.
Exporting server prefs...
Validation required for shape: scriptsAndAssets/data/shapes/players/SpaceOrc/SpaceOrc.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/BoomBot/BoomBot.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/Elf/Elf.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/ForgeSoldier/ForgeSoldier.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/SpaceOrc/SpaceOrc.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/Spacesuit/Spacesuit.dts
Validation required for shape: scriptsAndAssets/data/shapes/players/TorqueOrc/TorqueOrc.dts
Exporting client prefs
Exporting server prefs
Cur. D3DDevice ref count=1
#27
03/25/2008 (1:36 pm)
Sorry, I realize that I tested your TD3.EXE - not my recompiled TD3 :-(
#28
03/26/2008 (2:03 pm)
1)
Engine initialized...
textWidth = 81, text = Play Game, (const UTF8*)text = Play Game
textWidth = 96, text = Select Model, (const UTF8*)text = Select Model
textWidth = 43, text = Setup, (const UTF8*)text = Setup
textWidth = 77, text = Exit Game, (const UTF8*)text = Exit Game

textWidth = 45, text = Model, (const UTF8*)text = Model
textWidth = 46, text = Mount, (const UTF8*)text = Mount

textWidth = 58, text = Adapter, (const UTF8*)text = Adapter
textWidth = 79, text = Resolution, (const UTF8*)text = Resolution
textWidth = 78, text = Fullscreen, (const UTF8*)text = Fullscreen
textWidth = 56, text = Volume, (const UTF8*)text = Volume
textWidth = 64, text = Antialias, (const UTF8*)text = Antialias

2) Found this fonts in the folder
"Arial 14 (ansi).uft"
"Arial Bold 14 (ansi).uft"
"Arial Bold 20 (ansi).uft"

3) No

4) Loading Datablock, Loading Objects ...

5) Yes, looks fine.
#29
03/26/2008 (5:48 pm)
Alright....let's try this:

Grab [url]http://www.rustycode.com/matt/Arial Bold 20 (ansi).uft[/url] and [url]http://www.rustycode.com/matt/Arial Bold 14 (ansi).uft[/url] and copy them over your versions in T3D\game\common\data\fonts.

Hopefully you should now have text in the menus.
#30
03/26/2008 (11:21 pm)
*Image*
#31
03/26/2008 (11:27 pm)
Hehe...entertaining =)
#32
03/27/2008 (12:06 am)
Try replacing your T3D\game\common\unifiedShell\profiles.cs with this one (might have to right-click and choose "Save As").

I am researching what I need todo to get the bold fonts working correctly on your systems.
#33
03/27/2008 (12:11 am)
No bold visible, but looks better :)

*Image*
#34
03/27/2008 (3:34 am)
Yes, works (except bold)

Thank you!
#35
03/27/2008 (1:47 pm)
The rong Arial Bold 20 (ansi).uft

03 00 00 00 0a 41 72 69 61 6c 20 42 6f 6c 64 14 00 00 00 00 00 00 00 14 00 00 00 10 00 00 00 10 00 00 00 04 00 00 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 01 00 00 00 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 00 00 00 01 00 08 00 00 00 00 79 19 f7 ba 00 00 00 54 49 44 41 54 78 9c ed c1 01 01 00 00 00 80 90 fe af ee 08 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 01 0f 00 01 4d f6 ca 06 00 00 00 00 49 45 4e 44 ae 42 60 82 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 79 00 00 00 74 00 00 00 78 da a5 cd c9 0e 82 50 0c 85 e1 a2 28 20 2a 83 03 08 c8 a0 a2 32 bd ff e3 c9 bf e8 82 0d 61 61 93 2f bd 39 6d 7a 45 c4 fc fd 51 22 f2 c4 03 2f 94 a8 35 ff e0 8d 2f aa 85 1b 31 ae 68 51 c0 c7 0d 9b 99 7d 17 0d 32 88 66 77 d8 93 9d 7c f2 1e 16 fe 5f 69 77 70 80 85 33 52 74 08 75 1e c1 c0 16 27 ec e1 e9 2c c1 05 3b 1c d1 6b 1e 60 3d 02 6b f8 b3 5c
#36
03/27/2008 (6:28 pm)
Ok...I *may* be on the track of a fix for this...

Please re-download www.rustycode.com/matt/T3D.exe and make sure you are using the www.rustycode.com/matt/profiles.cs I linked above.

Then go into T3D\game\common\data\fonts and delete all of the files there.

Run T3D.exe (the new one) and *hopefully* you will see a bold font on the menus.

Thanks for helping guys!
#37
03/27/2008 (11:42 pm)
Drum roll...

*Image*
#38
03/28/2008 (2:09 am)
I finally managed to lay hands on an installed copy of German Vista and I think my fix is solid but I would like to get you guys to test one more time before the next Beta.

Hopefully for the last time:

Re-download www.rustycode.com/matt/T3D.exe and www.rustycode.com/matt/profiles.cs (this is the original profiles.cs that was installed).

Yet again go into T3D\game\common\data\fonts and delete all of the files there before running T3D.exe.

If all goes well you should be seeing the proper fonts =)

One thing I did discover is that you may need to run Torque as an Administrator on Vista if you are still having problems.
#39
03/28/2008 (4:18 am)
Yes, it works!

Even bold ansi is shown.

Thanks
#40
03/28/2008 (2:26 pm)
Yes, it is fixed!