feat(store): add store and marketplace item views and image sources
Add catalogue filters, item detail views, and purchase and resale actions. Resolve images from the player's asset pack, public image URLs, or local game data. Add a utility for creating the optional local asset pack. Type checking and JavaScript syntax checks passed. Embedded browser appearance and in-game behavior still need acceptance.
This commit is contained in:
1 parent
a73635407d
commit
98812fa9c2
39 files changed
+1309
-400
No files matched your search
@@ -8,7 +8,7 @@
|
||||
},
|
||||
|
||||
"derivation": {
|
||||
"requirement": "handover 6.1 方案 B(用户原话 82、115)与功能清单 G「礼包商店」「兑换码」。被 wto_ws.dll 改道到本地服务的 https 请求(api.gaijinent.com 的 GJN 付款、商品信息、兑换码等)必须能完成 TLS 握手并把请求送达本地服务。",
|
||||
"requirement": "HTTPS requests routed to the local service must complete their TLS handshake for purchases, product information, and code redemption.",
|
||||
"cause": "network.blk 的 enableSslCertCheck 只被 0x155c950 的 4 个调用点读取;dagor.http(httpRequest)等请求不读它,保留了 libcurl 默认的证书链和主机名校验。实测日志:newsfeed.gap.gaijin.net 握手后报 SSL peer certificate or SSH remote key was not OK。",
|
||||
"lighter_options_ruled_out": [
|
||||
"network.blk 的 enableSslCertCheck:已设为 false,但 dagor.http 等路径根本不读取这个配置。",
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"lighter_options_ruled_out": [
|
||||
"原生自带:没有找到换公钥或关闭加密的配置项、启动参数。",
|
||||
"本地服务:拿不到会话密钥就无法回复(第五轮实测:本地服务回明文,客户端 15 秒后超时)。",
|
||||
"改代码让客户端不加密:要改客户端逻辑,不加密的分支用途未查清;用户选了换公钥(原话 83)。"
|
||||
"Changing the matching encryption path would alter client protocol behavior. The use of the unencrypted branch has not been established."
|
||||
],
|
||||
"conclusion": "改 exe 的数据(一段 PEM 文本),不改代码。新公钥与原公钥都是 2048 位、指数 65537,PEM 文本长度相同(451 字节),原地替换。",
|
||||
"if_not_applied": "匹配服务器连不上,机库一直显示\"正在连接服务器\",槽位栏不出现。"
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
},
|
||||
|
||||
"derivation": {
|
||||
"requirement": "handover 6.1 方案 B(用户原话 82、115):写死的地址全部接到本机,由机制保证连不出去;本地服务接住要用的请求(GJN 付款、兑换码等,implementation notes 第 5 节);不用 443 等固定端口。开发纪律第 18 条(与正版隔离)。",
|
||||
"requirement": "Route hard-coded endpoints to the isolated local service at its configured port, including the endpoints for purchases and code redemption.",
|
||||
"cause": "这些地址是程序和 yuplay2 里的常量,network.blk 的 storeApiHost 等只能换主机名,协议和端口(https/443)改不了,很多地址根本没有配置项。",
|
||||
"lighter_options_ruled_out": [
|
||||
"原生自带:没有统一改所有地址和端口的配置项。",
|
||||
"逐个改地址字符串:会漏,有长度限制,管不到进程里其他 DLL(用户在 6.1 排除)。",
|
||||
"Replacing individual address strings has length constraints and misses calls made by other libraries in the process.",
|
||||
"改 Windows hosts 文件:影响整台电脑和正版(6.1 排除),而且改不了端口。",
|
||||
"代码洞里的钩子:只能拦 exe 自己的调用,fmod64、controller、gameHook、libcef 等 DLL 直接调 ws2_32,拦不到(implementation notes)。"
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user