mirror of
https://github.com/LiveContainer/LiveContainer.git
synced 2026-04-26 17:45:55 +03:00
[GH-ISSUE #272] Ren’Py apps crash after splash screen #244
Labels
No labels
bug
compatibility
enhancement
multitasking
pull-request
safe area
status: broken
status: usable
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LiveContainer#244
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HappyRespawnanchor on GitHub (Dec 22, 2024).
Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/272
Describe the issue
In live container, any app made with the Ren’Py engine crashes immediately after the splash screen is displayed.
If sideloaded directly in SideStore, it runs normally.
Instructions to reproduce
https://github.com/user-attachments/assets/955479f0-1fd6-4a85-8f77-f701930a333c
What version of LiveContainer are you using?
Version 3.1.0-release (main/c586e79)
Other
https://renpy.org/doc/html/ios.html
@hugeBlack commented on GitHub (Dec 26, 2024):
Well, after some investigation, I found that this is an issue with
dlsym. DDLC linked against both OpenGLES and MetalENGLE , which both contain OpenGL api. If directly sideloaded,dlsymcorrectly returns OpenGL functions in MetalENGLE, while in LiveContainer, OpenGLES functions are returned, and since no OpenGL context is setup,glGetStringreturned 0 and DDLC crashed.If I force
dlsymto return functions in MetalENGLE, DDLC can launch without issue. I'm looking for a way to makedlsymbehave "correctly" like when being sideloaded.@HappyRespawnanchor commented on GitHub (Dec 28, 2024):
Before this issue is resolved, could you add a debug option to select which library (MetalENGLE or OpenGLES) OpenGL functions are returned from for testing? :)
@hugeBlack commented on GitHub (Dec 28, 2024):
It's fixed, please try https://github.com/hugeBlack/LiveContainer/actions
@HappyRespawnanchor commented on GitHub (Dec 28, 2024):
Thanks : )
感谢,确实解决了,话说hugeBlack/LiveContainer的commit未来会被推到khanhduytran0/LiveContainer吗
@hugeBlack commented on GitHub (Dec 28, 2024):
会的,等内容足够多了就会合并到这个仓库里面