Universal Linux Launcher for NCSoft Games


Ciaviel

 

Posted

but are /bin/wine found under .cxgames? i don't think they are.

normally, if you use the generic installer, you should have two directories, the hidden one and a normal one for the program. the hidden one should contain your bottles (if i remember correctly.)

my advice: archive your CoH bottle, completely uninstall cxgames, then reinstall using the generic installer. then install your CoH bottle from the archive. that should fix it.

alternatively, you can find the cxgames program file somewhere under your root directory and edit the cohlaunch.pl to call that directory instead. i don't know where it installed it though.


 

Posted

Thanks, I was able to find the cxgames directory. It installed to /opt. So I modified the script to call /opt/cxgames/bin/wine and it now functions perfectly. Now I just need a shortcut script and I'll be all set


@Rorn ---- Blue Baron ---- Guardian

 

Posted

glad to hear it! enjoy!


 

Posted

I've been trying the perl script and I'm hoping someone might have an idea what I'm doing wrong (I have no clue about perl coding).

I've got the perl script in the program folder and altered it to the correct location of the wine directory (/opt/cxgames/bin/wine) for my installation. I then ran it with "perl cohlaunch.pl" which won't patch my existing game files, but will download a whole new set (I've tried both options). Then instead of running the game, the script ends and returns me to the command line.

I've made a couple of alterations to the script, activating the repair flag, changing the region to eu and changing line 732 to "push @additional_args, ('-renderthread 0', '-project eucoh', '-maxinactivefps 5', '-auth 64.25.36.4');"

This will now patch my existing installation and will start the "loading" splash, but then it just hangs there.

The terminal displays:

Running City of Heroes
Preloading DLLs...done. (0.02)
CityOfHeroes client count: 1
num cpus = 4 / 4
Skipping verify step due to -noverify command line option
Fast validation cancelled.
Loading message stores...done. (0.30)
ERRORLOG STARTING IGNORE_

Don't suppose anyone has any ideas what I'm doing wrong?


So many alts, so little time... Where's an Altoholics meeting when you need one?

 

Posted

i don't really know. that's a lot of changes. =)

ok, so, if i read that correctly, the only problem remaining is that it hangs at the loading bar, is that correct?

if so, it sounds like it's not correctly passing the -renderthread 0 argument. try adding that argument manually and see if it works.


 

Posted

Quote:
Originally Posted by xRenx View Post
This will now patch my existing installation and will start the "loading" splash, but then it just hangs there.

The terminal displays:

Running City of Heroes
Preloading DLLs...done. (0.02)
CityOfHeroes client count: 1
num cpus = 4 / 4
Skipping verify step due to -noverify command line option
Fast validation cancelled.
Loading message stores...done. (0.30)
ERRORLOG STARTING IGNORE_

Don't suppose anyone has any ideas what I'm doing wrong?
Whatever you've done, it sounds like the script is no longer passing the "-renderthread 0" option. That's exactly where CoH hangs if you need it and don't provide it.


 

Posted

Thank you both, that sorted it, no idea why it's passing the other arguments but not -renderthread, but using "perl cohlaunch.pl -renderthread 0" fixed it, after months away I can finally play again *does happy smurf dance*


So many alts, so little time... Where's an Altoholics meeting when you need one?

 

Posted

Quote:
Originally Posted by xRenx View Post
Thank you both, that sorted it, no idea why it's passing the other arguments but not -renderthread, but using "perl cohlaunch.pl -renderthread 0" fixed it, after months away I can finally play again *does happy smurf dance*
any time! glad it's sorted. enjoy the game! =)


 

Posted

hi,

I'm a returning CoH player, and very newb Linux user. I have KDE 4, and I'm having trouble following the guide for getting CoH to work on Linux... can I get some individual help from someone for a rusty puter user?


 

Posted

are you still having problems? i'd need more specifics about what exactly isn't working in order for me to help you.


 

Posted

Well, I'm very lost on all of the programs that were recommended to get it to work on Linux. When I went to look for a couple of them, I couldn't find the mentioned versions. I really think I'm going to need someone to pretty much take me by the hand and walk me through it :/


 

Posted

Quote:
Originally Posted by Red_Harbringer View Post
Well, I'm very lost on all of the programs that were recommended to get it to work on Linux. When I went to look for a couple of them, I couldn't find the mentioned versions. I really think I'm going to need someone to pretty much take me by the hand and walk me through it :/
Which ones are you having trouble with? Perl and either wget or cURL are almost certainly almost installed; Wine and Unrar should be available through your package manager. XML::Simple and Xdelta 1.1 may need to be installed manually, but in both cases, it's a very simple procedure.

