termux-user-repository / tur

A place for all types of Termux packages.
Other
372 stars 75 forks source link

[Package]: RPCS3 #311

Open IntinteDAO opened 1 year ago

IntinteDAO commented 1 year ago

Name

RPCS3

Home page URL

https://rpcs3.net

Source code URL

https://github.com/RPCS3/rpcs3

Packaging policy acknowledgement

Additional information

Welcome.

Well - this is just a conceptual experiment to hypothetically port RPCS3 to Termux (and eventually to Android).

Here are the conclusions I have come to.

1) I was able to start compiling on a smartphone and compile about 25% of the project, but unfortunately the compilation crashes and maybe it's a bug in the code that can be fixed with a patch. However, I tested on an older version than the master and they could fix it. I will keep checking on this.

2) I have pre-made some simple code for the Docker Build Package. I wrote a patch that pass configure, but it crashes on compiling libpng from an external repository (I don't know how to force it to use regular libraries, maybe someone will check) due to the lack of zlib.h that I installed (zlib package).

The patch although silly is required because forcing cmake to compile with the variable "Linux" causes rpcs3 to require libudev, which is not present in Termux, and with this patch for some reason it decides that libevdev is enough (LOL).


In theory there is a basis for rpcs3 to work. The rpcs3 itself can render graphics using Vulkan (It may be possible to run using OpenGL Zink, but I have my doubts). Of course it would have to be Vulkan-loader-generic and an Ardeno graphics card.

But it's a big project and a lot of things could go wrong.

https://0bin.net/paste/pPgVaeKW#-eUR0xiNKFeOilL+mtY+DOSuMOeSxc20rj7JYc9xAaj https://0bin.net/paste/9rvesx98#9IUvzVMgNvJcD-KHL9GF99p7xDEr0aiEtu6G1htCzOK

licy183 commented 1 year ago

Seems that upstream hasn't support for cross-compiling...