scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
% G3 m& D4 y0 f- t1 _HWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)"); 1 K. d% ? w0 O3 h( \
HDC hdc = ::GetDC(hwnd);
7 |* `8 v+ o2 }TextOut(hdc,10,10,"中文测试字幕",12); : V2 n" ~6 H+ Q
。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。 0 M) O' ~# H& v" j/ Q( W" [
这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。
- H& E i8 ~& ~0 E
/ W0 t( [- t3 p Kscummvm支持的104个AVG游戏如下 9 J7 L3 F" C4 o- [, o% z
: X) ?% l) D* o5 X" C, ^9 C- Q其中比较著名的有 w( }, l( z* a6 h- N7 K6 B
断剑系列7 Y5 B' k: ~5 t1 f5 m) t! v8 l
猴岛系列
+ ]2 o( U" \: }9 L4 R6 _夺宝奇兵系列
* p) z) O* i% H8 O: G0 l9 `. i' b- m顽皮小精灵Goblins系列3 X6 o9 B% {5 O2 n9 m- l) n) w% M3 _- H
国王密史系列, O0 u% c* C8 D
艾维拉系列' s8 ] m; L# n5 E, l( k
太空传奇系列' S1 q2 O2 ?% ^/ \* G9 L& g7 J3 y
急速天龙 ~4 E* k; }0 F! a
钢铁天空下& w) ?" l7 ^% h
第7访客等
3 Q# A& Y6 g# K. r d, }
/ ]4 p2 O& ]6 u9 l7 a并且还在不断增加新的游戏( u7 x% y' a, u
3 |$ U2 ^. b& d8 W0 `* ?9 v
http://www.scummvm.org/compatibility.php?version=0.13.0
7 |/ L7 k# r& M
: _. a3 C. B7 nManiac Mansion maniac 90%
: k- l+ r$ K5 d, Q( v1 jZak McKracken and the Alien Mindbenders zak 90%
6 u8 F- O+ A9 ~Indiana Jones and the Last Crusade indy3 90% ! `, w P$ K- ~8 u! C# z
Loom loom 95% + m) i6 [# w. X9 c4 E/ z5 C
Passport to Adventure pass 95% " |: d' x% `1 r$ l( x$ `. C
The Secret of Monkey Island monkey 95%
9 M3 Q5 K C( d9 N, u+ [) vMonkey Island 2: LeChuck's Revenge monkey2 95% - Z- v2 i2 Z* b5 ?3 s4 U
Indiana Jones and the Fate of Atlantis atlantis 95%
' ?" n% X1 Z5 ^ z GDay of the Tentacle tentacle 95%
% B( A& n5 |5 _# M! @" P( h ZSam & Max Hit the Road samnmax 95%
. |$ X. k/ ]* Q6 H/ `5 E$ j1 X& J+ oFull Throttle ft 90% ) q3 I/ x: M& I, j: b+ O& G
The Dig dig 90%
# f% k7 L8 J$ s* \6 e" p6 o8 }The Curse of Monkey Island comi 90%
+ l5 K; ~( g5 v6 p. RElvira - Mistress of the Dark elvira1 90%
* l0 p2 ?& r& s" aElvira II - The Jaws of Cerberus elvira2 80%
& O S7 o {2 L! J( x% nSimon the Sorcerer 1 simon1 95% 5 j* J3 r2 T3 B; k
Simon the Sorcerer 2 simon2 95% & r3 e3 G8 ?2 P, b) f- X
Simon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70% ; i) i+ P! A3 S ~. }. \+ q" U1 t
Simon the Sorcerer's Puzzle Pack - Jumble jumble 70% S( j) k2 W$ s5 x7 I/ f7 p
Simon the Sorcerer's Puzzle Pack - NoPatience puzzle 70%
1 J" i0 }, c: s, c- xSimon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70%
" g9 q8 H0 k4 Y& [* n2 JThe Feeble Files feeble 95%
5 U* ]9 }4 S2 R0 HWaxworks waxworks 20%
# D$ j! @ l2 T" OBargon Attack bargon 95% 4 l! m7 `/ v6 a
Gobliiins gob1 95% , X2 c+ q' d1 K) J4 @, z% r/ F% h
Gobliins 2 gob2 95%
2 L/ k9 j' y( VGoblins 3 gob3 95% 8 s2 H# x, V4 y# }% }
Lost in Time lostintime 95% / ?2 m: }% t* a' W% S% F
The Bizarre Adventures of Woodruff and the Schnibble woodruff 90% " C% j L: e: c- ^5 c! d9 j! c
Ween: The Prophecy ween 95% 6 N; J* v$ H9 Q) D
The Black Cauldron bc 90%
* `$ C/ W- [& XGold Rush! goldrush 90%
3 N( N& P$ E6 j( U2 q4 B$ i, TKing's Quest I kq1 90% 3 z, |5 H, X' ]- p: D
King's Quest II kq2 90%
" C1 L* |% @9 a2 T4 KKing's Quest III kq3 90% 5 X8 X+ Y4 a+ P; f+ [2 f
King's Quest IV kq4 90% 2 F* N& ^1 j, C! i: |; J8 V4 M I: K
Leisure Suit Larry in the Land of the Lounge Lizards lsl1 90% / q) l) Y: w" ^" V
Mixed-Up Mother Goose mixedup 90%
, A+ k4 V3 y" k/ e8 s1 ?Manhunter 1: New York mh1 90%
7 ?) t+ J9 C& \3 fManhunter 2: San Francisco mh2 90% ! u- }0 K, x. u3 c7 T. r2 B0 m
Police Quest I: In Pursuit of the Death Angel pq1 90%
, m2 X1 U6 m8 i" ~Space Quest I: The Sarien Encounter sq1 90%
5 _3 D/ ~; b! S" n% bSpace Quest II: Vohaul's Revenge sq2 90% 0 p6 ^" C6 o+ s' e! \( W9 I- G
Fanmade Games agi-fanmade 80%
* F, _5 w5 q C/ K- VMickey's Space Adventure mickey 90% / A- ?; c6 F* m. B: H0 ]- f
Troll's Tale troll 80%
8 x# x+ m5 R6 T6 yWinnie the Pooh in the Hundred Acre Wood winnie 80%
5 N$ V+ x- a7 S5 p" v# _2 ?Beneath a Steel Sky sky 98% 2 w4 o4 {$ w) N/ j# A" Z8 R
Broken Sword 1: The Shadow of the Templars sword1 98% 5 k! g C7 P* r$ d/ J
Broken Sword 2: The Smoking Mirror sword2 98% $ J5 ?2 n; U; d% |$ B
Bud Tucker in Double Trouble tucker 95% 3 z* `/ t9 J" i7 }, j5 h) j. b
Drascula: The Vampire Strikes Back drascula 98%
3 g, {: x/ O% m' ?0 p+ Z- aFlight of the Amazon Queen queen 98%
- M/ o! P7 H& _ f/ CFuture Wars fw 80% 3 q* T( a- C4 I* `" K/ _8 Z; @
I Have No Mouth, and I Must Scream ihnm 90%
1 p: }4 q( I8 D9 }7 {Inherit the Earth: Quest for the Orb ite 95% / h$ b- {# S' r8 `
Nippon Safes Inc. nippon 90% & H ~2 E. E* u( z
The Legend of Kyrandia kyra1 87%
! N9 s; |; ~+ E! TThe Legend of Kyrandia: Book Two: Hand of Fate kyra2 85%
5 V# y( P* ^0 a6 U5 ZThe Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80% " S; A2 g3 \4 t" u$ p
The 7th Guest t7g 90%
. x: G# l1 d# C( BLure of the Temptress lure 95%
2 b4 [' R; [* ]5 ~1 X2 K. l; ~Touche: The Adventures of the Fifth Musketeer touche 75%
& d+ V: Z. x" C$ ~Backyard Baseball baseball 20% ; Q# u& u/ D( |# b2 p+ a: M! ^2 K
Backyard Football football 80%
7 r0 U5 s, o/ j' s: p5 mBackyard Soccer soccer 20% , H( V. ^! z% f: j" @7 ?8 w% J
Bear Stormin' brstorm 95%
# v% h) u- i2 u% R7 S$ `+ B( gBig Thinkers First Grade thinker1 90%
( _' X' B9 f! Y$ oBig Thinkers Kindergarten thinkerk 90%
4 h2 [3 l% ~2 z* LBlue's 123 Time Activities Blues123Time 90% 6 D; B% h/ y" U$ f
Blue's ABC Time Activities BluesABCTime 90%
4 i: C) C1 W+ p- O6 b. e4 \/ Q1 X, kBlue's Birthday Adventure BluesBirthday 50% , e* m- o$ ~4 \' B- D
Blue's Treasure Hunt BluesTreasureHunt 50%
; X; W1 {+ v3 @) n u: cFatty Bear's Birthday Surprise fbear 93%
% ^! `3 u# t; ?! J6 ^/ W6 H8 IFatty Bear's Fun Pack fbpack 95%
# N) V# U' R# P7 iFreddi Fish 1: The Case of the Missing Kelp Seeds freddi 90%
& @, ]% t( Q# U5 F5 J4 X/ R& q7 bFreddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90%
, _& G2 S4 S1 a+ D& `Freddi Fish 3: The Case of the Stolen Conch Shell freddi3 90% / c- l3 A. d. x* F3 p( s9 B; m7 e
Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90%
& e/ d7 @+ ^3 m3 P) G5 }# r+ DFreddi Fish and Luther's Maze Madness maze 90%
$ T+ `7 u [, O6 u5 {0 B: \1 T% W3 zFreddi Fish and Luther's Water Worries water 90%
* N3 t: i$ {0 ?3 }Let's Explore the Airport with Buzzy airport 90%
6 j, ~, {. {4 NLet's Explore the Farm with Buzzy farm 90%
4 z3 [8 A: p' n* YLet's Explore the Jungle with Buzzy jungle 90% ! z) ?8 ~. S% a8 l! ?6 l# H
Pajama Sam 1: No Need to Hide When It's Dark Outside pajama 90%
/ k" m6 N2 @% g& V6 h( ]Pajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90% 0 I( o Z5 ~6 @7 X6 s$ B
Pajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90% 7 P/ j4 R( D' k* ~
Pajama Sam's Lost & Found lost 85%
/ ]% n3 R9 C7 a/ U8 lPajama Sam's Sock Works socks 90%
2 d$ H* i7 J* M) j" @9 O, U/ [Putt-Putt Enters the Race puttrace 90%
c! | _6 i$ NPutt-Putt Goes to the Moon puttmoon 95% 8 l# M9 C }* Q# r
Putt-Putt Joins the Circus puttcircus 90% : x, ^8 I: h9 @6 \0 x
Putt-Putt Joins the Parade puttputt 95% . @+ g2 T2 ]% ^! X
Putt-Putt Saves the Zoo puttzoo 90%
; S( x- K; R* E2 H/ Y4 s5 A( S3 LPutt-Putt Travels Through Time putttime 90%
; m+ d& f' {; l" H# _2 B# tPutt-Putt and Pep's Balloon-O-Rama balloon 90%
$ }/ V6 I9 y0 h1 dPutt-Putt and Pep's Dog on a Stick dog 90%
& M# m5 G9 t2 ]/ pPutt-Putt & Fatty Bear's Activity Pack activity 95% . T% s) I' v) f$ Z) |: q% v! ^
Putt-Putt's Fun Pack funpack 95%
* ]% F) r" s- b- ~# b: F9 gSPY Fox 1: Dry Cereal spyfox 90% 7 {3 K: @% e; B' v' _5 |" I; a
SPY Fox 2: Some Assembly Required spyfox2 90% ! h$ C1 n3 q1 K& K: J2 }
SPY Fox 3: Operation Ozone spyozon 70%
) F4 B7 Z7 u# l8 q% D1 wSPY Fox in Cheese Chase chase 90%
) J1 f* }% c8 g8 iSPY Fox in Hold the Mustard mustard 85%
- e8 r! r0 q$ k- f2 [8 v
- J. G& f: T( O# R% L; I以下是汉化抓图。
9 w, {) O4 F' ^3 e0 j/ R( L, ^: I |