Difference between revisions of "Fodquake-sw"

From QWiki
*>Raket
(New page: Fodquake-0.4 (dev) and newer supports scaling. Easy to fix it is something like this: file svga [code] xinit ~/quake/startsvga -- :1 [/code] For CRT monitor on VGA1 on intel gfx. file...)
 
*>Raket
 
Line 4: Line 4:
  
 
file svga
 
file svga
[code]
+
  xinit ~/quake/startsvga -- :1
xinit ~/quake/startsvga -- :1
+
 
[/code]
 
  
  
 
For CRT monitor on VGA1 on intel gfx.
 
For CRT monitor on VGA1 on intel gfx.
 
file startsvga
 
file startsvga
[code]
+
  xrandr --newmode "640x400_160.00"  60.83  640 680 752 864  400 401 404 440  -HSync +Vsync
xrandr --newmode "640x400_160.00"  60.83  640 680 752 864  400 401 404 440  -HSync +Vsync
+
  xrandr --addmode VGA1 "640x400_160.00"
xrandr --addmode VGA1 "640x400_160.00"
+
  xrandr --output LVDS1 --off
xrandr --output LVDS1 --off
+
  xrandr -s 640x400_160.00
xrandr -s 640x400_160.00
+
  xrandr --rate 160  
xrandr --rate 160  
+
  xset -dpms
xset -dpms
+
  xset s off
xset s off
+
  cd ~/quake/
cd /home/raket/quake/
+
  xset m 0
xset m 0
+
  xrandr --output VGA1 --scale 0.5x0.5
xrandr --output VGA1 --scale 0.5x0.5
+
  #./fodquake-sw
#./fodquake-sw
+
  xterm
xterm
 
[code]
 
  
 
Now start fodquake:
 
Now start fodquake:
./fodquake-sw +vid_fullscreen 0  
+
  ./fodquake-sw +vid_fullscreen 0  
 
go into options -> video modes, press right till clone desktop is chosen, press enter.
 
go into options -> video modes, press right till clone desktop is chosen, press enter.
  
 
Note you might wanna do that before running above scripts.
 
Note you might wanna do that before running above scripts.

Latest revision as of 10:50, 7 July 2015

Fodquake-0.4 (dev) and newer supports scaling.

Easy to fix it is something like this:

file svga

  xinit ~/quake/startsvga -- :1


For CRT monitor on VGA1 on intel gfx. file startsvga

  xrandr --newmode "640x400_160.00"  60.83  640 680 752 864  400 401 404 440  -HSync +Vsync
  xrandr --addmode VGA1 "640x400_160.00"
  xrandr --output LVDS1 --off
  xrandr -s 640x400_160.00
  xrandr --rate 160 
  xset -dpms
  xset s off
  cd ~/quake/
  xset m 0
  xrandr --output VGA1 --scale 0.5x0.5
  #./fodquake-sw
  xterm

Now start fodquake:

  ./fodquake-sw +vid_fullscreen 0 

go into options -> video modes, press right till clone desktop is chosen, press enter.

Note you might wanna do that before running above scripts.