New port installer: OpenMW (Morrowind)
-
@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. -
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!
-
@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.
-
@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.
-
@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 -
@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...🤔
-
@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
-
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.
-
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!
-
@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.
-
@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
-
@exarkuniv said in New port installer: OpenMW (Morrowind):
@quicksilver how do you have it pointing to where the files are?
I'm not sure I understand you. You just need to have it point to wherever your install script puts openmw
-
@quicksilver not where the binary is, but how to have the binary know there the data files are.
im currently installing it on my test build and i will mess with it
-
@exarkuniv do you mean how to get it to load openMW directly without the launcher? (Sorry I'm still not quite sure what you're asking)
Also would it be better to build OSG as part of the OpenMW script module instead of a separate one?
-
@quicksilver said in New port installer: OpenMW (Morrowind):
Also would it be better to build OSG as part of the OpenMW script module instead of a separate one?
i did try that, it did not work so well. but with my very limited skills thats not a surprise
-
OK, so the openmw-launcher is what is causing the game to freeze when exited.
im working on how to get the game data path to work the way i want it to.
which now that i know where the config file sits will not be hard.i will be trying to see if i can make the two scripts into one, now that i have a little better idea on how to make things work
-
@exarkuniv i tried both of your scripts and it worked thx alot :).
Then i saw they released https://gitlab.com/OpenMW/openmw/-/releases/openmw-0.47.0
after changing the version in the script i tried the Installation and of course it failed.... long story short
you need Qt5 min v 5.12 and apt-get install max 5.11.3 ... so i looked around and found a compiled version for rpi4 https://github.com/koendv/qt5-opengl-raspberrypi i followed the instructions but qtchooser kind of didnt change the cmake qt5 also trying to pass as param didnt work so i endet up deleting the systems qt5 files and replacing them with the one from the installation probably not the best idea... but nevertheless after deleting cmake cache file in the build folder and allowing execution on some of the copied files the build and instaling doxygen the build is now running -
@mumbojumbo thanks for the update on it.
i will add it to my todo list for seeing if i can get the newer version working for my script.
for now i will be leaving the current version as is. since is it working, but i will see what i can do -
@exarkuniv at 50% it threw an error
[ 50%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/engine.cpp.o [ 50%] Linking CXX executable ../../openmw /usr/bin/ld: ../../components/libcomponents.a(navmeshtilescache.cpp.o): undefined reference to symbol '__atomic_fetch_sub_8@@LIBATOMIC_1.0' /usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libatomic.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [apps/openmw/CMakeFiles/openmw.dir/build.make:4502: openmw] Fehler 1 make[1]: *** [CMakeFiles/Makefile2:958: apps/openmw/CMakeFiles/openmw.dir/all] Fehler 2 make: *** [Makefile:130: all] Fehler 2
thats it so far
-
@exarkunivi suddenly remembered one thing through installation probably its because my tmp folder's owner was root. When installing the owner of folder was root so when it finished it couln't write the build files... on the next try i set the owner to pi via winscp while compiling then it worked
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.