Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing resolutions and fullscreen options for fretonsonfire and hedge…

…wars
  • Loading branch information...
commit 93e2880992580d5a53ce130719b63ca744ad81d5 1 parent e3982c1
@svenstaro authored
View
59 games/fretsonfire/addons/fretsonfire.ini
@@ -0,0 +1,59 @@
+[engine]
+highpriority = True
+tickrate = 1.0
+
+[opengl]
+svgshaders = False
+supportfbo = False
+
+[game]
+leftymode = False
+tapping = True
+uploadscores = False
+language =
+uploadurl = http://fretsonfire.sourceforge.net/play
+
+[player]
+key_action1 = K_RETURN
+key_action2 = K_RSHIFT
+name =
+difficulty = 2
+key_up = K_UP
+key_right = K_RIGHT
+key_5 = K_F5
+key_4 = K_F4
+key_left = K_LEFT
+key_1 = K_F1
+key_3 = K_F3
+key_2 = K_F2
+key_cancel = K_ESCAPE
+key_down = K_DOWN
+
+[theme]
+base_color = #FFFF80
+fret3_color = #3333FF
+fret2_color = #FFFF22
+fret0_color = #22FF22
+fret4_color = #FF22FF
+selected_color = #FFBF00
+fret1_color = #FF2222
+background_color = #330000
+
+[video]
+multisamples = 4
+fullscreen = True
+fontscale = 1.0
+resolution = XXXXxYYYY
+fps = 80
+
+[audio]
+stereo = True
+screwupvol = 0.25
+guitarvol = 1.0
+delay = 100
+rhythmvol = 1.0
+frequency = 44100
+buffersize = 2048
+bits = 16
+songvol = 1.0
+
View
5 games/fretsonfire/init.sh
@@ -0,0 +1,5 @@
+install -D -m644 /opt/games/fretsonfire/addons/fretsonfire.ini /home/gamer/.fretsonfire/fretsonfire.ini
+xres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f1)
+yres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f2)
+sed -i -e "s/XXXX/$xres/" -e "s/YYYY/$yres/" /home/gamer/.fretsonfire/fretsonfire.ini
+chown -R gamer:users /home/gamer/.fretsonfire/
View
34 games/hedgewars/addons/hedgewars.ini
@@ -0,0 +1,34 @@
+[video]
+resolution=XXXXxYYYY
+fullscreen=true
+quality=5
+
+[frontend]
+effects=true
+fullscreen=true
+width=XXXX
+height=YYYY
+sound=true
+music=true
+
+[misc]
+weaponTooltips=true
+altdamage=false
+appendTimeToRecords=false
+locale=
+
+[audio]
+sound=true
+music=true
+volume=100
+
+[net]
+nick=gamer
+ip=
+port=46631
+servername=hedgewars server
+serverport=46631
+
+[fps]
+show=false
+limit=27
View
5 games/hedgewars/init.sh
@@ -0,0 +1,5 @@
+install -D -m644 /opt/games/hedgewars/addons/hedgewars.ini /home/gamer/.hedgewars/hedgewars.ini
+xres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f1)
+yres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f2)
+sed -i -e "s/XXXX/$xres/" -e "s/YYYY/$yres/" /home/gamer/.hedgewars/hedgewars.ini
+chown -R gamer:users /home/gamer/.hedgewars/
Please sign in to comment.
Something went wrong with that request. Please try again.