GUI Unifier

by snouz

Forces mod buttons to look uniform and aligned, harminizes icons, and adds visual options for buttons for 117 mods and counting from mods such as Factory Planner, Helmod, YARM, Module Inserter, Bob's mods, Pyanodon, Schall's mods, Todolist, Creative Mod and many, many more! Now updated & Maintained for Factorio 2.0 & Space Age by SolusCaelum

Tweaks
a month ago
1.1 - 2.0
55.8K

Changelog

Version: 2.0.1
Date: 2025-02-07
  Changes:
    - Updated by Solus Caelum
    - Added improved error handling and logging in event handlers
    - Enhanced state validation in ensure_global_state function
    - Added additional safety checks for player state initialization
  Bugfixes:
    - Fixed "attempt to index global 'nil'" crashes in on_built_entity event
    - Added safety checks to prevent crashes during rapid entity placement
    - Added validation to prevent nil global state issues
    - Fixed "attempt to call global 'setup_player' (a nil value)" error on configuration changed
  Info:
    - If you encounter any crashes, please enable DEBUG logging in the mod settings and report the issue with your Factorio log file
Version: 2.0.0
Date: 2025-01-21
  Features:
    - Updated by Solus Caelum
    - Added support for Quick Item Menu mod
    - Added support for Visual Signals mod
    - Added comprehensive logging system with configurable levels (DEBUG, INFO, WARNING, ERROR)
    - Added per-player logging settings in mod options
    - Added minimum log level setting in mod options
    - Added extensive diagnostic and debug logging capabilities
    - Added robust state validation and recovery mechanisms
    - Added improved button initialization and management system
  Changes:
    - Updated for Factorio 2.0 compatibility
    - Replaced game.active_mods with script.active_mods
    - Updated frame styles to use Factorio 2.0's built-in styles
    - Enhanced global state initialization and management
    - Improved multiplayer synchronization
    - Centralized mod button configurations
    - Optimized button array processing
    - Reorganized icon management system
    - Improved mod compatibility with Trainsaver, Helmod, and Space Exploration
    - Strengthened compatibility with mods that temporarily hide UI
    - Enhanced error handling and recovery systems
    - Comprehensive state validation for all operations
    - Improved initialization sequences
  Bugfixes:
    - Fixed multiple crashes related to global state initialization
    - Fixed issues with nil global state during GUI interactions
    - Fixed button selected states and window state tracking
    - Added persistent state management for window visibility
    - Fixed button state synchronization
    - Fixed crashes during player join events on dedicated servers
    - Fixed initialization issues with peaceful mode on dedicated servers
    - Fixed button visibility issues in new games
    - Added comprehensive validation for GUI element access
    - Fixed errors when handling clock GUI updates
    - Fixed buttons getting stuck in selected state (added 60-tick reset)
    - Fixed issues that arose with Factorio 2.0's API changes
  Info:
    - This version represents a major rewrite of the mod with significant improvements
    - The mod is now known as "GUI Unifier" in most places, though the internal mod name remains unchanged
    - If you encounter any issues, please enable DEBUG logging in the mod settings. Report any issues with steps to reproduce
    - The changes in this changelog are consolidated into a single release as 2.0.0.
    - The full changelog and commit history can be found at https://github.com/snouz/GUI_Unifier
Version: 1.12.0
Date: 2021.10.26
  Changes:
    - Most buttons can be hidden in the settings
    - Fixed crash with LTN's shortcut "CTRL-MAJ-D"
    - Fixed support of Outpost Planner
    - Improved performances (only checks buttons from installed mod)
Version: 1.11.15
Date: 2021.10.02
  Changes:
    - Fixed crash (again)
Version: 1.11.14
Date: 2021.10.02
  Changes:
    - Fixed crash on new MP game
Version: 1.11.13
Date: 2021.10.02
  Changes:
    - Supports ModMash Splinter, New Worlds
    - Optimized code, Improved performances
Version: 1.11.12
Date: 2021.09.28
  Changes:
    - Supports Clock
    - Supports Avatars
    - Supports Delete Adjacent Chunk
    - Made EvoGUI display on the right of the main buttons
    - Better Creative Mod support
Version: 1.11.11
Date: 2021.09.27
  Changes:
    - Fixed a crash with Hive Mind
