Skip to content

libretro/LRPS2

LRPS2

Hard fork / port of PCSX2. Will target only Libretro specifically. Is currently in development. No support provided.

Do not bother PCSX2 mainline project with questions about LRPS2. This is not doing either project any favors. LRPS2 operates independently of PCSX2.

Changes (in no particular order):

  • We only target Libretro
  • Removed as much cross-platform code as possible, reduces a significant chunk of the code
    • (SPU2) Removed all sound API dependent code, we only target Libretro audio
    • (GS/OGL) Removed all OpenGL context code (WGL/GLX/EGL/etc), we only target the Libretro GL hardware context
    • (GS/D3D11) Removed DXGI context code, not needed for Libretro D3D11 hardware context
    • (Input) Removed all input API dependent code, we only target Libretro audio
  • (GS/OGL) Don't use GLAD for GL extension loading purposes, try to keep a few limited function pointers for calling GL functions
  • (GS) Embed shaders into the core itself instead of having to read them from disk. Reduces file I/O and makes it so we have as few file dependencies as possible
  • (GS) Rip out all swapchain management, is not needed for Libretro and gets handled at the frontend side
  • The entire GameDB YAML file is embedded into the core. Reduces file I/O and makes it so we have as few file dependencies as possible
  • Widescreen and 60fps patches is embedded into the core. Reduces file I/O and makes it so we have as few file dependencies as possible.
    • Aim is an out of the box experience to make games run as the user would expect with minimal interlacing/ghosting issues. Not quite there yet but making progress.
  • Get rid of unnecessary ini/config file reading, Libretro core should only care about its core options and nothing else (which the frontend can write to a file)
  • Reduce/remove excessive logging, nearly every component of the PS2 had separate logging
  • Reduce/remove debugging/disassembly code, not needed for gameplay purposes
  • All plugins unified, LRPS2 now builds as a single dynamic library with as few static libraries linked in near the end

TODO/FIXME:

  • File I/O code should all go through libretro VFS
  • Linux build should stop relying on libaio as a hard dependency, causes Linux distribution issues.
  • Get rid of remaining threading issues at context teardown. Has been reduced but can still happen at times.
  • Get rid of wxWidgets entirely. Made a lot of progress here but not done yet
  • (Dependent on wxWidgets removal) Move as much of the gui/ code as possible
  • Get software renderer up and running
    • Make software renderer not dependent on OpenGL or another hardware renderer like mainline, should be renderer agnostic.
  • Backport Vulkan renderer
  • Backport D3D12 renderer
  • Backport Metal renderer
  • Aim at providing better backwards compatibility (for older OpenGL versions, bring back Direct3D 10 rendering option perhaps, aim at keeping the 32bit x86 build around)
  • Try to make sure Windows builds have reasonably good backwards compatibility (check also CPU extension availability issues like SSE2/SSE4.1/AVX/AVX2)
  • Try to make sure Apple x64 builds have reasonably good backwards compatibility
  • Reimplement DEV9, should get a complete bottoms-up reimplementation for Libretro
  • Reimplement USB, shold get a complete bottoms-up reimplementation for Libretro
  • Get PS1 mode working
  • Figure out remaining PAD issues
  • Use more of libretro-common instead of relying on Common/ code
  • Reduce some of the threading overhead right now - there might be some threads being spun that are unneeded with no workloads or outright fake threads.
  • Maybe reimplement how MTGS works.
  • Provide a plain static Makefile like all other Libretro cores.

About

No description, website, or topics provided.

Resources

License

GPL-2.0 and 2 other licenses found

Licenses found

GPL-2.0
COPYING.GPLv2
GPL-3.0
COPYING.GPLv3
LGPL-3.0
COPYING.LGPLv3

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages