mihow-WeightsRebalanced icon

WeightsRebalanced

Customize item weights in kilograms with full multiplayer sync, presets, and hot reload. Compatible with modded items.

CHANGELOG

Changelog

All notable changes to Weights Rebalanced will be documented in this file.

[2.0.1] - 2026-01-10

  • Fixed manifest

[2.0.0] - 2026-01-09

Major Features

  • Multiplayer Synchronization - Host-to-client weight sync via Unity Netcode
    • Automatic sync on client connect
    • Late joiner support
    • Hot reload broadcasts to all clients
    • Original config restoration on disconnect
  • Dynamic Item Detection - Removed hardcoded item lists
    • Assembly-based vanilla vs modded detection
    • Automatic categorization (Scrap/Equipment/Store/Modded)
    • Works with any mod without updates needed
  • Preset System - Save and load weight configurations
    • Save current weights as preset
    • Load vanilla weights preset
    • Import/export for sharing with friends
    • Simple text format for easy editing
  • Hot Reload - Change weights mid-game without restart
    • Config watcher monitors changes
    • Updates all active items in real-time
    • Broadcasts to clients if host

Improvements

  • Config Validation - All weights clamped to 0.1-500 kg range
  • Enhanced Descriptions - Config shows vanilla weight and valid range
  • Safety Helpers - Comprehensive error handling and validation
  • Optimized HUD Updates - Cached inventory hash reduces CPU usage
  • Performance - Event-based patching with Update fallback

LethalConfig Integration

  • New buttons:
    • Save Current as Preset
    • Load Vanilla Weights
    • Network Sync Status
    • Diagnostic: Print Item Detection
  • Updated slider ranges with validation
  • Real-time updates without restart

Technical

  • Added ConfigValidator.cs - Weight validation system
  • Added SafetyHelpers.cs - Error handling utilities
  • Added ItemDetection/ namespace:
    • ItemClassifier.cs - Vanilla/modded detection
    • CategoryDetector.cs - Item categorization
    • DiagnosticCommands.cs - Debug tools
  • Added Presets/PresetManager.cs - Preset management
  • Added HotReload/ConfigWatcher.cs - Real-time config monitoring
  • Added Networking/ namespace:
    • WeightSyncManager.cs - Multiplayer synchronization
  • Added Patches/NetworkPatches.cs - Network event hooks
  • Improved Patches/WeightPatches.cs - Optimized HUD updates

Bug Fixes

  • Fixed HUD showing "lb" instead of "kg" in all scenarios
  • Fixed potential null reference exceptions
  • Fixed item validation edge cases
  • Fixed network sync timing issues

Removed

  • Hardcoded vanilla item lists (42 scrap, 17 store, 3 equipment items)
  • Update-only HUD patching (replaced with hybrid approach)

[1.0.0] - Initial Release

Features

  • Customize item weights in kilograms
  • Per-item configuration
  • LethalConfig integration (optional)
  • Weight display in kg instead of pounds
  • Basic item categorization

Note: Version 1.0.0 was the initial internal release. Version 2.0.0 is the first public Thunderstore release with major enhancements.