Crash on character generation

Everything about ToME 4.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
steviebob
Posts: 3
Joined: Wed Jun 22, 2011 5:04 pm

Crash on character generation

#1 Post by steviebob »

Basically, I go about and create a character, put in the 3 stat points, hit tab and then the whole game crashes and logs me out of my account (on the computer). Any ideas?

EDIT: I just tried something: I can go from the STATS tab to the SUMMARY tab, but when I try to go to the TALENTS tab, it just dies. Hope it helps

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: Crash on character generation

#2 Post by greycat »

If you're running the Windows version, look for a file named stdout.txt in the ToME directory. Or at least I think that's the name... it might be slightly different. Look for errors in there, to indicate what's happening.

General hints (may or may not apply here):

If you're upgrading from a previous version, don't just unpack the new ToME archive in the old directory; unpack it in a brand new directory (either by deleting the old one, or by using a different name).

Make sure your video drivers are up to date. ToME uses a lot of OpenGL graphics functions, and is surprisingly (for a roguelike) graphics-intense. Buggy or outdated drivers can cause crashes, and some older graphics cards have serious problems or are missing support for many of the features.

steviebob
Posts: 3
Joined: Wed Jun 22, 2011 5:04 pm

Re: Crash on character generation

#3 Post by steviebob »

I'm running the linux version. It's been a while since I've tried there, booted into windows and tried ToME there and it works just fine, albeit a bit slower than I'd like, but eh, that's windows for ya. I'll post the stdout in a few hours, I have some other business to take care of first.

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: Crash on character generation

#4 Post by greycat »

The Linux version writes stdout to stdout -- you're expected to be able to redirect it yourself. I would also suggest using the --flush-stdout option so that the log file isn't truncated (due to buffering) when you crash.

What I normally do is mkdir logs and then every time I start t-engine, I redirect stdout+stderr to logs/Charactername thus:
./t-engine --flush-stdout >>logs/Charactername 2>&1
Yes, this means I have to choose the character name first, before even starting the program. :-/

This has many benefits. First, as mentioned, it means I get a full log in the event of a crash (which I haven't actually experienced in a very long time - yay!). Second, it means I have in-game chat logged in realtime, so I can open a second window and do a tail -f | grep on the log file to see the in-game chat that I would otherwise miss when it scrolls irretrievably out of the tiny little window after 0.03 seconds because I happened to be fighting at the time. Third, after I die, I can review the log file to attempt to see what happened.

Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Re: Crash on character generation

#5 Post by Grey »

You know you can click on the game log to see a larger window of your message history? Quite handy when something gets scrolled off your screen.
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: Crash on character generation

#6 Post by greycat »

Oh... no, I didn't know that. How new is that?

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: Crash on character generation

#7 Post by tiger_eye »

Since b26. You mean to tell me everybody doesn't read every line of the changelog of every release?! :wink:

Anyway, I'm really hoping the new UI in b29 will have a similar easy, intuitive click like this to see the message.

steviebob
Posts: 3
Joined: Wed Jun 22, 2011 5:04 pm

Re: Crash on character generation

#8 Post by steviebob »

Okay, here's the stdout for when it crashes... I did the command

Code: Select all

./t-engine --flush-stdout >>logs/Merlin 2>&1
and the results are attached to this post.
Attachments
Merlin.txt
(141.83 KiB) Downloaded 157 times

Post Reply