Version: 1.11.10
Date: 2021.09.27
  Changes:
    - Fixed a crash with changing surface (e.g. Factorissimo)
Version: 1.11.9
Date: 2021.09.26
  Changes:
    - Fixed a crash
Version: 1.11.8
Date: 2021.09.26
  Changes:
    - Fixed a crash with new games
    - Buttons of: Module Inserter, Factory Planner, Rich Text Helper, Not Enough Todo and Train Log are now underlined when their window is open
Version: 1.11.7
Date: 2021.09.26
  Changes:
    - Fixed crash
Version: 1.11.6
Date: 2021.09.26
  Changes:
    - Code cleaned and improved (uses less resources)
    - Supports LandfillEverythingAndPumps
    - Supports Automatic Belt Direction
    - Buttons of Pyanodon, Solar Ratio and Cities of Earth now close their main window
Version: 1.11.5
Date: 2021.09.20
  Changes:
    - Supports base scenarios (PVP, Supply Challenge, Team Production...)
    - Supports Cities Of Earth
    - Supports Oarc Multiplayer Spawn
    - Supports Decu
    - Supports Rd's Space Exploration Multiplayer Compat
    - Supports Spiderissmo
    - Removed some debug text
Version: 1.11.4
Date: 2021.09.19
  Changes:
    - Fixed a potential crash with 1.11.3
    - Supports Dana: crafting tree/graph explorer
    - Supports Factorio Tweaks by billbo99
    - Supports Remote Switch
    - Supports Spider sentinel
    - Supports TSM Outpost Builder Addon
    - Supports Credo Time Lapse Mod 1.1
    - Supports Non-Wave Defense 2
    - Supports Sky Wave Defense 3
Version: 1.11.3
Date: 2021.09.17
  Changes:
    - Better support for Todo-List (dynamic hover text + option to use full text button)
Version: 1.11.2
Date: 2021.09.16
  Changes:
    - Fixed crash when placing teleporters (Teleporter Redux and Personal Teleporter)
    - Supports Recipe Explorer
    - Supports The Blueprint Designer Lab
    - Re-added Black Market 2 hover credit
Version: 1.11.1
Date: 2021.09.15
  Changes:
    - Fixed debug mode activated
Version: 1.11.0
Date: 2021.09.15
  Changes:
    - Most buttons are displayed as selected when their windows are open
    - 9 new button styles in options
    - 1 new frame type in options
    - Fixed some zombie buttons after unistalling mods
    - Supports YARM - Resource Monitor
    - Supports Nullius
    - Supports NewGame+
    - Supports Inserter Throughput
    - 4 icon changes
    - Reactivated Screenshot Toolkit support
Version: 1.10.4
Date: 2021.09.08
  Changes:
    - Supports Schall Endgame Evolution (keeps roman numerals, adds icon that gets redder when evolving)
    - Fixed visual bug with LTN Manager
Version: 1.10.3
Date: 2021.09.06
  Changes:
    - Fixed FJEI still displaying old icon
    - Fixed Frame option not applying on first try
Version: 1.10.2
Date: 2021.09.06
  Changes:
    - Supports Advanced Logistics System Fork
    - Supports Zoom (fixed + re-published abandoned mod)
    - Supports Production Statistics Monitor HUD
    - Supports Teleportation_Redux
    - Supports PersonalTeleporter
Version: 1.10.1
Date: 2021.09.05
  Changes:
    - Added option for removing or simplifying top frame
    - Supports Pyanodon
    - Supports Homeworld Redux
    - Supports Lawful Evil (Added custom scripts in laws)
    - Supports Trashcan
    - Supports Usage Detector
    - Supports RPG
    - Supports Spawn Control
    - Supports Spawn Control with cooldown
    - Supports What Is Missing
