Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FixPhotoMetadata

A Resonite Mod using Harmony to fix two bugs in the game's photo metadata collection system:

  1. Incorrect Camera FOV Timing: Captures the precise camera FOV at the exact moment a photo is initiated, preventing default/delayed values from being saved if the user breaks the finger gesture before rendering completes.
  2. Incorrect TakenGlobal Coordinates: Overwrites TakenGlobalPosition and TakenGlobalRotation with the actual camera/view coordinates at the moment the capture starts, instead of the unpositioned photo slot's default coordinates (which resulted in 0 or user root coordinates).

Dynamic Optional Integrations

GalleVR / ResoniteScreenshotExtensions (Optional) (aka "ScreenshotExtensionsExtensions" LOL)

If ResoniteScreenshotExtensions is also installed/loaded, this mod dynamically patches it at runtime (without static dependencies) to add extra metadata fields:

  • Visibility & Occlusion Check: Checks if players are in the camera view and runs raycasts to filter out players hidden behind walls/objects (ignoring triggers, camera slots, and self-avatar colliders).
  • Head Bounding Box Scaling: Injects UI-HeadScale and UI-IsInView as separate attributes.
  • Viewers Compatibility: Keeping the attributes separate means UI-HeadPosition remains a standard [x; y; z] value, so it doesn't break other XMP metadata viewers.
  • In-Game Dynamic Variables: Attaches a DynamicVariableSpace called PhotoMetadata on a child slot named PhotoMetadata_Tags on the photo object itself. Visibility and scale variables are written for each user ID (e.g. PhotoMetadata/<userId>/headScale and PhotoMetadata/<userId>/isInView) so other in-game tools/mods can read them.

This can be disabled in the mod settings under InjectOcclusion.

Requirements

Installation

  1. Compile the class library or download the compiled FixPhotoMetadata.dll.
  2. Move FixPhotoMetadata.dll into your Resonite installation's rml_mods folder (typically C:\Program Files (x86)\Steam\steamapps\common\Resonite\rml_mods).
  3. Start the game.

About

Resonite mod that fixes photo metadata bugs, ensuring precise camera FOV and TakenGlobal coordinates (position/rotation) are captured at the exact moment a photo is taken.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages