mirror of
https://github.com/drakmor/ShadowMountPlus.git
synced 2026-10-22 06:32:25 -05:00
Add scan_depth config, remap legacy recursive_scan=1 to scan_depth=2, and avoid duplicate traversal of nested scan roots
90 lines
2.7 KiB
Plaintext
90 lines
2.7 KiB
Plaintext
# ShadowMount runtime config example
|
|
# Place as: /data/shadowmount/config.ini
|
|
#
|
|
# All keys are optional.
|
|
# If a key is missing, built-in defaults are used.
|
|
|
|
# Debug logging:
|
|
# 1/true/yes/on -> enable log_debug output to console and /data/shadowmount/debug.log
|
|
# 0/false/no/off -> disable log_debug output
|
|
debug=1
|
|
|
|
# Quiet mode:
|
|
# 1/true/yes/on -> only show the startup version popup and runtime errors
|
|
# 0/false/no/off -> also show normal informational popups (default)
|
|
quiet_mode=0
|
|
|
|
# Global mount mode:
|
|
# 1/true/yes/on/ro -> read-only mounts
|
|
# 0/false/no/off/rw -> read-write mounts
|
|
mount_read_only=1
|
|
|
|
# Mounting even damaged file systems
|
|
# 1/true/yes/on -> include force option
|
|
# 0/false/no/off -> default mount options (default)
|
|
force_mount=0
|
|
|
|
# Per-image mount mode override by file name (can be repeated many times):
|
|
# image_ro=<image_filename>
|
|
# image_rw=<image_filename>
|
|
# image_ro=PPSA12345.ffpfs
|
|
# image_rw=My Game Dump.exfat
|
|
|
|
# Scan depth relative to each scan root:
|
|
# 1 -> scan only first-level subdirectories (default)
|
|
# 2 -> also scan one additional nested level
|
|
scan_depth=1
|
|
#
|
|
# Legacy compatibility:
|
|
# recursive_scan=1 forces scan_depth=2
|
|
|
|
|
|
# Full scan loop interval (seconds), range: 1..3600
|
|
scan_interval_seconds=10
|
|
|
|
# Source stabilization wait window (seconds), range: 0..3600
|
|
# If source mtime/ctime is newer than this window, it will be deferred to next scan.
|
|
stability_wait_seconds=10
|
|
|
|
# Backend selection per filesystem:
|
|
# lvd -> /dev/lvdctl -> /dev/lvdN
|
|
# md -> /dev/mdctl -> /dev/mdN
|
|
exfat_backend=lvd
|
|
ufs_backend=lvd
|
|
|
|
# Sandbox fakelib backport watcher:
|
|
# 1/true/yes/on -> mount /mnt/sandbox/<TITLE_ID>_XXX/app0/fakelib into common/lib
|
|
# 0/false/no/off -> disable fakelib watcher
|
|
backport_fakelib=1
|
|
|
|
# Auto-manage kstuff around game launches:
|
|
# 1/true/yes/on -> pause kstuff after game launch, resume immediately on stop
|
|
# 0/false/no/off -> leave kstuff state untouched
|
|
kstuff_game_auto_toggle=1
|
|
|
|
# Delay before pausing kstuff for image-backed titles.
|
|
kstuff_pause_delay_image_seconds=20
|
|
|
|
# Delay before pausing kstuff for direct/non-image launches.
|
|
kstuff_pause_delay_direct_seconds=10
|
|
|
|
# Keep kstuff enabled for specific title IDs (can be repeated).
|
|
# kstuff_no_pause=PPSA12345
|
|
|
|
# Override pause delay for specific title IDs (can be repeated).
|
|
# Format: TITLEID:SECONDS
|
|
# kstuff_delay=PPSA12345:30
|
|
|
|
# Backend-specific sector size overrides:
|
|
lvd_exfat_sector_size=512
|
|
lvd_ufs_sector_size=4096
|
|
lvd_pfs_sector_size=32768
|
|
md_exfat_sector_size=512
|
|
md_ufs_sector_size=512
|
|
|
|
# Optional custom scan roots (can be repeated):
|
|
# If at least one scanpath=... is present, only these paths are used.
|
|
# "/mnt/shadowmnt" is always added automatically.
|
|
# scanpath=/data/homebrew
|
|
# scanpath=/data/etaHEN/games
|