Commit graph

46 commits

Author SHA1 Message Date
G Derber
f7761fd635
Add ability to differentiate group ownership from user ownership. 2024-08-06 09:38:25 -04:00
Jools Wills
4870ea2aa5 lr-ppsspp - split out lr-ppsspp specific patches
This fixes binary builds not triggering due to the changes being in ppsspp.
2024-01-12 17:49:24 +00:00
cmitu
89259575e6 ppsspp: revert to v1.13.2 for RPI and older Mesa
The 'ubershaders' introduced in v1.14 are not handled efficiently by the Mesa v3d driver, causing a performance regression [1].
Since the slowdown is not present in the Mesa version from Bullseye/Bookworm (which caused in part the version upgrade), install v1.13.2 just on Buster/RPI.

[1] https://github.com/hrydgard/ppsspp/issues/18388
2023-11-06 03:47:10 +00:00
cmitu
5b20070cc4 ppsspp: upgrade to version 1.16.6
Fixes building on Debian 12 Bookworm for the included `ffmpeg` project.

Changes since 13.x:

* ver 1.14.x (full list of changes - https://www.ppsspp.org/news/release-1.14)

    * Graphics fixes in Burnout Dominator, Kurohyou, Ratchet & Clank, Outrun, Ridge Racer, Spongebob: Yellow Avenger, Cars: Race-o-Rama, Hunter x Hunter, many others
    * Performance improvements: Killzone now runs at playable speed, Juiced 2 performance fixed, lighting ubershader optimization
    * Many software renderer improvements, both performance and accuracy.
    * Some input handling fixes, IR interpreter fixes, and so much more.
    * MSAA antialiasing added to the Vulkan backend (desktop only)
    * New API for plugins to access aspect ratio, scaling and fast-forward ([#16441]), other new APIs & improvements
    * UI improvements
       - New interactive Display Layout & Effects screen, replacing the old Display Layout Editor
       - Add default shader for LCD persistence simulation
       - Game being played can now be seen as a background in most menus
       - Reorganize speed hack settings
    * Stability fixes
       - Workaround for hangs on older Adreno GPUs
       - Input handling fixes for deadzones and touch controls
       - Avoid game bugs in Twinbee Portable and Shining Ark
    * Performance improvements
       - Vulkan bandwidth and synchronization optimizations
       - Lighting "ubershader" optimization to prevent hitches
       - Assorted minor other improvements
       - Improve texture replacement memory usage
       - Texture upscaling speedup and fixes

* version 1.15 (full list of changes - https://www.ppsspp.org/news/release-1.15)

     * Tilt controls: Restore "Low end radius" control
     * Improve the workarounds for the DJ Max games
     * OpenGL: Restore most of the lost performance on low-end hardware from the shader variant reduction
     * Add a simple profiling tool to check CPU usage by the GL backend
     * Loader: Fix bug preventing WWE 2009 from starting
     * Control mapping: Fix bugs in mapping UI causing trouble with some controllers
     * Fix for broken tilt d-pad controls
     * Stutter caused by shader compilation has been reduced drastically
     * Rendering performance and fixes
     * Texture replacement improvements
     * Optimizations for Vulkan texture uploads, Software renderer, Lighting shader optimizations.
     * GLSL shader compatibility fixes
     * Rewind savestates no longer slows things down a lot
     * Depth-related rendering fixes
     * UI fixes: Vertical use of space, scrollbars, touchpad scroll on Windows

* version 1.16 (full list of changes - https://www.ppsspp.org/news/release-1.16)

     * RetroAchievements support !
     * Fix performance issue with Vulkan descriptor set allocation
     * Smoother loading of replacement textures
     * Fix problem with waves background
     * Fix for crash when changing render backend in-game
     * Simplify shader cache lookups on Vulkan, hopefully fixing some crashes
     * Other crash and stability fixes
     * Assorted improvements to the IR JITs
     * Fix crash bug and performance issue in Vulkan shader cache
     * Fix for HTTP support on Linux on networks with shaky or incomplete IPv6 support
     * Fix hang when switching UMD with RetroAchievements enabled
     * Input fixes
     * Rendering performance and fixes
     * Texture replacement fixes
     * UI changes
         - Color emoji support on some platforms
         - Use TTF fonts on SDL where available (macOS, Linux/Steam Deck)
         - Allow setting the PSP's MAC address directly
         - Better looking notifications
     * Fix horrible audio glitch in After Burner
     * Fix timing issue causing slowdowns in MLB games
     * Emulate the vrnd instruction accurately
2023-10-19 20:30:23 +01:00
s1eve-mcdichae1
cd2a5edb89 ppsspp/lr-ppsspp: (bug) resolve conflict on removal
Both stand-alone `ppsspp` and the libretro core `lr-ppsspp` share the `$HOME/.config/ppsspp` save file directory.

`moveConfigDir` removes the symlink on removal; this will disconnects the existing saves from the remaining emulator.

ppsspp: Use moveConfigDir only on install.

On removal, do not use the helper function. Remove the symlink manually and only if no remaining PSP emulators.

lr-ppsspp: Libretro core did not link this dir at all, and just used mkUserDir instead. Switch to use moveConfigDir and same fix as above, for libretro core also.
2022-05-23 19:46:43 -07:00
Jools Wills
7ac3877b44 Switch to using defaultRAConfig
libretro ports now don't include the "ports/" path in the call as it's handled by the new function
2022-05-22 13:09:12 +01:00
Jools Wills
263544c208 ppsspp / lr-ppsspp - switch to v1.12.3 (last tagged version)
Current master has shader issues on videocore causing a black screen, so switching back to last tagged version - v1.12.3.

Historically we have had to fix up a fair number of ppsspp issues on the RPI due to upstream changes so sticking to a stable release seems like a good idea and allows us to test before we update.

The PPSSPP repository is also quite active and re-building ppsspp/lr-ppsspp binaries for every change takes a lot of time, so this also frees up some cpu time on our build system.
2022-04-05 04:40:34 +01:00
cmitu
747fc75782 lr-ppsspp: preset a save directory
`lr-ppsspp` uses the `savefile_directory` path in order to create its own save structure.
Game saves are not regular `.srm` files, but they're saved in a `PSP/SAVEDATA/<GAME_ID>` folder structure.

Without setting a `savefile_directory`, the core will try to save to `/PSP/SAVEDATA/<GAME_ID>`, which obviously fails.
Setting this to `$HOME/.config/ppsspp` makes it possible to share the savedata with the standalone emulator.
2022-03-05 06:18:08 +00:00
Jools Wills
7bcdc6a956 libretrocores - added rp_module_repo to all libretro cores
Also use new location for lr-meseon repo due to repository move
2021-02-15 23:54:13 +00:00
Jools Wills
2ee308688f ppsspp / ppsspp-1.5.4 - added ppsspp 1.5.4 using parent ppsspp module
Users reported that this version runs faster on videocore on the rpi1/2/3

Adjusted ppsspp sources to allow branch parameter and fixed build subfolder to ppsspp
so that paths are the same for md_ret_files, including adjusting lr-ppsspp in the same way.

Older code builds ok with our current ppsspp module script on rpi1/2/3 + videocore gles2,
but not rpi4, which it isn't needed on anyway. This may need changing if we have to update
ppsspp further in the future.
2020-12-15 03:02:59 +00:00
Jools Wills
c7fc7ea5c9 ppsspp / lr-ppsspp - fix building on aarch64
* ppsspp includes ffmpeg from aarch64 folder, not arm64
 * enable lr-ppsspp for aarch64
2020-07-30 04:28:30 +01:00
Jools Wills
c7656e4657 cosmetic - consistent header for modules 2019-12-04 22:11:22 +00:00
Conn O'Griofa
164ff8e3a2 lr-ppsspp: switch to upstream & consolidate scriptmodules 2019-01-25 13:21:55 +00:00
Jools Wills
a5d37e1842 lr-ppsspp - use libretro branch (pushed from my local backup as upstream repo is no more) 2018-04-04 18:08:14 +01:00
Jools Wills
fcd8367616 lr-ppsspp - use our fork as upstream repo has been removed (they have a new ppsspp libretro core now) 2018-03-28 16:47:07 +01:00
Jools Wills
c522c722b6 lr-ppsspp - enable for mali. 2017-05-03 20:18:10 +01:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
1e1f55e68c no need for git submodule handling in modules as gitPullOrClone now does it 2017-02-14 17:09:05 +00:00
Jools Wills
d1667503cd lr-ppsspp - make lr-ppsspp an optional package 2017-02-05 12:32:03 +00:00
Jools Wills
eda4f61136 updated all modules to use addEmulator / addSystem 2016-12-31 02:49:04 +00:00
Jools Wills
c6b760a051 lr-ppsspp - remove include copying - not needed after ffmpeg update revert 2016-12-29 02:54:58 +00:00
Jools Wills
5b1bceb814 lr-ppsspp - only copy assets when installing 2016-12-29 02:42:32 +00:00
Jools Wills
845426d61e lr-ppsspp - disable on aarch64 2016-12-22 08:03:17 +00:00
Jools Wills
92e3bdb48c ppsspp / lr-ppsspp changes
* ppsspp - only build cmake if packaged cmake is not new enough - raspbian has a backported cmake 3.6.x now
 * lr-ppsspp - enable on armv6
2016-12-20 02:40:14 +00:00
Jools Wills
04afde92b9 Revert "use --depth 1 for submodules - fixes #1743"
This reverts commit d450858a71.
2016-11-10 23:31:13 +00:00
Jools Wills
d450858a71 use --depth 1 for submodules - fixes #1743 2016-11-10 23:25:00 +00:00
Jools Wills
d6bcc76875 ppsspp - pass ffmpeg path by param due to different build structure 2016-11-02 03:02:56 +00:00
Jools Wills
be4ac15d6a ppsspp - all patches upstream, enable armv6 build. closes #1726 2016-11-02 02:53:49 +00:00
Jools Wills
14cc370643 cosmetic - trailing whitespace 2016-09-27 23:05:40 +01:00
Jools Wills
dbaccfcddc make sure git errors are always trapped when updating submodules - so a failure will trigger a clean. fixes #1632 2016-08-12 17:51:05 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
ecb7c9af61 lr-ppsspp - move repository to RetroPie org 2016-07-06 21:58:06 +01:00
Jools Wills
83ba7ad6f0 remove workarounds to use gcc 4.8 on some modules on wheezy, and just use 4.8 by default. Wheezy is no longer supported, but this simplifies some code. 2016-06-26 19:03:26 +01:00
HerbFargus
ed0d548e25 update all libretro-core docs 2016-06-10 23:18:34 -06:00
HerbFargus
ae97909192 Add help docs to emulator and libretro modules 2016-06-10 14:54:23 -06:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
Jools Wills
83e41785aa tweak some platform flags to play nicely with the new rpi3 platform 2016-02-29 17:39:37 +00:00
Jools Wills
4049bf9758 use array for dependency list generation for other modules to avoid calling getDepends multiple times 2016-02-22 20:05:57 +00:00
Jools Wills
e00d1816c0 check for armv6 rather than rpi1 in some cases where we are disabling due to performance etc 2016-01-17 00:46:26 +00:00
gizmo98
014f380bbb lr-ppsspp.sh: add platform x86 2016-01-10 14:43:00 +01:00
gizmo98
d3205a7251 disable modules with rpi optimizations for now 2015-12-24 14:45:32 +01:00
Jools Wills
ec1d690ca1 ppsspp/lr-ppsspp should show up in the build from source menu ##1126 2015-12-13 18:06:14 +00:00
Jools Wills
8c7967c44c remove ppsspp/lr-ppsspp out of experimental.
enable lr-ppsspp by default and build binaries for both emulators for wheezy/jessie
2015-12-11 01:04:12 +00:00
Jools Wills
4b8a1d984e we want the contents of the assets folder in $biosdir/PPSSPP not in a subfolder assets for lr-ppsspp 2015-10-28 09:23:34 +00:00
Jools Wills
c766cd9f8f fixes for building ppsspp for armv7 on raspbian - see https://github.com/raspberrypi/firmware/issues/491#issuecomment-151723041 2015-10-28 05:48:32 +00:00
Jools Wills
f9d37d1972 added ppsspp / lr-ppssp experimental emulators - thanks to all who helped (and PPSSPP project for debugging help). 2015-10-26 00:45:49 +00:00