BONELAB
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
200
Size
58KB
Edited · Nov 23, 2026

QuestGraphics 1.0.0

QuestGraphics cleans up spent combat effects and adapts XR rendering resolution in BONELAB Patch 6. The same .NET 6 DLL is built against the Quest Android and Steam PCVR reference sets. The mod uses BoneLib 3.2.2 for BoneMenu and scene lifecycle callbacks.

What it does

  • Tracks transient blood and impact projectors, spent casings observed during ejection, and pooled fragments. It examines one tracked item per tick, with a 10 Hz ceiling shared across all categories. Age, budget pressure or distance behind the player can trigger cleanup. The oldest decals and casings are processed first when their respective budgets are exceeded.
  • Returns active Marrow objects through Poolee.Despawn(). The standalone decal path is restricted to independent hit visuals. Debris cleanup requires a sleeping, non-kinematic pooled SpawnFragment. Mods using different effects or ejection code can fall outside the tracked paths.
  • Allocates the XR eye buffer at the chosen target. The XRSettings.eyeTextureResolutionScale API is absent from both pinned Patch 6 proxy sets. QuestGraphics uses XRDisplaySubsystem.scaleOfAllRenderTargets for the buffer and scaleOfAllViewports for live adjustments. Unity XR viewport scaling
  • The guard samples a rolling 1.5-second window of unscaled frame times. At 90 Hz it steps down by 0.05x above 11.6 ms and steps back up after sustained recovery. It uses a 1.00x floor for targets at or above 1.00x and honors explicit lower targets. It compensates for other reported refresh rates and leaves refresh selection to the XR runtime.
  • A guarded upscale starts at the floor and ramps up. The XR provider must retain viewport writes for the guarded upscale to proceed. A preset or target change can reallocate the eye buffer once; live guard steps use the existing buffer. BoneMenu disable and loader teardown restore the original settings the mod still owns.

Install

  1. Use BONELAB Patch 6. On standalone Quest 3S, install LemonLoader 0.6.5, launch once to initialize it, and close the game. Install BoneLib 3.2.2 and copy Mods/QuestGraphics.dll to /sdcard/MelonLoader/com.StressLevelZero.BONELAB/Mods/.
  2. On Steam PCVR, use MelonLoader x64 0.6.5 for a manual install. Launch once, close the game, and install BoneLib 3.2.2 and QuestGraphics.dll in BONELAB/Mods/. BoneLib's Thunderstore manifest requests MelonLoader 0.6.6. The QuestGraphics source also compiled against the desktop 0.6.6 API.
  3. Relaunch the game and open BoneMenu → Quest Graphics. Use Mod Enabled to restore the previous rendering settings, or close the game and remove the DLL to uninstall.

Keep one copy of BoneLib and one copy of QuestGraphics in the active loader profile. Other mods that write XR scale, shadow distance or MSAA can affect the same runtime state.

BoneMenu

Control Default and behavior
Mod Enabled On
Graphics Preset Press to cycle Crisp 90Hz (1.20x), Ultra Sharp (1.30x), Max FPS (1.05x) and Custom
Target Resolution Scale 1.20x. Adjust from 0.90x to 1.40x in 0.05x steps. Editing this value selects Custom.
Dynamic 90Hz FPS Guard On
Auto-Clean Blood & Bullet Decals On
Max Active Decals 64. Adjust from 16 to 160 in steps of 16. The casing budget is 48.
Decal Lifetime (Seconds) 18 seconds. Adjust from 5 to 60 in 5-second steps. The setting also applies to casings and settled debris.
Auto-Clean Spent Shell Casings On
Sweep Clutter Now Begins a staggered pass through the current registry at the next available tick.

On standalone Android, Quest Rendering offers Combat Shadow Clamp and MSAA. The shadow clamp caps the existing setting at 18 m under sustained frame-time pressure. MSAA offers Game Default, 2x and 4x through Unity quality settings. The render pipeline or XR provider can control the active sample count. Both controls start at the game's settings.

Preferences are stored in the QuestGraphics category of the loader's UserData/MelonPreferences.cfg. For troubleshooting, use the active profile's MelonLoader/Latest.log.

Known Issues

Possible Crashing (Unsure if its the mods fault, will look into it next update)

Verification

The Quest and Steam .NET 6 compiler outputs match byte for byte. The LemonLoader 0.6.5 .NET 8 host API and desktop MelonLoader 0.6.6 API also passed compiler checks. Offline checks cover sweep cadence, selection and pool reuse, viewport fallback, and restoration.

This build still needs an in-game Quest 3S and SteamVR pass. Actual hook firing, viewport support, stereo output, Quest MSAA, CPU and GPU frame times, and steady-state IL2CPP allocations remain unmeasured on headsets.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.