I tried to run an .iso of War of the Monsters (PS2 game) with the runner PCSX2.
I get this error:
Error: Missing shared library.
/home/cronyk/.local/share/lutris/runners/pcsx2/PCSX2: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
I can assume that it’s because I haven’t configurated PCSX2 with the BIOS from the PS2, but I have no idear how to do it in Lutris because the configure Menu has no tab for it.
It seems that there’s a missing lib in your system, I’ll try to update the Lutris runtime to ship it so don’t be surprised if PCSX2 starts working without any intervention next time you try it
It will require a BIOS to run games, you can copy it to ~/.local/share/lutris/runners/pcsx2/bios
Well, this seems to solve the lib problem, thank you
But now it seems like nothing happenes when I start the game.
When starting with terminal I get “Illegal instruction”. Google brought me to this: http://forums.pcsx2.net/Thread-Getting-illegal-instruction-message-SOLVED
The solution don’t really helps in this case…
Maybe I did something wrong with the BIOS files.
Here is the Path and Folder:
cronyk@Magnus:~/.local/share/lutris/runners/pcsx2/bios$ ls
PS2 Bios 30004R V6 Pal.bin scph39001.MEC
PS2 Bios 30004R V6 Pal.MEC scph39001.NVM
PS2 Bios 30004R V6 Pal.NVM SCPH-70004_BIOS_V12_PAL_200.BIN
rom1.bin SCPH-70004_BIOS_V12_PAL_200.EROM
scph10000.bin SCPH-70004_BIOS_V12_PAL_200.NVM
scph10000.NVM SCPH-70004_BIOS_V12_PAL_200.ROM1
scph39001.bin SCPH-70004_BIOS_V12_PAL_200.ROM2
This is my plugins folder:
cronyk@Magnus:~/.local/share/lutris/runners/pcsx2/plugins$ ls
libCDVDnull.so libGSdx-1.0.0.so libspu2x-2.0.0.so
libdev9null-0.5.0.so libLilyPad-0.11.0.so libUSBnull-0.7.0.so
libFWnull-0.7.0.so libonepad-1.1.0.so
Update: In every configuration guide for PCSX2 you have to open the Program first. So I tried to do it manually:
cronyk@Magnus:~/.local/share/lutris/runners/pcsx2$ ./PCSX2
./PCSX2: error while loading shared libraries: libwx_baseu-3.0.so.0: cannot open shared object file: No such file or directory
So I tried to install:
cronyk@Magnus:~/.local/share/lutris/runners/pcsx2$ sudo apt-get install libwxbase3.0-0
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
Paket libwxbase3.0-0 ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.
Doch die folgenden Pakete ersetzen es:
libwxbase3.0-0v5:i386 libwxbase3.0-0v5
E: Für Paket »libwxbase3.0-0« existiert kein Installationskandidat.
cronyk@Magnus:~/.local/share/lutris/runners/pcsx2$ sudo apt-get install libwxbase3.0-0v5:i386 libwxbase3.0-0v5
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
»libwxbase3.0-0v5« ist bereits die neuste Version (3.0.2+dfsg-1.3).
libwxbase3.0-0v5 wurde als manuell installiert festgelegt.
Die folgenden NEUEN Pakete werden installiert:
libwxbase3.0-0v5:i386
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 975 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 3.184 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://de.archive.ubuntu.com/ubuntu xenial/universe i386 libwxbase3.0-0v5 i386 3.0.2+dfsg-1.3 [975 kB]
Es wurden 975 kB in 1 s geholt (713 kB/s).
Vormals nicht ausgewähltes Paket libwxbase3.0-0v5:i386 wird gewählt.
(Lese Datenbank … 248203 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von …/libwxbase3.0-0v5_3.0.2+dfsg-1.3_i386.deb …
Entpacken von libwxbase3.0-0v5:i386 (3.0.2+dfsg-1.3) …
Trigger für libc-bin (2.23-0ubuntu3) werden verarbeitet …
libwxbase3.0-0v5:i386 (3.0.2+dfsg-1.3) wird eingerichtet …
Trigger für libc-bin (2.23-0ubuntu3) werden verarbeitet …
cronyk@Magnus:~/.local/share/lutris/runners/pcsx2$
The problem is placed somewhere in Lutris, because when I simply install PCSX2 from PPAs it works. But this also installs some libarys. Could this be the point?
This is definitively a library issue. The version we ship runs fine on Ubuntu 16.04 but I haven’t tried other setups.
Have you tried disabling the runtime in the options to see if that does anything?
in the sidebar, if you have any PS2 games in Lutris, you should have a PCSX2 icon, you can right click on it, click configure and then disable the runtime in the System tab.
If you are running Ubuntu then this is probably due to a library I have installed on my system and you haven’t. If we can find out which one, I’ll add it to the runtime.
There’s a whole bunch of libraries needed by pcsxr that aren’t in the runtime:
runners/pcsxr/bin/pcsxr depends on these libraries not in the runtime (excluding common system libs):
libgtk-3.so.0
libgdk-3.so.0
libcairo-gobject.so.2
libatk-bridge-2.0.so.0
libepoxy.so.0
libxkbcommon.so.0
libwayland-egl.so.1
libmirclient.so.9
libatspi.so.0
libmircommon.so.5
libmirprotobuf.so.3
libboost_system.so.1.58.0
libprotobuf-lite.so.9
libboost_filesystem.so.1.58.0
The first four can be ignored since GTK is a Lutris dependency. The rest, we should add to the runtime. Strange though, I thought we already had most of them.
By the way @strider, if you don’t have that script to check binaries against the runtime to find missing libs, you need it! And you need to use it to check every runner you add or update and every linux game installer you add or review.
So for PCSX2, it says only libaio.so.1 is missing. Somehow libwx_baseu-3.0.so.0 got past the detection.
This is the script I use. It’s a Valve script from their runtime, modified to exclude common system libraries… and GTK libs. So that’s why libwx was ignored. But that’s an issue because it’s 32-bit GTK, which isn’t a common lib on our 64-bit systems… And which we can’t put in the runtime…
I’m afraid there won’t be an easy solution to solve PCSX2’s dependencies.
Edit: the script in question relies on this one, both must be put in a “scripts/” folder at the same level as the runtime/steam/ folder.
Well, PCSX2 as Lutris runner don’t work on my maschine, but the PCSX2 Runner (when installed seperately from the homepage) works. So I have all the dependencies, or am I making a mistake while thinking? (I should lern english phrases :D)
Hm, if you have disable the Lutris runtime, it should indeed work as well as the standalone version. Though the build is not the same.
You can try replacing the Lutris build with the standalone. You’ll find the former in ~/.local/share/lutris/runners/pcsx2.
If you are running the 0.4.0 pre-release (which you should because we’re looking for beta-testers ;)) then you can set a custom executable for most runner. That way you can point the PCSX2 runner to /usr/bin/pcsx2 and it will work.