Skip to content

About

Cross-platform mod manager for InFamous, InFamous 2, and Festival of Blood on RPCS3, with PSARC extraction, XPPS mod installation, backups, and English/Russian localization.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

InFamous Mod Manager

Cross-platform desktop mod manager for the PlayStation 3 versions of InFamous, InFamous 2, and InFamous: Festival of Blood running through RPCS3.

The application is built with Avalonia UI, .NET, and CommunityToolkit.Mvvm.

Current features

  • Game selection for InFamous 1, InFamous 2, and InFamous: Festival of Blood.
  • English and Russian interface languages.
  • Native folder picker for locating the RPCS3 dev_hdd0/game directory.
  • Validation of the expected game folders:
    • NPUA80480 — InFamous 1;
    • NPUA80638 — InFamous 2;
    • NPEA00322 — InFamous: Festival of Blood.
  • Extraction of install1 and install2 PSARC archives into the selected game's USRDIR directory.
  • PSARC extraction with zlib and uncompressed-block support.
  • Automatic backup of original .psarc_s archives after successful extraction.
  • Lossless extraction of individual .xpp and .xpps PACK containers:
    • extracts the original header, resource table, and payload;
    • extracts indexed resource views and framed metadata chunks;
    • detects embedded DXT1/DXT3/DXT5 textures, corrects their vertical orientation, and writes ready-to-use DDS files;
    • writes a JSON manifest with offsets, sizes, types, ranges, and SHA-256 hashes;
    • supports InFamous 1 XPP, InFamous 2/Festival of Blood XPPS, and empty archive stubs.
  • Native .xpp/.xpps mod-file and mod-package folder pickers.
  • Mod installation into the unpacked game directory:
    • normalizes mod file names to lowercase with underscores;
    • finds the matching original .xpp or .xpps file;
    • backs up the original file before installing the mod;
    • reports successful and failed operations in the UI.
  • Modular mod-package installation:
    • reads package metadata from mod.json and choices from modular.json;
    • supports texture_patches/<archive>/<offset>_<size>_<format>_<mips>.dds layouts;
    • validates DDS metadata against the original PACK texture descriptor;
    • converts conventional DDS orientation to the game's texture orientation and installs DXT1/DXT3/DXT5 patches at the correct logical payload offset;
    • applies multi-archive packages transactionally and records selected modules in user-data.json;
    • restores all original game archives recorded in the installation history.

Backups and user-data.json are stored beside the application executable. Backups are grouped by game ID in the backup directory.

Planned features

  • Rebuild .xpp and .xpps archives from extraction manifests.
  • Display the list of installed mods and modified files.
  • Restore individual original files.
  • Better progress reporting and cancellation for long extraction operations.
  • Additional validation and recovery options for incomplete installations.
  • More interface languages.
  • Settings for configurable RPCS3 and backup directories.

Development

Requirements:

  • .NET 10 SDK

Build the project:

dotnet build

Run the application:

dotnet run

Third-party notices

The PSARC extraction implementation is based on the extraction approach from the local PSARC-Tool project. See THIRD_PARTY_NOTICES.md for license information.

About

Cross-platform mod manager for InFamous, InFamous 2, and Festival of Blood on RPCS3, with PSARC extraction, XPPS mod installation, backups, and English/Russian localization.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages