Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Guides & Templates
You last visited: Today at 08:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Installing Conquer Online 2.0 on Linux Ubuntu

Discussion on Installing Conquer Online 2.0 on Linux Ubuntu within the CO2 Guides & Templates forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Angellinho's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 102
Received Thanks: 25
Installing Conquer Online 2.0 on Linux Ubuntu

First of all get Conquer Online client :

Second thing, install Install Play On Linux (POL).
Open Terminal and write:
PHP Code:
sudo wget http://playonlinux.botux.net/playonlinux_hardy.list -O /etc/apt/sources.list.d/playonlinux.list
wget -q http://playonlinux.botux.net/pol.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt
-get install playonlinux 
Now copy the script below to your Documents folder:

PHP Code:
#!/bin/bash
if [ "$PLAYONLINUX"" ]
then
exit 0
fi
source 
"$PLAYONLINUX/lib/sources"

cfg_check

#Game and script presentation
presentation "Conquer Online" "TQ Digital" "http://co.91.com" "chain" "ConquerOnline"

# 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_FIN0 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 [ ! -
"$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 
-"$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_LANGin
"fr_FR.UTF-8")
fr_co
;;
"en_US.UTF-8")
en_co
;;
*)
en_co
;;
esac

#prepare clean directory
if [ -"$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/

#prepare patched wine
check_wine_co

#Prefix's creation
mkdir -p $REPERTOIRE/wineprefix/ConquerOnline/
select_prefix "$REPERTOIRE/wineprefix/ConquerOnline/"
polprefixcreate 7 11

#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 [ -"$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

cd $REPERTOIRE
/tmp/ConquerOnline/
download "$LNG_CO_FONT_DOWNLOAD" "http://www.vietnamtourism.com/c_pages/font/simsun.ttf" "" 9 11 0
cp 
-f simsun.ttf $REPERTOIRE/wineprefix/ConquerOnline/drive_c/windows/Fonts/

#copy needed dll's from game directory
cp -f $REPERTOIRE/wineprefix/ConquerOnline/drive_c/ProgramFiles/Conquer2.0/mfc42.dll $REPERTOIRE/wineprefix/ConquerOnline/drive_c/windows/system32/
cp -f $REPERTOIRE/wineprefix/ConquerOnline/drive_c/ProgramFiles/Conquer2.0/msvcp60.dll $REPERTOIRE/wineprefix/ConquerOnline/drive_c/windows/system32/

# Apply Fix with dll's and fonts in menu
echo "[HKEY_CURRENT_USER\Software\Wine\DllOverrides]" $REPERTOIRE/tmp/ConquerOnline/fix.reg
echo "\"mfc42\"=\"native\"" >> $REPERTOIRE/tmp/ConquerOnline/fix.reg
echo "\"msvcp60\"=\"native\"" >> $REPERTOIRE/tmp/ConquerOnline/fix.reg
echo "[HKEY_CURRENT_CONFIG\Software\Fonts]" >> $REPERTOIRE/tmp/ConquerOnline/fix.reg
echo "\"LogPixels\"=dword:00000051" >> $REPERTOIRE/tmp/ConquerOnline/fix.reg
echo "[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Fonts]" >> $REPERTOIRE/tmp/ConquerOnline/fix.reg
add_fonts
echo "[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]" >> $REPERTOIRE/tmp/ConquerOnline/fix.reg
add_fonts
regedit $REPERTOIRE
/tmp/ConquerOnline/fix.reg

#change wine options, reboot and create launcher
Set_Desktop On 1024 768
simulate_reboot 10 11
cd $DESKTOP 
&& rm -"Conquer 2.0.lnk" "Conquer 2.0.desktop"
creer_lanceur "ConquerOnline" "Program Files/Conquer 2.0/" "play.exe" "ConquerOnline" "Conquer Online"
Set_WineVersion_Assign "$WINE_VER_CO" "Conquer Online"

#tell user about sign-in specific issues, clear temp and finish.
attention "$LANG_CO_LAST" "$LANG_CO_FIN11 11 0 "" "$LANG_CO_FIN"
rm $REPERTOIRE/tmp/ConquerOnline/ -R
exit 
Fourth thing, Run POL from Application>Games>Play On Linux
From Tools Menu > Run a Non-Official Script and paste the script below.

Fifth, browse for the script that u just saved from your Documents Folder.

NOTE: After installation, go to Tools Menu and install Direct X.

Chain2k credits.
Good Luck.
Angellinho is offline  
Thanks
2 Users
Old 04/14/2012, 13:38   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
This really needs putting in the guide section, not the private server guide section...
Korvacs is offline  
Old 04/14/2012, 13:51   #3
 
Angellinho's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 102
Received Thanks: 25
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.
Angellinho is offline  
Old 05/04/2012, 17:20   #4
 
elite*gold: 0
Join Date: Jun 2011
Posts: 94
Received Thanks: 4
Thanks :P
claudiodj is offline  
Old 07/15/2012, 01:36   #5
 
kryptoniteX's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 3
Received Thanks: 0
wget -q -O- | sudo apt-key add -
gpg: no valid OpenPGP data found.
kryptoniteX is offline  
Old 01/09/2014, 14:52   #6
 
elite*gold: 0
Join Date: Nov 2005
Posts: 89
Received Thanks: 51
it still works? any1 using?
Dark-Zero is offline  
Old 03/23/2014, 15:12   #7
 
majick's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 211
Received Thanks: 42
Seems to be easier to get going on a pure debian system from my experience. Good luck
majick is offline  
Old 06/03/2014, 11:10   #8
 
allizzel777's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 124
Received Thanks: 2
Installing

Quote:
Originally Posted by Dark-Zero View Post
it still works? any1 using?
I am trying right now. I will update with info. How did your install go?

Didn't work for me. I am about to try Wine
allizzel777 is offline  
Old 06/04/2014, 07:18   #9
 
elite*gold: 0
Join Date: Jan 2014
Posts: 69
Received Thanks: 2
thanks it works
justmadeit96 is offline  
Old 07/04/2014, 10:15   #10
 
nevermind4o4's Avatar
 
elite*gold: 0
Join Date: Aug 2006
Posts: 78
Received Thanks: 11
Quote:
Originally Posted by justmadeit96 View Post
thanks it works
How did u make it work? doesnt exist o.0
nevermind4o4 is offline  
Old 07/06/2014, 16:36   #11
 
elite*gold: 0
Join Date: Jul 2014
Posts: 21
Received Thanks: 1
nice
variuseven is offline  
Old 08/10/2014, 03:58   #12
 
Silent-Death's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 1,055
Received Thanks: 296
right.. so..

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?
Silent-Death is offline  
Old 08/10/2014, 06:25   #13
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Have you tried Wine?
Spirited is offline  
Old 08/10/2014, 15:12   #14
 
Silent-Death's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 1,055
Received Thanks: 296
Quote:
Originally Posted by Spirited View Post
Have you tried Wine?
Quote:
Originally Posted by Silent-Death View Post
(..) and after trying in both wine and POL (...)
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.
Silent-Death is offline  
Old 08/10/2014, 19:33   #15
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Do you have adobe flash installed? I mean, not exactly related to the issue, but that's the only other thing I can possibly think of at this moment.
Spirited is offline  
Reply


Similar Threads Similar Threads
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?!!?



All times are GMT +1. The time now is 08:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.