Author Topic: HGL on Linux with Wine ?  (Read 1231 times)

Kakarott

  • Nameless
  • *
  • Posts: 7
  • Karma: 0
HGL on Linux with Wine ?
« on: Jan 15, 2017; 12:15 AM »
Got anybody Hellgate London running on Linux with wine?
How?

I tried with version 2.0 rc4 from Debian and staging and 1.5.25 from PlayOnLinux.
Tried Singleplayer, Multiplayer, 32Bit, 64Bit.
Just getting inital screen.
Process is running at 100%
Nothing happens.

schmutz

  • Nameless
  • *
  • Posts: 15
  • Karma: 0
  • Always remember: "No tux, no bux"
Re: HGL on Linux with Wine ?
« Reply #1 on: Jan 15, 2017; 12:32 AM »
I've made some tests with it. In almost every single wine version the game looks exactly like in the screenshot in your post when starting up. The best result was with wine version 1.5.2. The game starts but the mouse does not work and no fonts appear
Overall there unfortunately isn't a solution to run the game in wine for the moment :(

Kakarott

  • Nameless
  • *
  • Posts: 7
  • Karma: 0
Re: HGL on Linux with Wine ?
« Reply #2 on: Jan 16, 2017; 11:11 PM »
Found!

It doesn't like the german keyboard layout.
Change it.

setxkbmap us
localectl set-x11-keymap us

schmutz

  • Nameless
  • *
  • Posts: 15
  • Karma: 0
  • Always remember: "No tux, no bux"
Re: HGL on Linux with Wine ?
« Reply #3 on: Jan 16, 2017; 11:39 PM »
Excellent find!
For Play On Linux just copy the strings into the "Exec before start" section

Kakarott

  • Nameless
  • *
  • Posts: 7
  • Karma: 0
Re: HGL on Linux with Wine ?
« Reply #4 on: Jan 17, 2017; 12:10 AM »
1: Install Hellgate London
2: Install SP 1.2 Patch
>  On: "Launcher could not find language.dat"
> Copy attached one into Data folder and rename
> ($ cat ~/language.dat.txt
> Language=English
> )
(3: Install MP 2.0 Patch + X for multiplayer and winetricks d3dx9_43)

(Tested on wine 2.0.rc5)

Be sure that your key layout is us
$ setxkbmap us
$ localectl set-x11-keymap us

Have fun playing!
« Last Edit: Jan 17, 2017; 12:24 AM by Kakarott »

Kakarott

  • Nameless
  • *
  • Posts: 7
  • Karma: 0
Re: HGL on Linux with Wine ?
« Reply #5 on: Jan 17, 2017; 11:18 AM »
For multiplayer there is still a bug.
You can log in. Create a char. Enter Russell Square. Move a bit. Go into menus. Chat.
But as soon as you do an action, jump or attack (typically RPC-commands), you will get disconnected.

The log on the server:
Code: [Select]
[1856] Sending login message to auction server for character unit 4723698430153924 with result 1
[1856]
[1856] Complete Player Load Failed, hRet: 0, Name: FooBar, ErrorMsg:
[1856]
[1856] Unit 'blademaster_male' [0] exiting limbo
[1856] invalid command 101, size 18741 > 27
[1856] VerifyCommand failed
[1856] Closing client 0x03d0025e because of error

WINEDEBUG=+relay wine program

Installing with winetricks of
→ directx9
→ directplay
→ vcrun2005/08/10/12/13/15
→ winhttp
→ wininet

didn't help.
Did load ole32.dll and rpcrt4.dll and winmm.dll but with those wine didn't want to work.


Next idea:
→ get to know what normally should be send and would be accepted on server side
→ get to know what the client is trying to send
→ get to know what wine is doing with client-data and what it is sending and why


(PS: SinglePlayer is working. Is it handling the actions much differently?)

Kakarott

  • Nameless
  • *
  • Posts: 7
  • Karma: 0
