ta3d Startup Failure

You have a problem with TA3D, it doesn't run or it crashes...
/
Vous avez un problème avec TA3D, il ne se lance pas ou plante...
Post Reply
smc
Posts: 7
Joined: Wed Jan 16, 2008 3:35 am

ta3d Startup Failure

Post by smc » Wed Jan 16, 2008 3:43 am

Hey, All:

I just downloaded, compiled and installed TA3D and would really like to give this engine a go, but I get the following at startup:

Code: Select all

Allegro: 4.2.2 (2007)
AllegroGL version: 0.4.3
OS : Linux :-)
CPU: ??? GenuineIntel -cpuid-x87 FPU-MMX-MMX+-SSE-SSE2-SSE3-cmov
A error has just occured within the application.
It was trapped and logged to error.txt.
Please report this to our forums so that we might fix it.

Error:
Guard:main (main.cpp l.267)
   Guarded:cTA3D_Engine Constructor (cTA3D_Engine.cpp l.43)
      INFO:   Zeroing Variables. (cTA3D_Engine.cpp l.44)
      INFO:   Initializing Thead data (cTA3D_Engine.cpp l.56)
      INFO:   Creating Interface Manager. (cTA3D_Engine.cpp l.59)
      INFO:   Creating logging Interface, and attaching it to Interface Manager (cTA3D_Engine.cpp l.62)
      INFO:   Logging some stuff to ta3d.log (cTA3D_Engine.cpp l.65)
      INFO:   Setting uformat to U_ASCII. (cTA3D_Engine.cpp l.73)
      INFO:   Initalizing allegro. (cTA3D_Engine.cpp l.76)
      INFO:   Installing allegro timer. (cTA3D_Engine.cpp l.83)
      INFO:   Installing allegro mouse handler. (cTA3D_Engine.cpp l.87)
      INFO:   Installing allegro keyboard handler. (cTA3D_Engine.cpp l.91)
      INFO:   Initalizing allegro JPG support. (cTA3D_Engine.cpp l.95)
      INFO:   Creating HPI Manager. (cTA3D_Engine.cpp l.99)
      INFO:   Creating console object. (cTA3D_Engine.cpp l.102)
      INFO:   Creating translation manager. (cTA3D_Engine.cpp l.105)

Exception caught
Success
Unguard: main
I have absolutely no clue what all of this means and would like some guidance from you awesome folks. If any one (or more) of you can help me to get this game engine going, I would greatly appreciate it.

My system setup is as follows:

openSuSE 10.2
Linux Kernel version 2.6.18.2-34
Intel Pentium 4 3.0 GHz
1 GB RAM
nVidia GE-Force FX 5500 (256 MB VRAM)
KDE 3.5.5

Thanks a ton.

Cheers,

SMC

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Wed Jan 16, 2008 6:11 am

There are several people, who using Linux version of Ta3D, they should know where is the problem. Just wait a couple of hours :)

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Wed Jan 16, 2008 8:02 am

could you send me your ta3d.log ? (in ~/.ta3d/)

zuzuf86[at]gmail[dot]com
=>;-D Penguin Powered

smc
Posts: 7
Joined: Wed Jan 16, 2008 3:35 am

Post by smc » Wed Jan 16, 2008 2:04 pm

Sure, here it is. However, it does not differ in the least from the information at the top of the code block in my last post...

Code: Select all

TA3D 0.4.1 initializing started:

build info : Jan 15 2008 , 20:48:42

Allegro: 4.2.2 (2007)
AllegroGL version: 0.4.3
OS : Linux :-)
CPU: ??? GenuineIntel -cpuid-x87 FPU-MMX-MMX+-SSE-SSE2-SSE3-cmov
Cheers,

SMC

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Wed Jan 16, 2008 2:18 pm

did you install the .hpi resource files ? (from TA or the demo or a stand alone mod)
=>;-D Penguin Powered

smc
Posts: 7
Joined: Wed Jan 16, 2008 3:35 am

Post by smc » Wed Jan 16, 2008 5:45 pm

Yes. I have installed all 4 hpi files in ~/.ta3d/. The four files that I've copied there are:
  • * totala1.hpi
    * totala2.hpi
    * totala3.hpi
    * totala4.hpi
These are all from my *original* Total Annihilation discs.

Cheers,

SMC

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Wed Jan 16, 2008 7:37 pm

hm, normally you don't need totala3.hpi & totala4.hpi, only totala1.hpi & totala2.hpi are required, also totala1.hpi is contained in totala3.hpi on the first CD, how did you extract it ?

Is this the first time you install TA3D (it might be a config file problem too) ?

I tried to reproduce the crash, using the same files, the 0.4.1 version, ... but I couldn't. There is also something very strange: I couldn't find any related source file containing the word "Success" ... which is really strange because it's logged in the error message, so it has to be somewhere !! I'll keep looking at this.

PS: try without totala3.hpi & totala4.hpi
=>;-D Penguin Powered

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Wed Jan 16, 2008 7:48 pm

Ok, I think I got it !!

Did you get a message before the log report ?

