Skip to content

feat(clean): add PCSX2 (PS2) and RPCS3 (PS3) emulator cache cleanup#651

Merged
tw93 merged 1 commit intotw93:mainfrom
AlexanderAverin:feat/add-ps2-ps3-emulator-cache-cleanup
Mar 28, 2026
Merged

feat(clean): add PCSX2 (PS2) and RPCS3 (PS3) emulator cache cleanup#651
tw93 merged 1 commit intotw93:mainfrom
AlexanderAverin:feat/add-ps2-ps3-emulator-cache-cleanup

Conversation

@AlexanderAverin
Copy link
Copy Markdown
Contributor

Add cache, shader cache, and log cleanup for PCSX2 (PS2) and RPCS3 (PS3) emulators to clean_gaming_platforms()

What's included:

  1. PCSX2: general cache, shader cache, logs
  2. RPCS3: general cache, logs

Save data and user configurations are intentionally left untouched.

In fact, it's a controversial topic. While working on this, I started thinking about whether Mole should support full removal of everything related to these emulators — not just caches, but also game libraries, firmware dumps (e.g. PS3 dev_flash), BIOS files, custom configs, texture packs, and save states.

On one hand, these files can take up significant disk space — a single RPCS3 game directory can easily be 30-50 GB, and shader caches grow over time. Full cleanup would be genuinely useful for users who are done with emulation.
But on the other hand, some of this data is irreplaceable or hard to obtain:

  • Save states and memory cards — hours of gameplay progress
  • BIOS/firmware files — legally gray area, users can't just re-download these
  • Custom texture packs and patches — community-created, not always easy to find again

It might make sense to handle this more carefully than a typical app — perhaps with an explicit confirmation step or a separate "deep clean" flag. For now, this PR takes the conservative approach: only caches and logs that are
safe to remove and will be regenerated automatically.

To sum up, I’d love to hear your thoughts on what I’ve shared. I look forward to your feedback!

@AlexanderAverin AlexanderAverin requested a review from tw93 as a code owner March 28, 2026 10:48
@tw93 tw93 merged commit 236e56a into tw93:main Mar 28, 2026
8 of 9 checks passed
@tw93
Copy link
Copy Markdown
Owner

tw93 commented Mar 28, 2026

Thanks for the contribution! The conservative approach here is the right call. Safe caches and logs are exactly what Mole targets, and PCSX2/RPCS3 fit well into the existing gaming section. Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants