Divinity Original Sin 2

From wikinotes
Revision as of 00:22, 19 April 2022 by Will (talk | contribs) (→‎Linux)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation

WSGF https://www.wsgf.org/dr/divinity-original-sin-2-enhanced-edition/en

Install

Linux/Proton

1. Install and launch (game will run, but crash next load with complaints about dxdiag).

2. Run the following

mv ./bin ./bin.bak \
  && ln -s DefEd/bin bin \
  && cd bin \
  && mv ./SupportTool.exe ./SupportTool.bak \
  && ln -s EoCApp.exe SupportTool.exe

3. Run the game, all good.

Configuration

Gamepad

Xbox-one controller works fine either:

Triple Monitor

Windows

After enabling ati-eyefinity or nvidia-surround on windows, natively supports triple-wide gaming.

Linux

Disable nvidiaXineramaInfo, restart X

Disable nvidiaXineramaInfo in xorg.conf,
and restart your Display Manager (to restart Xorg with new options).

# /etc/X11/xorg.conf

Section "Screen"
  Option "nvidiaXineramaInfo" "Off"
EndSection
sudo systemctl restart lxdm.service


Set all monitors to 1920x1080

Change resolution so consistent across all monitors

# something like
xrandr \
    --output DP-2 --left-of HDMI-1 --mode 1920x1080 \
    --output HDMI-1 --mode 1920x1080 \
    --output USB-C-0 --right-of HDMI-1 --mode 1920x1080

Launch the game.
Your display resolution in game will list 1920x1080, but that resolution will be applied to all additional monitors.

You can also edit your graphics settings, but they do not appear to be used

<!-- ~/.steam/steam/steamapps/compatdata/435150/pfx/drive_c/users/steamuser/My Documents/Larian Studios/Divinity Original Sin 2 Definitive Edition/graphicSettings.lsx
-->
<save>
  <region id="Config">
    <node id="root">
      <children>
        <node id="ConfigEntry">
          <attribute id="MapKey" value="ScreenHeight" type="22" />
          <attribute id="Type" value="0" type="5" />
          <attribute id="Value" value="1080" type="4" />            <!-- set 1080 height -->
        </node>
        <node id="ConfigEntry">
          <attribute id="MapKey" value="ScreenWidth" type="22" />
          <attribute id="Type" value="0" type="5" />
          <attribute id="Value" value="5760" type="4" />            <!--  set 5760 width -->
        </node>
      </children>
    </node>
  </region>
</save>

NOTE:

This setup worked under openbox but not within i3.
Presumably, I could create an i3 rule to ignore the game and allow it to occupy the full screen.


WARNING:

Sadly, as of 2022/04/18 this doesn't seem to work anymore (DOS2 won't launch)