Screen resolution error

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Smauler
Low Yeek
Posts: 6
Joined: Thu Aug 26, 2010 5:13 pm

Screen resolution error

#1 Post by Smauler »

This isn't a bug really... more a plea for help. I've changed monitor to one with a lower maximum screen resolution, and as a result t-engine won't start :

Code: Select all

WARNING: No bootstrap code found, defaulting to working directory for engine code!
LuaVM:	LuaJIT 1.1.6	x86
[KEYBINDER] Loaded keybinds: move
[KEYBINDER] Loaded keybinds: actions
error opening screen: No video mode large enough for 1600x1200
Is there any way of changing resolution options out of game? If not, perhaps there should be :).
I'm going to backup, then re-install over that backup.... that might do it?

Thank you.

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Screen resolution error

#2 Post by yufra »

You can change the resolution manually be editing the resolution.cfg file. The location of this file will vary depending on your platform, for eg. under Mac OSX it can be found in /Users/blablabla/Library/Application Support/T-Engine/4.0/settings.
<DarkGod> lets say it's intended

Smauler
Low Yeek
Posts: 6
Joined: Thu Aug 26, 2010 5:13 pm

Re: Screen resolution error

#3 Post by Smauler »

Thank you - I just found it. I actually just deleted the resolution.cfg file, and the game created another one. I though about editing it, but I couldn't remember the resolutions that were supported. I'm running Vista, and it's in /Users/(Username)//T-Engine/4.0/settings

Thanks for replying anyway :).... Not a bug!

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Screen resolution error

#4 Post by yufra »

Pleasure to help!
<DarkGod> lets say it's intended

Feanor.81
Wyrmic
Posts: 239
Joined: Mon Aug 23, 2010 12:52 pm
Location: Poggibonsi (Siena), Italy

Re: Screen resolution error

#5 Post by Feanor.81 »

Smauler wrote:Not a bug!
Well, actually, any unmanaged exception causing an app to crash can be considered a bug: it's just a matter of severity.

Since the engine seems well capable of understanding the source of the anomaly, the solution in this case should be almost silly: if there is "No video mode large enough for 1600x1200", simply automatically switch, let's say, to the minimum resolution possible.

Oh, and please do not consider this comment a reproach, it's just the dark side of the developer flowing through my fingers.
Don't fear the eyes of the Dark Lord / Morgoth I cry
All hope is gone, but I swear revenge / Hear my oath
I will take part in your damned fate

Post Reply