Universal Linux Launcher for NCSoft Games


Ciaviel

 

Posted

I'm not having any problems. Are you running the latest version of the script?


 

Posted

nevermind, I was running script 0.8.1, updating to 0.8.4 seemed to fix it


 

Posted

So I have everything set up again on a shiny new install of Linux Mint 12, including a launcher for the perl script on my desktop with an awesome icon from deviant art. Everything works wonderfully, except no text is displayed in pop-up windows in game. This could just be a fluke, as I only saw one such window last night. It was probably the window saying "so and so needs your help" for the new WWD arc. But instead of saying anything it just had the OK button in it. Anyone know how CoH writes that text? Maybe there's some sort of font that I need to install in my CoH bottle for Crossover?


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

 

Posted

Awesome. Thanks.


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

 

Posted

I can't seem to get this working, but having another go. Misread at least one thing the first time around.


 

Posted

I'm hoping someone here with a lot of patience could help me, I've only started using linux(Ububtu) in the last year, so I'm not very competent. I'd really like to get this working on Ububtu and have 1 less reason to boot into windows, I seem to spend more time in windows than Ububtu, something I'd like to change as I prefer Ububtu for everything but some gaming. From my experiences so far, solving this first problem will lend to many many more soon after.

Following the instructions here:
http://www.carnildo.com/cohlaunch/index.html
-I have perl 5.12
-I have wine
-I've just installed xdelta 1.13 from the software centre
I downloaded Wget but not sure wht to do with a .tar.gz or where to extract it to.
- under synaptic manager I have:
libxml-simple-perl 2.18 ( i think that covers the XML::Simple requirement)

in .wine/drive_c/Program Files I made a new folder City of Heroes and put the cohlaunch.pl in there. I then done this:

Quote:
david@david-desktop:~$ /home/david/.wine/drive_c/Program Files/City of Heroes$ perl cohlaunch.pl -renderthread 0
bash: /home/david/.wine/drive_c/Program: No such file or directory
david@david-desktop:~$

What have I done wrong, no such file or directory? The location of the file was copied from it's properties tab so I didn't mistype it.


 

Posted

Quote:
Originally Posted by VasbytXXI View Post
downloaded Wget but not sure wht to do with a .tar.gz or where to extract it to.
Don't worry about it, yet. You've almost certainly already got either Wget or cURL (or both) installed as part of the base installation of Ubuntu. If you don't have either, the launcher will let you know. Post here, and someone who has more experience with Ubuntu than I do will tell you how to install it through the package manager.

Quote:
libxml-simple-perl 2.18 ( i think that covers the XML::Simple requirement)
Yes, it should. If it's not, Perl should give you a nicely incomprehensible error message about XML::Simple.

