Jump to content

gemrb.cfg needed for android


Guest Guest_Johannes_*

Recommended Posts

Guest Guest_Johannes_*

hey guys,

 

first i want to thank you in advance for this wonderful project, playing ad&d stuff on my smartphone would be awesome!

 

unfortunately i really dont get it running, i think i am too stupid to set up my gemrb.cfg properly. could somebody post his entire cfg here to let me see what i did wrong? i am running a lg optimus speed dual core smartphone.

 

here is my version and it wont run:

 

GameType=bg2

 

 

GameName=Baldur's Gate 2

Width=640

 

 

 

Height=480

 

 

 

Bpp=32

 

 

Fullscreen=1

TooltipDelay=500

AudioDriver = openal

VolumeAmbients = 80

 

 

VolumeMovie = 80

VolumeMusic = 80

VolumeSFX = 60

 

 

CaseSensitive=1

 

 

EnableCheatKeys=1

GamePath=./

CD1=./CD1/

CD2=./CD2/

CD3=./CD3/

CD4=./CD4/

CachePath=./

SavePath=./

 

 

GemRBPath=./

GUIScriptsPath=./

PluginsPath=./

GameDataPath=data

 

 

GameOverridePath=override

GemRBOverridePath=@DATA_DIR@

GUIEnhancements=1

 

 

 

 

logcat gives out several reasons. at the moment it says the cfg. file wasnt found. i placed it in the main dir of gemrb, also the game (bg) is pasted there directly.

 

thanks for your help!

 

cheers

j.

Link to comment

You renamed GemRB.cfg.sample to GemRB.cfg?

Setting 'Bpp' to 16 increasing fps.

Comment out 'CaseSesitive'.

'CachePath' should be ./Cache/

 

Comment out these lines

SavePath=./

GUIScriptsPath=./

PluginsPath=./

GameDataPath=data

Link to comment
Guest Guest_johannes_*

hey man,

 

thanks for your answer! i quoted alot of stuff out and now it runs.

this is really an AWESOME port, the game runs smoothly and feels right, thank you so much!

 

just two things left im curious about:

 

- the f-keys seem not to work. i remapped them with physical and on-screen buttons but they dont do their function (adressing the hotkey buttons like attack, chat etc.). is there any other way to adress a hot-actionbutton to a physical key?

- resolution. i play on a 4" screen with 640x480 and everything is pretty small. changing to smaller resolutions dont work (blackscreen). is there any possibilty to downscale the resolution?

 

thank you,

j.

Link to comment

f-keys don't work, since gemrb doesn't support proper key mapping yet and we don't want to add more hacks.

downscaling is possible, the dingux port halves it to 320x240, but I think we didn't include that code yet.

Link to comment
Guest cheryablinsk

I'm posting in this topic because it's related to the problem I'm having and I didn't want to clutter up the forum. I can't get BG2 to run with GemRB on my LG Optimus V. In alogcat, it's saying something along the lines of "cache mnt/sdcard/app-data/net.sourceforge.gemrb/cache/ could not be created".

 

This is my cfg file:

 

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

# #

# 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=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), 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=mnt/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=mnt/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 #

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

 

Can anybody help me out? Thanks in advance!

Link to comment

Archived

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

×
×
  • Create New...