+ Added scripts directory

This commit is contained in:
ziro 2020-04-19 14:31:51 +07:00
parent c42020a930
commit 08332199a2
23 changed files with 547 additions and 0 deletions

31
.scripts/games/3ds.sh Executable file
View file

@ -0,0 +1,31 @@
#!/bin/dash
#Game Lists ------------
tridsgame="Back\0icon\x1fzback
Animal Crossing - New Leaf
Corpse Party\0icon\x1fzcorpseparty
Harvest Moon 3D - A New Beginning\0icon\x1fzHarvMoon_Newb
New Super Mario Bros. 2\0icon\x1fznsmb2
Pokemon Omega Ruby\0icon\x1fzpokemon-omegaruby
Pokemon Ultra Moon\0icon\x1fzpokemon-ultramoon
Pokemon X\0icon\x1fzpokemon-x
Radiant Historia\0icon\x1fzradiant
Super Mario 3D Land\0icon\x1fzsm3d
"
#Scripts ---------------
chosen3ds=$(echo -e "$tridsgame" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
case $chosen3ds in
"Back") sh ~/.scripts/play.sh ;;
"Super Mario 3D Land") notify-send "Launching..." "$chosen3ds" && citra-qt "my Games/3DS/$chosen3ds.3ds" ;;
"New Super Mario Bros. 2") notify-send "Launching..." "$chosen3ds" && citra-qt "my Games/3DS/$chosen3ds.3ds" ;;
"Corpse Party") notify-send "Launching..." "$chosen3ds" && citra-qt "my Games/3DS/Corpse Party.3ds" ;;
"Pokemon X") notify-send "Launching..." "$chosen3ds" && citra-qt "my Games/3DS/Pokemon X.3ds" ;;
"Pokemon Ultra Moon") notify-send "Launching..." "$chosen3ds" && citra-qt "my Games/3DS/Pokemon Ultra Moon.cxi" ;;
"Pokemon Omega Ruby") notify-send "Launching..." "$chosen3ds" && citra-qt "my Games/3DS/Pokemon Omega Ruby.3ds" ;;
"Radiant Historia") notify-send "Launching..." "$chosen3ds" && citra-qt "my Games/3DS/Radiant Historia.3ds" ;;
"Harvest Moon 3D - A New Beginning") notify-send "Launching..." "$chosen3ds" && citra-qt "my Games/3DS/$chosen3ds.3ds" ;;
"Animal Crossing - New Leaf") notify-send "Launching..." "$chosen3ds" && citra-qt "my Games/3DS/$chosen3ds.3ds" ;;
esac

21
.scripts/games/mcpe.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/dash
#Version Lists ---------
mcpeversion="Back\0icon\x1fzback
Latest
1.14.30.51
1.14.25.1
1.14.1.4"
#Scripts ---------------
chosenmcpe=$(echo -e "$mcpeversion" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
case "$chosenmcpe" in
Back) sh ~/.scripts/play.sh ;;
Latest) notify-send "Launching..." "MCPE Latest Version" && mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/1.14.30.51 ;;
1.14.30.51) notify-send "Launching..." "MCPE Version: $chosenmcpe" && mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/$chosenmcpe ;;
1.14.25.1) notify-send "Launching..." "MCPE Version: $chosenmcpe" && mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/$chosenmcpe ;;
1.14.1.5) notify-send "Launching..." "MCPE Version: $chosenmcpe" && mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/1.14.1.5 ;;
1.14.1.4) notify-send "Launching..." "MCPE Version: $chosenmcpe" && mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/1.14.1.4 ;;
esac

15
.scripts/games/nds.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/dash
#Game Lists ------------
games="Back\0icon\x1fzback
Pokemon Black\0icon\x1fzndscart
Pokemon Black 2\0icon\x1fzndscart"
#Scripts ---------------
chosen=$(echo -e "$games" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
case $chosen in
Back) sh ~/.scripts/play.sh ;;
"Pokemon Black") notify-send "$chosen" "Not available yet." ;;
"Pokemon Black 2") notify-send "$chosen" "Not available yet." ;;
esac

17
.scripts/games/nes.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/dash
#Game Lists ------------
games="Back\0icon\x1fzback
Pac-Man\0icon\x1fznescart
Super Mario Bros.\0icon\x1fznescart
Tetris\0icon\x1fznescart"
#Scripts ---------------
chosenNes=$(echo -e "$games" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
case $chosenNes in
Back) sh ~/.scripts/play.sh ;;
"Pac-Man") notify-send "$chosenNes" "Not available yet." ;;
"Super Mario Bros.") notify-send "$chosenNes" "Not available yet." ;;
"Tetris") notify-send "Launching..." "$chosenNes" && nestopia -f "$HOME/my Games/NES/Tetris (USA).nes"
esac

13
.scripts/games/pc.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/dash
#Game Lists ------------
games="Back\0icon\x1fzback\nTint (Tetris Clone)\nNothing."
#Scripts ---------------
chosen=$(echo -e "$games" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
case $chosen in
Back) sh ~/.scripts/play.sh ;;
"Tint (Tetris Clone)") notify-send "Launching..." "$chosen" && urxvt -e tint ;;
"Nothing.") notify-send "$chosen" "Not available yet." ;;
esac

17
.scripts/games/ps2.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/dash
#Game Lists ------------
pstwo="Back\0icon\x1fzback
Okami\0icon\x1fzdisk
Persona 3 FES\0icon\x1fzdisk
Persona 4\0icon\x1fzdisk"
#Scripts ---------------
chosenps2=$(echo -e "$pstwo" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
case $chosenps2 in
Back)sh ~/.scripts/play.sh ;;
"Okami") notify-send "Launching..." "$chosenps2" && PCSX2 --nogui --fullscreen "$HOME/my Games/PS2/Okami.iso" ;;
"Persona 3 FES") notify-send "Launching..." "$chosenps2" && PCSX2 --nogui --fullscreen "$HOME/my Games/PS2/Persona 3 FES.iso" ;;
"Persona 4") notify-send "$chosenps2" "Not available yet." ;;
esac