Re: HGL on Linux with Wine ?
« Reply #6 on: Jan 17, 2017; 02:23 PM »
~/.wine64/drive_c/Program Files (x86)/Flagship Studios/Hellgate London/MP_x64$ WINEPREFIX=~/.wine64 WINEDEBUG=+rpc,-d3d,-font wine London2038_dx9_x64.exe

Version> Windows 7
d3dx9_43 (Native)

Wine 2.0-rc5
wine-development from debian unstable

It works?
It doesn't disconnect.
And I could kill stuff. And go through portals.

What happend?


Some of the installed packages>
Code: [Select]
ii  fonts-wine                                    1.8.6-2                             all          Windows API implementation - fonts
ii  libwine:amd64                                 1.8.6-2                             amd64        Windows API implementation - library
ii  libwine-development:amd64                     2.0~rc5-1                           amd64        Windows API implementation - library
ii  libwine-development:i386                      2.0~rc5-1                           i386         Windows API implementation - library
ii  wine-binfmt                                   1.8.6-2                             all          Windows API implementation - binfmt support
ii  wine-development                              2.0~rc5-1                           all          Windows API implementation - standard suite
ii  wine32-development:i386                       2.0~rc5-1                           i386         Windows API implementation - 32-bit binary loader
ii  wine32-development-preloader:i386             2.0~rc5-1                           i386         Windows API implementation - prelinked 32-bit binary loader
ii  wine64-development                            2.0~rc5-1                           amd64        Windows API implementation - 64-bit binary loader
ii  wine64-development-preloader                  2.0~rc5-1                           amd64        Windows API implementation - prelinked 64-bit binary loader
ii  winetricks                                    0.0+20160425-1                      all          package manager for WINE to install software easily

ii  aria2                                         1.30.0-1                            amd64        High speed download utility
ii  libnss-winbind:amd64                          2:4.5.2+dfsg-2                      amd64        Samba nameservice integration plugins
ii  libpam-winbind:amd64                          2:4.5.2+dfsg-2                      amd64        Windows domain authentication integration plugin
ii  winbind                                       2:4.5.2+dfsg-2                      amd64        service to resolve user and group information from Windows NT servers
« Last Edit: Jan 17, 2017; 02:53 PM by Kakarott »

Kakarott

  • Nameless
  • *
  • Posts: 7
  • Karma: 0
Re: HGL on Linux with Wine ?
« Reply #7 on: Jan 17, 2017; 05:39 PM »
Still not perfectly.

In stations ping is about 175ms. Okaish.
Going "out" starts with that ping. But step by step it increases.
Little action> ping 3000ms.
Waiting decreases it back to normal.
Action> and it goes up again.
Waiting> down.

Went to Tantorus> 6000ms
Running. Killing zombies> 18000ms ... 38000ms ...
Even saw numbers around 60000ms
Mostly with that high numbers I lose the connection.

So I need to take it very slowly. And kill daemon by daemon. Very sneaky.

The ping to the auth server seems normal and doesn't change over time.

Kakarott

  • Nameless
  • *
  • Posts: 7
  • Karma: 0
Re: HGL on Linux with Wine ?
« Reply #8 on: Jan 19, 2017; 01:55 AM »
…Out of ideas…

I have 2 PCs.
On one HGL multiplayer works. On the other it disconnects.

Both are running Debian 64bit.
Had them on same network. Cable.
Having same packages installed.

On the one> still working with:
→ clean wine prefix
→ clean HGL install
→ clean My Games/Hellgate
→ copied HGL install with clean prefix

One the other> not working with:
→ same HGL files
→ same network
→ same debian packages

So it is not:
→ the network
→ wlan/cable
→ HGL-cfg
→ HGL files
→ wine prefix
→ wine-dev/wine-staging
→ debian packages
→ install location


Why?
What?
How?

 >:(

Somebody??