Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black & White 1 (Wine i386) #550

Open
debiani386 opened this issue Dec 1, 2024 · 0 comments
Open

Black & White 1 (Wine i386) #550

debiani386 opened this issue Dec 1, 2024 · 0 comments
Assignees
Labels
Behaviour issue It runs, but something is not working correctly box64 working Working fine on a platform with box64 box86 working Working fine on a platform with box86 OpenGL 1.x/2.x Using OpenGL 1.x or 2.x

Comments

@debiani386
Copy link

debiani386 commented Dec 1, 2024

Description

Black & White 1 with Patches v1.10, 1.20, and 1.42

Tested on

Raspberry Pi 5
OS: Raspberry Pi OS (Debian 12 Bookworm)
Kernel: Linux 6.6.62+rpt-rpi-v8
Box86: Box86 with Dynarec v0.3.7 b9d565f4
Wine: wine-9.17
Very low frame rate on Box64 with Wine x86_64 using WOW (1 - 2 FPS)
Mouse: Razor Basilisk V3

Previous behavior

Rotating the camera using the middle mouse button resulted in erratic camera movements for me. The mouse I listed is the only mouse I have, so I haven't tested with other mice. Changing the DPI setting on my mouse did not yield any change to the camera movements. All other movements work fine.

Current behavior

Needs to have patches v1.10, 1.20, and 1.42 installed. They must be applied in this order.
Graphics do not render properly without these patches installed.
Patch 1.42 also patches out SafeDisc DRM.

In winecfg, click the graphics tab and set the Screen resolution to 96dpi, otherwise the graphics will be shifted down as shown in the screenshot and full screen won't render properly. Also, it will result in erratic camera movements if moving the camera pitch and rotation with the mouse.

Note that the game does not change the screens resolution when running in full screen. Work around is to run Setup.exe in the Black and White Program Files directory and set the screen resolution to the same as your current resolution, or change your monitors resolution before running the game.

Follow https://www.bwgame.net/threads/running-black-white-on-windows-10.7916/ to install patches.
If you get a message prompting you to install Black & White when installing patch 1.10, you may need to run wine Black_White_Patch_v1.100.exe /s /extract_all

Working Log:

debiani386@raspberrypi:~/.wine/drive_c/Program Files/Lionhead Studios Ltd/Black & White $ wine runblack.exe 
Dynarec for ARMv8, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA AES PMULL PageSize:4096 Running on Cortex-A76 with 4 Cores
Params database has 32 entries
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/:i686/
Using default BOX86_PATH: ./:bin/
Counted 59 Env var
Looking for /usr/local/bin/wine
argv[1]="runblack.exe"
Rename process to "wine"
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /opt/wine-9.17/bin/../lib/wine/i386-unix/ntdll.so
Dynarec for ARMv8, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA AES PMULL PageSize:4096 Running on Cortex-A76 with 4 Cores
Params database has 32 entries
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/:i686/
Using default BOX86_PATH: ./:bin/
Counted 61 Env var
Looking for /opt/wine-9.17/bin/wine
argv[1]="runblack.exe"
Rename process to "wine"
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /opt/wine-9.17/bin/../lib/wine/i386-unix/ntdll.so
Box86 with Dynarec v0.3.7 b9d565f4 built on Nov 28 2024 15:09:48
Using emulated /opt/wine-9.17/lib/wine/i386-unix/dnsapi.so
Using native(wrapped) libresolv.so.2
Look for __res_query in loaded elfs
Found symbol with version GLIBC_2.4, value = 0xf7a7c6b4
Using emulated /opt/wine-9.17/lib/wine/i386-unix/ws2_32.so
Using emulated /opt/wine-9.17/lib/wine/i386-unix/win32u.so
Using native(wrapped) libm.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using emulated /opt/wine-9.17/lib/wine/i386-unix/winex11.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1
Using emulated /opt/wine-9.17/lib/wine/i386-unix/winspool.so
Using native(wrapped) libcups.so.2
Using emulated /opt/wine-9.17/lib/wine/i386-unix/opengl32.so
Using native(wrapped) libvulkan.so.1
Using native(wrapped) libGL.so.1

Screenshots

bw-screen

OpenGL

OpenGL 3

Additional Information

It is best to run this game in windowed mode. The game will run in full screen, but it will be shifted down even in full screen (like what is shown in the screenshot).

@ptitSeb ptitSeb added OpenGL 1.x/2.x Using OpenGL 1.x or 2.x box64 working Working fine on a platform with box64 box86 working Working fine on a platform with box86 Behaviour issue It runs, but something is not working correctly labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Behaviour issue It runs, but something is not working correctly box64 working Working fine on a platform with box64 box86 working Working fine on a platform with box86 OpenGL 1.x/2.x Using OpenGL 1.x or 2.x
Projects
None yet
Development

No branches or pull requests

2 participants