PINE64
Baldur's Gate on Pinebook Pro - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Baldur's Gate on Pinebook Pro (/showthread.php?tid=8702)



Baldur's Gate on Pinebook Pro - brzegorz - 01-05-2020

Hi, I've managed to get Baldur's Gate II running on Pinebook Pro with Manjaro. In order to achieve that you need to use the GemRB open-source engine. I've published a script which achieves that. Before running, you need to download the latest release from https://github.com/gemrb/gemrb/releases/tag/v0.8.6. Baldur's Gate is bundled with it's enhanced edition on GOG. You can extract it using innoextract, available in Manjaro repositories. I had issues with the git version, though it might have had to do with bad cmake flags. Please note that the script doesn't install the dependencies - check out the sources.
https://bitbucket.org/brzegorz/pinebookpro/src/master/install_gemrb.sh

Sources:
http://gemrb.org/wiki/doku.php?id=installation

Things I had to correct in order to get it to work:
- Your installation should be in a folder without spaces, e.g. "BaldursGateII" instead of "Baldurs Gate II"
- cmake .. -DDISABLE_WERROR=1 -DSDL_BACKEND=SDL2 -DOPENGL_BACKEND=OPENGL -DSTATIC_LINK=enabled
    - I haven't checked if DISABLE_WERROR and SDL_BACKEND make a difference
   - OPENGL_BACKEND=GLES caused segfaults when starting the game for me
    - STATIC_LINK=enabled is needed for the game to compile. It might have to do with my Python installation, but, well, it works 
- My gemrb.cfg: https://pastebin.com/LvcwRhzw. The annoying thing is that the one which is copied from build dir has wrong paths
- to run: gemrb -c gemrb.cfg

I'm working on the widescreen mod and testing how it actually works right now.

EDIT1: I've freed my friends and won an epic battle with Mephits on 640x480. Stuff seems to be working just fine.

EDIT2: I've added a script to install the widescreen mod. Mephits die twice, everything works: )
https://bitbucket.org/brzegorz/pinebookpro/src/master/install_weidu_and_widescreen.sh