Invisible, Inc.

Invisible, Inc.

41 个评价
Quick Loader
   
奖励
收藏
已收藏
取消收藏
mod
文件大小
发表于
更新日期
2.000 MB
2019 年 8 月 3 日 上午 4:48
2021 年 7 月 26 日 下午 2:06
5 项改动说明 ( 查看 )

订阅以下载
Quick Loader

描述
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
http://psteamcommunity.yuanyoumao.com/workshop/filedetails/?id=580661011

Feel free to discuss the mod on our Discord: https://discordapp.com/invite/aQrXEse
3 条留言
RolandJ 6 月 17 日 上午 8:19 
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 2024 年 9 月 9 日 下午 10:00 
If I understand this correctly, this is only useful if another mod requires it?
cyberboy2000  [作者] 2019 年 9 月 11 日 下午 12:55 
Update: Fixed crash when settings weren't initialized.