Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Go to the Game Directory
- DIR="$( cd -P "$( dirname "$0" )" && pwd )"
- cd "$DIR" && cd ..
- export WINEPREFIX="$PWD/wine"
- export WINEDEBUG="-all"
- if [ "$UID" == "0" ]; then
- luser=`who | head -1 | tail -1 | awk '1 {print $1}'`
- su -c "xmessage -center -print \"No se debe lanzar Este script como root lo unico que lograras es configurar wine en la cuenta equivocada\"" $luser
- exit
- else
- usuario=`whoami`
- fi
- statuswine=`dpkg -s wine | grep -i status`
- if [ "$statuswine" == "Status: unknown ok not-installed" ]; then
- xmessage -center -print "W.i.n.e is not installed the process will fail for sure"
- xmessage -center -print "Install W.i.n.e and then try again"
- exit
- #Status: install ok installed
- #Status: unknown ok not-installed
- else
- cd ~/
- echo "It's winetricks in the system"
- if [ -e "winetricks" ]; then
- echo "You Have Winetricks"
- else
- echo "You Don't Have Winetricks"
- wget http://winetricks.org/winetricks
- fi
- echo "Please Wait Downloads & Installations"
- bash winetricks "fakejapanese" "cjkfonts" "takao" "d3dx9_42" "fontfix" "wsh56" "vcrun6"
- echo "You can run Japaneses Games when all installations be Completed"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement