Skip to content

GemRB, note2, Android, Crashing.

NuttyNutty Member Posts: 17
Hi

Been trying to get BG2 to work under my note2 using GemRB.
I updated BG2 to the latest patch(on the PC), copied over as the instruction said, gemrb wouldn't even start the game, tried a new install where i copied *everything*, but that didn't change any thing either, still game won't start at all.
Been trying everything modding in the gemrb.cfg, wont start, changed every thing. still it wont start. Its allmost as if I hadn't copied over all the BG2 files:

Logcat says:
12-31 10:48:27 .850 W/
IInputConnectionWrapper(27954): showStatusIcon on inactive InputConnection

Weird bug message.

Thanks :)


Comments

  • MichailMichail Member Posts: 196
    I don't thik this message has anything to do with your problem. It has to do with Android internal processes, not gemrb. You would see it anyhow, and it shouldn't affevt you.
    Given that, check the log file again for error messages. And be really carefull what you change in the gemrb.cfg file. It is possible to change too much.
  • tomty89tomty89 Member Posts: 47
    edited January 2013
    Why not share you gemrb.cfg? Have you tried different versions of GemRB too?
  • NuttyNutty Member Posts: 17
    OK.

    Right now I'm on the 0.7.0.1 version of GemRB.

    I've just removed *everything* including everything in "android" gemrb folder,
    I'll transfer over BG2 and BG1 later today.

    I've been using a copy of the game copied straight as it is, with save games, cache, and settings from the comp, but would that impact anything in the game(under android)?
    should I change settings before copying?

    So far my gemrb.cfg is default ,I've installed demo in a separate folder. Demo runs fine no problems yet. I'm gonna try and trigger a insta-crash, later when I get home. :)
    (don't tell my boss I'm doing this, instead of working) ;)

    Last time I copied over BG2 straight into the demo-folder, the game started but crashed as soon as I passed char creation, Blue background, but with the BG2 menu around it, and crash.
    I updated my BG2 copy on my comp. copied over everything except *.exe files, after that I got insta-crash. Copied over everything including *.exe files, no change.

    I haven't tried any older GemRB versions yet, but I've noticed there is a newer version of gemrb available for Linux, I don't know how to recompile for android but it shouldn't be to hard, saw a guide somewhere.

    Another weird thing I've noticed, previously when BG2 crashed, I got no relevant information in logcat, (Lumberjack, and aLogcat) Atleast not anything that seems to be connected to gemrb/BG2. What am I doing wrong ?


    Thank you :)
  • MichailMichail Member Posts: 196
    I strongly advise against using any version of gemrb other than the one found on the play store (it is the one more likely to work for everyone). At least until everything else fails.

    Remove the demo entirely, and make sure you get a clean install. Even an empty subfolder in the cache path has been known to crash the program. Use an unmodded version of the game. Use a FULL installation. Make sure the game paths are correct. But Let CachePath=./Cache/ .

    If you managed to start the game at least once, then get a hold of your gemrb.cfg file for that try, make a backup copy, and experiment changing one thing at a time. Consider posting a copy here.

    DO NOT copy both bg1 and bg2 before you get at least one running and you know how you did it. Keep in mind that you might have to declare which game you are running in the gemrb.cfg file. (GameType = auto did not work for me).
  • MichailMichail Member Posts: 196
    edited January 2013
    On second thought, here is my gemrb.cfg. Maybe it will help.

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

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

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

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


  • NuttyNutty Member Posts: 17
    If I understand you correctly:
    Even using a different folder, will cause crashes.
    Even if :

    bg2 = /mnt/extsdcard/app-data/net.sourceforge.gemrb/bg2
    bg1 = /mnt/extsdcard/app-data/net.sourceforge.gemrb/bg1
    demo = /mnt/extsdcard/app-data/net.sourceforge.gemrb/demo
    plane = /mnt/extsdcard/app-data/net.sourceforge.gemrb/pst

    (just making shure since I speak a different language :) )

    So far Demo runs great, only get issues(some buttons disappear) if I use a higher res than 640x480.
    My gemrb.cfg looks identical to yours, except path. I havent changed in path yet.
  • tomty89tomty89 Member Posts: 47
    edited January 2013
    Well the path part is critical.

    First of all it should be correct. Make sure it fits the actual hierachy of the memory card. You can check it with a file explorer, as you may already know.

    I guess you didn't mean that you've put paths of different games in the gemrb.cfg?

    Odd that the demo works for you but the actual one doesn't. What version is it? GOG? DVD? 4CD? (How) did you patch it? Any mod installed?

    http://sourceforge.net/projects/gemrb/files/Other Binaries/android/
    In case you don't know, you may get some newer snapshots here.

    Maybe you can try to run gemrb with the installation in PC first so that you can make sure that it is to some extent alright.
  • NuttyNutty Member Posts: 17
    A different path for every game, with its own GemRB.cfg file.
    And I'll select the Game/folder I want when I start GemRB.
    The path, you mean I should use /mnt/extSdCard/app-data/net.sourceforge.gemrb
    And not /storage / etc.. ?
    I've been using /mnt/**

    It's the Dvd version and without tob. I haven't installed the Fullscreen mod or any other mods.

    I've played the game before on the computer, but not under gem.

    I'll post my cfg(demo) file in a minute.
  • NuttyNutty Member Posts: 17
    edited January 2013
    GemRB.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=32

    #Fullscreen [Boolean]
    Fullscreen=0

    # 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

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


    Edit:
    I think I downloaded the patch from gamespy, 37036. I haven't installed tob, can't find my cd.
    Post edited by Nutty on
  • MichailMichail Member Posts: 196
    edited January 2013
    Do use the default paths.

    mnt/extSdCard/app-data/net.sourceforge.gemrb, is correct i think? Experiment with different paths after getting the program to work at least once. If you change the paths remember that you will have to edit the .cfg beyond the "Here be dragons" line.

    I think you have to use 1 gemrb.cfg file. No path for that. One file, one installation, one game. If you add more in different folders you will have to edit the gemrb.cfg or move it and replace it with another. But do try to get one thing done at a time.

    Our gemrb.cfg files are NOT identical (unless you meant identical with one you didn't post, but then why did you post the file you are not using?). Try setting:
    Bpp= 16
    Fullscreen= 1

    You are MISSING AN ENTIRE LINE:
    TouchScrollAreas= 1 (place it after Gui enhancements, see my .cfg)

    Your save path is set for windows. The line has # in front of it so the program ignores it, but i think it means you have a gemrb version that may be a bit messed up. Get the one from the google play store. If you set this path yourself, check if you copied the saved game folder as well. If you did, erase it and add the saved game files manually to the one the game will create.

    I also have removed # from the Volume variables, but normally it shouldn't affect you.

    Check your DVD installation for the CD folders.. Could it be that the dvd version has a different setup? I think my installation was from the CD's (i also have a dvd one, so i 'm not sure).
Sign In or Register to comment.