Jump to content

Android Gem


Guest Silvus

Recommended Posts

Guest Silvus

Using a thunderbolt

 

Trying to run bg2; have followed instructions, only thing that I can see as a cause of the problem is the cfg file. Can anyone finally break down and post a working one so folks can compare and not just continue fighting it unsue?

I have fought with this for a few(like 6) hours. I've tried a Ton of different .cfg settings, gotten nowhere.

 

gem starts up and then shuts off.

Link to comment
Guest Silvus

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

# #

# 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

 

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

# Video Parameters #

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

 

#Screen width

Width=640

 

#Screen height

Height=480

 

#Bits per pixel [integer:16,32]

Bpp=13

 

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

 

# Volume of ambient sounds

VolumeAmbients=80

 

# Volume during movie playback

VolumeMovie=90

 

# Volume of background music

VolumeMusic=60

 

# Volume of sound effects

VolumeSFX=90

 

# Volume of PC or NPC voices

VolumeVoices=90

 

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

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

 

#GameOnCD=0

 

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

# 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=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=/sdcard/app-data/net.sourceforge.gemrb

CD1=./

CD2=./CD2/

CD3=./CD3/

CD4=./CD4/

CD5=./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=/sdcard/app-data/net.sourceforge.gemrb/.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 #############################

###### HERE BE DRAGONS #############################

###### HERE BE DRAGONS #############################

# You shouldn't need to change anything below this point.

 

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

# GemRB Path [string] #

# #

# This is the path where GemRB is stored, just #

# enter the full path to the GemRB executable #

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

 

#GemRBPath=@DATA_DIR@

 

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

# 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=@DATA_DIR@

 

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

# 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=@PLUGIN_DIR@

 

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

# 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=@DATA_DIR@

 

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

# END #

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

Link to comment

Check whether this isn't your issue - http://forums.gibberlings3.net/index.php?s...mp;#entry186655

 

You cfg file looks fine except Bpp=13, set it to 16 instead.

 

My cfg file for IWD:TotLM (BG one different only in GameType and number of CDs)

GameType=how
GameName=Baldur's Gate 2
Width=1024
Height=600
Bpp=16
Fullscreen=0
TooltipDelay=500
AudioDriver = none
CaseSensitive=1
GUIEnhancements = 1
SkipIntroVideos=1
GamePath=./
CD1=./
CD2=./CD2/
CD3=./CD3/
CachePath=./Cache/

 

If it won't help, please attach logs from aLogcat (https://market.android.com/details?id=org.jtb.alogcat).

Link to comment
Guest Silvus

ok... so I fixed the .cfg mistypes, and it still wasn't working. gutted out all the commented out stuff so it was just bare bones code and still wasn't working. installed the demo, and poof demo ran fine. died a little inside. copied everything over from my computer again, and still wasn't working. starting thinking about the best way to end the frustration, drank some, feel better, still can't play though.

 

ideas?

Link to comment

Why is your bpp 13? GameType should be bg2 also. We really cant tell you whats wrong with your config if anything as we dont really know where you placed the bg2 resources and the gemRb overrides/scripts.

 

Anyway you really need to get alogcat so you can actually see what gemRB is having problems with.

Link to comment
Guest Silvus
Why is your bpp 13? GameType should be bg2 also. We really cant tell you whats wrong with your config if anything as we dont really know where you placed the bg2 resources and the gemRb overrides/scripts.

 

Anyway you really need to get alogcat so you can actually see what gemRB is having problems with.

 

those things were already addressed.

 

 

log file is showing :

 

