Advertisement
Guest User

runcommand-onstart.sh truncated

a guest
Apr 9th, 2020
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.27 KB | None | 0 0
  1.     # default to 1600x240p
  2.     else
  3.         vcgencmd hdmi_timings 1600 1 85 157 192 240 1 4 3 15 0 0 0 60 0 32000000 1 > /dev/null #VGA666 Generic 1600x240p Timing
  4.         tvservice -e "DMT 87" > /dev/null
  5.         fbset -depth 24 && fbset -depth 24 -xres 1600 -yres 240 > /dev/null #Retrotink 24b depth
  6. #       fbset -depth 8 && fbset -depth 16 -xres 1600 -yres 240 > /dev/null #VGA666 16b depth
  7.     fi
  8. elif
  9.     [[ "$system" == "kodi" ]] ||
  10.     [[ "$system" == "kodi-standalone" ]] ; then
  11.         vcgencmd hdmi_timings 1600 1 85 157 192 240 1 4 3 15 0 0 0 60 0 32000000 1 > /dev/null #VGA666 Generic 1600x240p Timing
  12.         tvservice -e "DMT 87" > /dev/null
  13.         fbset -depth 24 && fbset -depth 24 -xres 1600 -yres 240 > /dev/null #Retrotink 24b depth
  14. #       fbset -depth 8 && fbset -depth 16 -xres 1600 -yres 240 > /dev/null #VGA666 16b depth
  15. else
  16. # for non-libretro emulators switch to 320x240p
  17.     vcgencmd hdmi_timings 320 1 23 30 34 240 1 4 3 15 1 0 0 60 0 6400000 1 > /dev/null #Retrotink 320x240p Timing
  18. #   vcgencmd hdmi_timings 320 1 16 30 34 240 1 2 3 22 0 0 0 60 0 6400000 1 > /dev/null #VGA666 320x240p Timing
  19.     tvservice -e "DMT 87" > /dev/null
  20.     fbset -depth 24 && fbset -depth 24 -xres 320 -yres 240 > /dev/null #Retrotink 24b depth
  21. #   fbset -depth 8 && fbset -depth 16 -xres 320 -yres 240 > /dev/null #VGA666 16b depth
  22. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement