Skip to content

Map docker container not working #433

@Tobertet

Description

@Tobertet

Hey @blacha, great repository.

I am trying to run the map generator with the instructions you provided

docker pull blacha/diablo2
docker run -it -v "/E/Games/Diablo II":/app/game docker.io/blacha/diablo2:latest /bin/bash
wine regedit /app/d2.install.reg
wine bin/d2-map.exe game --seed 10 --map 1 --difficulty 0

Then
docker run -v "/E/Games/Diablo II":/app/game -p 8899:8899 docker.io/blacha/diablo2:latest

And finally from another terminal
curl localhost:8899/v1/map/0x3607656c/Normal/ActI.json

However, it doesn't work. Here is the output

{"level":30,"time":1773939578135,"source":"map/main.c:91","msg":"Cli:Start","version":"v0.9.0-12-g1dcc","hash":"1dcc7cc5586d4b60bc50267dcc2bf55225603958"}
{"level":20,"time":1773939578136,"source":"map/main.c:124","msg":"Cli:Arg","game":"game"}
{"level":20,"time":1773939578137,"source":"map/main.c:105","msg":"Cli:Arg","seed": "0x00000a"}
{"level":20,"time":1773939578138,"source":"map/main.c:113","msg":"Cli:Arg","mapId":1}
{"level":20,"time":1773939578139,"source":"map/main.c:109","msg":"Cli:Arg","difficulty":0}
{"level":20,"time":1773939578139,"source":"map/d2_client.c:147","msg":"Init:Dll","path":"game"}
{"level":30,"time":1773939578140,"source":"map/d2_client.c:176","msg":"Registry:InstallPath","value":"game"}
{"level":30,"time":1773939578141,"source":"map/d2_client.c:180","msg":"Init:Game","version":"","path":"game/"}
{"level":50,"time":1773939578144,"source":"map/offset.c:43","msg":"Dll:Init:Failed","dll":"Fog.DLL","offset":0}

Setup

I'd like to understand if this is still working on your end. I'm using Debian, and I am pointing to a DiabloIILOD1.14.b, downloaded from BattleNet. Is my setup right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions