GemRB 0.8.0 bg1 fails (GUI Script Engine missing error)


Nikojiro

Member
Joined
Oct 7, 2011
Messages
58
Hi,

GemRB 0.8.0 fails top launch BG1 on SUperZaxxon 1.60. I've followed the tutorial (http://boards.openpandora.org/topic/10136-gemrb-how-to-install-bg-and-co-my-guide/page-2#entry207489), and patched with widescreen and TWM Gui my GoG BG1.

Here's my GemRB.log :

[Core]: GemRB Core Initialization...

[Core]: Initializing Video Driver...

[Core]: Initializing Search Path...

[ResourceManager/WARNING]: Invalid path given: ./bg1/portraits (Portraits)

[ResourceManager/WARNING]: Invalid path given: ./bg1/CD6/data (CD6/data)

[ResourceManager/WARNING]: Invalid path given: ./bg1/data/CD6/data (CD6/data)

[Core]: Initializing KEY Importer...

[KEYImporter]: Opening ./bg1/chitin.key...

[KEYImporter]: Checking file type...

[KEYImporter]: Reading Resources...

[KEYImporter]: BIF Files Count: 159 (Starting at 24 Bytes)

[KEYImporter]: RES Count: 16694 (Starting at 4780 Bytes)

[KEYImporter]: Resources Loaded...

[Core]: Initializing GUI Script Engine...

[Core/FATAL]: Missing GUI Script Engine.

[Main]: Press enter to continue...

 

I'm puzzled... I suppose this engine should come with the PND?

 

Any help would be much appreciated.
 
Last edited by a moderator:
Does it work if you don't apply any of the patches you mentioned ?
 
Isn't the widescreen modification supposed to go in a bg1w folder and launched with that option on the game selection menu when starting?
 
Nope, data files go to bg1 folder, bg1w is just a different config pointing to the same folder.
 
I can confirm that Gemrb simply doesn't load. I get the same error on superzaxxon.


I've tried EVERYTHING, every configuration file edit and possible reorg of the data. I think a path within the PND, which I really don't know how to edit, is broken with the latest OS.


Bummed, because this was a game I was hoping to finally play through on pandora, but I'm guessing it'll be an easy fix whenever someone who knows what they're doing takes a look.
 
I'm running bg1 fine on my Pandora with the latest SuperZaxxon and all online updates. Although I haven't applied the widescreen "fix" that everyone has trouble with.



Directory listing, basically dumped everything from the PC install into the gemrb/bg1 folder shown in the spoiler tags.

Screenshot-bg1.png

my bg1 setup uses this for the Paths.

Code:
GamePath=./bg1
CD1=./bg1/Data
CD2=./bg1
CD3=./bg1
CD4=./bg1
CD5=./bg1
 
Last edited by a moderator:
I'm running bg1 fine on my Pandora with the latest SuperZaxxon and all online updates. Although I haven't applied the widescreen "fix" that everyone has trouble with.


Directory listing, basically dumped everything from the PC install into the gemrb/bg1 folder shown in the spoiler tags.

Screenshot-bg1.png
my bg1 setup uses this for the Paths.


GamePath=./bg1
CD1=./bg1/Data
CD2=./bg1
CD3=./bg1
CD4=./bg1
CD5=./bg1
Would you please be kind enough to post your full bg1.cfg file and your gemrb.log? I get the same result as the OP regardless of game, ws patched or not, etc.
 
Would you please be kind enough to post your full bg1.cfg file and your gemrb.log? I get the same result as the OP regardless of game, ws patched or not, etc.
Code:
#####################################################
#                                                   #
#  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:                                          #
#                                                   #
#  bg1       Baldur's Gate                          #
#  bg2       Baldur's Gate 2 : SoA or ToB           #
#  tob       Baldur's Gate 2 : ToB (obsolete)       #
#  iwd       IceWind Dale                           #
#  how       IceWind Dale : HoW or ToTL             #
#  iwd2      IceWind Dale 2                         #
#  pst       Planescape Torment                     #
#  (More will come)                                 #
#                                                   #
#####################################################

GameType=bg1

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

GameName=Baldur's Gate 1

#####################################################
#  Video Parameters                                 #
#####################################################

#Screen width
Width=640

#Screen height
Height=480

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

#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), none
DelayPlugin=NullSound.so
#AudioDriver = sdlaudio
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

#GameOnCD=0

