RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    GemRB support?

    Scheduled Pinned Locked Moved Help and Support
    gemrb
    64 Posts 6 Posters 10.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • chilvenceC
      chilvence
      last edited by

      No problem at all, I would really like to see this sorted so that people only have to worry about installing the game data!

      S 1 Reply Last reply Reply Quote 0
      • S
        Stuffu @chilvence
        last edited by

        @chilvence Somehow it won't build (using 0.8.6):

        "Error running 'git clone --recursive --depth 1 --branch 0.8.6 https://github.com/gemrb/gemrb.git /home/pi/RetroPie-Setup/tmp/build/gemrb' - returned 128

        gemrb.sh here https://pastebin.com/k05xnx8K if you can spot what's wrong...

        1 Reply Last reply Reply Quote 0
        • chilvenceC
          chilvence
          last edited by chilvence

          Git error 128 seems to get hits about having a bad git staging tree. You may need to manually purge the git source tree (but I think RP is supposed to be doing that each time?)

          Also, it's very easy to miss, but it should be v0.8.6 rather than 0.8.6, even I keep typing it wrong.

          Other than that, your command line looks ok, just don't forget to modify the config entries lower down to use fullscreen.

          Just to be sure, it also couldn't hurt to completely remove the gemrb package and start from scratch, the results of experimenting this way can sometimes lead to unpredictable errors.

          You should also be able to inspect the build log that git created, on my system it is in RetroPie-Setup/logs, if you can find, unzip and paste one of those logs, that would really help diagnose the issue

          S 1 Reply Last reply Reply Quote 0
          • S
            Stuffu @chilvence
            last edited by

            @chilvence It works! It was the missing "v"! When launching a game it now scales properly and is centered.

            Fullscreen option doesn't work though. Tried with IWD2, fullscreen option is also enabled in graphics menu in game but it's not using the full display. It's not the most important part at least for me, so for me I'm happy, big thanks!

            I see one thing not really working in IWD2, the videos are full of artefacts. It was that before as well, so it might be something with my game files.

            1 Reply Last reply Reply Quote 0
            • chilvenceC
              chilvence
              last edited by

              Glad we solved one problem, I will have to see if I can find another SD card to put base RetroPie and see if I can resolve the scaling issue

              If nothing else, the aim is to deal with the resolution automatically, so the next versions of GemRB will not have these kind of difficulties

              I will have to let you down gently though, BG1/2 and IWD are much better supported than PST or IWD2 : you can still play the latter, but you will run into unsupported features or gameplay bugs because they are still both heavily in development. Just a hint at the todo list:

              https://github.com/gemrb/gemrb/issues?q=is%3Aopen+is%3Aissue+label%3A"game%3A+iwd2"+
              https://github.com/gemrb/gemrb/issues?q=is%3Aopen+is%3Aissue+label%3A"game%3A+pst"

              You will have much more joy with either game if you use the 'master' branch, but there is still a lot of work to do to make them fully playable

              S 1 Reply Last reply Reply Quote 1
              • S
                Stuffu @chilvence
                last edited by

                @chilvence To be honest, the BG Games are the only ones that I have played a lot. The other ones I have barely touched. It’s just that I have only the enhanced versions of BG1/2 and they are from Mac App Store, I don’t want to buy them again from GOG just to get the original versions. So I’m just stingy... But someday I will probably buy them again :)

                By the way should I bother about the missing directories GemRB complains about when launching a game? Like missing portraits folder or CD X/Data? It launches just fine, but might be a problem later in game maybe?

                chilvenceC 1 Reply Last reply Reply Quote 1
                • chilvenceC
                  chilvence @Stuffu
                  last edited by

                  @Stuffu Some of the warnings are from the resource manager trying different directories to find the data - if it cannot find what it needs, the game would not load so you can usually ignore them. It's just a result of the modular design of the engine, the resource manager doesn't know exactly what the particular game will load, it just continually spits out a 'debug' output so that we can use it to diagnose problems. The game is actually very loud in the console for this reason.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Stuffu @chilvence
                    last edited by

                    @chilvence Good to know, again big thanks! This is going to be a good summer :)

                    chilvenceC 1 Reply Last reply Reply Quote 0
                    • chilvenceC
                      chilvence @Stuffu
                      last edited by

                      @Stuffu Good luck, don't hesitate to get more support on github or the discord channel if you need it

                      1 Reply Last reply Reply Quote 0
                      • S
                        Stuffu
                        last edited by

                        @mitu Thanks for adding latest GemRB in the latest commit, but I don’t see it in experimental packages anymore?

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @Stuffu
                          last edited by mitu

                          @Stuffu Yes, there's an error that I have to fix in the scriptmodule. Should be ok now if you update your RetroPie-Setup script.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Stuffu @mitu
                            last edited by Stuffu

                            @mitu Now it's there but the scaling is the same as before. It's the right version 0.8.6, but wasn't it SDL2 that fixed the scaling issues?

                            1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator
                              last edited by

                              There will be a separate module for the SDL2 version, but what you can do with the current version is enabled dispmanx as the video driver for SDL1 and see if scaling is better.
                              Go into the RetroPie Setup script, to Configuration / tools, choose dispmanx and then enable it for gemrb. Then start one of the gemrb based ports and see if scaling is still wrong.

                              S 3 Replies Last reply Reply Quote 0
                              • S
                                Stuffu @mitu
                                last edited by

                                @mitu Sorry for the never-ending story... dispmanx doesn't launch, below from runcommand:

                                [PluginLoader]: Loaded plugin "WMP File Imp/opt/retropie/supplementary/runcommand/runcommand.sh: line 1255: 20348 Segmentation fault SDL1_VIDEODRIVER=dispmanx /opt/retropie/ports/gemrb/bin/gemrb -C /opt/retropie/configs/ports/icewind1/GemRB.cfg

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Stuffu @mitu
                                  last edited by

                                  @mitu Maybe I should wait for the SDL2 version? No rush though. Just happy it’s on the list for future improvements :)

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Stuffu @mitu
                                    last edited by

                                    @mitu said in GemRB support?:

                                    There will be a separate module for the SDL2 version

                                    Thanks for adding it, tested and it works fine

                                    1 Reply Last reply Reply Quote 1
                                    • mituM
                                      mitu Global Moderator
                                      last edited by

                                      Glad it works. If you have any suggestions on how we may improve the default configurations, feel free to add them - it looks like right now you're the only (active) user for gemrb :).

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Stuffu @mitu
                                        last edited by

                                        @mitu Haha, I'm unique! :)

                                        Actually, I think more would have used it if they knew about it. Especially the BG games are really good retro games and still played a lot today. Then again, it's not really an emulator so maybe it flies under the radar for RetroPie. I guess ports are not top in time spent in general on RetroPie anyway...

                                        Big thanks again and I hope it leads to more people finding out about it and some really good RPG's. A must have for all retro fans! :)

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Stuffu
                                          last edited by

                                          @mitu

                                          I hope that it's ok to bring this thread back to life for a newly released stable version that has some issues launching...

                                          A new version (0.8.7, previously 0.8.6 worked fine) was just released. I can't seem to get it to run. No rush, I know that the user base is kind of small :)

                                          I would gladly reach out to the GemRB team on Github if something needs to be clarified, but it seems it's related to SDL2?

                                          [1m[SDL 2 GL Driver]: Creating display
                                          [SDL 2 GL Driver]: Creating Main Surface: w=800 h=600 fmt=SDL_PIXELFORMAT_RGBA8888
                                          [SDL 2 GL Driver/FATAL]: Can't build shader program: 0:1(1): error: syntax error, unexpected NEW_IDENTIFIER
                                          
                                          [Core/FATAL]: Cannot initialize shaders.
                                          [Main]: Aborting due to fatal error...
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator
                                            last edited by

                                            I'll take a look, but it doesn't seem related to SDL2, more likely an OpenGL (ES) initialization error.

                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.