Closed Heroes84 closed 4 years ago
@Heroes84 Wine is local image from README.md preparation step. You did it?
@SpiLLeR Thanks for you replay ! When i build docker container I have fallowing error:
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: winehq-stable : Depends: wine-stable (= 5.0.0~bionic) E: Unable to correct problems, you have held broken packages. The command '/bin/sh -c apt-get update && apt-get install -y winehq-stable alsa-utils libasound2 libasound2-plugins pulseaudio pulseaudio-utils' returned a non-zero code: 100
Next I run sound test:
▶ ./sound_test.sh ++ uname
- '[' Darwin == Darwin ']'
- which xquartz
- xhost
- grep INET:localhost
- which pulseaudio ++ pwd ++ pwd
- docker run -it --rm --env=DISPLAY=host.docker.internal:0 --env=PULSE_SERVER=host.docker.internal:4713 --volume=/tmp/.X11-unix:/tmp/.X11-unix:ro --volume=/Users/user/wine/sources/homm3_docker/.wine:/root/.wine --volume=/Users/user/wine/sources/homm3_docker/sources:/root/sources --volume=/Users/user/.config/pulse:/root/.config/pulse --hostname=winecellar --name=wine --privileged wine speaker-test Unable to find image 'wine:latest' locally docker: Error response from daemon: pull access denied for wine, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'.
Im not hearing any noise from my mac :( So I think that problem is in install winehq on container, can you check that all works fine for you ?
@Heroes84 I will check today and make fixes
@Heroes84 Bug fixed in #2 and merged to master =) Sorry for the delay
I checked everything on my macbook and it worked
@anton-pavlov Thank you for update the repo, now docker properly build image and tagged it as a wine ▶ docker images REPOSITORY TAG IMAGE ID CREATED SIZE wine latest 920808e96eb3 50 minutes ago 1.48GB ubuntu 18.04 4e5021d210f6 4 weeks ago 64.2MB
Sound test make noise cool ! But i have some issue with x11 test: ~/wine ▶ ./x11_test.sh ++ uname
So from log I'm understand, that I must install a libpng12-0 ? ▶ which libpng12-0 libpng12-0 not found
~/wine ⍉ ▶ brew search libpng ==> Formulae libpng
So I'm install libpng using brew: ~/wine ⍉ ▶ brew install libpng ==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.37.catalina.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/c8/c8e74da602c21f978cd7ee3d489979b4fc6681e71f678a1d99012943ee3a909f?__gda__=exp= ######################################################################## 100.0% ==> Pouring libpng-1.6.37.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/libpng/1.6.37: 27 files, 1.2MB
Now when is installed, try one more time run x11 test, but which no luck ;( ~/wine ▶ ./x11_test.sh ++ uname
I have the same error PngEncoder_CreateInstance Failed writing PNG because unable to find libpng12.so.0
even if previously installed libpng ? Of course I'm have running XQuartz. So please tell wht I need install on my macbook to run x11 test properly ?
@Heroes84 I also have this problem but wine is working Wait 10 min and I add libpng to Dockerfile
@Heroes84 libpng errors is fixed
XQuarts settings example
Yeah finally installation run ! Thank you @anton-pavlov for helping ! Last question about install heroes 3 setup from GOG (Hota requires Heroes 3 complete version I have this version from the GOG.com) How provide bin file from sources to the instalator application ? Example I copied setup_h3.exe and setup_h3.bin files to sources folder, second I started docker container and see that the docker shell (after executing setup_h3.exe) requires bin files but cannot locate it.
Inside docker container:
root@winecellar:~# ll sources
total 1230532
drwxr-xr-x 6 root root 192 Apr 19 18:31 ./
drwx------ 1 root root 4096 Apr 19 18:32 ../
-rw-r--r-- 1 root root 8196 Apr 19 18:29 .DS_Store
-rw-r--r-- 1 root root 247338218 Apr 9 19:10 HotA_1.6.1_setup.exe
-rw-r--r-- 1 root root 1005040617 Apr 19 18:26 setup_h3.bin
-rw-r--r-- 1 root root 822520 Apr 19 18:25 setup_h3.exe
root@winecellar:~#
I also tired copy setup_h3.bin to .wine/drive_c/user folder and restart container, but also installator app don't see file in that location (C:\user)
@Heroes84 Its a good news! About you question, you try to install not full version. Site http://h3hota.com/en/download joked on us) In the English version of the site only links to the incomplete version are posted
If you switch to the Russian version
Added an additional block with links to the full version of HoTA
Полная версия, устанавливается в пустую папку:
you can translate as Full version, installed in an empty folder:
Download and install full version and have fun! =)
Hi I follow you nice tutorial but when I want testing i getting a error:
Unable to find image 'wine:latest' locally docker: Error response from daemon: pull access denied for wine, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'.
I check that wine:latest image doesn't exists ? wine/sources/homm3_docker master ✔ 91d ⍉ ▶ docker search wine:latest NAME DESCRIPTION STARS OFFICIAL AUTOMATED