Icewind dale 2

Hi there. First time poster.

I’ve used Lutris on my steam deck for a while now. Most games tend to work with a little tweaking.

Icewind dale 2 is not the case. I’m not exactly tech savvy but have installed it via gog. It loads up and starts. Plays the cinematic. Then lags like nobody’s business. Takes a good 10 seconds to click something. Unplayable like this.

Was hoping somebody had worked out how to plays this

I still have to test this one. I do see an installer which installs a version which runs the GemRB engine. You get a native version and a modern engine.

Thank you for the reply. Yes I tried that and the gog version. The gog version is the only one that opens at all. The Gemrb blurred version doesn’t even open just says playing then stops straight away. Pulling my hair out :joy: I just want to play it :sweat_smile:

Interesting. For the gemrb Linux version I did a ldd on the executable and found some missing dependencies on my Steam Deck.

ldd ./gemrb
        linux-vdso.so.1 (0x00007fff943ec000)
        libpython2.7.so.1.0 => not found
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f7845070000)
        libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x00007f7845065000)
        libopenal.so.1 => /usr/lib/libopenal.so.1 (0x00007f7844ed0000)
        libpng12.so.0 => not found
        libSDL_mixer-1.2.so.0 => not found
        libSDL-1.2.so.0 => not found
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f7844df1000)
        libvlc.so.5 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f7844dd7000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f7844dd2000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f7844a00000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f7844ce3000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f7844cbe000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f7844816000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f7844c90000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f7844c85000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f7845095000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f7844803000)
        libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f78447ca000)
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f78446ce000)
        libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f78446c0000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f7844576000)
        libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f7844553000)
        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f7844530000)
        libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f7844495000)

So for my situation, I need to install these libraries.

If you want to play this game with WINE, you need to disable the multi-threaded command stream feature, as it has a very severe impact on performances.

winetricks csmt=off

cf. Icewind Dale Ⅱ — Disable CSMT - vv221/games-vv221 - vv221ʼs games collection - Game scripts that can be used with ./play.it to install a collection of DRM-free games.

The above winetricks fix is for the windows version. Just to make things clear. So there are two options, run a native engine gemrb (and install all required libraries), or run the windows game through wine (and set the winetricks switch).

Right, I updated my message to clear up the confusion.

Thanks for the replies guys. I’m not really tech savvy. Where would I install the extra content for the gemrb version? And to where ?

You mean mods? The game is in the app folder. So I guess it should go there.

Ok. Got the gemrb version to run. Didn’t go past the main menu and the settings screen. Did test the first video from there.

Steps:

1. Check libraries

As mentioned earlier, all libraries need to be installed. If a not found error is returned, install the library which provides the .so file.

ldd ./gemrb

2. The config script
The config script is taken directly from a baldurs gate game. This is icewind dale 2. And the Lutris installer expects this too. So I renamed the baldurs-gate.cfg to icewind-dale-ii.cfg and put the following contents in it.

#####################################################
#                                                   #
#  This is the GemRB Configuration file.            #
#  Here are defined some default parameters for     #
#  basic configuration and paths definition.        #
#                                                   #
#  Parameters are defined as a Name=Value pair      #
#  The Value can be of three types:                 #
#      - String                                     #
#      - Integer                                    #
#      - Boolean                                    #
#                                                   #
#  The String value is represented as follows       #
#  i.e. H:\GemRB\plugins                            #
#  Integers are defined as follows                  #
#  i.e. 12723                                       #
#  Booleans are represented as 1 or 0 in this file  #
#                                                   #
#  Lines starting with # are ignored                #
#                                                   #
#####################################################

#####################################################
#                                                   #
#  Game Type [String] Use one of the following      #
#  values:                                          #
#                                                   #
#  auto      Attempt to autodetect game type        #
#                                                   #
#  bg1       Baldur's Gate                          #
#  bg2       Baldur's Gate 2 : SoA or ToB           #
#  how       Icewind Dale : HoW or ToTL             #
#  (iwd)     Icewind Dale (no How or ToTL installed)#
#  iwd2      Icewind Dale 2                         #
#  pst       Planescape Torment                     #
#                                                   #
#  demo      Game demo stub                         #
#  test      Minimal test mode                      #
#  (More will come)                                 #
#                                                   #
#####################################################

