Runner PCSX2

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.

Ok, and how could we? xD Is there a list?

I found it. Disabeling Lutris runtime did’nt change anything.

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.

@Xodetaetl this is PCSX2 we’re trying to debug ^^ PCSXR will be trashed in 0.4.1 and replaced by a libretro core.

Oh

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.

I have this script to check for missing libs: https://github.com/strycore/scripts/blob/master/missing-libs
I’d have to adapt it to optionally check against the runtime.

The WX Widgets dependency is probably inside one of the plugins, the .so files need to be checked as well.

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.

It is a bit, well kind of a shame. But I downloaded 0.4.0 and - am unable to install :neutral_face:
Even when I search the ubuntu wiki for phyton guides…

You are most likely missing some dependencies. What error message do you get?

cronyk@Magnus:~/Downloads/lutris$ ./setup.py
Traceback (most recent call last):
  File "./setup.py", line 3, in <module>
    from setuptools import setup
ImportError: No module named 'setuptools'

You’re missing the dependency to run the setup.py script with Python3 but I would advice not to run it anyway because it can be painful to uninstall after. There is no uninstall method once you run setup.py, you have to look for lutris related file in /usr/local/

The development version of Lutris does not need to be installed, you can run it from the git folder:

./bin/lutris

Like this:

cronyk@Magnus:~/Downloads/lutris/bin$ ./lutris
Traceback (most recent call last):
  File "./lutris", line 47, in <module>
    from lutris.config import check_config  # , register_handler
  File "/home/cronyk/Downloads/lutris/lutris/config.py", line 6, in <module>
    import yaml
ImportError: No module named 'yaml'

Install yaml?

Yes, you can find a full list of dependencies for Debian / Ubuntu in debian/control, for Fedora/OpenSuse in lutris.spec or for Arch here: https://aur.archlinux.org/packages/lutris-git/

So, I got lutris0.4.0 working with the list of dependencies and PCSX2 works flawlessly with the custom executable in /usr/games

Update: I think I can say for sure, that the problem is the executable downloaded by lutris. If I just copy the executable, the espdiff and PCSX2-linux.sh from /usr/games to /home/cronyk/.locale/share/lutris/runners/pcsx2
everything works.

Edit:
So I submitted War of the Monsters on Lutris:
https://lutris.net/games/war-of-the-monsters/
But I have no idear about an Installer… Because… there is just a point to the ISO (Because it’s reccommended to create an .iso file of your (own!) PS2 game because it will boost performance.

1 Like

i need hel for this:The following i386 libraries are required but not installed on your system libOpenGL.so.0, libgdk-x11-2.0.so.0