Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Diablo → D2GS latest Wine (docker)

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 5

1

Topic: D2GS latest Wine (docker)

Hey Fellows,

Just want to share my progress on running D2GS on Wine 5.2.

After searching for a long time, why my D2GS isn´t answering after joining game google lead me to this forum and I found that error with that sock.c, so I decided to create a Dockerfile for that.

well, I uploaded it to my Git so feel free to download and have fun.

I dont know why It should be better to run Wine 5.2 but I´m someone who try to use the newest software so I decided to build this dockerfile.

https://git.redvex.de/RedVex2460/d2gs-linux

2

Re: D2GS latest Wine (docker)

After numerous attempts I've been unable to get D2gs running on my ubuntu server, so im wondering if this might help me. I don't use docker however ... is it possible I could leverage what you have just the same? Or is this solution specific to docker? I'm on ubuntu 18.04. Thanks in advance.

3

Re: D2GS latest Wine (docker)

Anyone who has feedback on the stability of D2GS in this version of Wine?

Diablo 2 Online

Itens - Armory - Market - Clans - Builds - Planner

4

Re: D2GS latest Wine (docker)

RedVex2460 wrote:

Hey Fellows,

Just want to share my progress on running D2GS on Wine 5.2.

After searching for a long time, why my D2GS isn´t answering after joining game google lead me to this forum and I found that error with that sock.c, so I decided to create a Dockerfile for that.

well, I uploaded it to my Git so feel free to download and have fun.

I dont know why It should be better to run Wine 5.2 but I´m someone who try to use the newest software so I decided to build this dockerfile.

https://git.redvex.de/RedVex2460/d2gs-linux

Your Git repo link appears to be dead. Could you push it to gitlab.com or github? I'm very interested in this dockerfile. I'm trying to compile wine for ages and I can't remember how I did it last time...

5 (edited by Jeddunk 30.03.2021 20:01)

Re: D2GS latest Wine (docker)

Hi, just made an account to show you all how I've set up my pvpgn + d2gs instance on my (linux) server:

I've used the following resources (links are missing dots):
github com/espenmjos/pvpgn for pvpgn, d2dbs and d2cs
hub docker com/r/thomasesr/d2gs for d2gs (with wine)

(you'll also need to have docker and docker-compose already installed, look it up how to do it for your linux distro)

  • create a new folder for your setup and go into it

  • run: git clone https://github.com/espenmjos/pvpgn.git

  • build the docker image: docker build -t pvpgn-pro:1.99.7.2.1 ./pvpgn

  • copy the config files by running the following

    • docker run --rm -v $PWD/etc:/usr/local/pvpgn/etc pvpgn-pro:1.99.7.2.1 cp -r /pvpgn/etc/pvpgn/ /usr/local/pvpgn/etc/

    • docker run --rm -v $PWD/var:/usr/local/pvpgn/var pvpgn-pro:1.99.7.2.1 cp -r /pvpgn/var/pvpgn/ /usr/local/pvpgn/var/

  • create a folder named "Diablo2" and add the following to it:

    • Diablo 2 Game Files (MPQs)

    • D2GS and D2GE files

    • d2gs.reg file with your configuration

    • d2server.ini file with server configuration

    • d2gs.log file for logging

  • edit your configs according to the pvpgn pro d2gs installation instructions: pvpgn pro/d2gs_installation.html

  • create docker-compose.yml and add the code at the end of this post

  • run: docker-compose up -d

  • check if the servers are running: docker-compose ps

  • read the logs: docker-compose logs

version: '2.4'
services:
  d2cs:
    container_name: d2cs
    build: ./pvpgn
    image: pvpgn-pro:1.99.7.2.1
    volumes:
      - $PWD/etc:/usr/local/pvpgn/etc
      - $PWD/var:/usr/local/pvpgn/var
    network_mode: host
    # ports:
    #   - "6113:6113"
    #   - "6113:6113/udp"
    entrypoint: ["/usr/local/pvpgn/sbin/d2cs","-f"]
    restart: unless-stopped
    
  d2dbs:
    container_name: d2dbs
    build: ./pvpgn
    image: pvpgn-pro:1.99.7.2.1
    volumes:
      - $PWD/etc:/usr/local/pvpgn/etc
      - $PWD/var:/usr/local/pvpgn/var
    network_mode: host
    # ports:
    #   - "6114:6114"
    #   - "6114:6114/udp"
    entrypoint: ["/usr/local/pvpgn/sbin/d2dbs","-f"]
    restart: unless-stopped

  pvpgn:
    container_name: pvpgn
    build: ./pvpgn
    image: pvpgn-pro:1.99.7.2.1
    volumes:
      - $PWD/etc:/usr/local/pvpgn/etc
      - $PWD/var:/usr/local/pvpgn/var
    network_mode: host
    # ports:
    #   - "6112:6112"
    #   - "6112:6112/udp"
    entrypoint: ["/usr/local/pvpgn/sbin/bnetd","-f"]
    restart: unless-stopped

  d2gs:
    container_name: d2gs
    volumes:
      - '$PWD/Diablo2:/D2GS/drive_c/Diablo2'
    # ports:
    #   - '4000:4000'
    network_mode: host
    image: 'thomasesr/d2gs:latest'
    restart: unless-stopped

Posts: 5

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [EN] Diablo → D2GS latest Wine (docker)