Frame rate option crash

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Dougiegee
Halfling
Posts: 111
Joined: Sun Jun 20, 2010 9:24 pm

Frame rate option crash

#1 Post by Dougiegee »

I just tried changing the frame rate option to see if i could improve some bad slowdown and when i typed in the box numbers did not appear, instead the cursor just moved in the box. Immediately crashed to desktop when I pressed enter. The worst part is that I can't restart the game even after trying a reinstall! I'm guessing the setting has been set to 0 or something and it is stored somewhere other than the Tome folder.

Thanks in advance for any help.
Doug

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Frame rate option crash

#2 Post by darkgod »

Hum
Can you try running it in gdb please ? http://te4.org/wiki/tome4-running-tome-gdb

As for fixing it, the file is in your home/T-Engine/4.0/settings/display_fps.cfg
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Dougiegee
Halfling
Posts: 111
Joined: Sun Jun 20, 2010 9:24 pm

Re: Frame rate option crash

#3 Post by Dougiegee »

I think I did that right.... It crashed again anyway and the framerate was set to 0

here it is...


[New Thread 3140.0xc6c]

Program received signal SIGFPE, Arithmetic exception.
0x0042d5cf in setupDisplayTimer (fps=0) at src/main.c:459
459 src/main.c: No such file or directory.
in src/main.c
#0 0x0042d5cf in setupDisplayTimer (fps=0) at src/main.c:459
#1 0x00401d48 in lua_set_fps (L=0x3d4608) at src/core_lua.c:185
#2 0x0046703b in luaD_precall (L=0x3d4608, func=0x2f2f058, nresults=0)
at src/lua/ldo.c:319
#3 0x00462847 in luaV_execute (L=0x3d4608, nexeccalls=7) at src/lua/lvm.c:587
#4 0x0046726a in luaD_call (L=0x3d4608, func=0x2f2edc8, nResults=0)
at src/lua/ldo.c:377
#5 0x0045cadc in f_call (L=0x3d4608, ud=0x22fdc0) at src/lua/lapi.c:800
#6 0x00466692 in luaD_rawrunprotected (L=0x3d4608, f=0x45cab2 <f_call>,
ud=0x22fdc0) at src/lua/ldo.c:116
#7 0x00467585 in luaD_pcall (L=0x3d4608, func=0x45cab2 <f_call>, u=0x22fdc0,
old_top=7616, ef=7600) at src/lua/ldo.c:463
#8 0x0045cb62 in lua_pcall (L=0x3d4608, nargs=8, nresults=0, errfunc=475)
at src/lua/lapi.c:821
#9 0x0042c4ff in docall (L=0x3d4608, narg=8, nret=0) at src/main.c:90
#10 0x0042c8a0 in on_event (event=0x22fe40) at src/main.c:173
#11 0x0042e1e6 in SDL_main (argc=1, argv=0x3d27d8) at src/main.c:788
#12 0x004b56ab in console_main (argc=1, argv=0x3d27d8)
at ./src/main/win32/SDL_win32_main.c:315
#13 0x004b5768 in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x241f14 "",
sw=10) at ./src/main/win32/SDL_win32_main.c:398
#14 0x004b5036 in main ()




If i hit backspace to delete the frame rate entry before I type a new one the numbers do not appear which is how I ended up entering zero. I'm running this through Parallels, a program to run windows on a mac because I've never been able to get the mac builds to work with my OS so the display problem may be related to this.

Cheers, Doug

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Frame rate option crash

#4 Post by darkgod »

Na it's because you are setting it to 0 :)
I'll fix that, thanks
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply