Oxygen Not Included

Oxygen Not Included

2,557 ratings
Better Info Cards
6
14
3
3
4
3
   
Award
Favorite
Favorited
Unfavorite
Compatibility: Base Game, Spaced Out!
File Size
Posted
Updated
164.170 KB
5 Jan, 2020 @ 11:20am
15 Mar, 2024 @ 7:20pm
36 Change Notes ( view )

Subscribe to download
Better Info Cards

In 1 collection by Aze
ONI Strict QOL Mods
33 items
Description
Overhauls info cards to be more powerful and user friendly!

The base-game info cards make it difficult to understand the exact contents of a busy tile. Better Info Cards provides extensive options to improve this experience. With BIC, similar cards can be grouped, many more cards can be displayed, base-game bugs are fixed, and more!



Features:
These can be configured or disabled through the mod's options screen.

Grouping
  • Cards with the same statuses and similar numbers will be collapsed into a single display card.
  • Configurable grouping behavior.
  • Enhanced information: sum masses, average temperatures, and more.
  • Hold shift while clicking to cycle the selection within a grouped card.
Visibility
  • Cards are rearranged to maximize visibility.
  • Customize the size, compactness, and opacity of cards to perfectly suit you.
Utility
  • Display the unreachable status as its own card, making cards more compact and easier to read.
  • Disable showing the element categories, which is largely useless information.
  • Much better selection behavior when clicking through a stack of changing items.
  • Better performance than vanilla when hovering over large stacks of items.
Vanilla Bug Fixes
  • Element chunks in the temperature overlay now have only one temperature displayed.
  • Show cards for gas and liquid bridges in their respective overlays.



Like the Mod?
I've poured hundreds of hours into creating and supporting my mods because I love the game and the community. Knowing that people enjoy and appreciate them is what keeps me going.

If you're feeling generous, consider:
  • Liking, favoriting, and awarding.
  • Checking out my other mods and following me.

Found a Bug?
Please read this entire page[github.com] before going any further. If the instructions are not followed, I will not be able to fix your issue.

Source[github.com]
336 Comments
Aze  [author] 2 Oct @ 8:16pm 
@AcTePuKc: Are you sure you've even fixed that crash? Your changes modify the getTextOverride Func on the germs converter. That func is only invoked from the TextInfo.GetTextOverride method, which isn't shown in your stack trace.

The trace shows the crash in StatusItemGroup.Entry.GetName. I don't invoke that method at all. It's invoked by vanilla SelectToolHoverTextCard.UpdateHoverElements. I target it in my transpiler, but the call is unmodified. The trace only shows BetterInfoCards due to how transpiling works.

TL;DR: I am 98% sure that crash is solely caused by Container Tooltips and that your fix does nothing to prevent it. Let me know if I'm missing anything though.
AcTePuKc 2 Oct @ 7:42pm 
Do you want the player.log or the game save?
It crashes not that often - 3 times so far. Cannot get any specific steps but I just dig something and it crashes.
Player.log location [github.com]
Aze  [author] 2 Oct @ 5:43pm 
@AcTePuKc: Do you have reproduction steps for that crash? I don't believe I have ever seen it. Broadly speaking, I prefer crashing early with BIC because it is tightly coupled and heavily based on assumptions. If my assumptions are being broken, it's almost certainly just going to crash somewhere else anyways.

Again, I've never seen this crash reported before...
AcTePuKc 2 Oct @ 6:44am 
Hey, Aze would you be that kind to check my fork and I've fixed this crash - which was about this:

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

System.Collections.Generic.List`1[T].get_Item (System.Int32 index)
ResourceSet`1[T].get_Item (System.Int32 idx)
GameUtil.GetFormattedDiseaseName (System.Byte idx, System.Boolean color)
ContainerTooltips.StorageContentsSummarizer.FormatDiseases (…)
All the ToDo's are done and there was few other small issues, but check the repo and see what you want to take and make work.
https://github.com/AcTePuKc/ONI-Mods-TestFix/blob/master/ToDo.md
I might have messed with the Directory.Build.props :) so use yours
Aze  [author] 29 Sep @ 5:25pm 
@MarciXeN: I can't reproduce this. Could you please provide a log?
MarciXeN 29 Sep @ 2:34pm 
When I double click a dupe it crashes the game.
Aze  [author] 13 Sep @ 2:36pm 
@Darkerowl: I can't reproduce any frame drops with follow cam. I doubt this is related to Better Info Cards.
Darkerowl 13 Sep @ 1:15pm 
I noticed it was the worst when I do follow cam, when I do the follow cam Ill go from 60+ fps to 10 fps. Is that something that is related to this mod, it keeps the menus open when following and I cant close them without it un-following sadly.
Aze  [author] 11 Sep @ 5:36pm 
@Darkerowl: It shouldn't. I would guess maybe a very weird mod incompatibility?

If you can, please open an issue on Github for easier discussion.

Can you reproduce the issue with no other mods installed? Are there specific menus that cause issues, or all of them?
Darkerowl 11 Sep @ 1:08am 
This mod is absolutley destroying my FPS when I have menus open, with menus closed I get like 60+ op I get 11-16 fps. is there a way to improve it or maybe a leak or mod interaction issue?