GameType=iwd2

Logging=1

#####################################################
#  Game Name [String] Title for GemRB window, use   #
#  anything you wish, e.g. Baldur's Gate 3: RotFL   #
#####################################################

GameName=IceWind Dale 2

#####################################################
#  Encoding [default|polish|czech] Language used by #
#  game data. Except of polish BG1, leave disabled. #
#####################################################

# Encoding=default

#####################################################
#  Video Parameters                                 #
#####################################################
#NOTE: SCREEN width and height can NOT be ARBITRARY without installing the
# widescreen mod: http://www.gibberlings3.net/widescreen/
#Resolutions supported by the original games (gemrb) are:
# * 640x480 (except in iwd2)
# * 800x600 (bg2, iwd:how, iwd2)
# * 1024x768 (bg2, iwd:how, iwd2)
# * 1280x1024 (bg2, iwd:how, iwd2)

#Screen width
Width=1366

#Screen height
Height=768

#Bits per pixel [Integer:16,32]
Bpp=32

#Fullscreen [Boolean]
Fullscreen=1

# Delay before tooltips appear [milliseconds]
TooltipDelay=500

#####################################################
#  Audio Parameters                                 #
#####################################################
#                                                   #
# All volume options are in percents, with 100      #
# being the normal and default volume               #
#                                                   #
#####################################################

# Choices: openal (default), sdlaudio (faster, but limited featureset), none
#AudioDriver = openal

# Volume of ambient sounds
#VolumeAmbients = 100

# Volume during movie playback
#VolumeMovie = 100

# Volume of background music
#VolumeMusic = 100

# Volume of sound effects
#VolumeSFX = 100

# Volume of PC or NPC voices
#VolumeVoices = 100

#####################################################
#  Case Sensitive Filesystem [Boolean]              #
#                                                   #
#  If your installed game files are residing on a   #
#  case sensitive filesystem (ext2 on Linux) then   #
#  you need to set this value to 1, it has no       #
#  effect on Windows                                #
#####################################################

CaseSensitive=1

#####################################################
#  GUI Parameters                                   #
#####################################################
#                                                   #
# GemRB may enhance the GUI of the Infinity Engine  #
# games (so far only in bg2) creating functionally  #
# new buttons or scrollbars where they weren't      #
# present in original games. It may improve its     #
# usability, but is not quite compatible with       #
# mods changing graphics and alignment in the *.chu #
# files (e.g. the buttons will appear in old        #
# coordinates and may stop being clickable).        #
#####################################################

# Enable all gui enhancements ? [Integer]
GUIEnhancements = 15


#####################################################
#  Debug                                            #
#####################################################

# Do not play intro videos [Boolean], useful for development
#SkipIntroVideos=1

# Draw Frames per Second info [Boolean]
#DrawFPS=1

# Hide unexplored parts of a map
#FogOfWar=1

# Enable debug and cheat keystrokes, see docs/en/CheatKeys.txt
#   full listing
#EnableCheatKeys=1

#####################################################
#  Paths                                            #
#####################################################

#####################################################
#  Game Paths [String]                              #
#                                                   #
#  These are the paths where the Game you want to   #
#  play is installed.                               #
#  Enter the full path to the directory.            #
#####################################################

GamePath=/home/tfk/Games/GOG/icewind-dale-ii/app/
CD1=/home/tfk/Games/GOG/icewind-dale-ii/app/
CD2=/home/tfk/Games/GOG/icewind-dale-ii/app/cd2
CD3=
CD4=
CD5=
CD6=

#####################################################
#  GemRB Cache Path [String]                        #
#                                                   #
#  This is the path where GemRB will store the      #
#  cached files, enter the full path to the GemRB   #
#  Cache directory.                                 #
#####################################################

