==================================================
❤ UPDATE v2.2 — Major Overhaul
==================================================
Big update! The script is now smarter, safer, and fully configurable from OBS.
No more editing script files — everything works out of the box.
==================================================
⭐️ NEW FEATURES
==================================================
Expanded Game Library (50 → 80+ games)
The built-in dictionary now recognizes even more games automatically.
Added:
• Helldivers 2, Starfield, Hogwarts Legacy, Lies of P
• War Thunder, World of Tanks, Final Fantasy XIV
• Path of Exile, Lost Ark, New World, Warframe
• Resident Evil 2/3/4, Monster Hunter World/Rise, Sekiro
• Red Dead Redemption 2, Skyrim, Fallout, Diablo, WoW
• Deep Rock Galactic, Valheim, No Man's Sky, Subnautica
• Satisfactory, The Sims 4, Minecraft Java (javaw.exe)
️ Full OBS GUI Settings
All settings are now configurable directly in OBS Scripts panel.
No need to open the script file anymore!
• Organized collapsible groups
• Emoji icons for easy navigation
• Groups: File Naming, Organization, Spam Protection, Tools
Expanded Ignore List (20 → 70+ apps)
New categories added to prevent false detections:
• Editing: Premiere, DaVinci, Vegas, Audacity, Photoshop
• Overlays: NVIDIA Share, Overwolf, Medal, AMD Radeon
• Dev Tools: VS Code, Sublime, JetBrains IDEs, Terminal
• Utilities: 7-Zip, WinRAR, FileZilla, PowerShell
• Launchers: EA Desktop, Ubisoft Connect, Bethesda
Session Statistics
See how many clips were organized when OBS closes.
Example: "Session: 15 moved, 2 skipped"
==================================================
BUG FIXES
==================================================
Fixed Timer Bug (Critical)
• Old: Used os.clock() (CPU time — unreliable when idle)
• New: Uses os.time() (real time — always accurate)
Fixed Handle Validation
• Added proper INVALID_HANDLE_VALUE checking
• Prevents crashes with Anti-Cheat protected processes
Removed Blocking Retry Loop
• Old version could freeze OBS during file operations
• Now handles errors gracefully without blocking
==================================================
️ NEW SAFETY FEATURES
==================================================
Path Length Protection
• Validates paths against Windows MAX_PATH limit (260 chars)
• Auto-truncates long filenames: "VeryLongName..." + extension
• No more "path too long" errors
File Size Validation
• Checks file size before moving
• Warns about empty or potentially corrupted files
• Shows file size in debug mode
Improved Crash Protection
• All Windows API calls wrapped in pcall
• Better error messages with full paths
• Graceful fallback on failures
==================================================
IMPROVEMENTS
==================================================
• Centralized CONFIG table structure
• Improved is_invalid_handle() function
• Consistent [Smart Replay] log prefix
• Better debug output formatting
• Cleaner code organization
==================================================