#####################################################
#  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=./bg1
CD1=./bg1/Data
CD2=./bg1
CD3=./bg1
CD4=./bg1
CD5=./bg1

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

GemRBPath=./

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

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

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

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

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

#####################################################
#  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 ? [Boolean]
GUIEnhancements = 15

#####################################################
#  END                                              #
#####################################################
 
Would you please be kind enough to post your full bg1.cfg file and your gemrb.log? I get the same result as the OP regardless of game, ws patched or not, etc.
#####################################################
# #
# 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: #
# #
# bg1 Baldur's Gate #
# bg2 Baldur's Gate 2 : SoA or ToB #
# tob Baldur's Gate 2 : ToB (obsolete) #
# iwd IceWind Dale #
# how IceWind Dale : HoW or ToTL #
# iwd2 IceWind Dale 2 #
# pst Planescape Torment #
# (More will come) #
# #
#####################################################

GameType=bg1

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

GameName=Baldur's Gate 1

#####################################################
# Video Parameters #
#####################################################

#Screen width
Width=640

#Screen height
Height=480

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

#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), none
DelayPlugin=NullSound.so
#AudioDriver = sdlaudio
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

#GameOnCD=0

#####################################################
# 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=./bg1
CD1=./bg1/Data
CD2=./bg1
CD3=./bg1
CD4=./bg1
CD5=./bg1

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

GemRBPath=./

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

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

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

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

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

#####################################################
# 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 ? [Boolean]
GUIEnhancements = 15

#####################################################
# END #
#####################################################
My CFG file is now identical, I really don't know why it's not working. I'm using the non-Git 8.0 build of GemRB (didn't work with the Git build either, though I haven't tried earlier builds). For whatever reason, it is unable to find the GUIScripts files that are clearly in the PND.


Thanks for posting your details though!
 
My CFG file is now identical, I really don't know why it's not working. I'm using the non-Git 8.0 build of GemRB (didn't work with the Git build either, though I haven't tried earlier builds). For whatever reason, it is unable to find the GUIScripts files that are clearly in the PND. 

Hi! Same thing for me unfortunately. Looking at the said scripts, they seem to be Python scripts. As I remember Python  was upgraded on SuperZaxxon 1.60 so it might be a lead. I PM'd foft, the package maintainer, but no answer so far.


A shame really, I used to play GemRB just fine on my classic Pandora...
 
Last edited by a moderator:
Why does mine still work? I'm upgraded to the latest SZ 1.60.
 
Why does mine still work? I'm upgraded to the latest SZ 1.60.
Did you use the updater or did you flash? I did a full flash when I got my 1Ghz. Not sure though.


1.60 comes with Python 2.7 (cf. official thread), could you please check which version you have?
 
Last edited by a moderator:
Yes, I've updated using the updater vs full flash.. But I AM running python 2.7.3

20140217_080628.jpg

20140217_080856.jpg
 
Last edited by a moderator:
Ok then, my hypothesis is probably wrong... Which GemRB version are you running?
 
GemRB 0.8.0,  although 0.7.0 works just as well.
 
GemRB 0.8.0, although 0.7.0 works just as well.
I'm less linux savvy than most here but it's clear to me that the program is finding other paths; for whatever reason, it's looking somewhere incorrect for the gui scripts files, no matter what's prescribed in the cfg.


The pathing is peculiar for me. "./" is a non absolute path, but sometimes it's referring to what's on the sd card, and sometimes what's in the PND.


Sigh.
 
^ The PND system does a join of the application's appdata directory on the SD card and the contents of the PND when mounted.
 
Why does mine still work? I'm upgraded to the latest SZ 1.60.
Just a totally wild guess:Did you try a "fresh start" with BG, meaning without a appdata dir ? Maybe its some old config that makes things work ?
 
Last edited by a moderator:
I'll try a fresh start on my Rebirth unit later today after work as I don't want to ruin what I have working already on my 1Ghz.
 
Trashy, if you're still able to troubleshoot this, there are only two other variables I can think to check.


You're using the GOG version of BG1, correct? (Seems to be the case from your folder screen grab). Was it downloaded recently? I wonder if they've changed any files.


Also, since my gemrb.log (which appears in the bg1 folder) matches the OP's, I'd be curious to know what yours says?


I've got a business trip coming up and I'm really hoping my looooong flights can sport some compact CRPG lovin.


Thanks man.
 
Back
Top