It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
Hickory: I don't know what you class as source, but the content of the download looks to be a complete package to me (gemrb.exe and assorted .dll, plus other IE files) See attached image.
avatar
babark: That looks to be one of the windows binaries, not for linux.
Ok. You'll have to excuse this Linux ignoramus who wouldn't know the difference. :)
avatar
Hickory: Ok. You'll have to excuse this Linux ignoramus who wouldn't know the difference. :)
No worries. Linux doesn't use EXEs for executables (also, libraries aren't dlls either). Seems it can execute literally anything EXCEPT exes. Very confusing, but that is how you'd know. :D
Post edited August 25, 2014 by babark
avatar
lynxlynxlynx: Oliver's ppa has an old gemrb version currently, so better get a .deb package elsewhere.
avatar
babark: Sorry for dragging out this old thread, I was just wondering about this point. Any idea where I can get a newer version?
None of the links on the download page on their website work, and the last official binaries on their sourceforge page are versions 0.3.0 from 2008 (and for i386 anyhow).

I tried compiling the source they provide on their sourceforge (lastest stable being version 0.8.1), but it seems beyond my skill level. I keep getting missing library errors (it says that at least python 2.3 is needed, but I have python 2.7.5!)
I think the reason that it did not find python is because you have the python interpreter installed, but you need the python development librairies....
The following command should add the necesary dependencies you need to compile gemrb 0.8.1 (I think) Note that this will only support SDL1 (as opposed to SDL2) and it will not support VLC (but I think the VLC reference is for MAC only)

sudo apt-get install cmake g++ libpython2.7-dev libsdl-mixer1.2-dev libopenal-dev libfreetype6-dev

Also. you might need to set the compile flags to ignore stack protector errors (this is documented here: http://forums.gibberlings3.net/index.php?showtopic=26386

Although the forum does post a workaround to get the code compiled, I found it easier to modify the CMakeLists.txt before running cmake. This is the change I make:
look for the line:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wno-format-y2k -Wno-long-long -fno-strict-aliasing)
and add the following line right below it...
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-stack-protector")

After that, you should be able to compile gemrb....

Let me know if you still have problems after that.
Post edited August 28, 2014 by desic
avatar
desic: I think the reason that it did not find python is because you have the python interpreter installed, but you need the python development librairies....
The following command should add the necesary dependencies you need to compile gemrb 0.8.1 (I think) Note that this will only support SDL1 (as opposed to SDL2) and it will not support VLC (but I think the VLC reference is for MAC only)

sudo apt-get install cmake g++ libpython2.7-dev libsdl-mixer1.2-dev libopenal-dev libfreetype6-dev

Also. you might need to set the compile flags to ignore stack protector errors (this is documented here: http://forums.gibberlings3.net/index.php?showtopic=26386

Although the forum does post a workaround to get the code compiled, I found it easier to modify the CMakeLists.txt before running cmake. This is the change I make:
look for the line:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wno-format-y2k -Wno-long-long -fno-strict-aliasing)
and add the following line right below it...
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-stack-protector")

After that, you should be able to compile gemrb....

