project-navigation
Personal tools

Author Topic: Mac OSX and 1600x1200 resolution  (Read 3435 times)

sonicbenj

  • Guest
Mac OSX and 1600x1200 resolution
« on: May 16, 2007, 12:11:51 am »
Hi guys,

Firstly, it's amazing to be playing UFO on my Mac, brilliant!

Just a little hitch though. All was going well untill I decided to try and use a screen rez of 1600x1200 on my macbook pro 17". Now the game bombed and will now not boot.

Seems that the problem lies with ref_sdl.dylib which I have deleted and will re-install (once the .dmg has finished downloading). I'm hopefull this will fix it?

Full error text below.

Cheers

Ben

LoadLibrary ("./ref_sdl.dylib")
ref_gl version: GL 0.12
setting mode 9: 1600 1200
SDL version: 1.2.9
SDL audio device shut down.
recursive shutdown
Error: (SDLGL) SDL SetVideoMode failed: No video mode large enough for 1600x1200

sonicbenj

  • Guest
Mac OSX and 1600x1200 resolution
« Reply #1 on: May 16, 2007, 01:38:55 am »
oh dear...

now it wont work at all even after a fresh install? gulp.

trying a reboot...

Last login: Wed May 16 00:33:59 on ttyp1
/Applications/UfoApp.app/Contents/MacOS/ufo; exit
Welcome to Darwin!
macduo:~ ben$ /Applications/UfoApp.app/Contents/MacOS/ufo; exit
Adding game dir: ./base
using /Users/ben/.ufoai/2.1.1/base for writing
Adding game dir: /Users/ben/.ufoai/2.1.1/base
couldn't exec default.cfg
execing config.cfg
couldn't exec keys.cfg
Hostname: macduo.home
IP: 192.168.1.66
...using language: C
Console initialized.

------- sound initialization -------
Loading snd_sdl sound driver
...library search path: '.'
Load library failed: dlopen(./snd_sdl.so, 1): image not found
------- Loading ref_sdl.dylib -------
LoadLibrary ("./ref_sdl.dylib") failed: No such file or directory
Dumped console text to /Users/ben/.ufoai/2.1.1/base/gl_debug.txt.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!
Consult gl_debug.txt for further information.
logout
[Process completed]

sonicbenj

  • Guest
Mac OSX and 1600x1200 resolution
« Reply #2 on: May 16, 2007, 01:42:46 am »
its dead jim...

sonicbenj

  • Guest
Mac OSX and 1600x1200 resolution
« Reply #3 on: May 16, 2007, 02:18:20 am »
right, well i've tried all the fixes on here and nothing is working. it seems to still want to boot at 1600x1200 which i think is causing the problem. i am guessing this is in a saved pref somewhere but i'll be darned if i can find it.

any help would be awesome.

cheers

ben

schoberth

  • Guest
Mac OSX and 1600x1200 resolution
« Reply #4 on: May 16, 2007, 07:03:02 am »
in your Home Directory, there is a hidden folder with the name .ufoai. Inside of this folder you find a file named config.cfg. Delete this file and your resolution Problems should be fixed.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Mac OSX and 1600x1200 resolution
« Reply #5 on: May 16, 2007, 07:55:48 am »
if you don't want to lose all your settings you can also start ufo with
Code: [Select]
./ufo +set gl_mode 6

glmode 6 is 1024x768

sonicbenj

  • Guest
Mac OSX and 1600x1200 resolution
« Reply #6 on: May 16, 2007, 12:12:12 pm »
hi both,

thanks for the info. now fixed! ye ha!

like i said before, totally brill to be playing ufo on my mac.

i'll let you know if i find anything else.

cheers

ben