AppImage for PCSX2 distribution
#1
I found an Application which can run Linux Binaries on all Distros. It's called "AppImage".  In Windows the dependencies are the *.dll files, Linux uses *.so. AppImage combines the Linux executable with the required .so files in one Image which should work on all modern Linux Distros.
http://www.appimage.org/

It would be nice if the PCSX2 Developers could make an official AppImage.
Reply

Sponsored links

#2
Hum, I'm afraid it would make a 1GB binary ! It would need to pack the full WX/GTK/SDL stack and various others dependencies.
Reply
#3
AppImages are compressed and my (partial) working PCSX2-AppImage has about 15,7 MB.  You also don't need a 1GB download when installing PCSX2 with dependencies from e.g. Launchpad. The dependencies  are not that big, in this case all needed *.so files uncompressed ~24,1 MB.
It does not load the Plugins from "/usr/lib/games/PCSX2" for some reason. I already contacted "probono", the maker of AppImage - maybe he can fix this.

Proof of concept (does not load Plugins):
http://www.mediafire.com/file/3ojb2vo0mq...4.AppImage  WARNING: It's only tested with Ubuntu 14.04.

Look at https://bintray.com/probono/AppImages - the AppImages are not very big even when XWGtk or Qt is included.
Reply
#4
Does it include all .so files, such as libc or only a subset ?
Reply
#5
There is a list with .so files which should not be in the AppImage: https://github.com/probonopd/AppImages/b...xcludelist
You can view which *.so files are needed with the command "ldd PCSX2".
All .so files for PCSX2 would be 61 files with 27,3 MB, the ones needed for the AppImage are 53 files with 24,1 MB uncompressed.
Reply
#6
Yes I know the ldd command. But you need the so of the plugin. And the so of the library too. For example wx can depends on SDL and got a tight dependency with the libstd++.

If you want to target more than Ubuntu, it might need all the so dependency. That being said it would be better than the current binary built on my debian distribution.

It could have been useful on the past. But Ubuntu got PPA, Arch got prebuild package too. Potentially openSuse/Gentoo/Fedora too. So it could be nice but I'm afraid that I will be too lazy to do it.
Reply
#7
I have created one based on archlinux. With all 32bits deps it have ~157MB (because AppImage is compressed). I have tested in my GentooLinux no-multilib (pure 64bits) and work very well.
Link: https://github.com/ferion11/PCSX2_Appima...continuous

Have fun!
Reply
#8
(01-14-2020, 12:56 PM)ferion11 Wrote: I have created one based on archlinux. With all 32bits deps it have ~155MB (because AppImage is compressed). I have tested in my GentooLinux no-multilib (pure 64bits) and work very well. At the configuration wizard, you have to change the plugins default path to "/tmp/.mount_pcsx2-??????/usr/lib32/pcsx2/"
Link: https://github.com/ferion11/PCSX2_Appima...continuous

Have fun!

I can’t thank you enough for this. I was trying to run pcsx2 for a few days now on Debian Buster, but the stock package seems to be built against a very bad git commit and the emulation performance was terribly bad. I started to look into building from source or creating my own AppImage until I found this post. Smile

I tried yesterday your AppImage build on the same hardware and it works great. Performance is great and I was able to play my games without any issues.

The only caveat is the fact that the plugins folder must be configured on every run but that’s something I can leave with.

Keep up with the good work @ferion11 !
Reply
#9
(02-03-2020, 03:31 PM)fc7 Wrote: I can’t thank you enough for this. I was trying to run pcsx2 for a few days now on Debian Buster, but the stock package seems to be built against a very bad git commit and the emulation performance was terribly bad. I started to look into building from source or creating my own AppImage until I found this post. Smile

I tried yesterday your AppImage build on the same hardware and it works great. Performance is great and I was able to play my games without any issues.

The only caveat is the fact that the plugins folder must be configured on every run but that’s something I can leave with.

Keep up with the good work @ferion11 !
- I recommend you to download it again. There is a lot that changed since that version you are using (like the plugin path bug fixed, the bug fix of loading GameIndex.dbf that is needed for playing well many games ...).
- I recommend you to remove your "$HOME/.config/PCSX2" and start it again too, with the new AppImage (backup only your bios folder).
NOTE: I don't have NVIDIA hardware with linux, then the NVIDIA versions aren't tested yet (at least by me).
Any issue with it, post here: https://github.com/ferion11/PCSX2_Appimage/issues
Reply
#10
Great to hear about the progress. I will download it again tonight and test it.
I can test your builds both on Intel GPU and NVidia. If I find any issues I will let you know.
Reply




Users browsing this thread: 1 Guest(s)