Quote:
david@david-desktop:~$ /home/david/.wine/drive_c/Program Files/City of Heroes$ perl cohlaunch.pl -renderthread 0
It looks like you've spliced two commands together here, and made a common mistake in the process. What you're telling your computer to do is run the program "home/david/.wine/drive_c/Program" with the parameters "Files/City", "of", "Heroes$", "perl", "cohlaunch.pl", "-renderthread", and "0". What you probably want to do is (note the quotes: they tell the shell the path is a single unit, and shouldn't be broken apart at the spaces):
Code:
cd "/home/david/.wine/drive_c/Program Files/City of Heroes"
and
Code:
perl cohlaunch.pl -renderthread 0
This assumes that cohlaunch.pl is in "/home/david/.wine/drive_c/Program Files/City of Heroes". If it's not, the easiest solution is to copy it there.


 

Posted

Yay, managed to get it working on Linux. Except that now I keep crashing. I'm standing inside Rikti War Zone between the two big robots guarding the entrance to Vanguard. Every time the guns above shoot wine crashes. :-(


 

Posted

Quote:
Originally Posted by Katie V View Post
Don't worry about it, yet. You've almost certainly already got either Wget or cURL (or both) installed as part of the base installation of Ubuntu. If you don't have either, the launcher will let you know. Post here, and someone who has more experience with Ubuntu than I do will tell you how to install it through the package manager.


Yes, it should. If it's not, Perl should give you a nicely incomprehensible error message about XML::Simple.


It looks like you've spliced two commands together here, and made a common mistake in the process. What you're telling your computer to do is run the program "home/david/.wine/drive_c/Program" with the parameters "Files/City", "of", "Heroes$", "perl", "cohlaunch.pl", "-renderthread", and "0". What you probably want to do is (note the quotes: they tell the shell the path is a single unit, and shouldn't be broken apart at the spaces):
Code:
cd "/home/david/.wine/drive_c/Program Files/City of Heroes"
and
Code:
perl cohlaunch.pl -renderthread 0
This assumes that cohlaunch.pl is in "/home/david/.wine/drive_c/Program Files/City of Heroes". If it's not, the easiest solution is to copy it there.
At a command line, type "apt-get install wget" if you can't find it in synaptics. There's a 99.99% chance that it's already installed.

One thing I ran into, if you have a message from CoH saying you're not using a graphics power of sufficient power add "-ignoreBadDriver" in your cohlaunch.pl line.

Now if I can only get Mids running and stop CoH's infernal crashing.


 

Posted

I got it working thanks, only played for about 30 mins but looking a good aside from the sound which is borked, but I usually turn it off anyway when playing, and oddly after alt-tabing out of the game to surf the web for a minute, when returning the number keys activae powers in the middle tray instead of the bottom power tray, notihng I can't live with though.


 

Posted

Quote:
Originally Posted by RunAwayJack View Post
Yay, managed to get it working on Linux. Except that now I keep crashing. I'm standing inside Rikti War Zone between the two big robots guarding the entrance to Vanguard. Every time the guns above shoot wine crashes. :-(
If you've got ATI graphics, try either a) turning the "shader quality" setting in CoH's graphics preferences down to "medium", or b) downgrading the ATI drivers (the 11.3 drivers work best for me, but downgrading that far will take work, since the 11.3 drivers are incompatible with both newer kernels and newer versions of X).

Another thing you can try is using the "-UseTexEnvCombine" command-line parameter. This disables all the fancy graphics options at once, and puts the game in a rendering mode that's compatible with almost everything out there.


 

Posted

I got it working and played it a lot yesterday. It went very smoothly and the frame rate was much better than when I was on Win7.

However, today when I try to launch it, instead of opening the window, the screen flashes black(like when it goes black before CoH shows) for a millisecond, then immediately closes CoH.

Here is what it says afterwards:

Code:
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  10 (X_UnmapWindow)
  Resource id in failed request:  0x5000001
  Serial number of failed request:  80
  Current serial number in output stream:  83
Launching it from Safe Mode worked the first time, but my clicks were clicking behind CoH instead of in CoH. After alt tabbing to close what was behind it, it crashed with the same error. Safe Mode now has the same failed result as the usual mode.

I think the graphical settings I made while in-game may be related to this.

Edit: I restarted my computer, and it's ok now. My plan to renew VIP with my next pay check, just to spend some of my saved points on the Mecha costume still stands!


 

Posted

That sounds like the sort of error you get when you update the graphics drivers without rebooting: there are three major parts that make up the Linux graphics drivers (the kernel driver, the X driver, and Mesa), and if they get out of sync, the most common symptom is that newly-launched 3D applications don't work properly, while 2D applications and currently-running 3D applications keep working.


 

Posted

Hello again.

I was saying earlier how it ran much smoother than win7. But it's starting to slow down to the same speed or slower than when I used win7 now. The framerate is really bad, even with all settings as low as possible.

Before I could play with most settings maxed in characters, lower settings for world, and x4 for the option beneath resolution, so that all the characters looked their best while the world still looked good with great framerate, even in Atlas.

However, last night(or the night before), the load screens were longer, and the framerate was suddenly bad. The only changes were me reactivating VIP and some updates from the update manager, I'm thinking the updates might be the problem, but don't see why they should be.

I tried reinstalling Linux, so if anything I put on their slowed it down, it wouldn't. After installing it, I of course accepted all updates though. So now with just CoH, a fresh Ubuntu, and the updates, I still have the issue.

I might try it again, but this time not update. But there are some updates that are necessary in there. Someone elses advice would be awesome, even if it's "please give us the info from [file] to help narrow it down".

Edit: After maintenance it worked. Before running the game there was another update to wine and some windows related stuff, so that might be what fixed it.


 

Posted

Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.Thank you.

It works perfectly except for one small bug. When I hit enter to chat, type my message, hit enter to send the message, the chat box doesn't release focus, so anything i type after sending my message (such as hitting W to run forward) ends up in a long string in my chat box. Anyone else encounter that?


 

Posted

Yes, the chatbox retaining focus is a very longstanding issue with CoH on Linux.


 

Posted

I've noticed that some of my keybinds do not work exactly as intended. Specifically alt+w which I normally use to launch into Fly. Why is this important? I didn't try alt+w until a few days ago and then started recieving the immense rubberbanding I saw mentioned earlier.

I'm going to audit my keybind file tonight and remove everything I can't remember the last time I used, that should leave me with just my chat binds. I'll try and watch for the rubberbanding after that. This won't be actual data backed test, more of just an observation, but I do think certain keybinds aren't working well with Wine and that might be causing the rubberbanding.


 

Posted

If you can find a reliable way of causing rubberbanding, by all means file a bug report for Wine, either as a comment on bug 13718 if it seems to be related, or as a new bug if it doesn't.