CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
hrydgard

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: hrydgard/ppsspp
Path: blob/master/libretro/README_WINDOWS.txt
Views: 1401
1
Install msys.
2
3
Follow the guide here to set up your MSYS installation for retroarch compilation:
4
5
https://docs.libretro.com/development/retroarch/compilation/windows/
6
7
You can probably really skip most of the packages but you need make:
8
9
pacman -S make
10
11
"Install" the plugin in Retroarch.
12
13
Then use the following in msys:
14
15
cd libretro
16
17
make platform=windows_msvc2019_desktop_x64 -j32 && cp ppsspp_libretro.* /d/retroarch/cores
18
19
Note that the latter part copies the DLL/PDB into wherever retroarch reads it from. Might need to adjust the path,
20
and adjust -j32 depending on your number of logical CPUs - might not need that many threads (or you might need more...).
21
22
Also, the "2019" part has no significance, it seems - it's fine even if you're on MSVC 2022.
23
24
(plain make without a platform parameter doesn't work - g++ isn't able to build the D3D11 stuff, or at least it fails to link).
25
26
To debug from within MSVC, open retroarch.exe (or retroarch_debug.exe) as a Project/Solution, then open a few of the cpp files,
27
set some breakpoints and just launch using F5.
28
29
Useful libretro/vulkan sample code:
30
31
https://github.com/libretro/libretro-samples/blob/master/video/vulkan/vk_rendering/libretro-test.c
32
33