Knowing which distro you're using will help us guide you; the only thing that "KDE 4" tells us is that you're not running Ubuntu.


 

Posted

like I said. ultra newb to Linux.... I'm not exactly sure which form of linux I'm running actually. i'll try to figure that out and give you a better answer.


 

Posted

ok, from what i've found out, the version of Linux i'm using is based on Mandriva. Hopefully that means something to you, it's not a lot of help to me :/


 

Posted

The easiest way to install software in Madrive is described here: http://wiki.mandriva.com/en/Docs/Bas...oving_software


The page here lists the software you need to run the CoH launcher: http://www.carnildo.com/cohlaunch/index.html

  • Perl 5.8 or newer.
  • Wine. No particular version is required, though newer versions will generally give better results. I'm sure that Wine derivatives like Cedega/GameTreeLinux or Crossover Games will work, but since I don't have those, I can't test them.
  • One of Wget, cURL, or libwww-perl. Wget is strongly preferred, as it has better support for resuming partial downloads.
  • Xdelta 1.1. Xdelta 3 will not work, as it is not backwards-compatible with version 1.1 patches.
  • Unrar 3.
  • XML::Simple, installed either through your package manager or through CPAN.


so using the instructions from the mandrake link above, look for and install:
- perl (it may already be installed)
- wine
- wget (it may already be installed)
- xdelta 1.1 (you may see several version, per the comment about make sure us instal version 1.1 or 1.x, not version 3)
- unrar (select version 3 if there are several versions)
- XML::Simple (I don;t run Mandrake/Mandriva anymore so I can't check it's available using the same method as the other pieces above, if it's not we'll have to use a different method)


 

Posted

wget was the first software that I started having trouble finding and figuring out. any particular version? found this site for it: http://ftp.gnu.org/gnu/wget/ don't know which to use though or how.
does it matter which type of unrar I get so long as it's linux compatable? It would appear that this puter already has xml::simple for perl... is that ok?


 

Posted

Quote:
Originally Posted by Red_Harbringer View Post
wget was the first software that I started having trouble finding and figuring out. any particular version? found this site for it: http://ftp.gnu.org/gnu/wget/ don't know which to use though or how.
does it matter which type of unrar I get so long as it's linux compatable? It would appear that this puter already has xml::simple for perl... is that ok?
did you try to use the software manager built in Mandriva (instructions in the link in my post above), it should definitiely know about wget, and it's somewhat easier than to figure outwhat to get from individual sites, the software manager should know how to pick the versions that are best suited to your distribution.


 

Posted

oh good grief. I would not have thought of it.


 

Posted

I looked and it already has wget and unrar. if I'm right that's about everything on the list you placed. couldn't find xdelta in synaptic though.


 

Posted

surprising but without having Mandriva installed, it's ahrd for me to tell you. you may be able to add extra repositories (the non-free stuff, which doesn't mean you have to pay for it, but it means it's not "pure" open-source software, although I would expect Xdelta to be)

Maybe try this: go to http://rpm.pbone.net/index.php3/stat.../search/xdelta and download the rpm for your version of Mandriva and install it, and you should be good to go.

Good luck.


 

Posted

do you have any idea how to check my current OS version? Does the term PCLinuxOS mean anything? It's the closest to an identity I can find for this system :S


 

Posted

from a shell (command prompt) try:
cat /etc/mandriva-release

and you should get something like
Mandriva Linux release 2010.0 (Official) for i586


 

Posted

YEs PCLinuxOS is a linux distribution also, you said Mandriva earlier, and I don't know if the two are related except that they're both linux.

If it is what you are running, may I suggest you fins a user's forum for PCLinuxOS and ask the questions about installing softwar like XDelta, etc... there? the people familiar with out distribution should be able to help better.


 

Posted

thank you, and I appologize. I was informed by the person who set me up with the OS that it was based on mandriva, but whenever I start the puter it says PCLinuxOS. I'll try to find a forum on this OS and see what I can find out. Thank you for all your assistance. when I find the answers I need I'll be sure to post it here.


 

Posted

anyone having trouble with the latest COH patch?
I tried to run today (first time on that machine since i22) and I get a "not an ARRAY reference" at line 436 of the script?