Jump to content
The Character Copy service for Beta is currently unavailable ×

Recommended Posts

Posted

You're missing a slash in your path.  hc-bin32cityofheroes.exe should be hc-bin32\cityofheroes.exe

 

I'm not sure how you got it installed, which loader or set of instructions you used, so it's hard to say which specific steps to take to fix it.  If you're using Play On Linux I'd say try to make a new shortcut in your virtual drive and see if that works.

 

I could not get the new 32-bit client to run for me under KUbuntu.  It crashes on load.  So I'm still using the legacy one (homecoming.exe).  You could try that one as well.

Posted (edited)

I added a line to penguinrocks.pl to fix the slash issue.

 

Add this line::

$exe =~ s/\\/\//g;

after this existing line:

$params = $parsed_xml->{profiles}->{launch}->[$profile]->{params};

I submitted a pull request to warpshotcoh's repo:

 

https://github.com/WarpshotCoH/penguinrocks/pull/5/commits/2250434fb103dfabb23b14abf67a174d9d22957b

 

After making that change, the game is working as normal for me under vanilla wine. I haven't tried the 64bit exe.

 

 

 

 

Edited by Belarios
  • Thanks 2
Posted

The 64bit client is working well on Ubuntu 19.04, wine 4.01 and penguinrocks.pl with the above change.

 

There's more glitching with customwindow, but that has always been glitched anyways.

Posted (edited)

I installed a fresh wineprefix to test the 64bit client and didn't install dinput8 at first. I noticed that I could only mouselook a limited arc, about 180 degrees, or more with higher mouse sensitivity setting. I installed dinput8 into the new wineprefix and I had unlimited mouselook again.

Edited by Belarios
Posted
  On 8/22/2019 at 10:35 PM, Belarios said:

I added a line to penguinrocks.pl to fix the slash issue.

 

Add this line::

$exe =~ s/\\/\//g;

after this existing line:

$params = $parsed_xml->{profiles}->{launch}->[$profile]->{params};

I submitted a pull request to warpshotcoh's repo:

 

https://github.com/WarpshotCoH/penguinrocks/pull/5/commits/2250434fb103dfabb23b14abf67a174d9d22957b

 

After making that change, the game is working as normal for me under vanilla wine. I haven't tried the 64bit exe.

 

 

 

 

Expand  

That got me past the no slash problem.  Now im getting c:\gitlab-runner\builds\gwdc5h1s\0\homecoming\code\libs\utilitieslib\network\sock.c, 220: wine: Unhandled division by zero at address 0x973aa9 (thread 0009), error instead.

 

debug info in spoiler.

 

  Reveal hidden contents

 

Posted

I can't help with that specific error.

 

I'm not sure what linux you're using and what version. wine-1.6.2 could go back as far as a 2016 version of Ubuntu. I've also never used the playonlinux interface.

 

The best I could do is walk you thru the way I am used to installing.

 

Please let me know which linux distribution, what version and whether it's installed as 32 bit or 64 bit.

 

 

Posted
  On 8/24/2019 at 10:15 PM, Belarios said:

I can't help with that specific error.

 

I'm not sure what linux you're using and what version. wine-1.6.2 could go back as far as a 2016 version of Ubuntu. I've also never used the playonlinux interface.

 

The best I could do is walk you thru the way I am used to installing.

 

Please let me know which linux distribution, what version and whether it's installed as 32 bit or 64 bit.

 

 

Expand  

Im running Mint 18.3 64bit.  

 

My install was mighty cluttered.  First i tried (and failed) getting tequila to run through playonlinux.  Then i used etoh-downloader to get all the files but trying to launch the game resulted in a CTD at log in screen.   Finally i tried penguin on the rocks and everything worked just fine until the patch.

Posted (edited)

Lets try updating wine. The Mint 18.x series is based on Ubuntu 16.04 "Xenial" so that would explain why you're on wine version 1.6.2. You shouldn't need to upgrade your whole operating system for CoH (but installing the latest version of Mint would give you an almost current wine). The current version of wine is 4.0.2 as you can see from WineHQ.

 

I'm going to put some optional steps inside spoiler tags that I'd use to get more information, but they probably aren't necessary.

 

First things first, open up a terminal and update all local package lists from the remote repositories and upgrade all out of date packages with

sudo apt update

and

sudo apt upgrade

Now, confirm your current version of wine with

wine --version

We're expecting it to say 1.6.2. I don't know where you got your package of wine from, but lets assume that you used an apt repository and that Mint gets it from the Ubuntu 16.04 "Xenial" repositories.

 

  Reveal hidden contents

 

 

So now we want to upgrade to the latest version of wine and that is easy because the wine project maintains its own Ubuntu-type repositories and should be fully compatible with Mint according to the WineHQ Ubuntu Installation Page.

 

The WineHQ installation page recommends uninstalling existing versions of wine and packages that depend on it. I would do this:

sudo apt remove wine wine-mono wine-gecko winetricks
  Reveal hidden contents

 

I'll copy the installation steps from that page here:

 

If your system is 64 bit, enable 32 bit architecture (if you haven't already):

sudo dpkg --add-architecture i386 

Download and add the repository key:

wget -nc https://dl.winehq.org/wine-builds/winehq.key

sudo apt-key add winehq.key

Add the repository:

 sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' 

Update packages:

sudo apt update

and install the current package:

sudo apt install --install-recommends winehq-stable

Now you can confirm that you have the newest version of wine with:

wine --version

and it should say 4.0.2 as of August 24, 2019.

 

Now you can try your usual method of starting CoH and see if the new version of wine solved the problem.

 

If not then the next step would be creating a fresh new wineprefix. wineprefixes allow you to create separate windows environments, for example for 32-bit and 64-bit, or just to keep programs separate. I think that wine will update your wineprefix environment for the new version of wine just fine, but creating a new one would ensure that it's nice and up to date.

 

Let me know if that fixes your current issue.

Edited by Belarios
  • Thanks 1
Posted

uninstalling and reinstalling worked!

 

I thought i had been at 4.0 for several months, hell i thought that was the reason i was able to get the game running in first place.  After looking through eveything i had 4.0.2 and 4.0.8 also installed but was still using 1.6.2 so im guessing that was the issue.  Not sure why that patch would have caused it though!

 

thanks for your help.

  • 3 months later
Posted

Everything was working beautifully until the Patch of 29 Nov 2019.  Now when running penguin on the rocks i get this error:

 Bad EXE format for C:\Program Files\coh\hc-bin64\cityofheroes.exe

Anybody else run into this problem?  I have a Windows box with CoH installed but its a rinky-dink machine.  Any help would be greatly appreciated!!

Posted

Try running

penguinrocks.pl --profile 1

I suspect that they switched the order of the 64bit and 32bit clients in the manifest so now it runs 64bit by default. That command above will run the 32bit client which is now in the "1" position instead of the "0" default position.

 

You can also create a new 64bit wineprefix and run "--profile 0" from the new 64bit prefix to get the advantages of the 64bit client.

 

Let me know if you need instructions.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...