|
|
Technical Support Questions about game technical support to the users of the community |
|
Thread Tools | Display Modes |
|
06-01-2012, 11:30 PM | #1 |
Banned
Join Date: Nov 2008
Location: France
Posts: 496
|
quickro.sh - bash script to avoid launcher when it fails
Code:
#!/bin/bash REGNUM_DIR="/home/${USER}/regnum" REGNUM_EXE_DIR="${REGNUM_DIR}/live" REGNUM_EXE_FILE="game" if [[ $1 == '' || $2 == '' ]];then echo "Usage : ./quickro.sh <username> <pass>\n" exit 0 fi HASH_PASSWD="`echo -n $2|md5sum|sed s/\ -$//`" echo "Running game as $1 with hash password $HASH_PASSWD ..." cd $REGNUM_EXE_DIR && ./$REGNUM_EXE_FILE $1 $HASH_PASSWD & |
06-02-2012, 02:17 AM | #2 |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
This helps buts avoid patching so it should be used only in emergencies.
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta! |
Thread Tools | |
Display Modes | |
|
|