I/System.out(27513): libSDL: setting envvar LANGUAGE to 'en_US'
I/System.out(27513): libSDL: accelerometer start required: false
I/libSDL  (27513): Changing curdir to "/mnt/sdcard/app-data/net.sourceforge.gemrb"
I/libSDL  (27513): Calling SDL_main("GemRB")
I/libSDL  (27513): param 0 = "GemRB"
I/printf: (27513):  [1m [37;40m
I/printf: (27513): GemRB Core Version v0.6.4-git Loading...
I/GemRB   (27513): Core: Initializing the Event Manager...
I/GemRB   (27513): Core: Initializing Lists Dictionary...
I/GemRB   (27513): Core: Initializing Variables Dictionary...
I/GemRB   (27513): [OK]
I/GemRB   (27513): Config: Trying to open 
I/printf: (27513):  [1m [37;40m
I/printf: (27513): GemRB.cfg 
I/GemRB   (27513): [OK]
I/GemRB   (27513): Core: Starting Plugin Manager...
I/GemRB   (27513): PluginMgr: Loading Plugins from 
I/printf: (27513): plugins/
I/GemRB   (27513): Core: Plugin Loading Complete...
I/GemRB   (27513): [OK]
I/GemRB   (27513): Core: GemRB Core Initialization...
I/GemRB   (27513): [OK]
I/GemRB   (27513): Core: Initializing Video Driver...
I/GemRB   (27513): [OK]
I/GemRB   (27513): Core: Initializing Search Path...
I/GemRB   (27513): [OK]
I/GemRB   (27513): Core: Initializing KEY Importer...
I/GemRB   (27513): KEYImporter: Opening 
I/printf: (27513): /sdcard/app-data/net.sourceforge.gemrb/chitin.key...
I/GemRB   (27513): [OK]
I/GemRB   (27513): KEYImporter: Checking file type...
I/GemRB   (27513): [OK]
I/GemRB   (27513): KEYImporter: Reading Resources...
I/GemRB   (27513): KEYImporter:  
I/printf: (27513): BIF Files Count: 141 (Starting at 24 Bytes)
I/GemRB   (27513): KEYImporter:  
I/printf: (27513): RES Count: 15237 (Starting at 4241 Bytes)
I/GemRB   (27513): KEYImporter:  
I/printf: (27513): Cannot find data/AREA1900.bif...
I/GemRB   (27513): [ERROR]
I/GemRB   (27513): KEYImporter: Resources Loaded...
I/GemRB   (27513): [OK]
I/GemRB   (27513): [OK]
I/GemRB   (27513): Core: Initializing GUI Script Engine...
I/GemRB   (27513): [OK]
I/GemRB   (27513): Core: Reading Game Options...
I/GemRB   (27513): ResourceManager: Searching for 
I/printf: (27513): gemrb.ini...
I/GemRB   (27513): [GemRB Override]
I/GemRB   (27513): Core: Loading game type-specific GemRB setup...
I/printf: (27513): override/bg2/gemrb.ini
I/GemRB   (27513): [OK]
I/GemRB   (27513): Core: Creating Projectile Server...
I/GemRB   (27513): ResourceManager: Searching for 
I/printf: (27513): gemprjtl.ids...
I/GemRB   (27513): [GemRB Override]
I/GemRB   (27513): ResourceManager: Searching for 
I/printf: (27513): projectl.ids...
I/GemRB   (27513): [ERROR]
I/GemRB   (27513): Core: Checking for Dialogue Manager...
I/GemRB   (27513): [OK]
I/GemRB   (27513): ResourceManager: Searching for 
I/printf: (27513): gender.2da...
I/GemRB   (27513): [GemRB Override]
I/GemRB   (27513): Core: Loading Dialog.tlk file...
I/GemRB   (27513): [OK]
I/GemRB   (27513): Core: Loading Palettes...
I/GemRB   (27513): ResourceManager: Searching for 
I/printf: (27513): MPALETTE... 
I/printf: (27513): MPALETTE.bmp...
I/GemRB   (27513): [chitin.key]
I/GemRB   (27513): ResourceManager: Searching for 
I/printf: (27513): MPALETTE... 
I/printf: (27513): MPALETTE.bmp...
I/GemRB   (27513): [chitin.key]
I/GemRB   (27513): ResourceManager: Searching for 
I/printf: (27513): MPAL256... 
I/printf: (27513): Tried 
I/printf: (27513): MPAL256.mos 
I/printf: (27513): MPAL256.bmp 
I/printf: (27513): MPAL256.png 
I/GemRB   (27513): [ERROR]
I/GemRB   (27513): [ERROR]
I/printf: (27513): Press enter to continue...
I/printf: (27513):  [0m
I/AndroidRuntime(27513): AndroidRuntime onExit calling exit(0)
E/ActivityManager( 1563): fail to set top app changed!
D/PhoneApp( 1778): PhoneUtils.isSpeakerOn(this): false
D/PhoneApp( 1778): isHandsFreePlugged(): false
D/PhoneApp( 1778): mIsHardKeyboardOpen: false
D/PhoneApp( 1778): mIsLandscapeMode: false
D/PhoneApp( 1778): PhoneUtils.getPsSpeakerOn()): false
D/PhoneApp( 1778): all: false
D/SurfaceFlinger( 1563): Layer::requestBuffer(this=0x5c4190), index=1, pid=1563, w=480, h=394 success
D/SurfaceFlinger( 1563): Layer::requestBuffer(this=0x51e610), index=0, pid=1563, w=480, h=38 success
D/SurfaceFlinger( 1563): Layer::requestBuffer(this=0x5c4190), index=0, pid=1563, w=480, h=714 success
D/SurfaceFlinger( 1563): Layer::requestBuffer(this=0x5c4190), index=1, pid=1563, w=480, h=714 success
I/Rosie   (18435): Kill RosieUtility
D/SurfaceFlinger( 1563): Layer::setBuffers(this=0x6b3990), pid=18435, w=480, h=800
D/SurfaceFlinger( 1563): Layer::setBuffers(this=0x6b3990), pid=18435, w=480, h=800
D/SurfaceFlinger( 1563): Layer::requestBuffer(this=0x6b3990), index=0, pid=18435, w=480, h=800 success
D/HtcWidgetScanner(27492): action - com.htc.rosie.ACTION_KILL_UTILITY
D/HtcWidgetScanner(27492): packageUid - -1
I/RosieUtility(27492): init self killer
D/SurfaceFlinger( 1563): Layer::requestBuffer(this=0x6bcce8), index=1, pid=1563, w=800, h=480 success
D/SurfaceFlinger( 1563): Layer::requestBuffer(this=0x6bcce8), index=0, pid=1563, w=480, h=800 success
D/SurfaceFlinger( 1563): Layer::requestBuffer(this=0x6b3990), index=1, pid=18435, w=480, h=800 success
I/Rosie   (18435): Kill RosieUtility
D/HtcWidgetScanner(27492): action - com.htc.rosie.ACTION_KILL_UTILITY
D/HtcWidgetScanner(27492): packageUid - -1
I/RosieUtility(27492): init self killer
W/Rosie   (18435): mAddHtcWidgetByOtherActivity = false, mIsOpenSlideWhenLeaveLaunch = false
D/dalvikvm(18435): GC_EXTERNAL_ALLOC freed 2725 objects / 183528 bytes in 46ms
D/dalvikvm(18435): GC_EXTERNAL_ALLOC freed 405 objects / 31952 bytes in 46ms
D/dalvikvm( 1563): GC_EXPLICIT freed 5016 objects / 236896 bytes in 158ms
I/Rosie   (18435): Kill RosieUtility
D/HtcWidgetScanner(27492): action - com.htc.rosie.ACTION_KILL_UTILITY
D/HtcWidgetScanner(27492): packageUid - -1
I/RosieUtility(27492): init self killer
D/ContactMessageStore( 1778): onChange() >>
D/ContactMessageStore( 1778): onChange() <<
D/PowerManagerService( 1563): New lightsensor value:225, lcdValue:143
D/dalvikvm(18435): GC_EXTERNAL_ALLOC freed 1041 objects / 56800 bytes in 46ms
D/dalvikvm(18435): GC_EXTERNAL_ALLOC freed 480 objects / 24520 bytes in 45ms
D/BluetoothHandsfree( 1778): cdma iconLevel: 0
D/dalvikvm( 1841): GC_EXPLICIT freed 9431 objects / 489624 bytes in 517ms
D/ContactMessageStore( 1778): MSG_UPDATE_CONTACTS_TABLE >>
D/ContactMessageStore( 1778): query thread cost time >>>1
D/ContactMessageStore( 1778): createTempContactTable() >>>
D/ContactMessageStore( 1778): createTempContactTable() <<<
D/ContactMessageStore( 1778): cursor count>409
D/ContactMessageStore( 1778): query people time: 45
D/ContactMessageStore( 1778): processing 0/15
D/ContactNameCache( 2123): Contact onChange: false
D/ContactNameCache( 2123): Contactname cache Process invalid
D/ContactNameCache( 2123): MEPHOTO QUERY
D/ContactMessageStore( 1778): processing 1/15
D/ContactMessageStore( 1778): processing 2/15
D/ContactMessageStore( 1778): processing 3/15
D/ContactNameCache( 2123): NAMECACHE MULTIPLE QUERY
I/ContactNameCache( 2123): cache invalidate.
D/ContactMessageStore( 1778): processing 4/15
D/dalvikvm( 1778): GC_EXPLICIT freed 12140 objects / 485624 bytes in 57ms
D/ContactMessageStore( 1778): processing 5/15
D/ContactMessageStore( 1778): processing 6/15
D/ContactMessageStore( 1778): getContactInfo: Can't find in cache(900080003498)
D/ContactMessageStore( 1778): getContactInfo: Can't find in cache(900070002886)
D/ContactMessageStore( 1778): processing 7/15
D/ContactMessageStore( 1778): getContactInfo: Can't find in cache(900070002886)
D/ContactNameCache( 2123): reqeust terminate> Thread[Thread-1345,1,main]
D/ContactNameCache( 2123): updateThreadtableNameField> Thread[Thread-1346,1,main]
D/ContactMessageStore( 1778): processing 8/15
D/ContactNameCache( 2123): thread has terminated> Thread[Thread-1346,1,main]
D/ContactMessageStore( 1778): processing 9/15
V/alogcat (27394): created
D/alogcat (27394): canceling periodic saves
V/alogcat (27394): started

Link to comment
Guest Silvus

also updated .cfg:

 

GameType=bg2

GameName=Baldur's Gate 2

#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

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

# Volume of ambient sounds
VolumeAmbients=80	

# Volume during movie playback
VolumeMovie=90

# Volume of background music
VolumeMusic=60

# Volume of sound effects
VolumeSFX=90

# Volume of PC or NPC voices
VolumeVoices=90

#CaseSensitive=0

#GameOnCD=0
# Enable all gui enhancements ? [boolean]
GUIEnhancements=0

GamePath=/sdcard/app-data/net.sourceforge.gemrb
CD1=/sdcard/app-data/net.sourceforge.gemrb/
CD2=/sdcard/app-data/net.sourceforge.gemrb/CD2/
CD3=/sdcard/app-data/net.sourceforge.gemrb/CD3/
CD4=/sdcard/app-data/net.sourceforge.gemrb/CD4/
CD5=/sdcard/app-data/net.sourceforge.gemrb/CD5/

CachePath=/sdcard/app-data/net.sourceforge.gemrb/Cache/

#SavePath=/mnt/windows/Programmi/Black Isle/BGII - SoA/


 

I just placed the games files in the same folder as gemrb, because thats the way the default cfg.sample makes it look like it should be due to the relative directory usage.

Link to comment
Guest Silvus
Cannot find data/AREA1900.bif... <---- this

 

 

So, you must have a file on this path:

/sdcard/app-data/net.sourceforge.gemrb/CD3/data/AREA1900.bif

 

just checked my home pc through vnc, and it doesn't have that file either.... qq

Link to comment
Guest Silvus
Cannot find data/AREA1900.bif... <---- this

 

 

So, you must have a file on this path:

/sdcard/app-data/net.sourceforge.gemrb/CD3/data/AREA1900.bif

 

just checked my home pc through vnc, and it doesn't have that file either.... qq

 

I don't have directories for the cd's either btw, i just have a data directory(i'm assuming that is how it should be

Link to comment
Guest Silvus
Well, the cd dirs should be copied exactly like they are in the windows install.

Or, the cfg should be modified accordingly.

 

Everything is identical to the widows setup. windows just doesnt have that file.

 

I am pretty much at a loss, am going to borrow someone elses version of bg2 and see if i has it when i install.

Link to comment
Well, the cd dirs should be copied exactly like they are in the windows install.

Or, the cfg should be modified accordingly.

 

Everything is identical to the widows setup. windows just doesnt have that file.

 

I am pretty much at a loss, am going to borrow someone elses version of bg2 and see if i has it when i install.

If you have a single path with the data dir, then write that in your cfg :laugh:

Well, if you already tried the path with data in the end, then try without the data dir.

Link to comment
Guest Silvus

Pathing looks all straight. as far as I can tell it's because I am missing area1900... I have a area190x but no 1900. dunno why I would be lacking it aside from the disc being like original release perhaps.

 

gonna try a buddies discs and see if they have the files.

Link to comment

Archived

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

×
×
  • Create New...