Invisible, Inc.

Invisible, Inc.

41 ratings
Quick Loader
   
Award
Favorite
Favorited
Unfavorite
mod
File Size
Posted
Updated
2.000 MB
3 Aug, 2019 @ 4:48am
26 Jul, 2021 @ 2:06pm
5 Change Notes ( view )

Subscribe to download
Quick Loader

Description
This mod changes the loading screen to run simultaneously with the game logic, rather than being for only aesthetics. This functionality is compatible with +Loading Screens. It also provides a more accessible interface that could potentially allow for mods that further customize the loading screen.

The mod also changes how debug logs work, as they are very bad for performance even though a normal player never sees them. Rather than constantly saving log data this mod will store data logged and write it once you shut the game down. Basic errors and certain other log functions still show normally, as they don't use lua logging.

As this mod can be problematic when debugging you can disable it in the game's option menu rather than on the generation option screen.

If you are a modder, you can get around the batch logging by using log:flush() after your log:writes, changing the global LOGGING variable, or using print and MOAILogMgr.log instead.

This mod needs Sim Constructor to function
https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=580661011

Feel free to discuss the mod on our Discord: https://discordapp.com/invite/aQrXEse
3 Comments
RolandJ 17 Jun @ 8:19am 
Xaliber this is useful for players on weaker machines or players who just want the game to run smoother, since it eliminates (potentially hundreds or thousands) of log statements over the course of loading a savegame or running a mission. The performance gain will be relative to the logging intensity of the player's mod list. Adding intense logs during debugging is common, but many if not most of them are inappropriate for being in a release and should therefore be removed or commented out in the release. A mod list with many offenders would get a bigger performance gain.

Log statements can cause a performance hit, the avoidance of which is the premise of this mod.

Modders: Be sure not to include log:flush() in your releases, or your subscribers will CTD if they lack Quick Loader. I accidentally did this with one of my mods.
Xaliber 9 Sep, 2024 @ 10:00pm 
If I understand this correctly, this is only useful if another mod requires it?
cyberboy2000  [author] 11 Sep, 2019 @ 12:55pm 
Update: Fixed crash when settings weren't initialized.