scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
2 H; w' Q2 e$ ^# R& s+ W# `HWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)");
- O* `& e) t! DHDC hdc = ::GetDC(hwnd); ; h; Z4 v: P9 K0 e3 n# B# m
TextOut(hdc,10,10,"中文测试字幕",12);
% I! T6 e/ \4 r4 O {9 A3 M。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。 ; _+ G. y ^0 [' ^2 X1 J) s
这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。 / n" }: o0 ?! ?/ S
! f- y1 W! \- Vscummvm支持的104个AVG游戏如下 $ a- w0 ^3 h3 U# X# P
. C4 E# m4 l1 r6 u7 H; N5 Q其中比较著名的有
$ x$ Q8 d' }1 w) Z断剑系列
3 v Y1 L( E! i! d4 C. g# X猴岛系列
. U5 [+ I% M$ V* u/ j8 T夺宝奇兵系列
8 d! V- p# V; _7 y2 u' B顽皮小精灵Goblins系列
/ J& L5 h; a. F4 I0 F B国王密史系列& w' k! z, Y: C+ l6 v$ J3 `
艾维拉系列9 o. C$ Q2 c6 u# w/ v. x! n. u
太空传奇系列2 v( A* M* k; \1 B) o. e0 a
急速天龙
+ i; q1 Z5 j3 V, v+ |钢铁天空下3 B! ^. b, Z! h8 C
第7访客等$ r+ e: m$ J/ U7 G0 J2 F/ b
' S! n0 z- D. h
并且还在不断增加新的游戏
+ Q: ~0 K' v& h) v2 l( u$ n
1 G$ I9 v, w) Y& Ehttp://www.scummvm.org/compatibility.php?version=0.13.0 / m/ D! E) M1 b
- O4 R+ O5 D- L, g# q2 Q
Maniac Mansion maniac 90%
" d& V# |( G% {Zak McKracken and the Alien Mindbenders zak 90%
5 F" U K& q8 R r* k" [0 XIndiana Jones and the Last Crusade indy3 90%
1 d8 A5 N, |, g' `% _3 `Loom loom 95% " k) n$ F! W; q% U$ t( M1 J5 q) A0 t
Passport to Adventure pass 95% 1 m o/ u5 x. U0 i' V
The Secret of Monkey Island monkey 95% - x7 }/ o# f+ g6 ?
Monkey Island 2: LeChuck's Revenge monkey2 95%
: A1 k/ v* K) `Indiana Jones and the Fate of Atlantis atlantis 95%
# g! |* F2 h) j2 C2 J$ {Day of the Tentacle tentacle 95% ' ^! D- N2 L1 x0 _( K" f
Sam & Max Hit the Road samnmax 95% ; R! e, r7 H; }, [
Full Throttle ft 90% 8 _5 c; X. u ]- K7 m
The Dig dig 90% / ?- t. s4 }" z/ Z' l4 i4 s
The Curse of Monkey Island comi 90% : U W3 z5 Y8 A
Elvira - Mistress of the Dark elvira1 90% H6 k; b/ j0 X# T& ^
Elvira II - The Jaws of Cerberus elvira2 80% 5 o) n2 r& Y- \- U8 B5 W
Simon the Sorcerer 1 simon1 95%
$ E! ]1 F. N) r$ F% i( H, O3 WSimon the Sorcerer 2 simon2 95% " H: C% m4 U$ D" N% A0 n- l7 ?
Simon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70%
$ N; x+ D% `7 o, F. `Simon the Sorcerer's Puzzle Pack - Jumble jumble 70% 7 F! h" C; Q7 i; Z5 E9 c) u
Simon the Sorcerer's Puzzle Pack - NoPatience puzzle 70% % y, g# c5 T% ~8 D8 V. |
Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70% * d) j2 G. n4 T. N. h
The Feeble Files feeble 95%
: M, e: V6 \& `Waxworks waxworks 20%
7 @5 R& ?* @7 r; UBargon Attack bargon 95% 5 d# k( i5 m3 F9 O- k8 O
Gobliiins gob1 95% " m; N+ b* w6 t3 a9 ]
Gobliins 2 gob2 95% ' W& O q V& o7 f3 V
Goblins 3 gob3 95% 0 O5 E8 L1 z$ |$ J9 M5 e" [
Lost in Time lostintime 95% * o( ]% w, H8 H3 u: b
The Bizarre Adventures of Woodruff and the Schnibble woodruff 90%
3 ]- X, D& h7 ]7 MWeen: The Prophecy ween 95% # B) ?8 a; }# p$ c( Y& E$ L/ m
The Black Cauldron bc 90%
- H- Q5 ^+ B# f2 w# {5 dGold Rush! goldrush 90% 7 m1 U9 [( }/ i. s8 S4 n3 N
King's Quest I kq1 90% $ e. G6 ]2 e7 N2 g, H
King's Quest II kq2 90%
; U: j+ ^+ T! \- p4 iKing's Quest III kq3 90%
- Q1 w2 w1 W' HKing's Quest IV kq4 90%
8 d! R2 S7 d: W" q' C! c! JLeisure Suit Larry in the Land of the Lounge Lizards lsl1 90% $ l8 E/ |* s! g
Mixed-Up Mother Goose mixedup 90% 1 F8 v2 {& f3 V5 H1 e
Manhunter 1: New York mh1 90% 3 @/ |! s* V8 K8 n
Manhunter 2: San Francisco mh2 90% / M; a) F8 L$ z8 i# ~( s
Police Quest I: In Pursuit of the Death Angel pq1 90%
% d+ {$ i/ r: ~" mSpace Quest I: The Sarien Encounter sq1 90% ' p8 f' s3 W3 c) F J( P1 W2 z; k# {
Space Quest II: Vohaul's Revenge sq2 90%
) A8 V* z+ ]) x- `: i. S6 l% }$ ~( tFanmade Games agi-fanmade 80%
2 H4 g, p0 A9 uMickey's Space Adventure mickey 90% 1 T0 Q7 z9 G9 S
Troll's Tale troll 80%
) e0 Y% B/ \) W% ]9 aWinnie the Pooh in the Hundred Acre Wood winnie 80% 2 ~& f! T N# F+ _, U9 x0 s
Beneath a Steel Sky sky 98%
) S+ s2 h+ y" \0 g$ ~( F# NBroken Sword 1: The Shadow of the Templars sword1 98% 5 M3 q6 `& s: a6 X S* H
Broken Sword 2: The Smoking Mirror sword2 98%
/ i: A7 ?5 K$ i- A. aBud Tucker in Double Trouble tucker 95% & m0 X" C( R8 ]# j; v @4 q n1 `2 `
Drascula: The Vampire Strikes Back drascula 98%
: ^! S) a- \4 ~7 n! ~Flight of the Amazon Queen queen 98%
' \1 [) ]$ f2 T- ^ L& uFuture Wars fw 80% : o6 D7 u4 h) N1 o) Z
I Have No Mouth, and I Must Scream ihnm 90% : j$ J1 ]5 I! a9 y4 C# w
Inherit the Earth: Quest for the Orb ite 95%
3 h- r+ O( o5 @" J& d" u; uNippon Safes Inc. nippon 90% 3 `, r1 S$ ]* W* b
The Legend of Kyrandia kyra1 87%
. F1 N8 `* r* ~The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85%
& o' e1 M2 g0 UThe Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80% ! g7 z3 }5 |; Y
The 7th Guest t7g 90% ) [# L; d0 ~' S3 _
Lure of the Temptress lure 95% ' t. s- ~, A u, |& g
Touche: The Adventures of the Fifth Musketeer touche 75% : k" u6 \/ g1 G. R. W% i
Backyard Baseball baseball 20% ' A) o2 M( u. _, _: O7 W* i. I
Backyard Football football 80%
0 g. @: K3 [. F4 L2 v" wBackyard Soccer soccer 20%
' L' Z6 J) l. U: q6 U0 eBear Stormin' brstorm 95% 4 ^% E$ L' {9 S/ Q$ L
Big Thinkers First Grade thinker1 90% 4 b! [2 P- |- Y& {' k) d
Big Thinkers Kindergarten thinkerk 90% 5 c6 n8 C: y: x1 v g( o
Blue's 123 Time Activities Blues123Time 90%
4 R% l" F3 j0 H: XBlue's ABC Time Activities BluesABCTime 90% / I% |4 z" Q: [/ B, @4 U8 V( O3 K
Blue's Birthday Adventure BluesBirthday 50%
2 X, t0 a" Y# mBlue's Treasure Hunt BluesTreasureHunt 50% & U3 W x- k& v! X; C- a& I# N
Fatty Bear's Birthday Surprise fbear 93%
8 F0 `" [9 @9 [) K# nFatty Bear's Fun Pack fbpack 95% 2 o6 l' W9 m1 d* Y7 R9 x
Freddi Fish 1: The Case of the Missing Kelp Seeds freddi 90% ) } A, X1 p+ Y6 S1 n
Freddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90% 0 G7 P6 V: J( D+ f9 s
Freddi Fish 3: The Case of the Stolen Conch Shell freddi3 90%
/ G3 {1 [! |# P. P- ?0 sFreddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90% 6 c. t# q# |' i6 J1 a0 c: k$ m
Freddi Fish and Luther's Maze Madness maze 90%
6 F6 ~7 g- j3 X9 t0 K, ~Freddi Fish and Luther's Water Worries water 90% # V3 i% ~ k9 i3 u7 k# v
Let's Explore the Airport with Buzzy airport 90%
, v' n. [. c; v! E5 n& g" WLet's Explore the Farm with Buzzy farm 90% 2 Y0 i! X2 s. W' G
Let's Explore the Jungle with Buzzy jungle 90%
* r0 u# X+ G* v2 {1 X- t# oPajama Sam 1: No Need to Hide When It's Dark Outside pajama 90%
- o; B2 z/ a/ q' ]Pajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90% # j% V9 F; ^# H U8 ~. `
Pajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90%
7 {6 X' q, x% n5 `( R7 zPajama Sam's Lost & Found lost 85% - v% K" `8 J% D0 v: ]3 y7 p
Pajama Sam's Sock Works socks 90%
B$ p" z) `5 nPutt-Putt Enters the Race puttrace 90%
p" [0 i' r" L( y- uPutt-Putt Goes to the Moon puttmoon 95% . S# [: e0 h. s
Putt-Putt Joins the Circus puttcircus 90%
; ^8 m; C2 k6 c6 H1 KPutt-Putt Joins the Parade puttputt 95%
. w. C" c% h% K9 K7 ^6 B( o( n/ @& w/ cPutt-Putt Saves the Zoo puttzoo 90%
8 x2 q( _: r( e: ?# w0 UPutt-Putt Travels Through Time putttime 90% * e; p$ k# X/ g5 \) l
Putt-Putt and Pep's Balloon-O-Rama balloon 90%
$ k# E2 |) [9 r2 ~4 s+ u: pPutt-Putt and Pep's Dog on a Stick dog 90%
; V, v3 A3 f( u, I' k+ fPutt-Putt & Fatty Bear's Activity Pack activity 95% : J* M- [, d/ A7 c6 d) Y
Putt-Putt's Fun Pack funpack 95% ) r5 {! d+ D4 o, t& R: B
SPY Fox 1: Dry Cereal spyfox 90%
, {4 l6 s: q& k. Z. ?SPY Fox 2: Some Assembly Required spyfox2 90% 0 r7 M3 ~0 @) W A
SPY Fox 3: Operation Ozone spyozon 70% : {4 i$ y, g( W% l% ~
SPY Fox in Cheese Chase chase 90% 7 b4 U* o1 m( F/ s% P2 y
SPY Fox in Hold the Mustard mustard 85% 7 U/ F+ M/ x/ F4 O6 I
& r% p5 R# z3 N3 u1 ^2 p以下是汉化抓图。 # j8 u' `' o" }' ^
|