macOS 旧版本 natives 和 JVM 参数缺失
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start at PCL.Core/Platform/PlatformCapabilities.cs around line 32, which the issue links, to see how platform natives are detected, then follow the code that extracts native libraries so .jnilib files are unpacked alongside .dll and .so. The second half is the JVM argument builder: find where arguments.jvm and osx rules are merged and where -XstartOnFirstThread would be injected for versions without arguments.jvm. Both parts need verification on macOS with a pre-1.13 version; done means LWJGL2 natives extract and the game launches without UnsatisfiedLinkError or a main-thread failure.
Written by the indexing model from the issue text.
Description
.jnilib 没有被解压,LWJGL2 的 macOS natives 常见文件名是 liblwjgl.jnilib、libjinput-osx.jnilib。Minecraft 1.12.2 及以下会因此 UnsatisfiedLinkError,Windows .dll 和 Linux .so 正常。
旧版本没有 -XstartOnFirstThread,现代 Mojang JSON 会在 osx 规则里自带这个参数,但 1.13 以前的版本通常没有 arguments.jvm。macOS 上 LWJGL 和 GLFW 要求主线程,旧版本可能在窗口创建阶段失败。
均需实测。
- Dominant language
- C#
- Stars
- 4.3k
- Forks
- 148
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 64
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PCL-Community/PCL-CE
-
崩溃日志只按 CRLF 分行Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PCL-Community/PCL-CE#3872 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
PCL-Community/PCL-CE#3871 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PCL-Community/PCL-CE#3867 ·
Maintainers usually reply within 1 day
-
[i18n] 安装实例完成后的成功提示未正确本地化Possibly taken @Lokins577 claimed this 35 days ago. Open👍 优质 🚧 正在处理
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
PCL-Community/PCL-CE#3658 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PCL-Community/PCL-CE#3447 ·
Maintainers usually reply within 1 day
All issues in PCL-Community/PCL-CE
Similar issues
-
hand-to-AI
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CactuseSecurity/firewall-orchestrator#5803 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
-
bug python
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
Maintainers usually reply within 13 days