Version: 1.10.0
Date: 2021.09.03
  Changes:
    - Supports FJEI
    - Supports ToggleSpeedBoost
    - Supports 248k Mod
    - Supports Blueprint Alignment
    - Supports Cargo Train Manager
    - Supports Clusterio
    - Supports Cursed Upgradable Buildings
    - Supports Default Wait Conditions
    - Supports Diplomacy
    - Supports Electronic Locomotives
    - Supports Forces
    - Supports Hive Mind
    - Supports Hive Mind Remastered
    - Supports How Far Has it Been?
    - Supports Kuxynator's Blueprint Editor
    - Supports Handcraft Ghosts
    - Supports Logistic Machines
    - Supports Logistic Request Manager (continued)
    - Supports Region Cloner
    - Supports Reset Evolution and Pollution
    - Supports Schall Ore Conversion
    - Supports Shuttle Train Continued
    - Supports Simple Circuit Trains
    - Supports Smart chest
    - Supports TeamCoop
    - Improved 6 existing icons
    - Hover text improvements
    - Fixed ingame changelog
    - Deactivate Screenshot Toolkit sprite replacement (button is WIP)
Version: 1.9.0
Date: 2021.08.30
  Changes:
    - Supports Blueprint Flip and Turn (displays only when blueprint is in hand)
    - Supports Commu Guide Mod
    - French locale added
    - Fixed another crash on new games
    - Handle Space Exploration (without replacing images)
Version: 1.8.1
Date: 2021.08.29
  Changes:
    - Fixed crash when Factorissimo2 wasn't installed
Version: 1.8.0
Date: 2021.08.29
  Changes:
    - Supports Black Market 2
    - Added per-player setting to choose between 2 button styles
    - LandfillEverthing only shows when blueprint is selected
    - Code simplified
    - Handle Informatron (without replacing image)
Version: 1.7.0
Date: 2021.08.28
  Changes:
    - Supports Schall Railway Controller
    - Supports Picks Rocket Stats
Version: 1.6.1
Date: 2021.08.27
  Changes:
    - Fixed crash with Factorissimo2
    - Fixed some icons resetting when changing surface
Version: 1.6.0
Date: 2021.08.25
  Changes:
    - Supports Screenshot Toolkit
    - Supports Factorissimo2
    - Supports Kraskaska's Technology Total Raw Resources Calc
    - Supports Crafting Tools
    - Supports Orbital Ion Cannon (SE Edition)
    - Supports Landfill Everything
    - Supports Not Enough Todo
    - Supports OSHA Hot Swap
    - Supports Picker Inventory Tools
    - Supports Powered Entities
    - Supports Research Counter
    - Supports Rich Text Helper
    - Supports RitnTeleportation
    - Supports Solar Calculator
    - Supports Solar Ratio Calculator
    - Supports Space Extension Mod (SpaceX)
    - Supports The Fat Controller
    - Supports Toggle Peaceful Mode
    - Supports Train Log
    - Supports Train Supply Manager (TSM)
    - Supports Upgrade Builder and Planner
    - Supports What's Missing?
    - Added hover text on 27 icons
Version: 1.5.0
Date: 2021.08.23
  Changes:
    - Supports Actual Craft Times Remade
    - Supports Attila Zoom Mod
    - Supports Auto Trash
    - Supports Better Bots Technologies
    - Supports Change Map Settings
    - Supports Doing Things By Hand
    - Supports Kill Lost Bots
    - Supports Markers
    - Code factorisation and code preparation for next mods
Version: 1.4.0
Date: 2021.08.22
  Changes:
    - Fixed Blueprint request support, changed icon
    - Supports CleanMap
    - Supports DeleteEmptyChunks
    - Supports Death Counter
    - Supports Ingame Technology Browser
    - Supports Outpost Planner
    - Supports Quickbar Import/Export
    - Supports Rocket Silo Stats
    - Supports Schall Satellite Controller
    - Changed Todo list icon
    - Changed Bob's Character classes icon
Version: 1.3.0
Date: 2021.08.21
  Changes:
    - Supports Blueprint-request
    - Supports Bob's Adjustable Inserters / Bob's Logistics
    - Supports Bob's Character classes
Version: 1.2.0
Date: 2021.08.20
  Changes:
    - Supports BeastFinder
    - Reloads icons on top buttons click, for Creative Mod and BeastFinder
Version: 1.1.0
Date: 2021.08.19
  Changes:
    - Supports creative-mod
Version: 1.0.0
Date: 2021.08.18
  Changes:
    - Initial release based on Better_Modicons by Dr_Pepper (with permission) but with new icons.
    - Supports factoryplanner.
    - Supports helmod.
    - Supports ModuleInserter.
    - Supports Placeables.
    - Supports Todo-List.
    - (new) Supports what-is-it-really-used-for.