Jump to content

IWD2 Configuration Woes


PracticalKat

Recommended Posts

## EDIT: SOLVED - Just needed to reinstall Widescreen tpu for GemRB! Had just copied my game files over from under wine, obviously configured for Windows. Seems to run fine now.

 

I have BG1 up and running fine. Just IWD2 is failing to show any GUI elements after I load a saved game. I can select and move a character, but as soon as I encounter an enemy everything halts and spacebar does not work. I have to do a hard reboot.

 

This is under GemRB 0.8.4, compiled from the latest sources on SF. I'm using ' /usr/local/bin/gemrb -c /usr/local/etc/gemrb/GemRB-IWD2.cfg' to run it from my home directory in terminal.

 

The data files are copied over from the version running under PlayOnLinux with the Widescreen mod and a few others.

 

I've attached my log file, and inserted the config file below. Any advice appreciated!

#####################################################
#                                                   #
#  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

#####################################################
#  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=/data/games/Icewind Dale II
CD1=/data/games/Icewind Dale II
CD2=/data/games/Icewind Dale II/cd2
CD3=/data/games/Icewind Dale II/data
CD4=
CD5=

#####################################################
#  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=./Cache2/

#####################################################
#  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=/usr/share/games/gemrb

#####################################################
#  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=/usr/share/games/gemrb
#GemRBUnhardcodedPath=/usr/share/games/gemrb

#####################################################
#  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                                              #
#####################################################

GemRB.log

Link to comment

Hmm, that's odd. I hope widescreen didn't muck things up. I suggest you switch to git sources, so you'll get all the fixes and additions since the release. The file with the symptoms received several changes, though nothing stands out — problems in that function were usually elsewhere.

Link to comment

There are a number of mods installed, so that may be it :( I'm at the edge of my competence now, and git source access is puzzling me. Do I just go to the gemrb entry under git and download a snapshot? I don't see a tag for 0.8.x anywhere, and all the dates are ancient which worries me. Surely I should be seeing 2016 commits?

 

Thanks!

Link to comment

Tried this without success. I do find that using keyboard strokes to bring up the inventory GUI works. I can even see the character portraits as I mouse over these areas, and the compound button on the lower right. Just the buttons on the lower left are completely MIA.

 

Baldur's Gate is OK, so I'll put it down to Widescreen with IWD2. I'll try again when there is a new stable release

Link to comment

ah, makes sense in retrospective — I forgot we use the filename to induce the resolution. I need to update the mod itself at some point to make this more robust and the gemrb mode obsolete. I initially added it to support multiple custom resolutions at once, but it turned out there's no real need for that nor does it work well.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...