mirror of
https://github.com/drakmor/ShadowMountPlus.git
synced 2026-10-21 22:22:28 -05:00
1.15beta2
This commit is contained in:
1 parent
5d41598348
commit
2002b0b5b1
3 files changed
+1221
-532
No files matched your search
@@ -2,13 +2,13 @@ PS5_PAYLOAD_SDK ?= /opt/ps5-payload-sdk
|
||||
include $(PS5_PAYLOAD_SDK)/toolchain/prospero.mk
|
||||
|
||||
# Standard Flags (No extra libraries)
|
||||
CFLAGS := -O2 -Wall -D_BSD_SOURCE -std=gnu11 -Isrc -I$(INCDIR)
|
||||
|
||||
# Linker
|
||||
LDFLAGS := -L$(LIBdir)
|
||||
CFLAGS := -O2 -Wall -D_BSD_SOURCE -std=gnu11 -Isrc
|
||||
|
||||
# Linker
|
||||
LDFLAGS :=
|
||||
|
||||
# Standard Libraries Only
|
||||
LIBS := -lkernel_sys -lSceSystemService -lSceUserService -lSceAppInstUtil
|
||||
LIBS := -lkernel_sys -lSceSystemService -lSceUserService -lSceAppInstUtil -lsqlite3
|
||||
|
||||
# Targets
|
||||
all: shadowmountplus.elf
|
||||
@@ -18,4 +18,4 @@ shadowmountplus.elf: src/main.c
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f shadowmountplus.elf kill.elf src/*.o
|
||||
rm -f shadowmountplus.elf kill.elf src/*.o
|
||||
@@ -1,11 +1,9 @@
|
||||
# ShadowMountPlus (PS5)
|
||||
|
||||
**Version:** `1.5beta`
|
||||
|
||||
Thanks for ffpkg support: @Gezine, @earthonion and @VoidWhisper for ShadowMount
|
||||
**Version:** `1.5beta2`
|
||||
|
||||
|
||||
**ShadowMountPlus** is a fully automated, background "Auto-Mounter" payload for Jailbroken PlayStation 5 consoles. It streamlines the game mounting process by eliminating the need for manual configuration or external tools (such as DumpRunner or Itemzflow). ShadowMount automatically detects, mounts, and installs game dumps from both **internal and external storage**.
|
||||
**ShadowMountPlus** is a fully automated, background "Auto-Mounter" payload for Jailbroken PlayStation 5 consoles. It streamlines the game mounting process by eliminating the need for manual configuration or external tools (such as DumpRunner or Itemzflow). ShadowMountPlus automatically detects, mounts, and installs game dumps from both **internal and external storage**.
|
||||
|
||||
|
||||
**Compatibility:** Supports all Jailbroken PS5 firmwares running **Kstuff v1.6.7**.
|
||||
@@ -23,10 +21,11 @@ Thanks for ffpkg support: @Gezine, @earthonion and @VoidWhisper for ShadowMount
|
||||
|
||||
Notes:
|
||||
- Backend, read-only mode, and sector size can be configured via `/data/shadowmount/config.ini`.
|
||||
- Optional debug logging can be enabled via `debug=1` (writes to console and `/data/shadowmount/debug.log`).
|
||||
|
||||
## Recommended FS choice
|
||||
|
||||
- Prefer **UFS (`.ffpkg`)** for games that work correctly on UFS: it is generally more performant.
|
||||
- Prefer **UFS (`.ffpkg`)** for games that work correctly on UFS: it is generally more performant (~1.5-2.5 x exFAT).
|
||||
- Use **exFAT (`.exfat`)** for games that only work from external-disk style layouts, because exFAT is case-insensitive.
|
||||
|
||||
## Runtime config (`/data/shadowmount/config.ini`)
|
||||
@@ -34,9 +33,11 @@ Notes:
|
||||
This file is optional. If it does not exist, built-in defaults are used.
|
||||
|
||||
Supported keys (all optional):
|
||||
- `debug=1|0` (`1` enables `log_debug` output to console + `/data/shadowmount/debug.log`; default is `0`)
|
||||
- `mount_read_only=1|0`
|
||||
- `exfat_backend=lvd|md`
|
||||
- `ufs_backend=lvd|md`
|
||||
- `scanpath=<absolute_path>` (can be repeated on multiple lines)
|
||||
- `exfat_sector_size=<value>`
|
||||
- `ufs_sector_size=<value>`
|
||||
- `pfs_sector_size=<value>`
|
||||
@@ -46,6 +47,11 @@ Supported keys (all optional):
|
||||
- `md_exfat_sector_size=<value>`
|
||||
- `md_ufs_sector_size=<value>`
|
||||
|
||||
Scan path behavior:
|
||||
- If at least one `scanpath=...` is present, only those custom paths are used.
|
||||
- `/data/ufsmnt` is always added automatically, even with custom paths.
|
||||
- Full scan loop runs every 10 seconds.
|
||||
|
||||
Validation:
|
||||
- See `config.ini.example` for a ready-to-use template.
|
||||
|
||||
@@ -57,12 +63,12 @@ Image mountpoints are created under:
|
||||
|
||||
## Scan paths
|
||||
|
||||
ShadowMount scans these locations:
|
||||
Default scan locations:
|
||||
- `/data/homebrew`
|
||||
- `/data/etaHEN/games`
|
||||
- `/mnt/ext0/etaHEN/homebrew`
|
||||
- `/mnt/ext0/homebrew`
|
||||
- `/mnt/ext0/etaHEN/games`
|
||||
- `/mnt/ext1/etaHEN/homebrew`
|
||||
- `/mnt/ext1/homebrew`
|
||||
- `/mnt/ext1/etaHEN/games`
|
||||
- `/mnt/usb0/homebrew` .. `/mnt/usb7/homebrew`
|
||||
- `/mnt/usb0/etaHEN/games` .. `/mnt/usb7/etaHEN/games`
|
||||
@@ -71,6 +77,8 @@ ShadowMount scans these locations:
|
||||
- `/mnt/ext1`
|
||||
- `/data/ufsmnt` (mounted image content scan)
|
||||
|
||||
You can override scan roots with `scanpath=...` entries in `/data/shadowmount/config.ini`.
|
||||
|
||||
|
||||
## Creating an exFAT image
|
||||
|
||||
@@ -86,7 +94,7 @@ Linux (Ubuntu/Debian):
|
||||
Windows:
|
||||
- Recommended: use `make_image.bat` (wrapper for `New-OsfExfatImage.ps1` + OSFMount).
|
||||
- Requirements:
|
||||
- Install OSFMount: https://www.osforensics.com/tools/mount-disk-images.html (must provide `osfmount.com`).
|
||||
- Install OSFMount: https://www.osforensics.com/tools/mount-disk-images.html.
|
||||
- Keep `make_image.bat` and `New-OsfExfatImage.ps1` in the same folder.
|
||||
- Run `cmd.exe` as Administrator.
|
||||
- Usage:
|
||||
@@ -98,6 +106,23 @@ Windows:
|
||||
- Optional (fixed size): run PowerShell script directly:
|
||||
- `powershell.exe -ExecutionPolicy Bypass -File .\New-OsfExfatImage.ps1 -ImagePath "C:\images\game.exfat" -SourceDir "C:\payload\APPXXXX" -Size 8G -ForceOverwrite`
|
||||
|
||||
## Creating a UFS2 image (`.ffpkg`)
|
||||
|
||||
FreeBSD:
|
||||
- Script: `mkufs2.sh`
|
||||
- Usage: `./mkufs2.sh <input_dir> [output_file]`
|
||||
- Example:
|
||||
- `chmod +x mkufs2.sh`
|
||||
- `./mkufs2.sh ./APPXXXX ./PPSA12345.ffpkg`
|
||||
- Notes:
|
||||
- The script auto-calculates image size (`source + 20% + 10MB` slack).
|
||||
- Uses UFS2 format (`newfs -O 2`) with `-b 32768 -f 4096`.
|
||||
- Requires BSD tools like `mdconfig`, `newfs`, `mount`, `umount`.
|
||||
|
||||
Windows:
|
||||
- You can create UFS2 images with **UFS2Tool** https://github.com/SvenGDK/UFS2Tool.
|
||||
- Recommended output format for this project is `.ffpkg`.
|
||||
|
||||
## Installation and usage
|
||||
|
||||
|
||||
@@ -107,10 +132,10 @@ Use a payload sender (such as NetCat GUI or a web-based loader) to send the file
|
||||
1. Send `notify.elf` (Optional).
|
||||
* *Only send this if you want graphical pop-ups. Skip if you prefer standard notifications.*
|
||||
2. Send `shadowmountplus.elf`.
|
||||
3. Wait for the notification: *"ShadowMount"*.
|
||||
3. Wait for the notification: *"ShadowMount+"*.
|
||||
|
||||
### Method 2: PLK Autoloader (Recommended)
|
||||
Add ShadowMount to your `autoload.txt` for **plk-autoloader** to ensure it starts automatically on every boot.
|
||||
Add ShadowMountPlus to your `autoload.txt` for **plk-autoloader** to ensure it starts automatically on every boot.
|
||||
|
||||
**Sample Configuration:**
|
||||
```ini
|
||||
@@ -129,14 +154,13 @@ shadowmountplus.elf
|
||||
* **Large Games:** For massive games (100GB+), allow a few extra seconds for the system to verify file integrity before the "Installed" notification appears.
|
||||
|
||||
## Credits
|
||||
* **VoidWhisper** - Lead Developer & Logic Implementation
|
||||
* **Drakmor** - Evolution
|
||||
* **Drakmor** - Evolution of ShadowMount to ShadowMountPlus
|
||||
|
||||
* **Special Thanks:**
|
||||
* VoidWhisper for ShadowMount [](https://ko-fi.com/voidwhisper)
|
||||
* EchoStretch
|
||||
* Gezine
|
||||
* earthonion
|
||||
* LightningMods
|
||||
* john-tornblom
|
||||
* PS5 R&D Community
|
||||
|
||||
---
|
||||
|
||||
[](https://ko-fi.com/voidwhisper)
|
||||
+1174
-509
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user