CachePath=./Cache/

#####################################################
#  GemRB Save Path [String]                         #
#                                                   #
#  This is the path where GemRB looks for saved     #
#  games.                                           #
#  Enter the full path to the directory containing  #
#  e.g. the 'save' subdirectory.                    #
#                                                   #
#  You do not have to specify this if you use save  #
#  subdir in the GamePath directory.                #
#####################################################

# SavePath=/data/games/Icewind Dale II/mpsave

###### HERE BE DRAGONS #############################
# You shouldn't need to change any paths below this point.

#####################################################
#  GemRB Path [String]                              #
#                                                   #
#  This is the path where GemRB is stored, just     #
#  enter the full path to the GemRB executable      #
#####################################################

#GemRBPath=/usr/share/games/gemrb

#####################################################
#  GemRB GUI Scripts Path [String]                  #
#                                                   #
#  This is the path where GemRB GUI scripts are     #
#  stored, usually these are in the GemRB directory #
#  Enter the full path to the directory containing  #
#  the 'GUIScript' subdirectory.                    #
#####################################################

GUIScriptsPath=/home/tfk/Games/GOG/icewind-dale-ii/

#####################################################
#  GemRB Plugins Path [String]                      #
#                                                   #
#  This is the path containing GemRB plugins        #
#  - shared libraries (.so) on Unixes, or           #
#  DLLs (.dll) on windows.                          #
#  Enter the full path to the directory.            #
#                                                   #
#  You may need to specify this path if running     #
#  GemRB from source directory on Linux.            #
#####################################################

#PluginsPath=/usr/lib/games/gemrb/plugins

#####################################################
#  Custom Font Path [String]           		    #
#                                                   #
#  This is the path where GemRB looks for non-BAM   #
#  fonts (ex TTF)                                   #
#                                                   #
#####################################################

CustomFontPath=/usr/share/fonts/truetype/freefont

#####################################################
#  Game Data Path [String]                          #
#                                                   #
#  This is the subdirectory under GamePath where    #
#  game data files are stored.                      #
#                                                   #
#  You probably do NOT want to specify this!        #
#####################################################

#GameDataPath=data

#####################################################
#  Game Data Override Path [String]                 #
#                                                   #
#  This is the subdirectory under GamePath where    #
#  game data override files are stored.             #
#                                                   #
#  You probably do NOT want to specify this!        #
#####################################################

GameOverridePath=override

#####################################################
#  GemRB Data Override Path [String]                #
#                                                   #
#  This is the path where GemRB looks for the GemRB #
#  data override directory.                         #
#                                                   #
#  You probably do NOT want to specify this!        #
#####################################################

GemRBOverridePath=./
GemRBUnhardcodedPath=./

#####################################################
#  Input Parameters                                 #
#####################################################

#whether or not to use software keyboard on devices that support one
#UseSoftKeyboard=1

#Adds a gutter around the screen for scrolling
#TouchScrollAreas=1

#####################################################
#  MouseFeedback		                    #
#  Bitfield with reserved bits for disabling        #
#  the mouse. Those bits cannot be set via config   #
#                                                   #
#  Show mouse+tooltips = 0			    #
#  Hide mouse 	       = 1			    #
#  Hide tooltips       = 2			    #
#  Hide mouse+tooltips = 3			    #
#####################################################

# For a strictly touchscreen device we recommend
# Changing this to 3.

# default is 0
#MouseFeedback=0

#####################################################
#  Touch Gesture Input Parameters                   #
#  Requires SDL 1.3 or later			    #
#  All "NumFing" settings must be > 1 and < 5       #
#  NumFingScroll and NumFingKboard cannot be equal  #
#####################################################

#NumFingScroll=2

#NumFingKboard=3

#NumFingInfo=2

#####################################################
#  END                                              #
#####################################################

The paths are important! I only got it working by using absolute paths. So no ./folder/ but /home/username/games/rest-of-path/ should work.

That’s all what should be necessary.