scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
+ V8 z$ i% f" R. kHWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)");
Q* C8 j2 e1 @6 uHDC hdc = ::GetDC(hwnd); " n0 w m0 N% { c6 m4 w
TextOut(hdc,10,10,"中文测试字幕",12);
/ f. P" k _; { Q( i! u。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。
4 u7 V' j% A7 f0 g5 t8 `这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。 & X0 k5 E& w5 C4 {* a' Z0 o9 T
/ A# z9 p/ T. |scummvm支持的104个AVG游戏如下
6 T1 {5 [8 L0 j5 [; R$ X( R4 D* @ ]& I; G' ^/ q8 z
其中比较著名的有
, e6 r, N$ U( o; v5 ]断剑系列
7 ?/ \7 e! e+ M2 K猴岛系列5 {4 a5 Y; N% E* W7 O
夺宝奇兵系列
: D) G3 }& f. ~+ P顽皮小精灵Goblins系列
7 F+ ^/ O$ o5 f @0 T& k国王密史系列
2 u' z" K: B4 i$ Z6 ]艾维拉系列
0 h8 ?/ o+ w" {. q太空传奇系列% T) ?& G4 B3 {/ Y2 B0 E) N
急速天龙) ]) Z& @4 g e- p$ K8 O4 q& x
钢铁天空下: s0 @0 T. O8 z0 s6 Q
第7访客等9 [+ B* F6 L y# o" b w) U
% D6 d. }: ^; H. C# [9 U3 `7 S并且还在不断增加新的游戏3 k% x. Y0 R" z( _; N7 T
# ~; ~* {5 ?% Xhttp://www.scummvm.org/compatibility.php?version=0.13.0
- O7 P) @' L; s: D2 ~6 @' ?- C. s6 r/ p
Maniac Mansion maniac 90%
" V" ], ^. {/ h' j# S% m9 n/ }Zak McKracken and the Alien Mindbenders zak 90%
& O& V: ], D5 k3 }& M. jIndiana Jones and the Last Crusade indy3 90%
- p( Q, I: J: |/ A2 ULoom loom 95%
/ H5 s/ z2 c% x* h3 \( f* T( R$ EPassport to Adventure pass 95% ( L: y" E8 k+ y/ L% J
The Secret of Monkey Island monkey 95% 0 F) c! ~! g5 ?* Z2 w; d: L- T
Monkey Island 2: LeChuck's Revenge monkey2 95%
0 m+ F" z! E `# xIndiana Jones and the Fate of Atlantis atlantis 95% 3 t, t+ \: n/ a) c. h) n
Day of the Tentacle tentacle 95%
- u, e7 I; l' r0 CSam & Max Hit the Road samnmax 95%
& W$ ^( ^) C+ v# Y& \% g0 }Full Throttle ft 90% " k9 k& c) y) b/ C
The Dig dig 90% ( _) y8 J5 ^! ~' T% B3 N }
The Curse of Monkey Island comi 90% 4 w( Z6 J1 m! v- k. b V
Elvira - Mistress of the Dark elvira1 90% * W. s! M* [% J5 Q. Y
Elvira II - The Jaws of Cerberus elvira2 80% + M0 `. C: `7 E
Simon the Sorcerer 1 simon1 95% " `3 q# Q' V9 [& C) ^- r4 t
Simon the Sorcerer 2 simon2 95%
* `: p! `- q0 r! t/ k9 kSimon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70%
( }+ G$ j3 L/ q$ O" y- n0 ~Simon the Sorcerer's Puzzle Pack - Jumble jumble 70% 2 z i, v M; A
Simon the Sorcerer's Puzzle Pack - NoPatience puzzle 70% ( x" q# o9 m& v2 }
Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70%
. ^1 f9 t$ R* t2 ^; C) m) MThe Feeble Files feeble 95%
, W# `& x& [) L6 J+ d A6 QWaxworks waxworks 20% ) G" Z ?6 p d; N
Bargon Attack bargon 95%
A/ S# ?( I# sGobliiins gob1 95%
% f4 ^" J9 I$ \Gobliins 2 gob2 95%
" @: p: p; T! d& A% ?Goblins 3 gob3 95% & g% f) K2 n0 _4 Z8 ?
Lost in Time lostintime 95%
' v2 ]* A: |( `3 S& X. {5 y m8 i9 D& oThe Bizarre Adventures of Woodruff and the Schnibble woodruff 90% 7 s/ x* u7 J5 I Y; n) l
Ween: The Prophecy ween 95%
& R# l J" E6 `* q% mThe Black Cauldron bc 90% ( V. c1 d4 x$ m* ?& c& s- c
Gold Rush! goldrush 90%
* S6 x1 U9 l% h5 c: |; G3 nKing's Quest I kq1 90% , g, m5 m+ y1 P2 h3 _
King's Quest II kq2 90% * b1 q& i0 L. s0 F% s s
King's Quest III kq3 90% 4 ]# l# d4 t7 u! b
King's Quest IV kq4 90%
7 ^, R6 R# ], _2 P R, ]; N/ XLeisure Suit Larry in the Land of the Lounge Lizards lsl1 90% / h M0 G6 u% f+ O, [! q
Mixed-Up Mother Goose mixedup 90%
# n( V% M: ~$ B) ?1 |Manhunter 1: New York mh1 90%
$ Z, D$ P( x/ Z+ ?Manhunter 2: San Francisco mh2 90%
/ v/ _0 l8 }, M, C2 G$ `Police Quest I: In Pursuit of the Death Angel pq1 90% & D$ h9 E9 j0 e4 f7 P, I+ Y
Space Quest I: The Sarien Encounter sq1 90% % Y; ~/ ^% |0 e* _$ ?8 M. b! C; i
Space Quest II: Vohaul's Revenge sq2 90% ( E* t. ?0 a" N; `& l- F& y
Fanmade Games agi-fanmade 80%
0 K. i6 c6 u" S3 O: l& `1 B- AMickey's Space Adventure mickey 90%
. u' S, e: E# T! ~0 ]3 RTroll's Tale troll 80%
( X' b5 X, Y& x; b2 ~Winnie the Pooh in the Hundred Acre Wood winnie 80%
( ~7 Z, I: n. r8 h' HBeneath a Steel Sky sky 98%
8 x+ E, J; j, ABroken Sword 1: The Shadow of the Templars sword1 98%
# A% q5 r8 v, @+ v$ eBroken Sword 2: The Smoking Mirror sword2 98%
) W# Q, n% s# y& I: UBud Tucker in Double Trouble tucker 95%
7 G, V; n0 Y7 ADrascula: The Vampire Strikes Back drascula 98%
8 P9 l4 V. P- J* b, xFlight of the Amazon Queen queen 98%
0 l* d' g% y% }0 w& O2 |Future Wars fw 80% ( c/ A, m* h. x
I Have No Mouth, and I Must Scream ihnm 90% ( v" f' K3 g7 A& Q" W
Inherit the Earth: Quest for the Orb ite 95%
$ i" D7 i; p2 qNippon Safes Inc. nippon 90%
: {3 {6 S4 U0 p+ vThe Legend of Kyrandia kyra1 87% " F5 U8 d" k/ b4 M y: {! x
The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85% $ h9 O+ ?1 R, y H6 a
The Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80%
6 \% i! j, j: Y6 Z4 [The 7th Guest t7g 90%
/ b) R: h* F& s" s$ M% g' PLure of the Temptress lure 95%
3 s% w, V+ o$ t: {- ]/ OTouche: The Adventures of the Fifth Musketeer touche 75%
" k) X/ E. u1 R/ F: xBackyard Baseball baseball 20% 9 `8 d* f) F" P! }' S9 S- P2 P
Backyard Football football 80% 8 w; H5 \6 M$ @
Backyard Soccer soccer 20%
. x0 _' j6 m' CBear Stormin' brstorm 95% 6 o: h" w! Z/ M3 x
Big Thinkers First Grade thinker1 90% 8 H; y2 d+ a* x; G3 ~
Big Thinkers Kindergarten thinkerk 90% % |1 s' X- n* u# J# m7 A
Blue's 123 Time Activities Blues123Time 90%
8 g% g! `% z/ OBlue's ABC Time Activities BluesABCTime 90% $ @) u1 e/ t/ r$ G- j5 _
Blue's Birthday Adventure BluesBirthday 50%
$ B$ [$ W1 n) Y, @+ j7 q- A0 b% sBlue's Treasure Hunt BluesTreasureHunt 50% ! |2 ]* G4 K/ `4 ]. _
Fatty Bear's Birthday Surprise fbear 93% ( ]- m1 r: S! r# E N
Fatty Bear's Fun Pack fbpack 95% - d) X! m' ~/ L! p
Freddi Fish 1: The Case of the Missing Kelp Seeds freddi 90%
( \. }2 U0 ]% i3 B! m# JFreddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90%
5 {) {' T' H- m; P1 dFreddi Fish 3: The Case of the Stolen Conch Shell freddi3 90% / a+ E. S! H3 X
Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90%
/ T5 Q+ ?% Z" z/ rFreddi Fish and Luther's Maze Madness maze 90%
+ F2 ?; M9 i) [& W* I& ?Freddi Fish and Luther's Water Worries water 90% 3 r0 |6 p: k8 x& X. H: Z' x: x$ r
Let's Explore the Airport with Buzzy airport 90% ! _9 e. m5 e2 W' d
Let's Explore the Farm with Buzzy farm 90% . ~) z7 @! y1 ~& O
Let's Explore the Jungle with Buzzy jungle 90% ) Z& b4 K- Q& s4 f
Pajama Sam 1: No Need to Hide When It's Dark Outside pajama 90%
( S3 |6 O* u% t/ EPajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90% 5 F8 D; [. p' X4 A
Pajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90%
& z9 `4 j" \) ~. X3 TPajama Sam's Lost & Found lost 85% , m& R5 [/ Z- h L
Pajama Sam's Sock Works socks 90%
7 [$ C# Z; _, k+ s9 O- M% n# z& LPutt-Putt Enters the Race puttrace 90% & L( m, X: y% x3 ]
Putt-Putt Goes to the Moon puttmoon 95% # o/ f% l( B$ j( ]% ~/ Z2 m/ x, ]
Putt-Putt Joins the Circus puttcircus 90%
$ C9 F* ~. d$ g2 I a' o' C, DPutt-Putt Joins the Parade puttputt 95% + V/ x; f& t( [
Putt-Putt Saves the Zoo puttzoo 90%
! j" J+ s. r/ j8 K$ @2 y+ |7 ?Putt-Putt Travels Through Time putttime 90% 4 Q4 x! T' n' E
Putt-Putt and Pep's Balloon-O-Rama balloon 90% & o8 u+ j2 Z. g# r6 r
Putt-Putt and Pep's Dog on a Stick dog 90%
8 k8 p5 l$ x9 M& U0 U/ q8 q/ TPutt-Putt & Fatty Bear's Activity Pack activity 95%
) u, a3 ^3 k7 ^+ J: n8 v. O" uPutt-Putt's Fun Pack funpack 95%
l) V3 K' l6 s7 {' r% L `7 ?" D9 aSPY Fox 1: Dry Cereal spyfox 90%
9 m% u6 M- u8 b$ B/ i, uSPY Fox 2: Some Assembly Required spyfox2 90% 7 p& O! Y# ~% {+ \/ G
SPY Fox 3: Operation Ozone spyozon 70% 0 a w# |) y: ?$ [" V& {7 U" p- ?
SPY Fox in Cheese Chase chase 90%
" Z$ e5 t* d# @) LSPY Fox in Hold the Mustard mustard 85% ( d1 g* s5 v& e! T/ T/ b( U
: A( C0 ^( W& j
以下是汉化抓图。
8 C$ v# k/ L5 V0 A0 j0 }4 D |