Open mereong269 opened 1 year ago
test environments : Ubuntu 22.10 wine-staging 8.1 wine (64 bit). wine prefix = .64
reference ... https://wiki.winehq.org/Ubuntu https://github.com/borisbabic/hearthstone_hdt_linux https://appdb.winehq.org/objectManager.php?sClass=version&iId=38203&sAllBugs
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo -H gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor winehq.key sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main'
sudo apt update
sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/kinetic/winehq-kinetic.sources
sudo apt-mark unhold wine-staging-i386 sudo apt-mark unhold wine-staging-amd64 sudo apt-mark unhold wine-staging sudo apt-mark unhold winehq-staging
sudo apt -y install --install-recommends wine-staging-i386=7.3\~impish-1 --allow-downgrades sudo apt -y install --install-recommends wine-staging-amd64=7.3\~impish-1 --allow-downgrades sudo apt -y install --install-recommends wine-staging=7.3\~impish-1 --allow-downgrades sudo apt -y install --install-recommends winehq-staging=7.3\~impish-1 --allow-downgrades
sudo apt-mark hold wine-staging-i386 sudo apt-mark hold wine-staging-amd64 sudo apt-mark hold wine-staging sudo apt-mark hold winehq-staging
sudo apt -y install winetricks
sudo apt clean sudo apt update sudo apt -y upgrade sudo apt -y autoremove
env WINEPREFIX="$HOME/.64" wineboot --init :: if Wine prompts for installing Mono, then cancel it.
env WINEPREFIX="$HOME/.64" winetricks win10
env WINEPREFIX="$HOME/.64" winetricks --force dotnet48 corefonts
:: refer to code page. env WINEPREFIX="$HOME/.64" regedit hdt.reg
:: download latest version of HDT env WINEPREFIX="$HOME/.64" wine HDT-Installer.exe
:: download latest version of battlenet env WINEPREFIX="$HOME/.64" wine Battle.net-Setup.exe
sudo apt -y install --install-recommends wine-staging-i386=8.1\~kinetic-1 --allow-downgrades sudo apt -y install --install-recommends wine-staging-amd64=8.1\~kinetic-1 --allow-downgrades sudo apt -y install --install-recommends wine-staging=8.1\~kinetic-1 --allow-downgrades sudo apt -y install --install-recommends winehq-staging=8.1\~kinetic-1 --allow-downgrades
if it does not work battle.net, kill wineserver and then execute battle.net
env WINEPREFIX="$HOME/.64" wineserver -k
test environments : Ubuntu 22.10 wine-staging 8.1 wine (64 bit). wine prefix = .64
reference ... https://wiki.winehq.org/Ubuntu https://github.com/borisbabic/hearthstone_hdt_linux https://appdb.winehq.org/objectManager.php?sClass=version&iId=38203&sAllBugs
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo -H gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor winehq.key sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main'
sudo apt update
sudo mkdir -pm755 /etc/apt/keyrings sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/kinetic/winehq-kinetic.sources
sudo apt update
sudo apt-mark unhold wine-staging-i386 sudo apt-mark unhold wine-staging-amd64 sudo apt-mark unhold wine-staging sudo apt-mark unhold winehq-staging
sudo apt -y install --install-recommends wine-staging-i386=7.3\~impish-1 --allow-downgrades sudo apt -y install --install-recommends wine-staging-amd64=7.3\~impish-1 --allow-downgrades sudo apt -y install --install-recommends wine-staging=7.3\~impish-1 --allow-downgrades sudo apt -y install --install-recommends winehq-staging=7.3\~impish-1 --allow-downgrades
sudo apt-mark hold wine-staging-i386 sudo apt-mark hold wine-staging-amd64 sudo apt-mark hold wine-staging sudo apt-mark hold winehq-staging
sudo apt -y install winetricks
sudo apt clean sudo apt update sudo apt -y upgrade sudo apt -y autoremove
env WINEPREFIX="$HOME/.64" wineboot --init :: if Wine prompts for installing Mono, then cancel it.
env WINEPREFIX="$HOME/.64" winetricks win10
env WINEPREFIX="$HOME/.64" winetricks --force dotnet48 corefonts
:: refer to code page. env WINEPREFIX="$HOME/.64" regedit hdt.reg
:: download latest version of HDT env WINEPREFIX="$HOME/.64" wine HDT-Installer.exe
:: download latest version of battlenet env WINEPREFIX="$HOME/.64" wine Battle.net-Setup.exe
sudo apt-mark unhold wine-staging-i386 sudo apt-mark unhold wine-staging-amd64 sudo apt-mark unhold wine-staging sudo apt-mark unhold winehq-staging
sudo apt -y install --install-recommends wine-staging-i386=8.1\~kinetic-1 --allow-downgrades sudo apt -y install --install-recommends wine-staging-amd64=8.1\~kinetic-1 --allow-downgrades sudo apt -y install --install-recommends wine-staging=8.1\~kinetic-1 --allow-downgrades sudo apt -y install --install-recommends winehq-staging=8.1\~kinetic-1 --allow-downgrades
sudo apt-mark hold wine-staging-i386 sudo apt-mark hold wine-staging-amd64 sudo apt-mark hold wine-staging sudo apt-mark hold winehq-staging
if it does not work battle.net, kill wineserver and then execute battle.net
env WINEPREFIX="$HOME/.64" wineserver -k