diff --git a/.cpirc b/.cpirc index 5ed1a86..731f94a 100644 --- a/.cpirc +++ b/.cpirc @@ -1,12 +1,19 @@ SCREEN=`cat /sys/class/graphics/fb0/modes` + +XORG_CONF="/home/cpi/launchergo/.xorg.conf" +if [ -f ~/.lima ] +then +XORG_CONF="/home/cpi/launchergo/.xorg_lima.conf" +fi + if [ -f /tmp/autologin ] then rm -f /tmp/autologin mpd ~/.mpd.conf if [[ $SCREEN =~ .*320.* ]] then - startx /home/cpi/launchergo/.xinitrc -- -nocursor > /tmp/x.log 2>&1 + startx /home/cpi/launchergo/.xinitrc -- -xf86config $XORG_CONF -nocursor > /tmp/x.log 2>&1 else - startx /home/cpi/launchergo/.xinitrc hdmi > /tmp/x.log 2>&1 + startx /home/cpi/launchergo/.xinitrc hdmi -- -xf86config $XORG_CONF > /tmp/x.log 2>&1 fi fi diff --git a/.xinitrc b/.xinitrc index 28c2d05..490a3f0 100644 --- a/.xinitrc +++ b/.xinitrc @@ -5,13 +5,15 @@ hdmi ) feh --bg-center ~/launchergo/sysgo/gameshell/wallpaper/desktopbg.jpg exec ~/launchergo/load.sh & exec ~/launcher/sys.py/gsnotify/gsnotify-arm daemon & - exec /usr/bin/twm -f ~/launchergo/.twmrc +# exec /usr/bin/twm -f ~/launchergo/.twmrc + exec ~/launchergo/dwm-mod ;; gameshell ) feh --bg-center ~/launchergo/sysgo/gameshell/wallpaper/loading.png exec ~/launchergo/load.sh & exec ~/launcher/sys.py/gsnotify/gsnotify-arm & - exec awesome -c ~/launchergo/awesome/rc.lua +# exec awesome -c ~/launchergo/awesome/rc.lua + exec ~/launchergo/dwm-mod ;; *) exec $1;; diff --git a/.xorg.conf b/.xorg.conf new file mode 100644 index 0000000..fa95690 --- /dev/null +++ b/.xorg.conf @@ -0,0 +1,7 @@ +Section "Device" + Identifier "Allwinner A10/A13 FBDEV" + Driver "fbturbo" + Option "fbdev" "/dev/fb0" + + Option "SwapbuffersWait" "true" +EndSection diff --git a/.xorg_lima.conf b/.xorg_lima.conf new file mode 100644 index 0000000..8c4fac2 --- /dev/null +++ b/.xorg_lima.conf @@ -0,0 +1,7 @@ +Section "Device" + Identifier "Allwinner A10/A13 FBDEV" + Driver "modesetting" + Option "fbdev" "/dev/fb0" + + Option "SwapbuffersWait" "true" +EndSection diff --git a/Menu/GameShell/20_Retro Games/Pcsx/.gitignore b/Menu/GameShell/20_Retro Games/Pcsx/.gitignore new file mode 100644 index 0000000..d0a90a2 --- /dev/null +++ b/Menu/GameShell/20_Retro Games/Pcsx/.gitignore @@ -0,0 +1,8 @@ +bios +bios/* +screenshots +screenshots/* +.pcsx +.pcsx/* +*.log + diff --git a/Menu/GameShell/20_Retro Games/Pcsx/Pcsx.png b/Menu/GameShell/20_Retro Games/Pcsx/Pcsx.png new file mode 100644 index 0000000..361b9a3 Binary files /dev/null and b/Menu/GameShell/20_Retro Games/Pcsx/Pcsx.png differ diff --git a/Menu/GameShell/20_Retro Games/Pcsx/Pcsx.sh b/Menu/GameShell/20_Retro Games/Pcsx/Pcsx.sh new file mode 100755 index 0000000..03a4a07 --- /dev/null +++ b/Menu/GameShell/20_Retro Games/Pcsx/Pcsx.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./pcsx diff --git a/Menu/GameShell/20_Retro Games/Pcsx/README.md b/Menu/GameShell/20_Retro Games/Pcsx/README.md new file mode 100644 index 0000000..e8cc196 --- /dev/null +++ b/Menu/GameShell/20_Retro Games/Pcsx/README.md @@ -0,0 +1,17 @@ +# Pcsx for GameShell + +Pcsx emulator for GameShell + +[orig post ](https://forum.clockworkpi.com/t/gcw-zero-pcsx4all-for-gs/433) + +launcher version before 2.0: + +Just clone it into ~/apps/launcher/Menu/GameShell and reload [Launcher](https://github.com/clockworkpi/launcher) + +launcher version 2.0: +Just clone it into ~/apps/Menu/ and reload [Launcher](https://github.com/clockworkpi/launcher) + + + + + diff --git a/Menu/GameShell/20_Retro Games/Pcsx/ScreenShots/.gitkeep b/Menu/GameShell/20_Retro Games/Pcsx/ScreenShots/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Menu/GameShell/20_Retro Games/Pcsx/pcsx b/Menu/GameShell/20_Retro Games/Pcsx/pcsx new file mode 100755 index 0000000..32ac4d2 Binary files /dev/null and b/Menu/GameShell/20_Retro Games/Pcsx/pcsx differ diff --git a/Menu/GameShell/20_Retro Games/Pcsx/pcsx.md5sum b/Menu/GameShell/20_Retro Games/Pcsx/pcsx.md5sum new file mode 100644 index 0000000..11f0e1b --- /dev/null +++ b/Menu/GameShell/20_Retro Games/Pcsx/pcsx.md5sum @@ -0,0 +1 @@ +8a4e0d1746e2bfcfb3c877cfdbf4953f pcsx diff --git a/dwm-mod b/dwm-mod new file mode 100755 index 0000000..ab5dabc Binary files /dev/null and b/dwm-mod differ diff --git a/md5sum.sh b/md5sum.sh index 9ea2d9e..1e384ee 100755 --- a/md5sum.sh +++ b/md5sum.sh @@ -3,6 +3,7 @@ set -x find . -iname "*.so" -exec md5sum {} + > md5sum.log echo `md5sum main` >> md5sum.log +echo `md5sum dwm-mod` >> md5sum.log