scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
* S) k; `- i9 N% kHWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)");
# T) q# m2 f6 n+ l" z6 HHDC hdc = ::GetDC(hwnd);
! w0 d# X3 ?5 m' g# c; }TextOut(hdc,10,10,"中文测试字幕",12);
% ~: ]) B) G' K' R" u: N。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。 ' u% ^: d$ j$ r1 r
这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。
: r1 }# @9 R2 l# o4 M
2 c1 y) I" N2 @" N) `scummvm支持的104个AVG游戏如下
& m0 h$ s) q4 S3 ]
# H% ] e7 u; i- {+ N! W* T. A其中比较著名的有3 v6 f# g1 l4 A
断剑系列( c* w: U& X+ J K
猴岛系列
4 j7 I- C. @- @% {0 d% h. L- S夺宝奇兵系列1 y8 ?1 r3 @4 C* G: q
顽皮小精灵Goblins系列
0 F3 ^5 n' y8 l0 I @( U0 F国王密史系列/ `) v U9 m6 b1 L+ q! F
艾维拉系列
( Q6 T1 z/ \ i, c% r1 y5 Q太空传奇系列
9 {- \6 _2 }# j* L7 }急速天龙9 L( d, y* L8 ?# Q8 Y3 J
钢铁天空下
9 Z) N+ I6 b8 S- `* [ `第7访客等. Z6 n5 E( w3 K+ @+ w9 Z
9 G4 A) S; m7 `. Z
并且还在不断增加新的游戏
! g0 W+ @( [8 ~' E7 F
9 M7 e! b$ e0 E6 z" Chttp://www.scummvm.org/compatibility.php?version=0.13.0 ! S. F L7 U1 u$ g
; J1 j Q# r/ C7 @Maniac Mansion maniac 90% 2 E4 G' d+ |+ S6 q- [0 l0 A
Zak McKracken and the Alien Mindbenders zak 90%
' a. \6 h( m4 o* nIndiana Jones and the Last Crusade indy3 90% * `) N9 Y" ^, S2 T4 |, f
Loom loom 95%
7 X: `; A! x& m( g; N' G% [' T" }Passport to Adventure pass 95% 8 ]& ~, o. \! T7 i
The Secret of Monkey Island monkey 95%
# C U2 x: V% d; R5 qMonkey Island 2: LeChuck's Revenge monkey2 95%
" W/ a' l% b+ |, |2 L" wIndiana Jones and the Fate of Atlantis atlantis 95% * \' N! m/ B5 r2 {0 G6 k8 b: R; ]. u
Day of the Tentacle tentacle 95%
6 h1 e l, z* L9 }8 R# ySam & Max Hit the Road samnmax 95%
4 W6 j3 B% L' ?8 bFull Throttle ft 90%
& E x& \5 f$ jThe Dig dig 90%
6 C3 v7 o7 O. {$ M7 p: F5 S |& YThe Curse of Monkey Island comi 90% : q& J1 c* W- x: g# _
Elvira - Mistress of the Dark elvira1 90%
6 ?6 c. T8 G. ~Elvira II - The Jaws of Cerberus elvira2 80%
' }7 k, F/ f* VSimon the Sorcerer 1 simon1 95%
" T! g! K. X" _' a; Z3 ~: FSimon the Sorcerer 2 simon2 95% ( F+ X8 Q1 G0 J1 O7 x
Simon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70%
) t0 G a: i( L/ F3 K4 ?Simon the Sorcerer's Puzzle Pack - Jumble jumble 70%
8 N. M* M$ X6 d0 uSimon the Sorcerer's Puzzle Pack - NoPatience puzzle 70% ! E6 X' A. ~( y- Z/ n8 o
Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70% 0 A l2 s3 a$ T2 k$ v& | o( E
The Feeble Files feeble 95%
# V. E" `& { d8 `( H/ IWaxworks waxworks 20%
- q5 F0 I. ~( U4 M: B& j; kBargon Attack bargon 95%
8 Y0 F( o4 f5 r M; `Gobliiins gob1 95% : p# a9 r4 y( G; m+ @0 ?" T
Gobliins 2 gob2 95%
8 P4 {2 u. m, KGoblins 3 gob3 95%
' m9 a7 Y1 T- M) d/ L# m) t! i% WLost in Time lostintime 95% 1 O! }3 ]! s$ L& _# e8 T0 l
The Bizarre Adventures of Woodruff and the Schnibble woodruff 90% 2 P( y; t( _6 {3 t6 k
Ween: The Prophecy ween 95%
5 I+ Q' [. [. Z$ h" Q W6 A. TThe Black Cauldron bc 90% 6 ?* ^8 {* T+ U0 S% l
Gold Rush! goldrush 90%
' { f7 o3 N/ e9 a! CKing's Quest I kq1 90% 5 G8 N" i1 k# B% Q& g) J5 K
King's Quest II kq2 90% : Z9 z; r! V0 g8 o
King's Quest III kq3 90% : G/ T8 U a$ k2 I* d
King's Quest IV kq4 90% 1 K7 K7 U" K7 j$ o. U# c
Leisure Suit Larry in the Land of the Lounge Lizards lsl1 90%
+ a- F* C9 l. BMixed-Up Mother Goose mixedup 90% 6 g$ a/ z9 g6 k6 w8 }! q; w/ [
Manhunter 1: New York mh1 90% 7 K! V) d- g' s1 C2 E7 H
Manhunter 2: San Francisco mh2 90% 1 a- `) K, ?6 u% I" f
Police Quest I: In Pursuit of the Death Angel pq1 90%
1 q6 Q7 t, F, p( J# \1 Q) eSpace Quest I: The Sarien Encounter sq1 90%
! f5 e( I0 u6 H0 n8 M% ?3 W' GSpace Quest II: Vohaul's Revenge sq2 90%
8 W& }6 O7 c1 P6 NFanmade Games agi-fanmade 80%
0 i% s" `( e% lMickey's Space Adventure mickey 90% 6 L$ ^- m* W& b% l% P' T2 {
Troll's Tale troll 80%
! g3 ^' G& P* j) _" \( PWinnie the Pooh in the Hundred Acre Wood winnie 80%
; R, ~! r6 Q, e6 Q3 WBeneath a Steel Sky sky 98% : c. M2 i8 X' G. V4 q
Broken Sword 1: The Shadow of the Templars sword1 98% 8 ?! E4 n* I- e. p+ g
Broken Sword 2: The Smoking Mirror sword2 98%
9 |6 [; h/ L+ u" sBud Tucker in Double Trouble tucker 95% # T1 H4 y1 o# \& {2 }7 u$ ~
Drascula: The Vampire Strikes Back drascula 98% . o* O' A, d$ f& J9 n7 J/ j
Flight of the Amazon Queen queen 98% 9 y* Q# A9 r+ n2 H u
Future Wars fw 80% # J" C$ n4 B1 A* V# t
I Have No Mouth, and I Must Scream ihnm 90%
: d; G8 T2 G# CInherit the Earth: Quest for the Orb ite 95% 3 Z6 p2 I |* `7 A, b5 Y. Q- v
Nippon Safes Inc. nippon 90% m; {$ ?. {8 X4 I/ j5 R% S
The Legend of Kyrandia kyra1 87%
& ]% Q% T8 X6 _1 b+ ?' FThe Legend of Kyrandia: Book Two: Hand of Fate kyra2 85% 7 @! R0 n; g8 C" A0 \
The Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80%
5 L |) V# Q: Y$ S" i: P4 TThe 7th Guest t7g 90%
" J; e9 l! y7 ^, y9 ALure of the Temptress lure 95% - @( C3 S! |1 e3 P& X+ p5 t7 x
Touche: The Adventures of the Fifth Musketeer touche 75% ! C& d( j+ l5 P% U O( F+ j
Backyard Baseball baseball 20%
$ r; [; V% ^5 mBackyard Football football 80% 7 ?- {7 i8 w" [' P. {. i) ^; K& Z
Backyard Soccer soccer 20% : S' b+ ^9 c( D( _
Bear Stormin' brstorm 95% 4 k! K5 B" ^) h: F! |. ^7 Z |
Big Thinkers First Grade thinker1 90% ( _6 J) p7 W/ k1 G$ {2 }0 c
Big Thinkers Kindergarten thinkerk 90%
3 U& z" _7 F& [7 i* @9 S0 jBlue's 123 Time Activities Blues123Time 90% * {5 k& j+ g- Y9 [3 W# P( F: _
Blue's ABC Time Activities BluesABCTime 90%
9 o! C, D2 I& p5 g8 HBlue's Birthday Adventure BluesBirthday 50%
6 Y9 f6 Z$ q+ A& x8 PBlue's Treasure Hunt BluesTreasureHunt 50%
1 x' f# I8 o3 g6 E7 m tFatty Bear's Birthday Surprise fbear 93% 9 \8 a, W. C- @! f6 s8 j
Fatty Bear's Fun Pack fbpack 95% # P5 ^$ B4 ~( ]+ R* n1 b
Freddi Fish 1: The Case of the Missing Kelp Seeds freddi 90% 3 T O. e3 d5 r
Freddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90%
/ I/ J; j+ g% l' ~0 o1 n5 iFreddi Fish 3: The Case of the Stolen Conch Shell freddi3 90%
, x* ]; s8 l/ e! l7 S6 @* M! o$ C& yFreddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90% 5 ^, s& w4 A. r$ T3 }+ o6 D8 O
Freddi Fish and Luther's Maze Madness maze 90%
D/ b- T* ]/ j- |7 g+ ]& CFreddi Fish and Luther's Water Worries water 90%
$ n/ z; K9 m; T, F; e: HLet's Explore the Airport with Buzzy airport 90%
, r" A5 {+ C) I$ B1 ?$ i$ ZLet's Explore the Farm with Buzzy farm 90% 1 u; G. N: ~& U# S: D6 w. G) ?3 g
Let's Explore the Jungle with Buzzy jungle 90% 7 d$ `2 _% N% o% k! O i
Pajama Sam 1: No Need to Hide When It's Dark Outside pajama 90%
! o3 L, p1 V) MPajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90%
- Q. m6 e6 w: C2 L2 uPajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90%
. C- B" U# W/ e+ r: qPajama Sam's Lost & Found lost 85% 5 I `$ P: a z( F
Pajama Sam's Sock Works socks 90% I6 K" g Y8 V3 K* H; v
Putt-Putt Enters the Race puttrace 90%
/ P$ S9 a9 [' [' ]Putt-Putt Goes to the Moon puttmoon 95% 4 n6 q D* k! H2 @. N
Putt-Putt Joins the Circus puttcircus 90%
, l9 C/ {5 B! N9 M4 u( Q0 y! GPutt-Putt Joins the Parade puttputt 95%
* p( _7 q8 ~( Y7 p, g% APutt-Putt Saves the Zoo puttzoo 90%
+ N& D4 ]2 S kPutt-Putt Travels Through Time putttime 90% o1 a+ f- V! {6 H. F% K" E5 _0 A
Putt-Putt and Pep's Balloon-O-Rama balloon 90%
; [6 w- \2 |( lPutt-Putt and Pep's Dog on a Stick dog 90% 6 D& B: }, }3 ~7 [. ]7 R) }
Putt-Putt & Fatty Bear's Activity Pack activity 95%
; D+ c9 X* ]- ^: D, V2 A* u9 ?* T. ^Putt-Putt's Fun Pack funpack 95% 3 e" l B/ O; p1 D4 z; e( k1 N: e
SPY Fox 1: Dry Cereal spyfox 90%
( m4 P2 k1 z6 R5 ~SPY Fox 2: Some Assembly Required spyfox2 90% " f; _4 L) r l+ t/ O
SPY Fox 3: Operation Ozone spyozon 70% ( T1 E2 j5 r* c, P
SPY Fox in Cheese Chase chase 90%
5 ]9 T$ p2 X n5 g! R; i bSPY Fox in Hold the Mustard mustard 85% # Z2 Q' w4 }+ X; K
7 d9 `7 C' ]: i; O3 H& b
以下是汉化抓图。 ! H2 t. y, u( d9 g
|