以下链接涵盖本文涉及的工具、路径、结构、WASM 构建等要点;部分页面包含配图,可在原文查看。
- Perfare/Il2CppDumper(README,特性:支持 WASM、Mach-O/ELF/PE/NSO;用法/输出脚本)
https://github.com/Perfare/Il2CppDumper
- Microsoft Docs:Install .NET on macOS
https://learn.microsoft.com/en-us/dotnet/core/install/macos
- Il2CppDumper CLI compiled for macOS/Linux(
dotnet publish -r osx-arm64/osx-x64 --self-contained)
https://www.andnixsh.com/2024/10/il2cppdumper-cli-compiled-for-macos-and.html - 社区编译的 mac 版本(非官方):https://github.com/Lav0chka/compiled_il2cppdumper_for_mac
- 结构与定位:
global-metadata.dat介绍与组成
https://il2cppdumper.com/reverse/structural-overview-and-finding-the-metadata
- macOS:
~/Library/Containers/com.tencent.xinWeChat/Data/.wxapplet/packages(按 AppID 分类) - Windows:
%USERPROFILE%/Documents/WeChat Files/Applet/<AppID>/.../__APP__.wxapkg
- Wedecode(Node):https://github.com/biggerstar/wedecode
- unwxapkg:https://github.com/sjatsh/unwxapkg
- unpack-wxapkg:https://github.com/Clarence-pan/unpack-wxapkg
- Unwxapkg(支持 PC 包):https://github.com/andysalpha/Unwxapkg
- wxappUnpacker(教程示例):https://juejin.cn/post/7360996405581381667
- Unity Manual(WebGL Build 输出:
*.wasm.code.unityweb、*.wasm.framework.unityweb、*.data.unityweb)
https://docs.unity3d.com/2019.3/Documentation/Manual/webgl-building.html
https://docs.unity3d.com/2020.1/Documentation/Manual/webgl-building.html - 相关讨论/佐证:
WebAssembly/wabt#1299
- LayaAir(官方文档):目录/配置说明
https://layaair.com/3.x/doc/released/miniGame/wechat/readme.html
https://layaair.com/3.1/doc-en/released/miniGame/wechat/readme.html - Cocos Creator(发布到微信小游戏,生成
game.json与project.config.json)
https://docs.cocos.com/creator/3.8/manual/en/editor/publish/publish-wechatgame.html
https://docs.cocos.com/creator/3.8/manual/zh/editor/publish/publish-wechatgame.html - WeChat 官方/社区示例(含入口
game.js)
https://github.com/wechat-miniprogram/minigame-demo
https://github.com/melonjs/melonJS/wiki/How-to-deploy-WeChat-Mini-Games-with-melonJS/877f2b2026f972ec199f3f1da9c5d80912344978