ZiYueCommentary / Blitz3D

Blitz3D TSS Source
zlib License
7 stars 5 forks source link

Games fail to launch on Linux via Proton starting from version 1.126 #16

Closed VaneBrain closed 2 months ago

VaneBrain commented 2 months ago

Before reporting, I have confirmed that

Describe the Bug

Although Blitz3D TSS does not natively support the Linux operating system, many users have successfully run games using Proton. However, starting from version 1.126, games no longer launch on Linux.

Related codes

SCP: Nine-Tailed Fox code can be used to test this issue: https://github.com/VaneBrain/scpntf

Reproduction Steps

  1. Start any Blitz3D TSS games on Linux system.

Caught Exception

Memory Access Violation

Operating System

Arch Linux x86_64

Extra Information

Games, compiled on version 1.125, were proven to run fine on Linux (and Steam Deck).

I8aDOG commented 2 months ago

Really hoping this issue is discovered and fixed, disappointed that I can't play SCP Ultimate Edition and Nine-Tailed Fox on my Linux desktop, especially now that I main drive it to play games.

ZiYueCommentary commented 2 months ago

I can't fix it by myself because I can't build the environment properly. Need someone who can run the program for testing.

ZiYueCommentary commented 2 months ago

After debugging with @I8aDOG , the result is that incompatible is caused by the default font which the engine loads when initializing. I think we need a solution to reserve the default font, since default font is very convenient, especially for small programs.