# Preparing translations
en_co()
{
LNG_CO_PRES="Conquer Online is a Massive Multiplayer Online Role Playing Game (MMORPG). In Conquer, thousands of online players adventure together in an enormous, persistent game world, forming friendships, slaying monsters, engaging in quests, and role-playing their characters in the game world."
LNG_CO_PRES_TITLE="Game Announce"
LNG_CO_DOWNED="Choose already downloaded .exe or .zip installer"
LNG_CO_URL="Open link in default browser to download installer manually"
LNG_CO_HOWTO="Please, choose preferable mirror on the page that will be displayed and download the client.
Make sure its VERSION is NOT LOWER than v5022 or installation can FAIL"
LNG_CO_WAIT_END="Click on "Next" after downloading and then indicate where the installer has been stored"
LNG_CO_INSTALLER_QUESTION="Where is the installer?"
LNG_CO_INSTALLER_ERROR="You have to choose the proper file"
LNG_CO_DEFAULT="Please, use default directory 'C:\Program Files\Conquer 2.0' in windows installation dialog."
LNG_CO_WINE_DOWNLOAD="We have to download and prepare wine version 1.0~rc2
with the patch for animated cursor.
Thanx to H.Verbeet for patch"
LNG_WA_EXTRACT_WAIT="Please, wait for preparing wine installation"
LNG_CO_FONT_DOWNLOAD="We have to download Sim Sun font"
LNG_CO_WINE_EXISTS="Patched wine version installed successfully or already present"
LANG_CO_WINEFAILED="Sorry, patched wine installation not found or failed, you need to redownload wine package"
LANG_CO_LAST="Installation finished. Don't forget to register an account on site for playing.
ATTENTION:
You MUST hold ALT button during LOGIN and PASSWORD input or you'll be unable to connect.
To make your life easy you can check 'Remember' on logon screen"
LANG_CO_CANCEL="Script canceled"
LANG_CO_FIN="Finish"
}
fr_co()
{
LNG_CO_PRES="FRENCH! Conquer Online is a Massive Multiplayer Online Role Playing Game (MMORPG). In Conquer, thousands of online players adventure together in an enormous, persistent game world, forming friendships, slaying monsters, engaging in quests, and role-playing their characters in the game world."
LNG_CO_PRES_TITLE="Game Announce"
LNG_CO_DOWNED="Choose already downloaded .exe or .zip installer"
LNG_CO_URL="Open link in default browser to download installer manually"
LNG_CO_HOWTO="Please, choose preferable mirror on the page that will be displayed and download the client.
Make sure its VERSION is NOT LOWER than v5022 or installation can FAIL"
LNG_CO_WAIT_END="Click on "Next" after downloading and then indicate where the installer has been stored"
LNG_CO_INSTALLER_QUESTION="Where is the installer?"
LNG_CO_INSTALLER_ERROR="You have to choose the proper file"
LNG_CO_DEFAULT="Please, use default directory 'C:\Program Files\Conquer 2.0' in windows installation dialog."
LNG_CO_WINE_DOWNLOAD="We have to download and prepare wine version 1.0~rc2
with the patch for animated cursor.
Thanx to H.Verbeet for patch"
LNG_WA_EXTRACT_WAIT="Please, wait for preparing wine installation"
LNG_CO_FONT_DOWNLOAD="We have to download Sim Sun font"
LNG_CO_WINE_EXISTS="Patched wine version installed successfully or already present"
LANG_CO_WINEFAILED="Sorry, patched wine installation not found or failed, you need to redownload wine package"
LANG_CO_LAST="Installation finished. Don't forget to register an account on site for playing.
ATTENTION:
You MUST hold ALT button during LOGIN and PASSWORD input or you'll be unable to connect.
To make your life easy you can check 'Remember' on logon screen"
LANG_CO_CANCEL="Script canceled"
LANG_CO_FIN="Finish"
}
#define variables for wine version to easy change it later
# WINE_PACK_CO="1.0-rc2_ani.tar.gz"
# WINE_VER_CO="1.0-rc2_ani"
WINE_PACK_CO="wine-ani.tar.gz"
WINE_VER_CO="1.0~rc1.ani"
# define function to really cancel the script execution and remove tmp directories
cancel_co ()
{
if [ "$?" = "1" ]
then
attention "$LANG_CO_CANCEL" "$LANG_CO_FIN" 0 0 0 "" "$LANG_CO_FIN"
rm $REPERTOIRE/tmp/ConquerOnline/ -r
rm $REPERTOIRE/wineprefix/ConquerOnline -r
exit 0
fi
}
#define function to check proper installer
check_installer()
{
INSTALLER_PATH=$(select_file "$LNG_CO_INSTALLER_QUESTION" "" 3 11 1 )
cancel_co
#define variable for filename for easy script reading
FILE_NAME=$(basename "$INSTALLER_PATH")
#define variables that check picked filename for beginning string and for extension
GAME_NAME=$(expr "$FILE_NAME" : '\(Conquer\)')$(expr "$FILE_NAME" : '.*\(.exe\)')
ZIP_NAME=$(expr "$FILE_NAME" : '\(Conquer\)')$(expr "$FILE_NAME" : '.*\(.zip\)')
#message "$ZIP_NAME"
#first checking for .exe file, if not - call the function from the beginning,
#if .exe ok - check for zip, if ok - extract and change installer path for wine
if [ "$GAME_NAME" != "Conquer.exe" ]
then
if [ "$ZIP_NAME" != "Conquer.zip" ]
then
error "$LNG_CO_INSTALLER_ERROR" "" 0 0 1 "" ""
check_installer
else
run_and_wait "$LNG_EXTRACT_WAIT" "unzip $INSTALLER_PATH -d $REPERTOIRE/tmp/ConquerOnline/" "" 4 11 1
cancel_co
#so as we don't really know filename we will check temp directory for extracted .exe
INSTALLER_PATH="$(ls | grep .exe)"
fi
fi
}
# define function for checking if /WineVersions/1.0-rc2_ani exists in case of failed downloading
check_wine_co()
{
if [ ! -e "$REPERTOIRE/WineVersions/$WINE_VER_CO/usr/bin/wine" ]
then
message "$LANG_CO_WINEFAILED"
rm $REPERTOIRE/WineVersions/$WINE_VER_CO/ -r
download "$LNG_CO_WINE_DOWNLOAD" "http://switch.dl.sourceforge.net/sourceforge/djlrepository/$WINE_PACK_CO" "" 5 11 1
run_and_wait "$LNG_EXTRACT_WAIT" "tar -xvzf $WINE_PACK_CO" "" 6 11 1
cancel_co
cp -r "$WINE_VER_CO" $REPERTOIRE/WineVersions/
check_wine_co
else
message "$LNG_CO_WINE_EXISTS" "" 5 11
fi
}
#add fonts to registry
add_fonts()
{
echo "\"Arial\"=\"arial.ttf\"" >> $REPERTOIRE/tmp/ConquerOnline/fix.reg
echo "\"Courier New\"=\"cour.ttf\"" >> $REPERTOIRE/tmp/ConquerOnline/fix.reg
echo "\"Sim Sun\"=\"simsun.ttf\"" >> $REPERTOIRE/tmp/ConquerOnline/fix.reg
}
# change language
case "$POL_LANG" in
"fr_FR.UTF-8")
fr_co
;;
"en_US.UTF-8")
en_co
;;
*)
en_co
;;
esac
#prepare clean directory
if [ -d "$REPERTOIRE/tmp/ConquerOnline/" ]
then
rm $REPERTOIRE/tmp/ConquerOnline/ -R
fi
mkdir -p $REPERTOIRE/tmp/ConquerOnline
cd $REPERTOIRE/tmp/ConquerOnline/
#tell user about download options or proceed to downloading
message "$LNG_CO_PRES" "$LNG_CO_PRES_TITLE"
down=$(menu "" "$LNG_CO_DOWNED"~"$LNG_CO_URL" "" 1 11 1 "" "~")
cancel_co
if [ "$down" == "$LNG_CO_URL" ]
then
message "$LNG_CO_HOWTO" "" 2 11
browser http://co.91.com/downloads/client.shtml
message "$LNG_CO_WAIT_END"
fi
check_installer
#Downloading and installing wine with patch for animated cursors
#mkdir -p $REPERTOIRE/tmp/ConquerOnline
cd $REPERTOIRE/tmp/ConquerOnline/
#install game with patched wine
attention "$LNG_CO_DEFAULT" "" 8 11
Set_WineVersion_Session "$WINE_VER_CO"
cd $REPERTOIRE/tmp/ConquerOnline/
wine "$INSTALLER_PATH"
#download simsun font and fix Fonts prefix problem
if [ -d "$REPERTOIRE/wineprefix/ConquerOnline/drive_c/windows/Fonts/" ]
then
rm $REPERTOIRE/wineprefix/ConquerOnline/drive_c/windows/Fonts/ -R
fi
cd $REPERTOIRE/wineprefix/ConquerOnline/drive_c/windows/
ln -s fonts Fonts
Aren`t here Guides and Releases?
I tought it`s ok but if I think better it`s more related to Conquer Online 2.0 than Conquer Online private servers.
Yep, should be moved.
In the PlayOnLinux gui from the ubuntu repositories, under Tools you say we should find an Install DirectX thing, but it`s not there, and after trying in both wine and POL to install some directx packages, and even all of them, I still get the "Your direct3d is not compatible with your blahblah" .. so.. any suggestions?
Yeah, I just feel like I`m missing something simple here. The game installs just fine in both wine and POL, and then I have to install the set of updates 5910-5935 manually (that also works fine) but when the Conquer interface wants to start I get that retarded picture in the middle of the screen that pops up right before the client and right there I get that Direct3D incompatibility error.
I tried running it as win xp/7/8 with dx 9/10/11 and even all dx installed in the same time, I get the same error.
I'm running a nvidia card and the intel graphic card, and I have this feeling that wine is using the intel one, specially because nvidia-prime works like **** so I`m using bumblebee for my Optimus needs.
I`ll just dig more into the man pages and see where that takes me.
Let me know if anyone else is experiencing anything of the sorts.
Conquer Server running on Linux(Ubuntu) 12/03/2011 - CO2 Private Server - 14 Replies Hey Guys,
im currently thinking about to start playing a bit with a ConquerServer.
Im still wondering bout that no guides are available to run one under a unix based System.
Is it possible to create a Conquer Server under Ubuntu and has maybe someone allready created a guide for ?
greetings
LeX
Conquer online 2 on Linux 04/18/2010 - Conquer Online 2 - 4 Replies I've been searching for a way to play CO2 on my linux HP labtop, I currently got a desktop as well but its pretty shitty, well its a good machine but its old. I recently got this labtop for my 360, but its got linux Ubuntu 9.4 on it. I'm not a complete n00b when it comes to computers. I was just wondering if anyone HERE has had success with playing CO2 on linux?!
Thanks in advance.
[GUIDE] Installing Silkroad on Linux 09/10/2008 - SRO Guides & Templates - 4 Replies Over teh few months people been emailing and PMing me at asking if i ever post a guide on how to run Silkroad on linux
First of all u dont need any skills about coding and etc... just one skill u need
its called:
"Internet Savy"
System requirements:
Operating System: Ubuntu Linux (Hardy heron 8.04 LTS)
RAM: 512 mb
How to Run Conquer Online at Linux machine 03/04/2007 - Conquer Online 2 - 8 Replies i need some help from linux gurus on how to run my CONQUER at linux machine, i used cedega but dont know how to configure, any pros wanna help much be appreciated.
my OS: Fedora3
thanks in Advance.
installing conqer on linux!!!! 02/05/2007 - Conquer Online 2 - 2 Replies okay i need help with installing conquer with abuntu (aka: linux), i'm using wine but i can't figure out how to use it..... anyhelp?!!?