Jump to content

Please help with running BG2 on the latest GemRB version


amirfoox

Recommended Posts

I'm referring to the Android version.

 

I managed to successfully run BG2 in the already available GemRB app in the Android Market, but got frequent crashes so I wanted to upgrade to version 8.X.

 

I downloaded the latest version from here:

http://sourceforge.n.../android/0.8.0/

 

Installed the APK, but upon running it I get a FATAL error and a gemrb directory is being created with only a bg1 sub-directory in it and error logs. I tried copying the files from the already working GemRB version from the Android Market to that gemrb directory, then I tried copying them to the app-data/gemrb as well and even tried upgrading the app directly, all to no avail.

 

What seems to be the problem and how do I work around this, please?

 

Thanks in advance :)

Link to comment

Oh, sorry.

 

The GemRB log file in the BG1 directory (even though BG1 has nothing to do with this) contained this:

 

[Core]: GemRB Core Initialization...

[Core]: Initializing Video Driver...

[Core]: Initializing Search Path...

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/override (Override)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/sounds (Sounds)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/scripts (Scripts)

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

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/data (Data)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/data/data (CD1/data)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/CD2/data (CD2/data)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/data/CD2/data (CD2/data)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/CD3/data (CD3/data)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/data/CD3/data (CD3/data)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/CD4/data (CD4/data)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/data/CD4/data (CD4/data)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/CD5/data (CD5/data)

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/data/CD5/data (CD5/data)

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

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

[Core]: Initializing KEY Importer...

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

[KEYImporter/ERROR]: Cannot open Chitin.key

[KeyImporter/ERROR]: This means you set the GamePath config variable incorrectly.

[KeyImporter/ERROR]: It must point to the directory that holds a readable Chitin.key

[ResourceManager/WARNING]: Invalid path given: /sdcard/gemrb/bg1/chitin.key (chitin.key)

[Core/FATAL]: Failed to load "chitin.key"

[Main]: Press enter to continue...

Link to comment

Of course something is wrong with the config files, there's nothing in these directories when running the app.

 

The Market's version at least creates config files in the app-data dir and runs a little config screen, this version doesn't create or run anything.

 

Creating these config files in the same locations doesn't change anything. My pathes haven't changed as well, this log indicates an issue in the bg1 dir which isn't even relevant.

 

I also tried installing the latest version from the dir above before posting, still nothing.

 

Thanks.

Link to comment

You probably need to edit the GemRB path on the device to show where BG2 is located. On the latest version the files are placed on the android/data/net.sourceforge.gemrb/files folder. You should be able to browse there, and that is where the GemRB that shows it's location should be. As for the GemRB itself, mine looks like this.

 

#####################################################

# #

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

# tob Baldur's Gate 2 : ToB (obsolete) #

# iwd IceWind Dale (no How or ToTL installed)#

# how IceWind Dale : HoW or ToTL #

# iwd2 IceWind Dale 2 #

# pst Planescape Torment #

# (More will come) #

# #

#####################################################

 

GameType=bg2

 

#####################################################

# Game Name [string] Title for GemRB window, use #

# anything you wish, e.g. Baldur's Gate 3: RotFL #

#####################################################

 

GameName=Baldur's Gate 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=800

 

#Screen height

Height=480

 

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

 

 

#####################################################

# 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=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/BG2

CD1=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/BG2/data/

CD2=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/BG2/data/

CD3=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/BG2/data/

CD4=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/BG2/data/

CD5=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/BG2/data/

CD6=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/BG2/data/

 

#####################################################

# 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=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/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=/mnt/windows/Programmi/Black Isle/BGII - SoA/

 

###### 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=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/

 

#####################################################

# 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=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/GUIScripts/

 

#####################################################

# 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=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/plugins/

 

#####################################################

# Custom Font Path [string] #

# #

# This is the path where GemRB looks for non-BAM #

# fonts (ex TTF) #

# #

#####################################################

 

#CustomFontPath=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/override/

 

#####################################################

# 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=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/BG2/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=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/override/

#GemRBUnhardcodedPath=/storage/emulated/0/android/data/net.sourceforge.gemrb/files/GemRB-v0.8.0

 

#####################################################

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

#####################################################

 

 

paths are very important, and a corresponding resolution. Took me a while to figure all this out meself, so just need to be patient.

Link to comment

I wonder why the game lags so much in this version, it's so slow that it's barely playable now. It used to run perfectly in the Android Market version on my Note 2 with the same settings. Even lowering to 16 bit didn't help much. Is it a known issue or am I missing something?

Link to comment

Well thanks to this thread I was able to get it running but only bg2. I have all the data for bg and bg2 in one folder and with version 0.7 I could choose which one to play. Now when I choose bg it jumps to bg2 menü. Do I have to install widescreen mod again because 1280x800 seems not to work anymore. The volume buttons from my tab don't work either. Any help would be apreciated.

 

Thanks

 

Pulpo

Link to comment

Archived

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

×
×
  • Create New...