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

    Widescreen mod for gemrb on arm?

    Scheduled Pinned Locked Moved Help and Support
    gemrb
    16 Posts 3 Posters 1.8k 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.
    • S
      Stuffu
      last edited by

      Installed gemrb to get my old favourite RPG games running but the display is off. To fix this there is a mod called Widescreen mod, https://www.gibberlings3.net/files/file/896-widescreen-mod/

      However, there are no binaries for arm and I haven't managed to compile it myself (due to linux stupidness probably). Anyone that got it to work on a Pi4? I love the idea of having Baldur's Gate, Icewind Dale and Planescape running to satisfy my nostalgia needs :)

      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @Stuffu
        last edited by quicksilver

        @Stuffu said in Widescreen mod for gemrb on arm?:

        but the display is off

        Can you be more specific? Are you saying it's fullscreen but not widescreen? Or is there something else wrong with the way it's displaying?

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

          @quicksilver The issue is that gemrb is using the default resolutions available from the game itself. Since the games are from the 90's they tend to be rather small on bigger screens, like 1024x768. The Widescreen mod lets you define custom resolutions for games running on Infinity Engine.

          I don't know if Widescreen mod fixes it, but in all tested games through gemrb they are also not centered in the display, the are in the upper left area, at least for me.

          There is an option for fullscreen in the config file for each game, but it doesn't change anything.

          quicksilverQ 1 Reply Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @Stuffu
            last edited by

            @Stuffu Did you try changing the resolution in the runcommand menu before the game launches to match the display resolution to the games internal render resolution?

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

              @quicksilver said in Widescreen mod for gemrb on arm?:

              @Stuffu Did you try changing the resolution in the runcommand menu before the game launches to match the display resolution to the games internal render resolution?

              I tried that, the games themselves have different max resolutions, Icewind Dale is 640x480 while Icewind Dale II is 800x600 for an example. I have tried both putting the default resolution for gemrb to the actual resolution as well as the +rom alternative. It doesn't change anything on how it's displayed. I have a feeling that the system resolution, 1080p in my case, overrules those settings.

              That's why I wanted to try the Widescreen mod, but it might not be the right way forward. Just want to try different alternatives to fix the resolution..

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

                I think I might have the cause of the problem, I built from source but the build is 0.8.4, from 2016, the latest build is 0.8.6.

                Can someone update to fetch latest version?

                Thanks!

                quicksilverQ 1 Reply Last reply Reply Quote 0
                • quicksilverQ
                  quicksilver @Stuffu
                  last edited by

                  @Stuffu you should be able to modify the script module to compile the newer version.

                  Should be located at /home/pi/RetroPie-Setup/scriptmodule/ports/gemrb.sh

                  Then look for this line

                  gitPullOrClone "$md_build" https://github.com/gemrb/gemrb.git v0.8.4
                  

                  and change the version number there. Then rebuild gemrb from source.

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

                    @quicksilver thanks, updated to latest but with same result unfortunately. Also watched the tutorial video in the retropie gemrb section, done exactly as that. Still can’t figure out why the display isn’t centered. Every gemrb games behaves the same, other emulators run as expected. Any ideas?

                    quicksilverQ 1 Reply Last reply Reply Quote 0
                    • quicksilverQ
                      quicksilver @Stuffu
                      last edited by

                      @Stuffu try running it in an x session.

                      First install dependencies:

                      sudo apt install xorg xinit
                      

                      Then modify gemrb's emulators.cfg and add XINIT: to the beginning of the launch command.

                      You should then be able to play with the in game resolution options and the runcommand video modes to get a fullscreen image.

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

                        @quicksilver Fails to load, runcommand.log outputs this:

                        Parameters: 
                        Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty
                        
                        /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
                        xinit: giving up
                        xinit: unable to connect to X server: Connection refused
                        xinit: server error
                        
                        quicksilverQ 1 Reply Last reply Reply Quote 0
                        • quicksilverQ
                          quicksilver @Stuffu
                          last edited by

                          @Stuffu can you post the exact contents of your emulators.cfg for gemrb?

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

                            @quicksilver said in Widescreen mod for gemrb on arm?:

                            @Stuffu can you post the exact contents of your emulators.cfg for gemrb?

                            gemrb = "XINIT:/opt/retropie/ports/gemrb/bin/gemrb -C /opt/retropie/configs/ports/icewind1/GemRB.cfg"
                            default = "gemrb"
                            

                            Still curious how people get it to work "out of the box", but then again gemrb maybe isn't that widely used?

                            quicksilverQ 1 Reply Last reply Reply Quote 0
                            • quicksilverQ
                              quicksilver @Stuffu
                              last edited by quicksilver

                              @Stuffu Im sure we can get xinit to work, im just not an expert on it yet. I will probably need to install gemrb myself to play around with the settings first hand. The issue with the window not scaling properly is a quirk of the pi 4 and the fkms driver. I have run into this same issue with dosbox and other emulators.

                              S mituM 2 Replies Last reply Reply Quote 0
                              • S
                                Stuffu @quicksilver
                                last edited by

                                @quicksilver Ah, I see. Somehow it feels a bit better if it’s not just me having issues with that :)

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

                                  @quicksilver said in Widescreen mod for gemrb on arm?:

                                  The issue with the window not scaling properly is a quirk of the pi 4 and the fkms driver. I have run into this same issue with dosbox and other emulators.

                                  No, it's not and I would appreciate if you would stop saying that.

                                  quicksilverQ 1 Reply Last reply Reply Quote 0
                                  • quicksilverQ
                                    quicksilver @mitu
                                    last edited by

                                    @mitu said in Widescreen mod for gemrb on arm?:

                                    @quicksilver said in Widescreen mod for gemrb on arm?:

                                    The issue with the window not scaling properly is a quirk of the pi 4 and the fkms driver. I have run into this same issue with dosbox and other emulators.

                                    No, it's not and I would appreciate if you would stop saying that.

                                    Yikes. My apologies, obviously I am mistaken.

                                    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.