RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    New port installer: OpenMW (Morrowind)

    Scheduled Pinned Locked Moved Ideas and Development
    ports
    41 Posts 7 Posters 4.5k 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.
    • ExarKunIvE
      ExarKunIv @quicksilver
      last edited by

      @quicksilver i see where you got that from now that i did take a better look at it

      @gderber your script did work for me just fine. i have not tested the game just yet.
      im sure that @quicksilver is right and a new version of cmake is needed.
      i did not have a problem but i know that i have version 3.15.4 installed from a different game i built from source

      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
      Maintainer of RetroPie-Extra .

      1 Reply Last reply Reply Quote 0
      • R
        roxton
        last edited by roxton

        Interesting stuff.
        After building and installing cmake 3.18 and openmw's osg fork, I attempted to run the script again.
        The script did not install dependencies in my case and I had to install them manually.
        After they were installed, I launched the script again, it built 48% of openmw (according to Make) and then failed as if someone killed it.

        Log.

        1 Reply Last reply Reply Quote 0
        • ExarKunIvE
          ExarKunIv
          last edited by ExarKunIv

          @quicksilver this script is no longer working now.
          and i have messed with trying to get it to compile again, but it not do the cmake.

          i already have OSG complied. and still no go.

          i did try to get cmake 3.15.4 to install again but it does not seem to be working. keeps failing at diffent point.

          if i run the srcipt i get this error

          -- Found OpenGL: /usr/lib/arm-linux-gnueabihf/libGL.so   
          -- Using Qt4
          qmake: could not exec '/usr/lib/arm-linux-gnueabihf/qt4/bin/qmake': No such file or directory
          CMake Error at /usr/local/share/cmake-3.15/Modules/FindQt4.cmake:1314 (message):
            Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
          Call Stack (most recent call first):
            CMakeLists.txt:157 (find_package)
          ``

          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
          Maintainer of RetroPie-Extra .

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

            @exarkuniv this script never worked for me. See my first post on this thread.

            ExarKunIvE 2 Replies Last reply Reply Quote 0
            • ExarKunIvE
              ExarKunIv @quicksilver
              last edited by

              @quicksilver i did get it to work at one point, but i think i found my problem at least

              the dependencies in the script where not installing. so that's what i was missing

              once my compiling is done ill give it a shot again.

              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
              Maintainer of RetroPie-Extra .

              1 Reply Last reply Reply Quote 0
              • ExarKunIvE
                ExarKunIv @quicksilver
                last edited by

                @quicksilver yes that was it. the list of dependencies in the script was not being checked and or installed if missing.

                once i did that i was able to run the setup script fine.
                now i did install cmake 3.15.4 so i dont know if that also was causing a error or not.

                i might try a clean load on a different card and test to make sure for other people looking in to this

                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                Maintainer of RetroPie-Extra .

                B 1 Reply Last reply Reply Quote 1
                • B
                  boolean @ExarKunIv
                  last edited by boolean

                  @exarkuniv I've successfully compiled/installed OpenMW (and the graphics driver) using the updated script on your repo. However, after running it I'll get an "Unhandled fault: alignment exception (0xa21) at 0xa50d3008" error and the game stops loading.

                  alt textalt textalt textalt textalt textalt text

                  If you have any ideas how to resolve this, I would love to hear from you. Merry Christmas! 🎄

                  EDIT: I've managed to fix it. A bit of debugging learned that it doesn't like *.bik video files. After changing "Video" to "#Video" it successfully loaded the game! The only remaining issue is that it doesn't properly exits to EmulationStation but quits to a blank screen.

                  ExarKunIvE 1 Reply Last reply Reply Quote 0
                  • ExarKunIvE
                    ExarKunIv @boolean
                    last edited by

                    @boolean yes. I think might of had that not to have to video files in the help me doc. But I can't remember.

                    And yes it has the same problem as doom3 port

                    RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                    RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                    Maintainer of RetroPie-Extra .

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

                      @exarkuniv said in New port installer: OpenMW (Morrowind):

                      And yes it has the same problem as doom3 port

                      Interesting, I don't remember this being an issue when I compiled OpenMW. Have you tried launching directly to the game menu and skipping the launcher? iirc, that's how I had mine set up.

                      ExarKunIvE 1 Reply Last reply Reply Quote 0
                      • ExarKunIvE
                        ExarKunIv @quicksilver
                        last edited by

                        @quicksilver I don't remember at the moment. I believe I have mine set up that way also.
                        I'll check again once Im back at my system.

                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                        Maintainer of RetroPie-Extra .

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

                          Thank you so much for putting this together. Everything worked great following the instructions on the github page. I'm really looking forward to adventuring round this corner of Tamriel on my retropie machine! I've had a play around with it, and a came across a couple of issues for me and my setup;

                          At first, the sound was very choppy and distorted - both on the menu and in game. I managed to get it working by installing the pixel desktop in an attempt to get xinit to behave itself. I think it only needed the (much maligned) pulseaudio, as when I uninstalled that the choppy sound came back, and a reinstallation fixed it again. I'm using a set of usb 'soundcard' speakers on my setup, so audio is often a hassle!

                          Unfortunately I couldn't get my joypad to work with it - in fact, the joypad still seems to be bound to emulationstation, as I get the menu clicks and video sounds from it coming through as if I am navigating the menus behind openmw. (I know some will say playing Morrowind with a joypad is sacrilege - but it does work rather well on my x86 ubuntu version of openmw!) I usually use a pegasus frontend, I'll set that up when I get a chance and see if that is any different.

                          Lastly, quitting the game hangs the system on a busy command prompt - maybe this is to do with emulationstation not going to sleep properly when the game is run?

                          Having said all this, I am astonished to be able to even get that far with it and that this little machine can run this engine. Thank you again for all of your hard work on this!

                          ExarKunIvE 1 Reply Last reply Reply Quote 0
                          • ExarKunIvE
                            ExarKunIv @sabrecheeky
                            last edited by

                            @sabrecheeky I will take a look with it freezing when exited.

                            As far as the controller you need to use xboxdrv to map the keyboard and mouse to the controller.

                            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                            Maintainer of RetroPie-Extra .

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

                              @exarkuniv said in New port installer: OpenMW (Morrowind):

                              @sabrecheeky I will take a look with it freezing when exited.

                              As far as the controller you need to use xboxdrv to map the keyboard and mouse to the controller.

                              Its really strange that these issues didn't affect me when I compiled MW. I'll take a look into this as well. Im able to exit MW cleanly and I was able to map my controller in game without xboxdrv.

                              ExarKunIvE 1 Reply Last reply Reply Quote 0
                              • ExarKunIvE
                                ExarKunIv @quicksilver
                                last edited by

                                @quicksilver i have not looked into the mapping of the controller yet.
                                i mainly have been focused on getting things running. lol i have not even linked my 8bitdo yet since i have to blow my build away all the time with all the compiling i do

                                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                Maintainer of RetroPie-Extra .

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

                                  @exarkuniv @sabrecheeky
                                  There is an in game menu option to enable joystick. I believe you need to activate that option to use a controller.

                                  As far as the game hanging when quiting. It looks like I setup OpenMW to use matchbox window manager in conjunction with xinit. It may be worth seeing if that solves the issue.

                                  Edit: haven't played MW in a while and now for some reason I have no audio even though it was working the last time I played...🤔

                                  ExarKunIvE 1 Reply Last reply Reply Quote 0
                                  • ExarKunIvE
                                    ExarKunIv @quicksilver
                                    last edited by

                                    @quicksilver i have not messed much with matchbox window manager much. i cant really find good info on how to really use it

                                    i will have to take a look at it again.

                                    im compiling mine right now and i will let you all know my findings

                                    RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                    RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                    Maintainer of RetroPie-Extra .

                                    1 Reply Last reply Reply Quote 0
                                    • ExarKunIvE
                                      ExarKunIv
                                      last edited by

                                      ok i have it installed with my script.

                                      for me with a clean and updated build i do have audio

                                      i have joystick enabled but it does not work.
                                      i have tried to use the .sh from micropolis since that uses matchbox window manager and i still get the black screen when you exit

                                      @quicksilver if it is easy for you, could you post how you used matchbox window manager. so i can see how it works. trying to find info on how to use it is not the easiest.

                                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                      Maintainer of RetroPie-Extra .

                                      quicksilverQ 1 Reply Last reply Reply Quote 0
                                      • S
                                        sabrecheeky
                                        last edited by

                                        Thank you for the replies - As far as the controller is concerned, I am using an 8bitdo SN30pro connected via bluetooth. Openmw sees the controller, but labels it 'unusable' in the log (edited for brevity!):

                                        Adding data directory /home/pi/RetroPie/roms/Morrowind/Data Files
                                        Loading keybindings file: /home/pi/.config/openmw/input_v3.xml
                                        Detected unusable controller: 8Bitdo SN30 Pro
                                        Initializing OpenAL...
                                        

                                        I've used the controller menu in game in other installations of openmw - I am a bit wary of xboxdrv as I have managed to break my retropie system in the past by messing with it! As I said, it seems emulationstation still 'has' the controller, as I can hear the system sounds while using it as if navigating the menus. Not being a dev - I'm not sure if or how the controller is 'passed' to the emulator from emulationstation. I'll try it with pegasus and see what happens there!

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

                                          @exarkuniv So after you install Matchbox youll want your openmw emulators.cfg to look something like this:

                                          openmw = "XINIT:/opt/retropie/configs/ports/openmw/openmw.sh"
                                          default = "openmw"
                                          

                                          the openmw.sh file contents should look like this:

                                          #!/usr/bin/env bash
                                          matchbox-window-manager & 
                                          OPENMW_DECOMPRESS_TEXTURES=1 /path/to/openmw
                                          

                                          I checked your script module and it looks like you have it starting the openmw-launcher. Not sure if that is causing the hang on exit. I have my script starting the game directly without the launcher and I get no hang on exit.

                                          ExarKunIvE 1 Reply Last reply Reply Quote 1
                                          • ExarKunIvE
                                            ExarKunIv @quicksilver
                                            last edited by ExarKunIv

                                            @quicksilver how do you have it pointing to where the files are?

                                            sorry im kinda all over. im working on cleaning and fixing the scripts in zerojay's extras

                                            the script from gderber launches with the openmw-launcher. i will try with your openmw.sh and go from there.

                                            im sure one of the cfg files has the dir where to look for the games. i will take a look there also

                                            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                            Maintainer of RetroPie-Extra .

                                            quicksilverQ 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.