crifs.v2.hook 2.2.1

About

CRI FileSystem V2 Hook is a mod based on Reloaded II that allows you to add/replace files in games that use CRI Middleware and the CPK container.

Support

This universal mod targets games using various versions of CRI MiddleWare's V2 File System.

For a full list of supported games, see the wiki support table.

Additional Features

  • Mods can use case-insensitive file paths. (Note: CRI is Case Sensitive)
  • Supports games using both UTF-8 and ANSI encoding.
  • Hot Reload (Add/Replace files without app restart).
  • API (dynamically add files, etc.)
  • Log files accessed by application.
  • Log redirected files.
  • Replace music in AWB files inside CPKs without using additional disk space, via an extension mod.

Building

  • Install Reloaded II.
  • Install .NET 7 SDK.
  • [Optional] Download Visual Studio/Rider and open the .sln file.

When you build your project, the files will automatically be copied to the right directory and be loaded by Reloaded.
Refer to the Reloaded wiki if you need more information.

Showing the top 20 packages that depend on crifs.v2.hook.

Packages Downloads
CriFs.V2.Hook.Awb
Adds support for FileEmulationFramework's AWB Emulator by automatically extracting ACBs as needed.
28,953,653
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
7,282,647
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
3,751,869
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
3,317,224
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
3,005,608
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
2,913,738
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
2,692,985
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
2,524,618
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
2,003,891
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
827,989
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
569,788
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
377,576
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
303,922
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
262,085
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
240,233
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
211,130
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
184,271
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
148,236
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
87,139
p5rpc.modloader
Mod which provides base modding support as well as miscellaneous basic quality of life fixes. See readme for Special Thanks!
84,363

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

2.2.1 - 2023-09-11

Merged

  • Add SetMaxFilesMultiplier to API #6
  • Game Support: One Piece Burning Blood #5

Commits

  • Added: 32-bit calling conventions 2120077
  • Changed: Use Bind Files and Symlinks Across the Stack cebf8f5
  • Changed: Manually allocate memory in InitializeLibrary as needed. 200495c
  • Changed: Reuse memory originally stolen from InitializeLibrary for bindings e744a10
  • Added: Preliminary (Incomplete) 32-bit Support and Symlink Delete Guard 739590f
  • Improved: Pointer Naming & Information 9fa6bba
  • Added: Some extra hooking related info. dc86cd3
  • Removed Sleep on Bind to Improve Startup Perf 455e39d
  • Initial 64-bit Symlinkless Rewrite b4b6798
  • Added: New Signature Scanning System w/ Initial Games d36598d
  • Sonic Forces you To Support It 3f411a2
  • One Piece UWR Support & Printing Redirected Files 03020d3
  • Performed: Cleanup of Leftovers from Unused Field 483aec7
  • Changed: Code such that every signature is optional. And fixed 93eb7d7
  • Changed: criFsIo_Open param should be nint** 7ae0eaf
  • Added: Null Pointer Handling for some Buggy Games like OPU e4425f6
  • Added: Signatures for Sonic Generations & Sonic Lost World 76f9bb4
  • Changed: Migrated to Reloaded.Memory 9.X ca85aa6
  • Added: Fix for BindFiles bug on older x86 CRI 9b84f4b
  • Fixed: BindFiles Bug in x86 CRI MIddleware Libraries from before pre-2016 7b861f4
  • Updated: Project Documentation d92aaa2
  • Added: Guide for Supporting Newer Games & Yakuza Kiwami Support a5472e1
  • Updated: Docs Support Table & Guide ada454f
  • Game Support: Bayonetta d79b541
  • Fixed: Oversight where InitializeLibrary might be passed null 87064af
  • Game Support: Tekken 7 & Sonic 4 ad14f6b
  • Added: Missing Game IDs 4da5c7b
  • Game Support: Yakuza Kiwami 2 aa1c034
  • Game (Non) Support: NieR Automata a536fa2
  • Added: OPBB to supported games list in readme d3a6c4d
  • Added: Silence CRI on BindFiles. (On Recent CRI Games) 740cd65
  • Added: Friendlier Message on BindFiles 8562393
  • Bumped: Project Version 04af722
  • Cleanup Remaining Code 579f9b8
  • Moved: Dev page to bottom 4790146
  • Added: Handle Paths with Frontslash Starts 44a33e7
  • Added: Auto-register files in Bind folder. 3baf0eb
  • Added: Some additional debug logging. b75c98f
  • Find: Log original path in debug fbf88d4
  • Changed: Split CpkBinder into separate files. 1090ed1
  • Replace Path returned from Find Operation de3b6ec
  • Hook CriFsLoader_RegisterFile (internal method) af2b380
  • Fixed: Incorrect Marking of BindFile as BindFiles 3ab6f3a
  • Disable: E2019031863 in P5R c9568fc
  • Revert change meant for testing (woops) 71d8eb1
  • Move SetMaxFilesMultiplier to CpkBinder d8d4aa3
  • Prepare for Release 40377f5

Version Downloads Last updated
2.6.1 6,881,256 6/14/2026
2.6.0 7,354,442 9/30/2025
2.5.5 3,612,278 4/21/2025
2.5.3 631,644 3/22/2025
2.5.1 4,488,543 10/11/2024
2.5.0 11,309 10/11/2024
2.4.0 1,016,513 8/27/2024
2.3.2 614,552 7/31/2024
2.3.1 4,356,658 1/12/2024
2.3.0 692 1/12/2024
2.2.2 681,737 9/13/2023
2.2.1 11,136 9/11/2023
2.1.6 1,087,118 3/19/2023
2.1.5 489,699 1/20/2023
2.1.4 14,818 1/19/2023
2.1.3 352,989 11/30/2022
2.1.2 4,830 11/29/2022
2.1.1 1,193 11/29/2022
2.1.0 1,948 11/29/2022
2.0.1 398 11/29/2022
2.0.0 442 11/29/2022
1.1.0 28,026 11/27/2022
1.0.4 46,885 11/23/2022
1.0.3 22,442 11/21/2022
1.0.2 916 11/21/2022
1.0.1 1,014 11/21/2022
1.0.0 7,401 11/20/2022