scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
9 c8 Y3 ?) J5 q; vHWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)"); / t- e7 |1 i: q4 K6 r
HDC hdc = ::GetDC(hwnd);
& e7 |; m1 L5 z- OTextOut(hdc,10,10,"中文测试字幕",12);
0 \& H- D3 N J& y。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。
8 Q$ ?/ X1 t, `( J这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。
5 [! N8 U5 n$ N" E
+ H/ C9 n$ v7 y p W) Rscummvm支持的104个AVG游戏如下
" l/ ^3 @+ B) |9 D/ F
% O3 _7 h. d- L其中比较著名的有
) \% T' q! B8 D3 K8 M断剑系列1 p7 b$ M1 {" n2 B( B3 j
猴岛系列6 A! G# v0 A; p& z9 |7 F( H
夺宝奇兵系列& W) M+ a& }8 N: x9 o% j
顽皮小精灵Goblins系列/ ~ l# P) ], G
国王密史系列
5 @! @7 b, _$ D& D* u4 i! |7 N艾维拉系列
3 Y( t$ g$ O3 O/ k% Q太空传奇系列
0 i0 F! }! f! r1 U, H0 c急速天龙
" P% [7 r% e9 b& v7 D钢铁天空下/ _/ P6 j" h0 n5 \! L* e! P
第7访客等
# o. @* T$ {" S; H7 C% ~" N( a3 b0 q8 e9 Z5 g( q& F
并且还在不断增加新的游戏
0 K, X, c8 X/ R5 N3 |5 B4 X/ d+ |. N2 A7 O2 ?8 ?
http://www.scummvm.org/compatibility.php?version=0.13.0 1 F* V1 H+ O1 ?4 u9 o
; J$ s0 n5 q1 {! y& b7 h! q
Maniac Mansion maniac 90% ; J/ k- k) w# n, t3 h
Zak McKracken and the Alien Mindbenders zak 90% 4 ~9 T; K6 q1 o7 x1 S7 r0 [) s
Indiana Jones and the Last Crusade indy3 90%
6 L) P8 Z& j) Q% p& m9 MLoom loom 95%
: f2 u: ~$ W; n! Y _Passport to Adventure pass 95% , h/ U5 H9 [0 q4 X8 Z, |
The Secret of Monkey Island monkey 95% 7 q+ x" K: a, w, f
Monkey Island 2: LeChuck's Revenge monkey2 95% & u$ T* ^7 z7 a3 p* a! M
Indiana Jones and the Fate of Atlantis atlantis 95% " h# e# G9 r' e' n+ O# B6 ?
Day of the Tentacle tentacle 95% 5 G+ N5 a( s; i1 H; r
Sam & Max Hit the Road samnmax 95%
/ P" o3 T8 g# n. B3 zFull Throttle ft 90% . [2 s$ y, r. `7 v' z
The Dig dig 90%
& E. o- X7 Y7 c- x" I Q, o: \$ \The Curse of Monkey Island comi 90%
7 @1 V9 L# n: y7 Y# R" \# eElvira - Mistress of the Dark elvira1 90%
. `9 I# z% U+ l/ q) K; O5 g U; EElvira II - The Jaws of Cerberus elvira2 80%
4 c/ k1 a# z+ v, mSimon the Sorcerer 1 simon1 95% . w' n6 y( ]3 G5 x' Y" @1 e
Simon the Sorcerer 2 simon2 95%
1 T8 D. \+ E9 c0 b9 @Simon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70%
: u9 I ^4 e4 ~( {) C% o) CSimon the Sorcerer's Puzzle Pack - Jumble jumble 70%
X8 K5 H9 }' c# V- p( LSimon the Sorcerer's Puzzle Pack - NoPatience puzzle 70% % n5 S3 @" b- e! O* a
Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70%
% P7 w j: `" d/ ~* dThe Feeble Files feeble 95%
$ g7 i* R: u# o% s+ f( LWaxworks waxworks 20% 8 X# B. P+ s7 [! C% K
Bargon Attack bargon 95% 1 Q2 {" y" X- C3 p
Gobliiins gob1 95%
* y) {" ?8 O. r, ZGobliins 2 gob2 95%
1 z4 R, B& T8 }Goblins 3 gob3 95%
u9 R6 |3 `1 y$ f! ?Lost in Time lostintime 95% - E3 Y- ^, ?6 p4 E, q
The Bizarre Adventures of Woodruff and the Schnibble woodruff 90%
- ~1 s E; O9 X$ X7 p$ rWeen: The Prophecy ween 95%
* ~+ s" m' O2 vThe Black Cauldron bc 90%
1 _* i: n6 n# ^$ eGold Rush! goldrush 90%
& {' n' T; U8 E" y1 Q! eKing's Quest I kq1 90%
3 Q8 w2 \1 l6 t1 jKing's Quest II kq2 90% 5 o6 O2 j+ W" p
King's Quest III kq3 90% / @- H. r7 d0 z
King's Quest IV kq4 90% 9 b& ~9 B/ i) u& V6 y& m8 N, j
Leisure Suit Larry in the Land of the Lounge Lizards lsl1 90% $ a% m6 t8 O2 L3 j7 P
Mixed-Up Mother Goose mixedup 90% : _8 N* @5 H' p
Manhunter 1: New York mh1 90%
: E2 z- |+ V+ qManhunter 2: San Francisco mh2 90%
% J4 |, Z w, \' c6 aPolice Quest I: In Pursuit of the Death Angel pq1 90% + J/ K5 U! D" B( H' s
Space Quest I: The Sarien Encounter sq1 90%
; P2 T/ }7 H# L. z, kSpace Quest II: Vohaul's Revenge sq2 90% , m% A1 X6 H/ s* k
Fanmade Games agi-fanmade 80% ' q& J: P# B8 W3 s$ y) i8 Z
Mickey's Space Adventure mickey 90%
; m, F n8 z# \9 zTroll's Tale troll 80%
. n6 O' j: r: ^) d$ T7 T& `: jWinnie the Pooh in the Hundred Acre Wood winnie 80% # N/ L- B3 i- P) w
Beneath a Steel Sky sky 98% 3 W9 d0 s' l7 C% K( O
Broken Sword 1: The Shadow of the Templars sword1 98% # G0 J* b. r5 g
Broken Sword 2: The Smoking Mirror sword2 98%
i2 Q. y: [6 J0 G9 U' SBud Tucker in Double Trouble tucker 95%
* d( a& v/ a( K+ H* E) K6 ?% V9 L' dDrascula: The Vampire Strikes Back drascula 98%
/ u: M+ t* d/ L( TFlight of the Amazon Queen queen 98%
$ o5 p4 ^& H/ L; I* i) J3 U$ l! tFuture Wars fw 80%
# p8 q ~) s- T1 Z( g7 l% RI Have No Mouth, and I Must Scream ihnm 90% / D9 b, v* d" i2 M' A
Inherit the Earth: Quest for the Orb ite 95%
; ^3 a* h l0 BNippon Safes Inc. nippon 90% ) t+ e% C( K& Q* B- a
The Legend of Kyrandia kyra1 87% ~+ z5 n# N9 w( W4 H- S) C! m' T
The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85% * j) e& C( y4 Y3 F; R7 p* C
The Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80%
9 H6 C; ]! r0 |+ L3 W# V0 ~The 7th Guest t7g 90% 8 T) L2 K& [7 s) r9 c
Lure of the Temptress lure 95% i# A7 Y, m' g" z" p
Touche: The Adventures of the Fifth Musketeer touche 75%
; k2 a8 `/ e6 G* XBackyard Baseball baseball 20%
$ [' Z: W. p* U: q2 F* @$ H1 g xBackyard Football football 80%
3 r* t' [( a- ^3 I. l! c2 HBackyard Soccer soccer 20% . `" u: `) p& U* ]( e6 _) [. Q
Bear Stormin' brstorm 95%
}9 G& C1 p# ?4 VBig Thinkers First Grade thinker1 90% & L3 ^( m) `+ @& _6 e# X+ Q6 A' o
Big Thinkers Kindergarten thinkerk 90% 5 ]1 q4 k2 _2 o1 G4 V& ~
Blue's 123 Time Activities Blues123Time 90%
5 N! N0 b, z/ y6 }( F, lBlue's ABC Time Activities BluesABCTime 90%
, d$ n9 _! v! mBlue's Birthday Adventure BluesBirthday 50%
+ x8 _$ d% m8 ? N; s* }Blue's Treasure Hunt BluesTreasureHunt 50% ' y$ ^; N4 E- i
Fatty Bear's Birthday Surprise fbear 93%
+ \& t% |+ y) P! a: I! S% F5 pFatty Bear's Fun Pack fbpack 95% : d L C! K8 U" G B
Freddi Fish 1: The Case of the Missing Kelp Seeds freddi 90% 3 s% k" [* S1 {" _7 i" \6 V: E
Freddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90%
* \' ?" X& u3 w/ Q: MFreddi Fish 3: The Case of the Stolen Conch Shell freddi3 90% * f+ b/ C# ^9 I2 g: P
Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90%
! g& P! b$ a1 y/ y/ y7 G9 \. d: rFreddi Fish and Luther's Maze Madness maze 90%
; \- t5 i- L0 k, ]" v' f2 yFreddi Fish and Luther's Water Worries water 90%
6 b1 E U% F- a T! p- ZLet's Explore the Airport with Buzzy airport 90% 7 x& P8 L5 q, m/ U
Let's Explore the Farm with Buzzy farm 90% 3 r" M" Q4 f/ l! I
Let's Explore the Jungle with Buzzy jungle 90% . p+ [' F2 n' z C: O2 N% A
Pajama Sam 1: No Need to Hide When It's Dark Outside pajama 90%
@& F9 M6 ]- E% `( ePajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90%
4 H# s: K5 J& e m0 rPajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90% / V/ l$ d1 Q/ r+ V+ D* _
Pajama Sam's Lost & Found lost 85%
; o2 z" U q7 h) F; u9 W8 a! O8 VPajama Sam's Sock Works socks 90%
1 `, Q4 O7 f* `- hPutt-Putt Enters the Race puttrace 90% 8 e% J7 n( o B: _
Putt-Putt Goes to the Moon puttmoon 95% 6 L4 @- p$ S6 J+ A
Putt-Putt Joins the Circus puttcircus 90% + K4 O! J& m1 _# H; S0 [8 D
Putt-Putt Joins the Parade puttputt 95% u3 m' a* \) |5 ]1 Y" ^& n; ?
Putt-Putt Saves the Zoo puttzoo 90% ! C! w1 }7 F" @, t' x/ k
Putt-Putt Travels Through Time putttime 90% 7 ?2 C; T" G3 a7 I, W3 @ G; {: l
Putt-Putt and Pep's Balloon-O-Rama balloon 90%
3 s7 r# ^1 g+ o, ~" aPutt-Putt and Pep's Dog on a Stick dog 90% 8 i- r' T3 r& {) V2 Q) r. ~$ s
Putt-Putt & Fatty Bear's Activity Pack activity 95%
# r1 Y; C1 E' w9 Z9 |8 R/ E# a0 y aPutt-Putt's Fun Pack funpack 95% ; V& c! K" u7 v4 D1 l! F
SPY Fox 1: Dry Cereal spyfox 90% 7 J: E" m r) [
SPY Fox 2: Some Assembly Required spyfox2 90%
4 Y+ ^9 v4 L% |SPY Fox 3: Operation Ozone spyozon 70% , q4 W" Y q. J2 ^7 W
SPY Fox in Cheese Chase chase 90%
. ?& u4 ~# z' h: Z q4 pSPY Fox in Hold the Mustard mustard 85% ; n K/ p6 I6 z
2 D. e! ]5 N; b以下是汉化抓图。
# i2 h F- g7 C; r! H! r" P |