If you get a message telling you there was resources missing then try this:
chmod a+r -R *

it will give read access for everyone to TA3D's files. I managed to reproduce the "crash" by preventing TA3D from reading the .hpi files. Maybe we should improve our error message :)
=>;-D Penguin Powered

smc
Posts: 7
Joined: Wed Jan 16, 2008 3:35 am

Post by smc » Thu Jan 17, 2008 4:17 am

Thank you very much for your suggestion, it *almost* worked. I actually got a window for about a second. Here is the screen output:

Code: Select all

sean@hal:~/.ta3d> chmod a+r -R *
sean@hal:~/.ta3d> ta3d
Allegro: 4.2.2 (2007)
AllegroGL version: 0.4.3
OS : Linux :-)
CPU: ??? GenuineIntel -cpuid-x87 FPU-MMX-MMX+-SSE-SSE2-SSE3-cmov
FMOD version: 4.16.4
OpenGL informations:
vendor: NVIDIA Corporation
renderer: GeForce FX 5500/PCI/SSE2
version: 2.1.1 NVIDIA 100.14.19
Shutting down Allegro due to signal #11
Segmentation fault
sean@hal:~/.ta3d>  
And, here is the information from the ta3d.log

Code: Select all

TA3D 0.4.1 initializing started:

build info : Jan 15 2008 , 20:48:42

Allegro: 4.2.2 (2007)
AllegroGL version: 0.4.3
OS : Linux :-)
CPU: ??? GenuineIntel -cpuid-x87 FPU-MMX-MMX+-SSE-SSE2-SSE3-cmov
FMOD version: 4.16.4
opening playlist
Reading gamedata\allsound.tdf
Loading sounds from gamedata\allsound.tdf
loading sound file button2
loading sound file butnsid1
loading sound file butnmbl1
loading sound file butmain4
loading sound file butscro2
loading sound file butscro2
loading sound file range1
loading sound file butnmbl1
loading sound file cantdo
loading sound file victory2
loading sound file button13
loading sound file butmain2
loading sound file explode.wav
loading sound file beep6
loading sound file burn02
loading sound file butnagr2
loading sound file energyn2
loading sound file butscro1
loading sound file beep1
loading sound file beep4
loading sound file butnsid3
loading sound file butnskir
loading sound file explode.wav
loading sound file button9
loading sound file button7
loading sound file button1
loading sound file butnmbl2
loading sound file beep4
loading sound file button5
loading sound file butnagr1
loading sound file butmain1
loading sound file drone2
loading sound file servsml6
loading sound file button12
loading sound file beep6
loading sound file butscro1
loading sound file butoptn
loading sound file button5
loading sound file metalno1
loading sound file button3
loading sound file button10
OpenGL informations:
vendor: NVIDIA Corporation
renderer: GeForce FX 5500/PCI/SSE2
version: 2.1.1 NVIDIA 100.14.19
Finally, the contents of error.txt:

Code: Select all

***** Error Report *****
Guard:main (main.cpp l.267)
   Guarded:cTA3D_Engine Constructor (cTA3D_Engine.cpp l.43)
      INFO:   Zeroing Variables. (cTA3D_Engine.cpp l.44)
      INFO:   Initializing Thead data (cTA3D_Engine.cpp l.56)
      INFO:   Creating Interface Manager. (cTA3D_Engine.cpp l.59)
      INFO:   Creating logging Interface, and attaching it to Interface Manager (cTA3D_Engine.cpp l.62)
      INFO:   Logging some stuff to ta3d.log (cTA3D_Engine.cpp l.65)
      INFO:   Setting uformat to U_ASCII. (cTA3D_Engine.cpp l.73)
      INFO:   Initalizing allegro. (cTA3D_Engine.cpp l.76)
      INFO:   Installing allegro timer. (cTA3D_Engine.cpp l.83)
      INFO:   Installing allegro mouse handler. (cTA3D_Engine.cpp l.87)
      INFO:   Installing allegro keyboard handler. (cTA3D_Engine.cpp l.91)
      INFO:   Initalizing allegro JPG support. (cTA3D_Engine.cpp l.95)
      INFO:   Creating HPI Manager. (cTA3D_Engine.cpp l.99)
      INFO:   Creating console object. (cTA3D_Engine.cpp l.102)
      INFO:   Creating translation manager. (cTA3D_Engine.cpp l.105)

Exception caught
Success
Unguard: main
I appreciate any further help that you are able to provide.

Cheers,

SMC

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Jan 17, 2008 1:53 pm

Did you see something in that window ?

It seems you installed TA3D in ~/.ta3d which is the config directory, try to install it that way: (I write all the steps, in case something is wrong with the package itself)

extract the archive in your home dir, then you should have something like
~/ta3d

# cd ~/ta3d
# ./configure
# make

then copy totala1.hpi & totala2.hpi to ~/ta3d

remove old config dir (to avoid conflicts)
# rm -rf ~/.ta3d

then start the game
# cd ~/ta3d
# ./ta3d

If it's still a file access crash, try chmod a+rw -R * from ~/ta3d
=>;-D Penguin Powered

