<br /> alex@vegeta:~$ supertux2<br /> [INFO] /build/buildd/supertux-0.3.3/src/supertux/main.cpp:223 [/home/alex/.supertux2] is in the search path<br /> [WARNING] /build/buildd/supertux-0.3.3/src/video/texture_manager.cpp:212 Couldn't load texture 'images/engine/missing.png' (now using empty one): OpenGLError while 'creating texture': INVALID_VALUE: A numeric argument is out of range.<br /> [FATAL] /build/buildd/supertux-0.3.3/src/supertux/main.cpp:631 Unexpected exception: OpenGLError while 'creating texture': INVALID_VALUE: A numeric argument is out of range.<br />
L’errore riscontrato ci indica che il gioco tenta di partire di defautl in modalità grafica usando opengl, possiamo aggirare il problema forzandolo a usare sdl.
<br /> alex@vegeta:~$ supertux2 --help<br /> Usage: supertux2 [OPTIONS] [LEVELFILE]</p> <p>Options:<br /> -f, --fullscreen Run in fullscreen mode<br /> -w, --window Run in window mode<br /> -g, --geometry WIDTHxHEIGHT Run SuperTux in given resolution<br /> -a, --aspect WIDTH:HEIGHT Run SuperTux with given aspect ratio<br /> -d, --default Reset video settings to default values<br /> --renderer RENDERER Use sdl, opengl, or auto to render<br /> --disable-sfx Disable sound effects<br /> --disable-music Disable music<br /> -h, --help Show this help message and quit<br /> -v, --version Show SuperTux version and quit<br /> --console Enable ingame scripting console<br /> --noconsole Disable ingame scripting console<br /> --show-fps Display framerate in levels<br /> --no-show-fps Do not display framerate in levels<br /> --record-demo FILE LEVEL Record a demo to FILE<br /> --play-demo FILE LEVEL Play a recorded demo<br /> -s, --debug-scripts Enable script debugger.
Quindi in definitiva è suffiente eseguire il seguente comando:
<br /> alex@vegeta:~$ supertux2 --renderer=sdl --fullscreen<br />
Dopo l’esecuzione del comando il file di configurazione ~/.supertux2/config viene aggiornato e la successiva esecuzione dal menù giochi di ubuntu avviene normalmente senza generare nessun errore.
Per ulteriori informazioni vi rimando alla man page di ubuntu lucid lynx supertux2.
[ad name=”HTML”]