Go to file
2023-01-30 07:29:13 +01:00
3rdparty (GS/GL) Cleanups - remove unused GL functions 2023-01-18 02:38:03 +01:00
cmake Cmake cleanups 2023-01-12 17:54:00 +01:00
common Get rid of obsolete headers PS2Edefs.h and PS2Eext.h 2023-01-13 16:29:32 +01:00
docs Remove obsolete bin/ folder 2022-12-27 03:21:12 +01:00
libretro Cleanup 2023-01-30 07:06:08 +01:00
pcsx2 (CDVD) More cleanups 2023-01-30 07:29:13 +01:00
resources Add Tekken 4 NTSC US (SLUS-20328) force progressive scan patch to nointerlacing LUT table 2023-01-11 12:51:15 +01:00
.clang-format preliminary libretro port. 2020-10-19 14:31:41 +01:00
.editorconfig editorConfig: use tabs instead of spaces (indent stays 4) 2016-08-20 20:43:38 +03:00
.gitattributes recording: Many adjustments on VirtualPad from review feedback 2020-10-01 17:52:59 +01:00
.gitignore Fixed not working frameskip, userhacks options now can be applied at runtime without content restart (#23) 2021-05-16 17:26:23 +02:00
.gitlab-ci.yml (.gitlab-ci.yml) Enable libretro-build-linux-x64 target 2021-06-10 17:16:19 +01:00
.gitmodules Replace some fmt:: usages and take out submodule 2021-07-22 22:05:42 +02:00
CMakeLists.txt Remove static gs lib (#254) 2023-01-12 16:03:00 +01:00
COPYING.GPLv2 copyright again: 2012-04-18 14:09:18 +00:00
COPYING.GPLv3 copyright again: 2012-04-18 14:09:18 +00:00
COPYING.LGPLv2.1 copyright again: 2012-04-18 14:09:18 +00:00
COPYING.LGPLv3 copyright again: 2012-04-18 14:09:18 +00:00
README.md Update README.md 2023-01-16 17:02:49 +01:00

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.