[Linux] Assistant to run SAMP with Wine 1.1.2+ -
[BoS]Kirill - 07.04.2010
This is my first job!
I created a simple bash script to simplify running SAMP in Linux.
In order to use it, you need to change the variables in its sole discretion!
Next, copy it to the directory /usr/bin, and run the commands:
$ samp
Code:
#!/bin/bash
#############################
###Made by ExIM aka Kirill###
########ICQ: 9815041#########
#############################
NICK=[root]ExIM #Nick
SRV_PASS= #Password (if required)
GAME_LOCATION="/windows/Games/GTA San Andreas/" #Folder with the game
IP_SRV="82.200.209.235" #IP Address Server
PORT_SRV="7777" #Port Server
if cd "$GAME_LOCATION" 2>/dev/null; then
echo "Go to the directory made."
echo 'We try to go ... If you hang up, Click Ctrl + C and try again...'
wine gta_sa.exe -c -h $IP_SRV -p $PORT_SRV -z $SRV_PASS -n $NICK
else
echo "Error! Most likely you do not specify the correct directory with the game!"
fi
exit 0
Rate the script with the permissions 777 can be downloaded here to see prices:
http://rapidshare.com/files/372963722/samp.html
ps sorry for my English, I used a translator
Re: [Linux] Assistant to run SAMP with Wine 1.1.2+ -
Toby96 - 08.04.2010
isn't that unnecessary?
At my pc, (ubuntu 9.10, newest wine beta), sa-mp works nearly perfect, sometimes the b is missing in the chat.