Closed f24816 closed 1 year ago
What about turning off the blur function?
What about turning off the blur function?
It can only go down to 1px in the in-game config.
cursed
modify the config file
Just to add onto this, setting the backgroundBlurRadius
to 0.0
still results in the screen turning black.
file = 'C:\Users\Ceci\AppData\Roaming\com.modrinth.theseus\profiles\Cabricality\config\cabricality.toml'
includeVersionInWindowTitle = false
backgroundBlurRadius = 0.0
[debug]
debugInfo = false
cleanerLog = true
cursed @KrLite
The blur function is deleted in version 3.0.
The reason why you can still toggle backgroundBlurRadius
is that I forgot to delete it, but it is stale in code.
In brief, there is something else causing your screen backgrounds turning black. Could you please provide a screen recording or so?
What's more, the config file
is actually a program const. It is automatically handled and not configurable. It is due to a mistake that it appeared in the configuration file. Cabricality will publish a patch soon and it shall disappear then.
WHAT
So, I can confirm that removing the Cabricality mod did resolve the issue. 🤔
Continued to dig into it, so far I've discovered its tied to ScreenAnimator.
Here's the function that's causing the screen to go completely black. Validated it by commenting out the contents, compiling the code, and testing it in the pack.
I'm not overly familiar with modding Minecraft so this is the extent of my debugging, hopefully it's helpful!
The blur function is deleted in version 3.0. The reason why you can still toggle
backgroundBlurRadius
is that I forgot to delete it, but it is stale in code.In brief, there is something else causing your screen backgrounds turning black. Could you please provide a screen recording or so?
WHAT
@cecilia-sanare Thanks and that helps a lot! It turns out to be another silly bug.
When I was migrating Equator from v1 to v2, these Animations replaced old Timers:
private static final AnimatedDouble opacity = new AnimatedDouble(0, 1, 450, Curves.Exponential.Quadratic.OUT);
You can notice that I set all values normalized, which means the animation goes from 0 to 1, resulting in an opaque black background.
The solution is simple, as the original values have opacities of 0xC0
:
- args.set(5, AccurateColor.fromARGB(upper).opacity(opacity.value()).toInt());
- args.set(6, AccurateColor.fromARGB(lower).opacity(opacity.value()).toInt());
+ args.set(5, AccurateColor.fromARGB(upper).opacity(opacity.value() * 0xC0 / 0xFF).toInt());
+ args.set(6, AccurateColor.fromARGB(lower).opacity(opacity.value() * 0xC0 / 0xFF).toInt());
So it is fixed.
What's more, there is a config to toggle this effect in the modpack's config screen(or config file) now.
What Happened?
The background of the menus are all black, they fade to black every time I bring up another menu like clicking though REI.
What Should Happen?
No response
Steps to Reproduce
I'm on a bog standard laptop with a GTX 1650 and just downloaded the mod through Modrinth.
Cabricality Version Check
Yes, I'm playing with Cabricality 0.3
Crash Log
No response
Anything Else?
No response