scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
, n! p% A2 v) D' ^' i8 Z, YHWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)"); 5 }) u" ^, G" S; e8 N
HDC hdc = ::GetDC(hwnd);
: L* n. }- F* n! t3 }8 pTextOut(hdc,10,10,"中文测试字幕",12);
3 g$ J3 ]4 z5 s* v+ B2 s2 I。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。 6 G9 k( q) g/ V4 w) m+ _3 ?
这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。
4 B1 @& ~2 c7 M0 m& }
0 {# h3 [* y6 P& ` ?scummvm支持的104个AVG游戏如下 % L0 S* [' D6 x* c2 C
+ T# z: e* }6 u2 _0 u- C/ W其中比较著名的有9 ]" x, K; o) [) [ C
断剑系列
# i* c9 x1 i+ D; i/ e猴岛系列! }, ]9 X4 c; W1 _# U
夺宝奇兵系列9 F- H$ S" d9 g" Q6 k$ O; H: H
顽皮小精灵Goblins系列
5 ~6 r# j4 V N3 S国王密史系列& k# l# `: A/ ~
艾维拉系列
- z9 U) X' z6 S! I- c& \太空传奇系列
$ S4 o; m3 b* B6 q6 m$ ? Y急速天龙! Y. L2 G9 m. \5 x. ~5 z
钢铁天空下
6 v6 v9 |$ y3 I) G" @第7访客等! c0 N2 h, K: k H1 l
- w: f% \4 @- x8 ]( K% a
并且还在不断增加新的游戏
/ y' C. j9 I' B- |5 Z* a: C/ X7 T ], }6 U9 G- C4 m; D- p( ~
http://www.scummvm.org/compatibility.php?version=0.13.0
! W, ~6 ?) q8 ~( k# M i. C' Y- E* d! J C2 Q* Y7 P
Maniac Mansion maniac 90% 5 L$ C' m+ M! J6 o7 Z1 J
Zak McKracken and the Alien Mindbenders zak 90%
6 G+ D5 ]4 Q% ^1 m: D/ CIndiana Jones and the Last Crusade indy3 90%
: ~- V7 Z: K* v: j+ LLoom loom 95%
$ G+ i5 u$ \% ?5 {Passport to Adventure pass 95%
4 i9 i, S3 d0 M) o" L' F& ]The Secret of Monkey Island monkey 95% - h( j2 n- y% `
Monkey Island 2: LeChuck's Revenge monkey2 95% $ o3 N8 k5 M9 a/ V6 h
Indiana Jones and the Fate of Atlantis atlantis 95%
! O8 P3 S/ @! u$ _( ~Day of the Tentacle tentacle 95%
; I4 \2 G7 O7 G% H4 nSam & Max Hit the Road samnmax 95% & c& J4 b8 z4 X( \+ K; ?1 b8 ?( j
Full Throttle ft 90% 7 \( z/ z, ^+ |% D2 {8 z
The Dig dig 90% ! c2 Q- z+ G9 F, ]0 h* F0 [
The Curse of Monkey Island comi 90%
9 X, M' q+ T1 @8 QElvira - Mistress of the Dark elvira1 90%
& w+ {0 U# s# [: p8 E8 t: u& WElvira II - The Jaws of Cerberus elvira2 80%
/ C( C" A. @+ T- t' eSimon the Sorcerer 1 simon1 95% . y# ?9 M L% D9 Z n+ t; q
Simon the Sorcerer 2 simon2 95%
! n/ O" L9 D: ]0 f9 XSimon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70% & I* S' }/ J }7 h. I
Simon the Sorcerer's Puzzle Pack - Jumble jumble 70% 7 h2 [9 l# J/ D2 }) B& w' q
Simon the Sorcerer's Puzzle Pack - NoPatience puzzle 70% 6 L- k& g4 {* m8 h5 u) ?0 j+ m3 B
Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70%
$ [8 P7 j; W2 F* SThe Feeble Files feeble 95% 1 v z7 j( R+ }+ U
Waxworks waxworks 20% 7 d4 o% K ]% E3 g; `1 R/ O9 t
Bargon Attack bargon 95%
. _. [6 \4 c: E$ r8 U. r/ BGobliiins gob1 95%
! @: a h# ~: {) H$ [Gobliins 2 gob2 95% : {8 L9 q# \3 O6 C
Goblins 3 gob3 95% 8 z# Q3 _7 h0 J5 n; I
Lost in Time lostintime 95% 3 k) n9 K& s, U7 V% o' y& Z: C
The Bizarre Adventures of Woodruff and the Schnibble woodruff 90%
0 Y! s) f) C& S3 R9 \Ween: The Prophecy ween 95% # c0 ~+ I9 [! \- p: a6 U, Q
The Black Cauldron bc 90%
# p' h$ [" M' C; T. M0 JGold Rush! goldrush 90% 1 t0 y0 p6 R/ q7 g8 P& a* _9 A
King's Quest I kq1 90%
" S' [5 E& b, \6 O7 a S& I: QKing's Quest II kq2 90%
; P, _- y6 R/ s2 H4 T5 ^' HKing's Quest III kq3 90% & [3 F. C4 }& L; A& T
King's Quest IV kq4 90%
7 h4 d2 M" _& S1 E7 k, Z! ]7 R; uLeisure Suit Larry in the Land of the Lounge Lizards lsl1 90% ! E1 m7 K0 M2 ]* a, m0 P3 V* T: s8 x
Mixed-Up Mother Goose mixedup 90% ; l! ~# |+ y' s! b& ?( T6 a& o
Manhunter 1: New York mh1 90% ! V8 @; V9 U, y: V! y2 {2 B6 c
Manhunter 2: San Francisco mh2 90%
) V0 b; }' g: F0 c. _2 ?" ^# |9 jPolice Quest I: In Pursuit of the Death Angel pq1 90% - H8 @ h! ~: `! c5 }1 G) _. i
Space Quest I: The Sarien Encounter sq1 90%
/ q8 I* B1 w" aSpace Quest II: Vohaul's Revenge sq2 90% ( W& y; m( D$ z f. ]2 W
Fanmade Games agi-fanmade 80% 6 G9 j& z$ q4 T! J. Z( _2 \
Mickey's Space Adventure mickey 90%
2 n0 D7 c f$ C- f$ ^0 bTroll's Tale troll 80%
5 T# ?1 t* O4 q) j0 v" `Winnie the Pooh in the Hundred Acre Wood winnie 80% 2 O) ]" t+ \- }! B. N8 I
Beneath a Steel Sky sky 98% 2 I# X- q2 H; G0 F( `! `
Broken Sword 1: The Shadow of the Templars sword1 98%
* ^* S& H; p$ u! T) _Broken Sword 2: The Smoking Mirror sword2 98% " a+ v6 n) {$ g; J
Bud Tucker in Double Trouble tucker 95%
; L: I8 O6 I# K0 K' h: ~Drascula: The Vampire Strikes Back drascula 98%
# x0 F4 c3 \. ^4 N# GFlight of the Amazon Queen queen 98% , j1 h6 Z, \- r* J* t
Future Wars fw 80%
( X( Q, {3 t' y0 @% {- L6 d8 cI Have No Mouth, and I Must Scream ihnm 90% ! W( Q) M9 X& ` r2 ]9 Z7 O
Inherit the Earth: Quest for the Orb ite 95%
- C/ D6 u7 D. i1 Z" H3 INippon Safes Inc. nippon 90% * t- G* ~7 r0 Q0 k1 e6 Q
The Legend of Kyrandia kyra1 87% 7 b/ A; w3 @% X
The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85% * v. ]3 Z8 p# j$ i$ W3 K- J
The Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80% ' N7 y! T0 y" v* s" w* B
The 7th Guest t7g 90% - h# q: ]! e1 Y, `
Lure of the Temptress lure 95% . m/ {7 M: m$ w/ C8 T- h G2 j
Touche: The Adventures of the Fifth Musketeer touche 75%
% B t1 U4 I6 @3 cBackyard Baseball baseball 20% , N) f- t0 d' N7 D
Backyard Football football 80%
( |2 I- }% v# p; C# dBackyard Soccer soccer 20% . X' E- F1 y9 t( J4 p5 M
Bear Stormin' brstorm 95%
* z2 C2 R; U% w/ ?( n. @Big Thinkers First Grade thinker1 90%
2 P V6 p6 H m: mBig Thinkers Kindergarten thinkerk 90% ) o/ m+ p2 A' C" I
Blue's 123 Time Activities Blues123Time 90%
/ `& |7 d& Q I1 W- T2 \ N1 PBlue's ABC Time Activities BluesABCTime 90% . u2 m" K& G4 k8 q& X
Blue's Birthday Adventure BluesBirthday 50%
: n! @! N& x! h0 c4 IBlue's Treasure Hunt BluesTreasureHunt 50%
- P6 u* M1 M; o1 q5 q9 M: TFatty Bear's Birthday Surprise fbear 93%
" S8 t5 e$ |0 ?1 j3 t4 _Fatty Bear's Fun Pack fbpack 95%
$ r3 l: z/ `. g4 Q. g gFreddi Fish 1: The Case of the Missing Kelp Seeds freddi 90%
- q1 R' ^8 O, pFreddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90% ; P. d5 K4 o! j1 f8 `$ h* @
Freddi Fish 3: The Case of the Stolen Conch Shell freddi3 90%
" ]9 P5 T& ?# n) }6 }Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90%
" p* w& q0 V# g C1 VFreddi Fish and Luther's Maze Madness maze 90%
+ a! U4 ^! x$ u9 D3 ]/ b& @) c6 jFreddi Fish and Luther's Water Worries water 90%
u: n r; o3 ^+ _( M+ `4 iLet's Explore the Airport with Buzzy airport 90%
$ ^4 g8 _( k" m0 u8 i' T' DLet's Explore the Farm with Buzzy farm 90% 1 M7 o! N' `, M P4 X. l+ n) ^+ z
Let's Explore the Jungle with Buzzy jungle 90% 2 z) R0 S% {% b% X% x2 q$ i& D
Pajama Sam 1: No Need to Hide When It's Dark Outside pajama 90% ; e3 }8 n; {0 Q. Z
Pajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90%
J0 ^9 ^& e e" e" WPajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90%
7 v( ?2 ~# I% n/ o5 Q" T6 O; lPajama Sam's Lost & Found lost 85% & V0 c8 f: e8 x
Pajama Sam's Sock Works socks 90%
. u' |1 T" {! _, q7 u8 t8 q" |2 ?Putt-Putt Enters the Race puttrace 90%
8 z* F: B( b6 g7 ?5 ^9 YPutt-Putt Goes to the Moon puttmoon 95%
% W4 d5 |1 m% A, a W) o# VPutt-Putt Joins the Circus puttcircus 90%
/ ?$ G: Q0 e' m! mPutt-Putt Joins the Parade puttputt 95% 6 M7 W. r. e1 C9 @0 d
Putt-Putt Saves the Zoo puttzoo 90% 5 h6 k% A+ x( B
Putt-Putt Travels Through Time putttime 90%
: Q2 E2 w9 l. ~: g, ?Putt-Putt and Pep's Balloon-O-Rama balloon 90%
( M) t; E6 @* y3 H( \: Y; oPutt-Putt and Pep's Dog on a Stick dog 90%
1 L3 B/ e/ E; `* APutt-Putt & Fatty Bear's Activity Pack activity 95%
+ P: p! E, U% r2 Q K- pPutt-Putt's Fun Pack funpack 95%
2 q- k$ R h e2 L9 n. s/ bSPY Fox 1: Dry Cereal spyfox 90% / R# v9 t6 X( C
SPY Fox 2: Some Assembly Required spyfox2 90% I P3 `- t+ ~
SPY Fox 3: Operation Ozone spyozon 70%
$ r& \5 e$ U; f% xSPY Fox in Cheese Chase chase 90% [. k# [& K' k2 o& m W' M% Y
SPY Fox in Hold the Mustard mustard 85% + s' w# H( C5 X8 c" \- W9 |
/ O# w& u! N: z+ K+ y8 \8 j3 R
以下是汉化抓图。
' R2 p9 A+ {& R& f" D |