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 5.0k 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.
    • R
      roxton
      last edited by

      Pi3B+

      Log started at: Tue 14 Jul 2020 08:52:26 AM CEST
      
      RetroPie-Setup version: 4.6.4 (1d1d4152)
      System: Raspbian GNU/Linux 10 (buster) - Linux retropie 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux
      
      = = = = = = = = = = = = = = = = = = = = =
      Installing dependencies for 'openmw' : openmw - Morrowind source port
      = = = = = = = = = = = = = = = = = = = = =
      
      Did not find needed dependencies: libopenal-dev. Trying to install them now.
      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Reading package lists...
      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following NEW packages will be installed:
        libopenal-dev
      0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      Need to get 31.1 kB of archives.
      After this operation, 163 kB of additional disk space will be used.
      Get:1 http://mirror.dkm.cz/raspbian/raspbian buster/main armhf libopenal-dev armhf 1:1.19.1-1 [31.1 kB]
      Fetched 31.1 kB in 1s (39.6 kB/s)
      Selecting previously unselected package libopenal-dev:armhf.
      (Reading database ... 
      (Reading database ... 5%
      (Reading database ... 10%
      (Reading database ... 15%
      (Reading database ... 20%
      (Reading database ... 25%
      (Reading database ... 30%
      (Reading database ... 35%
      (Reading database ... 40%
      (Reading database ... 45%
      (Reading database ... 50%
      (Reading database ... 55%
      (Reading database ... 60%
      (Reading database ... 65%
      (Reading database ... 70%
      (Reading database ... 75%
      (Reading database ... 80%
      (Reading database ... 85%
      (Reading database ... 90%
      (Reading database ... 95%
      (Reading database ... 100%
      (Reading database ... 105760 files and directories currently installed.)
      Preparing to unpack .../libopenal-dev_1%3a1.19.1-1_armhf.deb ...
      Unpacking libopenal-dev:armhf (1:1.19.1-1) ...
      Setting up libopenal-dev:armhf (1:1.19.1-1) ...
      /home/pi/RetroPie-Setup/tmp/build/openmw /home/pi
      
      = = = = = = = = = = = = = = = = = = = = =
      Getting sources for 'openmw' : openmw - Morrowind source port
      = = = = = = = = = = = = = = = = = = = = =
      
      git clone --recursive --branch master "https://gitlab.com/OpenMW/openmw.git" "/home/pi/RetroPie-Setup/tmp/build/openmw"
      Cloning into '/home/pi/RetroPie-Setup/tmp/build/openmw'...
      Winding back https://gitlab.com/OpenMW/openmw.git->master to commit: #openmw-0.46.0
      Switched to a new branch 'openmw-0.46.0'
      HEAD is now in branch 'heads/openmw-0.46.0' at commit '0abcb54f51ec4a3979039b2e94ccdc5aa57920ec'
      /home/pi
      /home/pi/RetroPie-Setup/tmp/build/openmw /home/pi
      
      = = = = = = = = = = = = = = = = = = = = =
      Building 'openmw' : openmw - Morrowind source port
      = = = = = = = = = = = = = = = = = = = = =
      
      -- The C compiler identification is GNU 8.3.0
      -- The CXX compiler identification is GNU 8.3.0
      -- Check for working C compiler: /usr/bin/cc
      -- Check for working C compiler: /usr/bin/cc -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Check for working CXX compiler: /usr/bin/c++
      -- Check for working CXX compiler: /usr/bin/c++ -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Configuring OpenMW...
      -- Found Git: /usr/bin/git (found version "2.20.1") 
      -- 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/share/cmake-3.13/Modules/FindQt4.cmake:1313 (message):
        Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
      Call Stack (most recent call first):
        CMakeLists.txt:157 (find_package)
      
      
      -- Configuring incomplete, errors occurred!
      See also "/home/pi/RetroPie-Setup/tmp/build/openmw/build/CMakeFiles/CMakeOutput.log".
      make: *** No rule to make target 'clean'.  Stop.
      make: *** No targets specified and no makefile found.  Stop.
      /home/pi
      Could not successfully build openmw - openmw - Morrowind source port (/home/pi/RetroPie-Setup/tmp/build/openmw/build/bsatool not found).
      
      Log ended at: Tue 14 Jul 2020 08:53:18 AM CEST
      Total running time: 0 hours, 0 mins, 52 secs
      
      
      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @roxton
        last edited by

        @roxton same error I had. If I'm reading the log right, I believe a newer version of cmake is required. It will need to be built from source.

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

          @quicksilver how do you build OSG from the fork.
          i tried and still cant do it. i have build from the main apt repository for OSG. but not from fork. so know that im doing something wrong

          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
          • quicksilverQ
            quicksilver
            last edited by quicksilver

            @ExarKunIv try this:

            git clone --recursive --depth 1 https://github.com/OpenMW/osg.git
            cd osg
            cmake . -DBUILD_OSG_PLUGINS_BY_DEFAULT=0 -DBUILD_OSG_PLUGIN_OSG=1 -DBUILD_OSG_PLUGIN_DDS=1 -DBUILD_OSG_PLUGIN_TGA=1 -DBUILD_OSG_PLUGIN_BMP=1 -DBUILD_OSG_PLUGIN_JPEG=1 -DBUILD_OSG_PLUGIN_PNG=1 -DBUILD_OSG_PLUGIN_FREETYPE=1 -DBUILD_OSG_DEPRECATED_SERIALIZERS=0 -DOPENGL_PROFILE=GL2 -DOSG_GLES1_AVAILABLE=FALSE -DOSG_GLES2_AVAILABLE=FALSE -DOSG_GLES3_AVAILABLE=FALSE
            make
            sudo make install
            
            ExarKunIvE 1 Reply Last reply Reply Quote 0
            • ExarKunIvE
              ExarKunIv @quicksilver
              last edited by

              @quicksilver

              i get this

              Parse error in command line argument: -DOPENGL_PROFILE
              Should be: VAR:type=value
              CMake Error: No cmake script provided.
              CMake Error: Problem processing arguments. Aborting.
              

              when i use
              cmake ../OpenSceneGraph -DBUILD_OSG_PLUGINS_BY_DEFAULT=0 -DBUILD_OSG_PLUGIN_OSG=1 -DBUILD_OSG_PLUGIN_DDS=1 -DBUILD_OSG_PLUGIN_TGA=1 -DBUILD_OSG_PLUGIN_BMP=1 -DBUILD_OSG_PLUGIN_JPEG=1 -DBUILD_OSG_PLUGIN_PNG=1 -DBUILD_OSG_PLUGIN_FREETYPE=1 -DBUILD_OSG_DEPRECATED_SERIALIZERS=0 -DOPENGL_PROFILE GL2 -DOSG_GLES1_AVAILABLE FALSE -DOSG_GLES2_AVAILABLE FALSE -DOSG_GLES3_AVAILABLE FALSE

              not sure what that means other then it dont want to. lol

              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 I modified the above instructions, try it again.

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

                  @quicksilver still same thing. not sure whats going on, but for now ill think ill go back to seeing why blake stone is not working anymore

                  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 quicksilver

                    @ExarKunIv my wife has been working from home all week, so has been dominating my PC. Once I have a chance to use it again I'll test out my instructions to see where I'm steering you wrong.

                    Edit: ok so I was able to ssh into my pi using my phone and see my mistake. I have fixed the above instructions, and they should work for you now.

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

                      @quicksilver ok this time it worked just fine. thanks for your help. i would of never figured that out.

                      i still dont know what most of what you posted even means, lol

                      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 I just copy pasted what the OpenMW build instructions said to plus some stuff I read on their forums. Essentially it's disabling OSG from building plugins that aren't needed for OpenMW and its disabling OpenGLES and forcing desktop OpenGL.

                        ExarKunIvE 1 Reply Last reply Reply Quote 0
                        • 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
                                            • 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.