Let me know if you still have problems after that.
Thanks so much for your help, desic! It got me a bit further along, definitely, but it didn't seem to fix the problem completely. Now it gives me errors telling me gemrb.6.in does not exist, gemrb.spec.in does not exist. Like you said, It was giving warnings about SDL2 and VLC not being found, so I tried to see if it would work if I added those dev packages: I couldn't find SDL2s, but I added for VLC, and that didn't help. In the error log file (I hope I'm not doing something stupidly unsecure by pasting that) it mentioned something about "Id flags: The output was: No such file or directory", which made me think I might have followed your instructions wrong (although I directly copied and pasted it without changing (or really even understanding) what you had done.

Thank you so much for your help! You have any idea for what further I could do? Is it some stupid simple mistake I made? Or is it too dense to figure out? I'd follow the instructions you linked, but I really don't understand them, and I'm not sure how exactly to cleanly remove what I had done so far so as to start again with those. Hopefully that wouldn't be necessary...
avatar
babark: Thanks so much for your help, desic! It got me a bit further along, definitely, but it didn't seem to fix the problem completely. Now it gives me errors telling me gemrb.6.in does not exist, gemrb.spec.in does not exist. Like you said, It was giving warnings about SDL2 and VLC not being found, so I tried to see if it would work if I added those dev packages: I couldn't find SDL2s, but I added for VLC, and that didn't help. In the error log file (I hope I'm not doing something stupidly unsecure by pasting that) it mentioned something about "Id flags: The output was: No such file or directory", which made me think I might have followed your instructions wrong (although I directly copied and pasted it without changing (or really even understanding) what you had done.

Thank you so much for your help! You have any idea for what further I could do? Is it some stupid simple mistake I made? Or is it too dense to figure out? I'd follow the instructions you linked, but I really don't understand them, and I'm not sure how exactly to cleanly remove what I had done so far so as to start again with those. Hopefully that wouldn't be necessary...
It looks like g++ didn't install correctly (or at all). Try running:
sudo apt-get update && sudo apt-get install g++

let me know if you get any errors when you run this.

sdl2 errors: sdl2 is only required to compile with opengl - which is still experimental and not recommended.
vlc errors: I think VLC is only required if you are installing games with the MAC installer.
Since both of these are optional, you don't need them to keep going.

As far as cleaning up, right now, everything is contained in your build directory. You can delete everything from that directory and start again without worry. Nothing will be installed anywhere else until you run the make install command.

If you want to keep the program isolated and easy to remove from your computer, you can install it to /opt by running:
cmake -DLAYOUT="opt" -DPREFIX=/opt/gemrb ..
from within your build directory (as opposed to the "cmake .." recommended in the install document). This way, all the gemrb program files will be entirely localized in it's own directory within /opt/gemrb after it is installed and it will be easy to uninstall.
avatar
desic: It looks like g++ didn't install correctly (or at all). Try running:
sudo apt-get update && sudo apt-get install g++

let me know if you get any errors when you run this.

sdl2 errors: sdl2 is only required to compile with opengl - which is still experimental and not recommended.
vlc errors: I think VLC is only required if you are installing games with the MAC installer.
Since both of these are optional, you don't need them to keep going.

As far as cleaning up, right now, everything is contained in your build directory. You can delete everything from that directory and start again without worry. Nothing will be installed anywhere else until you run the make install command.

If you want to keep the program isolated and easy to remove from your computer, you can install it to /opt by running:
cmake -DLAYOUT="opt" -DPREFIX=/opt/gemrb ..
from within your build directory (as opposed to the "cmake .." recommended in the install document). This way, all the gemrb program files will be entirely localized in it's own directory within /opt/gemrb after it is installed and it will be easy to uninstall.
I updated g++ (it seemed it didn't need to, 0 to update, 0 to reinstall, etc.), but it made no difference. I'm getting the same errors:

gemrb.6.in does not exist
CMakeLists.txt:388 (CONFIGURE_FILE) configure_file problem configuring file.

CMakeLists.txt:394 (ADD_SUBDIRECTORY):
add_subdirectory given source "gemrb" which is not an existing directory.

gemrb.spec.in does not exist
CMakeLists.txt:413 (CONFIGURE_FILE): configure_file problem configuring file.
Post edited August 30, 2014 by babark
You so much for this! One problem; I modify my notice dimension but all it does is modify the dimension the box that it features in, not the real activity itself. Any way to [url=http://RS 3 Gold ]RS 3 Gold [/url] fix this? I was 'waylaid' on the way to the Valuable Arm and my figures got trapped in an limitless fight against a finish of invisible pets, bandits and hobgoblins.
avatar
babark: I updated g++ (it seemed it didn't need to, 0 to update, 0 to reinstall, etc.), but it made no difference. I'm getting the same errors:

gemrb.6.in does not exist
CMakeLists.txt:388 (CONFIGURE_FILE) configure_file problem configuring file.

CMakeLists.txt:394 (ADD_SUBDIRECTORY):
add_subdirectory given source "gemrb" which is not an existing directory.

gemrb.spec.in does not exist
CMakeLists.txt:413 (CONFIGURE_FILE): configure_file problem configuring file.
I think you should try to build the project from a fresh source. Delete the gemrb-0.8.1 directory and extract the tar.gz file again - preferably from a new download. That should get you over this particular hurdle.
avatar
desic: I think you should try to build the project from a fresh source. Delete the gemrb-0.8.1 directory and extract the tar.gz file again - preferably from a new download. That should get you over this particular hurdle.
I guess that is the simplest way to fix it for now. I'll go through it again and update. I've been getting it from the sourceforge page here. Is there somewhere better to get it from?
Post edited August 31, 2014 by babark
It works!
I had built GemRB in a build folder inside the gemrb-0.8.1 in my home folder, and despite changing the config file to have all the paths point to there (instead of the game), it was still trying to access .gemrb. So in the end I just copied the gemrb folder to there and renamed it .gemrb, and then I also had to copy the contents of usr/local/share/gemrb to that same folder (even though it was pointing to that in the paths, and I hadn't created that folder directly). Still, after all that, it worked!

I'm just in the tutorial right now (and am having issues where the guy goes on to the next step while I'm still in the previous one, and since I'm in the inventory screen, I end up not being able to click anything, but that is small stuff).

You have no idea how grateful I am. Not that I can do anything to thank you enough, but I've named my character Desic :D (here's hoping you're a female elf sorcerer).
I'm glad it worked for you! Sometimes getting the game to work is half the fun!

You can imagine me as an elvish sorceress if you wish, but you risk being sorely disapointed if we ever meet... :)
avatar
babark: But that is just the source, not the binaries, and as I said, I've not been able to compile the source :(.
avatar
Gydion: Do you even need to?
If you are using Ubuntu 14.04 i386, yes, if you do not trust playdeb to provide a clean package.
Ouch, that was cringy to read; I better not comment. Thanks Desic.

Since I last posted, GemRB is now available Debian directly (testing and unstable), so some apt sorcery should do.
avatar
lynxlynxlynx: Ouch, that was cringy to read; I better not comment. Thanks Desic.

Since I last posted, GemRB is now available Debian directly (testing and unstable), so some apt sorcery should do.
GemRB is also now officially supported on Ubuntu 14.10 as well. Since Linux Mint has decided to base all their releases on LTS versions of Ubuntu, I don't think we'll gemRB officially supported in Mint for some time though.
Quick question - since GemRB works on Android, is it somewhat optimized for touch screens? I ask because I've played BG:EE on my Surface Pro and its pretty good, but it only works well if I use my stylus, trying to just use touch doesn't work very well.