[GH-ISSUE #1956] [Bug]: 第五人格neox引擎加载的xml找不到 macOS 15.6.1 #1296

Closed
opened 2026-03-03 19:05:36 +03:00 by kerem · 3 comments
Owner

Originally created by @acincor on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/PlayCover/PlayCover/issues/1956

Describe the bug

第五人格neox引擎加载的xml找不到

Steps to reproduce

下载decrypt.day或者Maclub.net的ipa后打开应用

Expected behaviour

直接闪退了,log里提示neox引擎加载的xml找不到

Crash log

[23:26:40.805] M [IOS] application:willFinishLaunchingWithOptions:withConfig:
[23:26:40.806] M [CLIENT] Exe module file: \private\Users\acincor\Library\Containers\io.playcover.PlayCover\Applications\com.netease.id5.app\client
[23:26:40.806] M [CLIENT] Current directory: /private
[23:26:40.806] M Initializing client.... 0x107366380
[23:26:40.806] M [CLIENT] Ver:a4f4bb700d97be3a797ed5332abf20b0df45c729
[23:26:40.806] M [GAME] Init utils.dll (1063838562)

ERROR *****************************************************************************
[23:26:40.806] M TinyXml parse error : Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=13 (0xd) Line number=0 row 0


ERROR *****************************************************************************
[23:26:40.806] M [CLIENT] neox.xml not exist!


ERROR *****************************************************************************
[23:26:40.806] M [CLIENT] Failed to Initialize Engine!

[23:26:40.806] M [NeoXWindow::Destroy] this=0x133618240

ERROR *****************************************************************************
[23:26:40.806] M [CLIENT] Failed to init engine!

What version of PlayCover are you using?

3.1.0

What version of macOS are you using?

Other (please specify)

Issue Language

  • Yes my issue is written in English
Originally created by @acincor on GitHub (Sep 1, 2025). Original GitHub issue: https://github.com/PlayCover/PlayCover/issues/1956 ### Describe the bug 第五人格neox引擎加载的xml找不到 ### Steps to reproduce 下载decrypt.day或者Maclub.net的ipa后打开应用 ### Expected behaviour 直接闪退了,log里提示neox引擎加载的xml找不到 ### Crash log ```shell [23:26:40.805] M [IOS] application:willFinishLaunchingWithOptions:withConfig: [23:26:40.806] M [CLIENT] Exe module file: \private\Users\acincor\Library\Containers\io.playcover.PlayCover\Applications\com.netease.id5.app\client [23:26:40.806] M [CLIENT] Current directory: /private [23:26:40.806] M Initializing client.... 0x107366380 [23:26:40.806] M [CLIENT] Ver:a4f4bb700d97be3a797ed5332abf20b0df45c729 [23:26:40.806] M [GAME] Init utils.dll (1063838562) ERROR ***************************************************************************** [23:26:40.806] M TinyXml parse error : Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=13 (0xd) Line number=0 row 0 ERROR ***************************************************************************** [23:26:40.806] M [CLIENT] neox.xml not exist! ERROR ***************************************************************************** [23:26:40.806] M [CLIENT] Failed to Initialize Engine! [23:26:40.806] M [NeoXWindow::Destroy] this=0x133618240 ERROR ***************************************************************************** [23:26:40.806] M [CLIENT] Failed to init engine! ``` ### What version of PlayCover are you using? 3.1.0 ### What version of macOS are you using? Other (please specify) ### Issue Language - [ ] Yes my issue is written in English
kerem 2026-03-03 19:05:36 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@acincor commented on GitHub (Sep 6, 2025):

再说一句,我的ipa包解开后以及在playcover的app文件夹下存在这个neox.xml

<!-- gh-comment-id:3261480774 --> @acincor commented on GitHub (Sep 6, 2025): 再说一句,我的ipa包解开后以及在playcover的app文件夹下存在这个neox.xml
Author
Owner

@viatearz commented on GitHub (Sep 8, 2025):

引擎的问题,这个引擎会在所有文件路径前都加上/private,所以找不到文件。

打开终端运行命令,这个补丁会把/private修改成/

EXECUTABLE=~/Library/Containers/io.playcover.PlayCover/Applications/com.netease.id5.app/client
python3 -c "import sys; f=open(sys.argv[1],'rb+'); d=f.read(); i=d.find(b'\x00\x2F\x70\x72\x69\x76\x61\x74\x65\x00'); f.seek(i) if i!=-1 else exit(1); f.write(b'\x00\x2F\x00\x00\x00\x00\x00\x00\x00\x00'); f.close()" $EXECUTABLE
codesign -fs- $EXECUTABLE --deep --preserve-metadata=entitlements

如果提示command not found: python3,自行安装Python

<!-- gh-comment-id:3266129479 --> @viatearz commented on GitHub (Sep 8, 2025): 引擎的问题,这个引擎会在所有文件路径前都加上`/private`,所以找不到文件。 打开终端运行命令,这个补丁会把`/private`修改成`/`: ``` bash EXECUTABLE=~/Library/Containers/io.playcover.PlayCover/Applications/com.netease.id5.app/client python3 -c "import sys; f=open(sys.argv[1],'rb+'); d=f.read(); i=d.find(b'\x00\x2F\x70\x72\x69\x76\x61\x74\x65\x00'); f.seek(i) if i!=-1 else exit(1); f.write(b'\x00\x2F\x00\x00\x00\x00\x00\x00\x00\x00'); f.close()" $EXECUTABLE codesign -fs- $EXECUTABLE --deep --preserve-metadata=entitlements ``` 如果提示command not found: python3,自行安装[Python](https://www.python.org/downloads/)
Author
Owner

@acincor commented on GitHub (Sep 9, 2025):

引擎的问题,这个引擎会在所有文件路径前都加上/private,所以找不到文件。

打开终端运行命令,这个补丁会把/private修改成/

EXECUTABLE=~/Library/Containers/io.playcover.PlayCover/Applications/com.netease.id5.app/client
python3 -c "import sys; f=open(sys.argv[1],'rb+'); d=f.read(); i=d.find(b'\x00\x2F\x70\x72\x69\x76\x61\x74\x65\x00'); f.seek(i) if i!=-1 else exit(1); f.write(b'\x00\x2F\x00\x00\x00\x00\x00\x00\x00\x00'); f.close()" $EXECUTABLE
codesign -fs- $EXECUTABLE --deep --preserve-metadata=entitlements
如果提示command not found: python3,自行安装Python

我的天真的感谢,这个没问题了,希望贡献者能够内置这个脚本方便支持!😀

<!-- gh-comment-id:3270931649 --> @acincor commented on GitHub (Sep 9, 2025): > 引擎的问题,这个引擎会在所有文件路径前都加上`/private`,所以找不到文件。 > > 打开终端运行命令,这个补丁会把`/private`修改成`/`: > > EXECUTABLE=~/Library/Containers/io.playcover.PlayCover/Applications/com.netease.id5.app/client > python3 -c "import sys; f=open(sys.argv[1],'rb+'); d=f.read(); i=d.find(b'\x00\x2F\x70\x72\x69\x76\x61\x74\x65\x00'); f.seek(i) if i!=-1 else exit(1); f.write(b'\x00\x2F\x00\x00\x00\x00\x00\x00\x00\x00'); f.close()" $EXECUTABLE > codesign -fs- $EXECUTABLE --deep --preserve-metadata=entitlements > 如果提示command not found: python3,自行安装[Python](https://www.python.org/downloads/) 我的天真的感谢,这个没问题了,希望贡献者能够内置这个脚本方便支持!😀
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PlayCover#1296
No description provided.