Page 1 of 1
Screen resolution error
Posted: Thu Aug 26, 2010 5:25 pm
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.
Re: Screen resolution error
Posted: Thu Aug 26, 2010 5:29 pm
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.
Re: Screen resolution error
Posted: Thu Aug 26, 2010 5:39 pm
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!
Re: Screen resolution error
Posted: Thu Aug 26, 2010 6:01 pm
by yufra
Pleasure to help!
Re: Screen resolution error
Posted: Thu Aug 26, 2010 8:34 pm
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.