Thread: Quake 3 on N900
View Single Post
Posts: 31 | Thanked: 18 times | Joined on Mar 2010 @ Venlo-Blerick, The Netherlands
#396
here's how you let maemo ioquake3 run in the n900's native res of 800x480, as opposed to the 640x480 it runs in by default. in order to do so, 3 variables have to be set.

r_customwidth 800
r_customheight 480
r_mode -1

this can be done in a couple of different ways:

- method 1: edit /home/user/.q3a/baseq3/q3config.cfg, find the variables and change them.

- method 2: edit autoexec.cfg and add the following:
seta r_customwidth 800
seta r_customheight 480
seta r_mode -1

if you're not sure where autoexec.cfg is located, open a terminal;
sudo gainroot
cd /
find . -name autoexec.cfg

- method 3: add it to the command line, my /usr/bin/quake3 file looks like this (i use a non default install path btw, replace it with your own, i can't remember what the default one is). this involves more editting, only do this if you're comfortable doing so:

#!/bin/sh
/usr/bin/ioquake3.arm +set fs_basepath /home/user/MyDocs/games/quake3 +set r_customwidth 800 +set r_customheight 480 +set r_mode -1 "$*"

i've changed /user/share/applications/hildon/quake3.desktop to point to /usr/bin/quake3, but you can set them in quake3.desktop as well, keep it pointed directly to /usr/bin/ioquake3.arm, followed by the command line options. edit: ioquake3.desktop might be the default desktop file i think.

adding them to autoexec.cfg or the command line requires you to start the game, exit and restart q3 in order for the changes to come into effect. (on a desktop pc one could change these variables in the console and do a "/vid_restart".)

off topic, here are command line options to run sdlquake and sdlquake2 in 800x640 too: http://talk.maemo.org/showthread.php...025#post578025

Last edited by cure; 2010-03-28 at 17:10.
 

The Following User Says Thank You to cure For This Useful Post: