Fix shell packaging (issue #1): drop stale prefetch list, clearer pack error; sync with trunk
This commit is contained in:
@@ -40,6 +40,7 @@ All at once: `python3 -m pip install pillow numpy lz4 capstone unicorn` (`./setu
|
||||
| Tool | Used for | Official site |
|
||||
|---|---|---|
|
||||
| astcenc | Converting textures for older devices without BC texture support | <https://github.com/ARM-software/astc-encoder> |
|
||||
| hactool | Needed by `dm/tools/extract_game.sh` to extract files from your game package; not needed if your game files are already prepared some other way. We tested with upstream commit `1d64a83` | <https://github.com/SciresM/hactool> |
|
||||
|
||||
## Extra tools for on-device and verification scripts
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ English: [DEPENDENCIES.md](DEPENDENCIES.md)
|
||||
| 工具 | 用来做什么 | 官方地址 |
|
||||
|---|---|---|
|
||||
| astcenc | 给不支持 BC 贴图格式的旧机型转换贴图 | <https://github.com/ARM-software/astc-encoder> |
|
||||
| hactool | 用 `dm/tools/extract_game.sh` 从你的游戏包取文件时要用;游戏文件已经用别的办法备好时不用装。我们实测用的是上游提交 `1d64a83` | <https://github.com/SciresM/hactool> |
|
||||
|
||||
## 真机与验证脚本额外需要
|
||||
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ The front page says the project "contains none and distributes none" of the game
|
||||
|
||||
All of these are generated on your own machine from your own game files. Every time the public repository is exported, a tool takes the real game files and searches the whole tree for them byte by byte; a hit blocks the export.
|
||||
|
||||
A few things derived from the game files are used internally but are not shipped here: the startup prefetch list (each line carries the first bytes of an original resource block — without it, launch skips one ahead-of-time decode step), the seed save for the shared stash (without it, the game creates an empty one itself as the original does), and two fixtures for the interface-binding tests (captured from the memory of the running game — without them, the three tests that read them are skipped automatically).
|
||||
A few things derived from the game files are used internally but are not shipped here: the startup prefetch list (each line carries the first bytes of an original resource block — without it, launch skips one ahead-of-time decode step: measured with the iOS package running on a Mac, the character select screen is reached in 3.3–4.0 s versus 2.8 s with the list, two runs each; not measured on a phone), the seed save for the shared stash (without it, the game creates an empty one itself as the original does), and two fixtures for the interface-binding tests (captured from the memory of the running game — without them, the three tests that read them are skipped automatically).
|
||||
|
||||
## In the repository
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ English: [DERIVED.md](DERIVED.md)
|
||||
|
||||
这些都在你自己的机器上、用你自己的游戏文件现做出来。每次导出公开仓库时,有一道工具拿真实的游戏文件到整棵树里逐字节搜一遍,搜到就不放行。
|
||||
|
||||
另有几样由游戏文件派生的东西我们自己在用,但公开仓库不带:启动预取清单(每行带原版资源块的开头字节——不带的后果是启动时少一步提前解码)、共享仓库的预置存档(不带的后果是游戏照原版自己生成一份空的)、界面绑定测试的两份夹具(从运行中的游戏内存抓的——不带的后果是读它们的三个测试自动跳过)。
|
||||
另有几样由游戏文件派生的东西我们自己在用,但公开仓库不带:启动预取清单(每行带原版资源块的开头字节——不带的后果是启动时少一步提前解码:Mac 上起 iOS 包实测,到选角页 3.3–4.0 秒,带清单时 2.8 秒,各两局;手机上没量)、共享仓库的预置存档(不带的后果是游戏照原版自己生成一份空的)、界面绑定测试的两份夹具(从运行中的游戏内存抓的——不带的后果是读它们的三个测试自动跳过)。
|
||||
|
||||
## 仓库里带着的
|
||||
|
||||
|
||||
Reference in New Issue
Block a user