冒险解谜游戏中文网 ChinaAVG

标题: 【Directx9游戏汉化 #5】 断剑4 (Broken Sword 4) 字幕显示函数 [打印本页]

作者: shane007    时间: 2023-8-26 00:20
标题: 【Directx9游戏汉化 #5】 断剑4 (Broken Sword 4) 字幕显示函数
6 P8 u& e! G$ a1 G% o1 V7 d- U
这个游戏是Directx9的,初始化部分在exe里。(我用的是GOG版本)
$ s6 u) J0 a, `0 f% w6 G/ |- G+ s游戏字幕是双字节索引的,在内存中检索got to be another,注意要用unicode方式检索。0 d0 D  b) _4 B9 q8 M# `
在以下地址断下,ida pro能看到伪代码。
+ f: H& g. x9 D8 x7 R! y5 ?
' \) s) G& W: V$ u# B& e; g; O1 m) z
  1. 005AC6D7    66:89444D 00    mov     word ptr [ebp+ecx*2], ax
复制代码

; o7 r  Q; ]' r% h2 F1 G4 s% B! ^& y* U9 z! n3 h6 k
显示函数为这个,它的调用函数有许多被调用的地方。
0 D. i  u3 x9 u7 K
  1. int __cdecl sub_5AC570(int a1, _WORD *a2, int a3)
复制代码

6 U3 {8 m8 e/ p* h! s/ w$ l
- {' u: G, |2 K5 r+ {1 Y5 O1 V+ m3 V& n9 d' I( w0 t; n





欢迎光临 冒险解谜游戏中文网 ChinaAVG (https://chinaavg.com/) Powered by Discuz! X3.2