Skip to content

t4 screen & internet card fixes - #124

Merged
CaitlynMainer merged 6 commits into
PC-Logix:main-MC1.21.1from
Smok1e:main-MC1.21.1
Oct 13, 2026
Merged

CaitlynMainer merged 6 commits into
PC-Logix:main-MC1.21.1from
Smok1e:main-MC1.21.1

Conversation

@Smok1e

@Smok1e Smok1e commented Oct 13, 2026

Copy link
Copy Markdown

t4 screens apparently were supposed to display colors in RGB565 format, i. e. 16 bit per color. However, the screen color buffer was still packing background and foreground color pairs as 2 byte integers, which obviously led to overflowing issues and unusable screens.

Gpu's setDepth() method was also not modified properly, therefore it refused to set 16 bit color depth even on t4 gpus, which was also fixed.

image image

Internet card now seems to restrict HTTP redirects, which breaks compatibility with the original mod. Many links used in OC's software, such as this github link, require redirect to work. This is why i removed http.setInstanceFollowRedirects(false) call.

@CaitlynMainer

Copy link
Copy Markdown
Member

Could I get you to remove the internet card changes? I'm working on a full fix for that as opposed to just removing the check.

@Smok1e

Smok1e commented Oct 13, 2026

Copy link
Copy Markdown
Author

Sure

@CaitlynMainer
CaitlynMainer merged commit cf9adb1 into PC-Logix:main-MC1.21.1 Oct 13, 2026
1 check passed
CaitlynMainer added a commit that referenced this pull request Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants