Skip to content

MHWILDS: Add faulty files detector#1532

Merged
praydog merged 12 commits intopraydog:masterfrom
hcdd0304:faulty_files_detector
Mar 4, 2026
Merged

MHWILDS: Add faulty files detector#1532
praydog merged 12 commits intopraydog:masterfrom
hcdd0304:faulty_files_detector

Conversation

@hcdd0304
Copy link
Copy Markdown
Contributor

@hcdd0304 hcdd0304 commented Feb 11, 2026

Add a diagnostics mod (currently only for Monster Hunter Wilds), off by default, that tracks:

  • Game files failed to load (pfb, scn, mesh, tex, ...) for some reasons (missing file, invalid file data, ...)
    • Hook into ResourceManager to detect that

Use cases

  • For users to detect files causing a black screen/CatLib/D2D errors,.... Trying to streamline the diagnostic process so that it takes less time for users, hopefully
  • For modders to detect files in prefab/mesh that are not loaded properly or are missing
  • Invalid files with reasons fully logged out, formatted as CSV, can be used by external tools, integrating with Fluffy Mod Manager to detect invalid mod files

Why put this in REFramework

  • Help this tool reach a large userbase that already uses REFramework
  • Integration and libraries (pattern scanning, hooks, ..) that REFramework already has, make this very comfortable to integrate, I cant imagine doing it as a standalone plugin

Screenshot

image

@hcdd0304 hcdd0304 marked this pull request as ready for review February 13, 2026 03:20
@hcdd0304
Copy link
Copy Markdown
Contributor Author

Final changes committed

@hcdd0304
Copy link
Copy Markdown
Contributor Author

@praydog Sorry, but the CI is blocked. If you have time, can you look at this feature and unblock the CI if okay? I will keep maintaining this for MHWilds if merged. Thanks!

@hcdd0304 hcdd0304 force-pushed the faulty_files_detector branch from af7c677 to 78f9c9e Compare February 24, 2026 12:38
@hcdd0304
Copy link
Copy Markdown
Contributor Author

Updated to review, also remove the valid PAK checks this code does before. Now only check resources

@praydog praydog merged commit db4ffc9 into praydog:master Mar 4, 2026
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