scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
% b1 `. U5 u5 {$ t) EHWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)"); 2 a9 [/ O: G. n4 W' T; { d4 \
HDC hdc = ::GetDC(hwnd); 7 x1 t0 I# i ^: W
TextOut(hdc,10,10,"中文测试字幕",12); ( S' \: R. A6 N M, ^
。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。
9 d( C8 ]0 V8 ?! ^5 y# f- L9 e' o这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。 / e4 G- J8 r4 {1 b" c5 N: z
; y: w) B2 j+ b- n- ]. C; [
scummvm支持的104个AVG游戏如下 1 K& o5 R9 n- V+ |% W
1 T4 l1 A, M6 E. x' P/ Y1 ?# `
其中比较著名的有
m, m% ]8 W" F1 K4 h+ u断剑系列" Q, F" }3 H9 q* r" g( P" M: [/ v
猴岛系列
% m. i9 y$ c3 _, f9 G夺宝奇兵系列
5 a6 \1 V( a1 u顽皮小精灵Goblins系列
: n7 X, e+ Y8 ^+ U1 a7 t国王密史系列 y$ h+ ~- r- J2 d. W' M7 J
艾维拉系列
3 s$ H( w% Y9 C$ x8 L太空传奇系列
2 c4 l, C" s# \9 h4 c急速天龙
# p+ X* A7 n( X- q9 S" F0 T+ D5 r; O钢铁天空下: e( J6 Z E4 R, z* Q9 Z
第7访客等
, y* T8 r! z" G t/ |& P2 I
4 e& _" R& b) A0 X9 N/ E6 b并且还在不断增加新的游戏
2 j* k; h! Y0 V, l- G+ d
) {$ |7 n% C) g7 r$ t9 Shttp://www.scummvm.org/compatibility.php?version=0.13.0 5 \2 {* R- W$ s( ]0 ]! u
. b) q* X/ s; Q4 {+ V* n# R9 A: ~0 lManiac Mansion maniac 90%
: [) r1 b. w7 `6 e. W$ S' [Zak McKracken and the Alien Mindbenders zak 90% / e5 T. s: X/ S* q5 ? A6 X; h; F
Indiana Jones and the Last Crusade indy3 90% , T8 x3 Y O/ S, t* ?3 K( y
Loom loom 95%
0 ]6 o& \/ @5 C$ l$ k: C. P% XPassport to Adventure pass 95% 6 z" v5 f# b8 M+ g: }
The Secret of Monkey Island monkey 95% : k- ]; f$ R/ M
Monkey Island 2: LeChuck's Revenge monkey2 95% 1 c0 V) c2 Q! n& [0 i: S* [- E N" _& [
Indiana Jones and the Fate of Atlantis atlantis 95% " j( @% Q* W6 e0 @1 r! |
Day of the Tentacle tentacle 95%
. s' }/ v/ @' O4 MSam & Max Hit the Road samnmax 95%
4 L s9 v. B7 e" v }4 cFull Throttle ft 90% " u& I6 c2 A5 I1 o$ r4 L
The Dig dig 90% 2 [! f/ B9 a) k, ~
The Curse of Monkey Island comi 90%
6 R0 \( Y+ D y9 X0 ]6 dElvira - Mistress of the Dark elvira1 90% 3 i: ~) j3 q: Y. D V- b6 G
Elvira II - The Jaws of Cerberus elvira2 80% ! E/ Y) e. Z! P$ o
Simon the Sorcerer 1 simon1 95%
" A, `) `: x6 c4 |7 D/ d& f" `6 ESimon the Sorcerer 2 simon2 95%
! x; D' i6 p9 x/ a" {: v+ F1 |$ tSimon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70% 8 \, m4 P6 V% E( x9 x1 d
Simon the Sorcerer's Puzzle Pack - Jumble jumble 70% & a. C3 I( T. |2 n& k L
Simon the Sorcerer's Puzzle Pack - NoPatience puzzle 70% 3 \7 x" H2 Q5 X+ A
Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70% % k% t4 s3 B& A# X5 M% P* ]- O
The Feeble Files feeble 95%
8 j& r- l& q6 R" }$ |# g- t9 rWaxworks waxworks 20%
, B$ r' {7 \! x, n) A, oBargon Attack bargon 95%
+ z* o9 M# J' ^8 P8 C# s9 ?Gobliiins gob1 95% 3 M* R2 I* a# ]
Gobliins 2 gob2 95% 0 z8 V0 H+ [; a8 g) P5 o! `) D- O
Goblins 3 gob3 95%
4 k) S8 ^- U* N4 o( NLost in Time lostintime 95%
1 [6 s4 }4 H4 O! ~% q, a) H6 A4 x z8 |' {The Bizarre Adventures of Woodruff and the Schnibble woodruff 90%
1 y5 a; |" g8 p& p8 y. s' KWeen: The Prophecy ween 95% / s* L0 w; k! Z6 f0 ?9 g& |# Q/ M1 [
The Black Cauldron bc 90% + c. s1 Z: Z, G4 ]
Gold Rush! goldrush 90%
. |5 D% i) b2 G2 S* ~; H: _8 t% ?King's Quest I kq1 90%
; q+ s) m W& A: H7 L8 x) wKing's Quest II kq2 90% 2 _ I Q1 ^# `& z0 e# f
King's Quest III kq3 90%
( q0 M2 `( J; H4 j( @: I& c( W: _5 k6 j8 {King's Quest IV kq4 90% $ _" T! V% B9 b% `) y' e g
Leisure Suit Larry in the Land of the Lounge Lizards lsl1 90%
6 B) h- ?5 p1 U7 ~; `# P. ZMixed-Up Mother Goose mixedup 90% # \7 a; d9 P2 |) I* V+ u
Manhunter 1: New York mh1 90%
9 l# e) r! D R5 y; u) qManhunter 2: San Francisco mh2 90%
5 u2 T& a5 j# H( b. K, R" WPolice Quest I: In Pursuit of the Death Angel pq1 90% 0 p( X! K4 a2 M4 T
Space Quest I: The Sarien Encounter sq1 90% 2 `4 @3 k8 P: I
Space Quest II: Vohaul's Revenge sq2 90%
5 b/ w8 q/ I$ G! b$ I, w# O/ BFanmade Games agi-fanmade 80% & A5 f1 K4 G$ j' B
Mickey's Space Adventure mickey 90%
: n/ W/ A: h- w5 k$ I! gTroll's Tale troll 80% 7 _/ U, _% {4 l' F" L
Winnie the Pooh in the Hundred Acre Wood winnie 80%
+ z8 p* s7 O) y5 \' RBeneath a Steel Sky sky 98%
/ {; A1 {; F8 k; P, b) V8 u$ K% v* ?Broken Sword 1: The Shadow of the Templars sword1 98% $ A1 k3 S$ |. @: x$ Z
Broken Sword 2: The Smoking Mirror sword2 98%
0 u' I# }' p" Y: L7 l q( |4 \Bud Tucker in Double Trouble tucker 95% 0 K$ [/ |& P% U1 O, s5 A7 ~
Drascula: The Vampire Strikes Back drascula 98%
$ [/ N! Y6 q/ BFlight of the Amazon Queen queen 98% 6 t5 c- _7 g, y# f7 Z
Future Wars fw 80% 1 ^2 j/ m$ ]# A; R, o
I Have No Mouth, and I Must Scream ihnm 90%
) q5 d! C) f/ MInherit the Earth: Quest for the Orb ite 95% 9 v! }: q; R5 D6 T
Nippon Safes Inc. nippon 90% 8 X- A0 m& H4 _+ j$ I/ v
The Legend of Kyrandia kyra1 87%
) E: w7 z& `1 w7 L! W* Q. ?The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85% & S1 P, e: r1 |) W2 _: T* v! t1 E
The Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80%
* r0 _% v9 ~ M6 w/ L5 }The 7th Guest t7g 90%
5 o5 y1 j. m5 Y; G' l RLure of the Temptress lure 95%
- `3 H% b2 Q _$ }; P: F* h; [! OTouche: The Adventures of the Fifth Musketeer touche 75%
/ e2 t4 u9 I2 n* {" G" K, aBackyard Baseball baseball 20%
- z# L4 K/ w/ oBackyard Football football 80%
( r3 q# o5 C$ s: z. TBackyard Soccer soccer 20%
6 Z& ^0 W1 _$ r9 f/ N$ G( |& UBear Stormin' brstorm 95%
# ^- @4 `- s" D8 Y9 J' NBig Thinkers First Grade thinker1 90%
+ m: c5 B/ S8 e2 h9 q& v; c6 SBig Thinkers Kindergarten thinkerk 90%
- s* P- ~6 e l# c. L$ U2 sBlue's 123 Time Activities Blues123Time 90% - V7 b5 ?6 ^) ]4 j
Blue's ABC Time Activities BluesABCTime 90%
) M% P. k+ Z$ b1 Q! |Blue's Birthday Adventure BluesBirthday 50% 2 K& D& \6 q# r2 u. u
Blue's Treasure Hunt BluesTreasureHunt 50% % N4 L O2 r9 \3 [9 J
Fatty Bear's Birthday Surprise fbear 93%
6 L8 |; n" W( `+ oFatty Bear's Fun Pack fbpack 95%
" w8 t' }# o- P4 |4 eFreddi Fish 1: The Case of the Missing Kelp Seeds freddi 90% - i6 u# d* t' ?! ^
Freddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90% r2 ]. ^0 s' m$ J( n
Freddi Fish 3: The Case of the Stolen Conch Shell freddi3 90%
+ A+ |% Z1 T& ]( \6 E. qFreddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90%
9 \2 [" c+ `2 O+ W( ZFreddi Fish and Luther's Maze Madness maze 90% , `& g$ P: O* P8 V: `, `# l
Freddi Fish and Luther's Water Worries water 90% 8 K& V& I. h! v9 A1 l
Let's Explore the Airport with Buzzy airport 90%
6 P. E8 z0 D3 Y4 t8 I1 m" lLet's Explore the Farm with Buzzy farm 90%
9 k, s( p2 z0 f2 n5 Z7 C6 i3 {* `Let's Explore the Jungle with Buzzy jungle 90%
+ `* q' X0 f7 e8 sPajama Sam 1: No Need to Hide When It's Dark Outside pajama 90% : q; F% ~! E/ |3 V# b; L9 [# `/ B: F. d
Pajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90%
& {1 O: i* g7 B. I1 MPajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90% ' q" j5 P0 n- U
Pajama Sam's Lost & Found lost 85%
4 t( K0 ?2 Y5 d( C( R, ~9 tPajama Sam's Sock Works socks 90% 1 _9 `! T ~( ~2 f) b+ F+ `
Putt-Putt Enters the Race puttrace 90% " L9 ~& Q2 ~ v
Putt-Putt Goes to the Moon puttmoon 95% / I2 l" z( b: T+ r/ K
Putt-Putt Joins the Circus puttcircus 90% 6 ]2 V# V n& c4 Y e- V+ e$ q
Putt-Putt Joins the Parade puttputt 95% # F8 N6 Y: r4 I( e7 i0 G
Putt-Putt Saves the Zoo puttzoo 90%
% P7 f" w: M5 U. [+ ?Putt-Putt Travels Through Time putttime 90%
) z1 I2 i8 R) ]" D# E6 K3 I6 kPutt-Putt and Pep's Balloon-O-Rama balloon 90%
) @! f0 t. l% N! p% f# G& }' p" FPutt-Putt and Pep's Dog on a Stick dog 90%
+ H2 d6 Y- R3 a: q$ i7 kPutt-Putt & Fatty Bear's Activity Pack activity 95% ' b/ }6 c0 P6 }
Putt-Putt's Fun Pack funpack 95%
, U; g6 f0 |9 s4 L' {& H2 y3 TSPY Fox 1: Dry Cereal spyfox 90% 5 M3 @$ i6 m' }; z
SPY Fox 2: Some Assembly Required spyfox2 90%
( j! y7 G3 c$ Q( v& iSPY Fox 3: Operation Ozone spyozon 70%
3 r# z1 `+ X/ o: \/ O) P# ^! j5 h( vSPY Fox in Cheese Chase chase 90% . A3 {% V6 j6 Q1 Z( g! z
SPY Fox in Hold the Mustard mustard 85%
3 n2 I& X+ T$ P
$ A/ o+ d* ~. [; k" }- x4 d以下是汉化抓图。
% V3 F$ Q+ w4 k1 K$ o |