Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

想请教下适配不同设备所用的配置文件的修改方法 #6

Open
KerosenCHR opened this issue Mar 1, 2021 · 1 comment
Open

Comments

@KerosenCHR
Copy link

大佬好,我用过您写的适用K20P和MiPad4的第一屏修改工具,但是换了新手机后配置文件参数就对不上了,我也不太会用py,想请教下如何在MiPad4的配置文件genlogo.py基础上修改来适配新手机
主要不太懂文件中的magic字段填写什么内容
新机的偏移量数据
DECIMAL HEXADECIMAL DESCRIPTION

20480 0x5000 PC bitmap, Windows 3.x format,, 1080 x 2400 x 24
7798784 0x770000 PC bitmap, Windows 3.x format,, 1080 x 2400 x 24
15577088 0xEDB000 PC bitmap, Windows 3.x format,, 1080 x 2400 x 24
23355392 0x1646000 PC bitmap, Windows 3.x format,, 1080 x 2400 x 24

@moonheart
Copy link
Owner

你好, 你可以参考 wiki 中的方式查找字节内容, 里面有提到如何来查找字节数组的内容. 目前的新机器可能起始值不太一样, 可以使用 HxD 编辑器查看.

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

No branches or pull requests

2 participants