smc
Posts: 7
Joined: Wed Jan 16, 2008 3:35 am

Post by smc » Thu Jan 17, 2008 5:26 pm

Thank you, again, for your assistance. In answer to your question, there had been nothing but white in the window before it winked out of existence.

I followed your suggestions, but to no avail. Again, here's the contents of error.txt:

Code: Select all

***** Error Report *****
Guard:main (main.cpp l.267)
   Guarded:cTA3D_Engine Constructor (cTA3D_Engine.cpp l.43)
      INFO:   Zeroing Variables. (cTA3D_Engine.cpp l.44)
      INFO:   Initializing Thead data (cTA3D_Engine.cpp l.56)
      INFO:   Creating Interface Manager. (cTA3D_Engine.cpp l.59)
      INFO:   Creating logging Interface, and attaching it to Interface Manager (cTA3D_Engine.cpp l.62)
      INFO:   Logging some stuff to ta3d.log (cTA3D_Engine.cpp l.65)
      INFO:   Setting uformat to U_ASCII. (cTA3D_Engine.cpp l.73)
      INFO:   Initalizing allegro. (cTA3D_Engine.cpp l.76)
      INFO:   Installing allegro timer. (cTA3D_Engine.cpp l.83)
      INFO:   Installing allegro mouse handler. (cTA3D_Engine.cpp l.87)
      INFO:   Installing allegro keyboard handler. (cTA3D_Engine.cpp l.91)
      INFO:   Initalizing allegro JPG support. (cTA3D_Engine.cpp l.95)
      INFO:   Creating HPI Manager. (cTA3D_Engine.cpp l.99)
      INFO:   Creating console object. (cTA3D_Engine.cpp l.102)
      INFO:   Creating translation manager. (cTA3D_Engine.cpp l.105)

Exception caught
Success
Unguard: main
And the contents of ta3d.log:

Code: Select all

TA3D 0.4.1 initializing started:

build info : Jan 15 2008 , 20:48:42

Allegro: 4.2.2 (2007)
AllegroGL version: 0.4.3
OS : Linux :-)
CPU: ??? GenuineIntel -cpuid-x87 FPU-MMX-MMX+-SSE-SSE2-SSE3-cmov
This time, however, I did get message boxes on the desktop, instead of just output to the console. Progress, maybe? Let me know what else I can try, because TA sucks in Cedega...slow, choppy, crap graphics and crashes.

Cheers,

SMC

smc
Posts: 7
Joined: Wed Jan 16, 2008 3:35 am

Post by smc » Thu Jan 17, 2008 5:31 pm

Also, you had said:
It seems you installed TA3D in ~/.ta3d which is the config directory
But, I had simply done the following:

Code: Select all

# 7z -u ta3d-v-0-4-1.7z
# cd ta3d/
# ./configure
# make
# sudo make install
So, TA3D was installed in /usr/local/bin, but I have no idea where the rest of the program's data, etc., was located.

This time, I wiped the ta3d folder from my Download/Games folder and redid everything, following your steps *exactly*. I tried running ta3d from the Configure/Make folder, instead of installing it, and I've given you the results of that run attempt.

Cheers,

SMC

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Jan 17, 2008 11:54 pm

you've installed TA3D using "make install", but TA3D isn't ready to be installed that way. Current SVN version wouldn't have installed into /usr, it would have started the install-sh script instead which would have installed totala1.hpi & totala2.hpi in TA3D's current directory.

Don't run "make install" and run ta3d from where you unpacked it. (so type # ./ta3d and not # ta3d).

You can remove what has been installed into /usr, TA3D 0.4.1 isn't ready for this.

Maybe it's also a build problem, try rebuilding Allegro, then AllegroGL, then TA3D.

I might try OpenSUSE this week end to understand what's really happening here.
=>;-D Penguin Powered

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sat Jan 19, 2008 7:58 pm

Ok, I've installed OpenSuSE 10.2 and I found something interesting:
when I install the nvidia driver from a rpm package TA3D crashes, when I install it manually (using the nvidia official installer) it works !!

I used driver 169.07, and I had to set image settings on "performance" instead of "high performance" because textures were corrupt when set to "high performance". It seems there is something wrong with SuSE's Xorg ...

I hope it'll help
=>;-D Penguin Powered

smc
Posts: 7
Joined: Wed Jan 16, 2008 3:35 am

Post by smc » Sun Jan 20, 2008 4:27 am

OK, I'm using the manually installed nVidia driver, version 100.14.19, and am able to play all of my 3d FPS games through Cedega with no problem. I'll have to check to see what my image settings are currently set to, but will change them to "performance" if they are not already there. It may take me a few days to mess with this, as I'm getting ready to alter my system somewhat, but will let you know what happens when I do get to it. Thanks for all of your help.

Cheers,

SMC

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sun Jan 20, 2008 11:10 am

Note that you might have to rebuild the nvidia kernel module each time you update your kernel (just rerun the installer as root).

the "performance" setting was only required because I had texture corruption in 3D apps, you can set it with the nvidia-settings program.
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests