scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
0 t+ d% ?) P' z% F% AHWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)"); u6 k B/ }0 ]# ~+ ^
HDC hdc = ::GetDC(hwnd); ! G( b4 J+ a' `0 r1 Y9 W3 G
TextOut(hdc,10,10,"中文测试字幕",12);
, o+ E% P' t, {6 Y( r7 _4 A。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。
0 Y( \9 B+ x4 o, ^这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。
! Y. ^# H: h5 w8 m- \( K( @: x3 r/ n% J+ Q9 J* P# d+ N
scummvm支持的104个AVG游戏如下
) u& e3 ~ K/ D. L
# k$ s, P, E n* U. ~' L其中比较著名的有: g* C ^9 f1 q# q; B8 n
断剑系列" w; W8 L# Y( m1 O$ X8 c
猴岛系列0 B5 G6 M: D. I" y8 d
夺宝奇兵系列
0 i( z3 B, x6 d# D顽皮小精灵Goblins系列/ \+ Z ]% O- s' x* Z+ Q- }3 E
国王密史系列
8 y# F# y( S& o; \$ c0 Z$ [0 B艾维拉系列3 v1 ~! s# u2 e6 r
太空传奇系列
& `8 S2 A5 q! A2 ] e5 p4 E6 q急速天龙
$ T$ z8 t( P" W- z钢铁天空下; T0 [& v: b1 L. x
第7访客等5 `4 v% v1 Z, R. o' C5 V
3 k' ]% y& P5 n _
并且还在不断增加新的游戏
: l' b2 c! Q2 S R1 u) K: g! M2 d/ U) k3 ]: ^1 s
http://www.scummvm.org/compatibility.php?version=0.13.0 0 U' [2 E8 J, h+ {2 F; E3 E: ]
& \: H9 r; ~/ b% g& m
Maniac Mansion maniac 90%
$ v, E1 g/ m! C$ |8 ^Zak McKracken and the Alien Mindbenders zak 90%
$ F1 @9 Q8 W: X8 \2 U" g3 NIndiana Jones and the Last Crusade indy3 90%
- U2 h2 v3 j, x% n# d( _Loom loom 95%
9 E" s( t" R) VPassport to Adventure pass 95% , b# {3 A5 z( ]
The Secret of Monkey Island monkey 95% 4 M: f9 q& S, X
Monkey Island 2: LeChuck's Revenge monkey2 95% ( f# G6 c' h! y/ M0 T: K* b
Indiana Jones and the Fate of Atlantis atlantis 95%
+ v6 U Y- p7 U# G2 `Day of the Tentacle tentacle 95% $ G9 x+ t5 q) @% K5 _: ^
Sam & Max Hit the Road samnmax 95% 0 g4 Y w) z; R8 B5 G% t( s% \
Full Throttle ft 90% 3 y( m8 o6 S. T5 R( q
The Dig dig 90%
4 G2 n2 |, B/ D2 [The Curse of Monkey Island comi 90% ; S" P/ f: D1 A: v8 q
Elvira - Mistress of the Dark elvira1 90% 3 }; p9 j ^. I" K- S8 [) O/ l7 e
Elvira II - The Jaws of Cerberus elvira2 80%
5 ~/ T, N; j v+ e) aSimon the Sorcerer 1 simon1 95%
* K5 r. K' M( V' [+ eSimon the Sorcerer 2 simon2 95%
6 T% Y4 k, ~" ?, b) ?8 RSimon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70%
0 R1 U5 N$ p* V5 N1 F+ o1 KSimon the Sorcerer's Puzzle Pack - Jumble jumble 70% 7 e! u- G' }1 c, z! Z* Y% o2 I/ C) h
Simon the Sorcerer's Puzzle Pack - NoPatience puzzle 70% U, V/ ?4 c7 `% ^ U9 {& L
Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70% ) D! \& @. ~* y- o
The Feeble Files feeble 95%
! L6 G/ E) n5 |. {Waxworks waxworks 20%
+ F! {( ~0 P' `' t- {& m9 }Bargon Attack bargon 95% $ m, q; I5 z9 h
Gobliiins gob1 95%
5 B8 P; j- M9 X, A% z z3 tGobliins 2 gob2 95%
" o% V9 ~8 e1 j& n1 h; w0 K k- cGoblins 3 gob3 95%
|% ]$ J% G% ` MLost in Time lostintime 95% + t: v- @! e4 ?! _+ h
The Bizarre Adventures of Woodruff and the Schnibble woodruff 90% + L2 h4 e4 H g7 y4 R
Ween: The Prophecy ween 95%
* i# t! f5 y8 C5 J) eThe Black Cauldron bc 90% , p, A! P9 X1 Y% e* v v6 t! ]
Gold Rush! goldrush 90% 9 _, A) |/ ~" Z1 o8 ~! h* ^
King's Quest I kq1 90% ! p0 ?$ j% {$ K, I
King's Quest II kq2 90% + ]( M; k# f$ l, ]; N
King's Quest III kq3 90% 3 a& B8 g$ a" ~: Q
King's Quest IV kq4 90% + j/ n8 ?# x, B9 n8 K* j+ J; T0 @4 {* w
Leisure Suit Larry in the Land of the Lounge Lizards lsl1 90% 7 j$ |# ^* J6 }" \) _
Mixed-Up Mother Goose mixedup 90%
1 K$ W6 h6 s+ Q% kManhunter 1: New York mh1 90% # S/ e, Q9 |/ f* ?8 K" W
Manhunter 2: San Francisco mh2 90% - R' s0 q7 U) v7 H8 W+ G
Police Quest I: In Pursuit of the Death Angel pq1 90% 3 ^7 h M# O' v }8 Z3 c% b
Space Quest I: The Sarien Encounter sq1 90%
. r" n, b7 ^. d1 bSpace Quest II: Vohaul's Revenge sq2 90% ( \; ?& [# b6 O
Fanmade Games agi-fanmade 80%
! H6 z) \) H: U H' iMickey's Space Adventure mickey 90%
% [) q2 a+ I' ]. ~, fTroll's Tale troll 80% 6 K3 q2 O. Q1 W% }6 E
Winnie the Pooh in the Hundred Acre Wood winnie 80% l1 E4 q C" R+ p$ t
Beneath a Steel Sky sky 98%
1 u# d1 m* v, ^1 aBroken Sword 1: The Shadow of the Templars sword1 98%
4 d$ \0 g* y! X0 o2 W2 O, U. l( qBroken Sword 2: The Smoking Mirror sword2 98% 0 U& d0 \/ B3 N ^
Bud Tucker in Double Trouble tucker 95% 2 Y1 }: H$ H+ h( N
Drascula: The Vampire Strikes Back drascula 98% ) S' y, A! Y$ N* \ r$ i
Flight of the Amazon Queen queen 98%
% M8 _5 @8 ?: g2 dFuture Wars fw 80% , y3 Z. @; e [9 @6 r
I Have No Mouth, and I Must Scream ihnm 90%
7 d3 ?# N% r0 U1 @: W8 v+ V, \- l9 ~Inherit the Earth: Quest for the Orb ite 95%
! `1 F3 z t9 B8 RNippon Safes Inc. nippon 90% + b# M2 m8 h) {
The Legend of Kyrandia kyra1 87% + i' ]8 B& o) D4 I. i3 z
The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85%
8 m* j" N3 B2 b6 J0 L4 J5 m6 `3 lThe Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80% $ j5 a5 h2 |9 N1 l$ |! O' m
The 7th Guest t7g 90%
4 s$ f% r' r: j; V" ?Lure of the Temptress lure 95%
3 _8 V- M' \8 J; f/ U" b0 JTouche: The Adventures of the Fifth Musketeer touche 75%
; W/ f) ?5 `& q4 P- oBackyard Baseball baseball 20%
- b' v4 H# L+ g5 xBackyard Football football 80%
4 H1 }$ S h9 A6 @# zBackyard Soccer soccer 20% ) b. `8 f+ \0 w7 b p( K- d; I
Bear Stormin' brstorm 95% 5 l f4 Y( g2 m
Big Thinkers First Grade thinker1 90% & P! P+ y4 G* T6 {$ O
Big Thinkers Kindergarten thinkerk 90%
, y! V3 |* }9 [: } ]! |" u" pBlue's 123 Time Activities Blues123Time 90% 0 r- X3 V* D4 [- P Y9 }; K
Blue's ABC Time Activities BluesABCTime 90%
- s. k4 C) u! L, T+ ~7 yBlue's Birthday Adventure BluesBirthday 50% - {; X; L) V0 r( }. V$ t7 V
Blue's Treasure Hunt BluesTreasureHunt 50%
$ @' ?! w( f$ ]- j RFatty Bear's Birthday Surprise fbear 93%
1 k! o5 J4 d {4 ^Fatty Bear's Fun Pack fbpack 95% 6 R4 l( Z N- f% F$ ~" A4 z
Freddi Fish 1: The Case of the Missing Kelp Seeds freddi 90% 2 C; O& x& H1 V
Freddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90% * s0 V$ Q0 y4 O( H: A0 `
Freddi Fish 3: The Case of the Stolen Conch Shell freddi3 90%
5 ?0 `# c1 c$ v" X/ LFreddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90% ' l6 ~5 o6 H! G) W: P6 ]. {3 F* q
Freddi Fish and Luther's Maze Madness maze 90%
9 |/ _/ H, y) W/ D7 {. U' Q& VFreddi Fish and Luther's Water Worries water 90% % v" r: ?0 q0 t
Let's Explore the Airport with Buzzy airport 90%
5 o5 h( e; ?5 H2 B0 r4 t/ M. v" J0 mLet's Explore the Farm with Buzzy farm 90% : G% S/ U: C5 l
Let's Explore the Jungle with Buzzy jungle 90%
/ {5 A. g6 @/ f, ]0 VPajama Sam 1: No Need to Hide When It's Dark Outside pajama 90% " n$ J" D/ c0 F: W8 t3 k
Pajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90% : M7 c) Y4 J/ Q& t/ T) f
Pajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90% 1 T; T; R& W( }% r
Pajama Sam's Lost & Found lost 85%
3 w1 E" M! S* E4 n: Q" U+ l0 e/ }Pajama Sam's Sock Works socks 90%
d' U" f9 b* l4 X- A7 M: Y4 OPutt-Putt Enters the Race puttrace 90% 7 H/ ^' w) F6 l- C
Putt-Putt Goes to the Moon puttmoon 95%
; \) o& B5 H+ q1 A5 ]Putt-Putt Joins the Circus puttcircus 90% 3 u: D. f; m# k
Putt-Putt Joins the Parade puttputt 95% # r$ J7 j/ P; b4 V0 V) a
Putt-Putt Saves the Zoo puttzoo 90% 1 c3 i. y/ K4 L1 W# j7 Q: a
Putt-Putt Travels Through Time putttime 90% u: C* N! G }* q' b
Putt-Putt and Pep's Balloon-O-Rama balloon 90% r/ m `$ x6 b6 _
Putt-Putt and Pep's Dog on a Stick dog 90%
7 B- |7 \+ j. z, m' m! KPutt-Putt & Fatty Bear's Activity Pack activity 95%
6 Q+ H) k7 {$ OPutt-Putt's Fun Pack funpack 95%
% l! ?* k" f* ?. k+ f; F4 cSPY Fox 1: Dry Cereal spyfox 90%
. p& o' ~6 L& ~2 s' U; ~$ ~SPY Fox 2: Some Assembly Required spyfox2 90%
; L2 ]( M$ G+ uSPY Fox 3: Operation Ozone spyozon 70%
# F. y" S' F p6 K% s7 FSPY Fox in Cheese Chase chase 90% 0 K5 @1 ]! d" N" ^ V& I
SPY Fox in Hold the Mustard mustard 85% . \. l' e/ X3 p
1 f' m5 v. N% A" Z$ H以下是汉化抓图。 0 x. [9 F4 u) S$ i1 r
|