Info: | My Web Site: http://www.davidgis.fr |
---|---|
Author: | David TECHER, <davidtecher@yahoo.fr> |
Date: | 2021-07-05 |
Revision: | 186-053008 |
Copyright: | This document has been placed in the public domain. |
Table of contents
Note
INFO Red Rose My own Wine-TkG/Proton distribution for Gaming on Linux. It is a enhanced/customised work based on Kron4ek's scripts (https://github.com/Kron4ek/Wine-Builds)
- Provided with Dxvk
- Provided with Faudio
- Provide with Media Foundation for some games
It is enhanced with some patches from https://github.com/openglfreak/wine-tkg-userpatches
- ESYNC: Yes (WINEESYNC=1)
- FSYNC: Yes (WINEFSYNC=1). A recent patched Linux kernel is required
- FSYNC FUTEX 2: Yes (WINEFSYNC_FUTEX2=1). A recent patched Linux kernel is required
Red Rose should work either on Ubuntu 20.04 or Xubunu 20.04. For Xubuntu/Ubuntu 20.10, release 6.0is recommended
Red Rose is targetting gaming laptops/workstations with specifications listed below
- Linux 64-Bits = Yes, Linux 32-Bits = No. You can easily set up a WINEPREFIX with WINEARCH=win32 to execute any 32-Bits executable.
- CPU = Recent Intel CPU greater or egal to Skylake generation
- GPU= AMD Radeon Card
Wine-TkG was built
using following flags for configure
--with-openal --without-oss --disable-winemenubuilder --disable-win16 --disable-testsusing following flags on a CPU = Core i7 7700HQ (Skylake)
CC="ccache gcc-9" CXX="ccache g++-9" cross_cc="x86_64-w64-mingw32-gcc"; cross_cxx="x86_64-w64-mingw32-g++"; # 64-Bits cross_cc="i686-w64-mingw32-gcc"; cross_cxx="i686-w64-mingw32-g++" ; # 32-Bits CROSSCC="ccache ${cross_cc}"; CROSSCXX="ccache ${cross_cxx}" CFLAGS="-march=skylake -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -msgx -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 " CFLAGS+="-mlzcnt -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mclflushopt -mxsavec -mxsaves --param l1-cache-size=32 " CFLAGS+="--param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=skylake -mfpmath=sse -O2 -pipe -ftree-vectorize" CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl,-O1,--sort-common,--as-needed" CROSSCFLAGS="${CFLAGS}" CROSSLDFLAGS="-Wl,-O1,--sort-common,--as-needed"
Note
This is a slightly modified version of official Wine provided with Proton. It includes Wine Build bundled with some packages.
Based on https://github.com/ValveSoftware/wine and patched/modified for my own needs.
Download | Description |
---|---|
Build: Red-Rose-Proton-6.3-5_Skylake_Build-2021.07.04.103009.7z |
|
Download | Description |
---|---|
Build: Red-Rose-Proton-6.3-2_Skylake_Build-2021.04.09.224700.tar.xz |
|
# Some other environments variales to alter export WINE_BUILD_DIR="Red-Rose-Proton-6.3-2_Skylake_Build-2021.04.09.224700/distrib" # Donwload the release wget http://techer.pascal.free.fr/download/proton/builds/Red-Rose-Proton-6.3-2_Skylake_Build-2021.04.09.224700.tar.xz # Decompress it on/opt sudo tar xvJf Red-Rose-Proton-6.3-2_Skylake_Build-2021.04.09.224700.tar.xz -C /opt/ # Set the priority for wineserver sudo setcap cap_sys_nice+ep /opt/${WINE_BUILD_DIR}/bin/wineserver export PATH=/opt/${WINE_BUILD_DIR}/bin:${PATH} export WINEDEBUG=-all export WINEDLLPATH=/opt/${WINE_BUILD_DIR}/lib/wine:/opt/${WINE_BUILD_DIR}/lib64/wine export WINESERVER=/opt/${WINE_BUILD_DIR}/bin/wineserver # You can modify the following value to point to another one export WINEPREFIX=${HOME}/.redrose # Initiate your WINEPREFIX winecfg # DEPENDANCIES (Dxvk, FAudio, Media Foundation) # Install some dependancies (recommended) # 1. Dxvk (for DirectX11 Support) and Vkd3d-Proton (DirectX12 Support) /opt/Red-Rose-Proton-6.3-2_Skylake_Build-2021.04.09.224700/packages/dxvk-d3d12_install.sh # 2. Faudio 21.04 with gstreamer (recommended) and JxrLib /opt/Red-Rose-Proton-6.3-2_Skylake_Build-2021.04.09.224700/packages/faudio_and_jxrlib_install.sh # 3. Media Foundation (Required for some games) -- Refer to https://github.com/z0z0z/mf-install (optional) /opt/Red-Rose-Proton-6.3-2_Skylake_Build-2021.04.09.224700/packages/mf-install.sh # 4. Another Media Foundation - Refer to https://github.com/z0z0z/mf-installcab (optional) # ESYNC/FSYNC export WINEESYNC=1 -- if your Linux Kernel is not patched with FSync, not recommended for all games #export WINEFSYNC=1 # If your Linux Kernel is patched with Fsync
Note
This is a slightly modified version of official Wine-TkG. It includes Wine Build bundled with some packages:
Based on https://github.com/Frogging-Family/wine-tkg-git and patched/modified for my own needs.
Download | Description |
---|---|
Build: Red-Rose-6.12.1_Skylake_Build-2021.07.05.142424.7z |
|
Download | Description |
---|---|
Build: Red-Rose-6.11.r1.gfd5866f6_Skylake_Build-2021.06.20.102350.7z |
|
Build: Red-Rose-6.11_Skylake_Build-2021.06.19.074524.7z |
|
Build: Red-Rose-6.9_Skylake_Build-2021.05.24.132641.7z |
|
Build: Red-Rose-6.7_Skylake_Build-2021.04.25.104230.tar.xz |
|
Build: Red-Rose-6.5.r6.g733a420d_Skylake_Build-2021.04.06.083200.tar.xz |
|
Build: Red-Rose-6.4.r3.g44af049d_Skylake_Build-2021.03.25.122738.tar.xz |
|
Binaries: Red-Rose-6.4_Skylake_Build-2021.03.15.034844.tar.xz |
|
Binaries: Red-Rose-6.3-1-Skylake-Build-2021.03.03.113233.tar.xz |
|
Binaries: Red-Rose-6.3-Skylake-Build-2021.02.27.190523.tar.xz |
|
Binaries: Red-Rose-6.0-Skylake-Build-2021.02.26.182119.tar.xz |
|
Packages | Yes/No |
---|---|
Dxvk | ![]() |
Vkd3d-Proton | ![]() |
FAudio | ![]() |
Media Foundation | ![]() |
winetricks winxp
Packages | Yes/No |
---|---|
Dxvk | ![]() |
Vkd3d-Proton | ![]() |
FAudio | ![]() |
Media Foundation | ![]() |
winetricks -q quartz devenum vcrun2012
Packages | Yes/No |
---|---|
Dxvk | ![]() |
Vkd3d-Proton | ![]() |
FAudio | ![]() |
Media Foundation | ![]() |
winetricks xact d3dcompiler_47
Game is available on Steam https://store.steampowered.com/app/992300/_Bloody_Spell/
Since I don't really know if this game will still be playbale with Wine version over 6.4 then here is the recommended Wine version I used
Provided with
Only Dxvk is required
# Download wget http://techer.pascal.free.fr/download/wine/builds/Red-Rose-6.4.r3.g44af049d_Skylake_Build-2021.04.13.091500.tar.xz # Decompress sudo tar xvJf Red-Rose-6.4.r3.g44af049d_Skylake_Build-2021.04.13.091500.tar.xz -C /opt/ # Set level of priority for wineserver export WINE_BUILD_DIR="Red-Rose-6.4.r3.g44af049d_Skylake_Build-2021.04.13.091500/distrib" sudo setcap cap_sys_nice+ep /opt/${WINE_BUILD_DIR}/bin/wineserver export WINEPREFIX="/opt/Games/Bloody_Spell"
Install prerequisites for the games
/opt/Red-Rose-6.4.r3.g44af049d_Skylake_Build-2021.04.13.091500/packages/dxvk-d3d12_install.sh
winetricks -q allfonts win7
** Be sure that you use 'Windows 7' else the game will crash
winetrickcs -q --no-isolate steam
wine "/opt/Games/Bloody_Spell/drive_c/Program Files (x86)/Steam/steam.exe" -console -no-browser -no-cef-sandbox -single_core -gameoverlayinject -applaunch 992300
Refer to this link https://wiki.winehq.org/Wine_User's_Guide
# Backup the current library -- this is the common path on Ubuntu-based system cp /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.backup latest_release=$(curl --silent "https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/latest" |sed -e "s:^.*tag/::g;s:\".*::g") wget https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/${latest_release}/${latest_release}-linux-x64.zip && \ unzip -o ${latest_release}-linux-x64.zip -d /usr/lib/x86_64-linux-gnu/opera/