Bug 252191 - [NEW PORT] emulators/libretro-pcsx2: Standalone port of pcsx2 to libretro emulator
Summary: [NEW PORT] emulators/libretro-pcsx2: Standalone port of pcsx2 to libretro emu...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-27 06:45 UTC by Timothy Beyer
Modified: 2021-07-15 09:16 UTC (History)
3 users (show)

See Also:


Attachments
emulators_libretro-pcsx2.shar (22.36 KB, text/plain)
2020-12-27 06:45 UTC, Timothy Beyer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Beyer 2020-12-27 06:45:29 UTC
Created attachment 220984 [details]
emulators_libretro-pcsx2.shar

Created new port for the PCSX2 libretro core, which turned out to be much easier to port than the native version of PCSX2 (I'll try porting it later, but this useful to have a working PlayStation 2 emulator on FreeBSD).

So far, I've tested it with Romance of the Three Kingdoms IX, which seems playable.

Sorry to just sit on this port for well over a month, but I wanted to test it carefully.

Tested with Retroarch 1.9.0 on FreeBSD 12.1-RELEASE:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252189
Comment 1 Daniel Menelkir 2021-07-07 12:28:42 UTC
I'm very interested on this, any progress?
Comment 2 Timothy Beyer 2021-07-14 04:20:15 UTC
(In reply to Daniel Menelkir from comment #1)
Thanks for your interest! I have a lot more emulators coming that aren't yet available on FreeBSD, so stay posted for PRs.

I have been running this same version on FreeBSD 13.0-RELEASE, and it still compiles and works very well, but if you are having any issues setting it up, send me an email, and I can help you, as many of these emulators have a very steep learning curve.

basically, you will need BIOS files installed in the path ~/.config/retroarch/system/pcsx2/bios/

(likely scph10000.bin, scph10000.mec, scph10000.nvm, and scph39001.bin).

I'll add a pkg-message for instructions for proper installation of BIOS at some point, and I intend to also add i386 patches if needed, although I didn't have easy access to an i386 jail at the time when I prepared it.

I've tested more games on it as well, like Digital Devil Saga, and it works at full speed on my machine at 720p resolution with shaders, although my Intel Graphics and 3.8 Ghz 8 core CPU isn't powerful enough to do 1080p without going below 30 FPS.  You might be able to get away with a much slower machine with a better GPU or if they improved multi core support in later versions.
Comment 3 Timothy Beyer 2021-07-14 04:22:30 UTC
(In reply to Timothy Beyer from comment #2)
The accuracy is probably better in newer versions, so at some point I would like to upgrade to the latest version, but I really need to do a detailed comparison against my real PS2 to see where it needs improvement.  I know that Romance of the Three Kingdoms IX had a lot of menu issues, but that's mostly because it's a pretty obscure game.
Comment 4 Max Brazhnikov freebsd_committer 2021-07-15 09:16:09 UTC
Back to the pool.