scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数 9 w3 o3 Y3 v! z% R2 C
HWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)");
* n- }1 U1 {# _& C+ o, l7 C8 g! Y& }HDC hdc = ::GetDC(hwnd);
* T: B& A& V, t* }* @$ s! ^TextOut(hdc,10,10,"中文测试字幕",12);
/ l' {" o, |2 I( X% _7 k4 S。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。
: A% Q9 s* p& E- v% R/ G0 N8 P1 M' u) p这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。 + I# y6 b( {- I0 `( P z
: c3 Q) ~# C) E% z. w+ u/ R9 s
scummvm支持的104个AVG游戏如下 # E* M$ `7 {8 _" K5 O6 P9 I
* K1 T( |& _ P6 |
其中比较著名的有
1 S- t# m2 C$ s9 ^3 ]6 ? t2 P断剑系列9 d/ `. k, F* k9 b+ A% @
猴岛系列 R# z4 d% z; z2 S3 l
夺宝奇兵系列
! d3 ^8 H* z7 C. X顽皮小精灵Goblins系列6 x& T* b. o; k/ U% y+ U& l2 n5 W2 _
国王密史系列
5 M8 ?. Q% v% b$ _' y艾维拉系列' \) P8 m/ l# }+ c# u
太空传奇系列2 K2 b# l i8 ~& g# O/ s6 H
急速天龙5 _% _- B2 p( F7 B& p% i7 g
钢铁天空下. M8 _4 A. A! E2 d1 R
第7访客等; o9 d/ U& E# `4 j+ X# v% }! }
% O. t% E( ]5 q/ a0 S6 @并且还在不断增加新的游戏
. N$ n( t. B1 M/ ?: A8 l; n
4 g7 R# {6 A. C, ^7 [http://www.scummvm.org/compatibility.php?version=0.13.0
3 C8 H- F, P$ K' O: [) z! V. W, x. z$ A/ g, A0 p8 A. a* n1 |
Maniac Mansion maniac 90% 3 _) Y( K* I+ r5 u$ |- v* ^* T
Zak McKracken and the Alien Mindbenders zak 90%
; h3 \0 b# k+ \. m6 s0 `Indiana Jones and the Last Crusade indy3 90%
5 i! Y4 w" L4 Y! f5 p7 lLoom loom 95% % R6 Y: J+ L9 K
Passport to Adventure pass 95% * y& w E, @. b
The Secret of Monkey Island monkey 95% ! Q; ? i% k' |+ j2 s
Monkey Island 2: LeChuck's Revenge monkey2 95%
+ q4 b2 c1 g! g, c; U+ I4 X9 xIndiana Jones and the Fate of Atlantis atlantis 95% ; ~& C, o& C) t! o; F& C
Day of the Tentacle tentacle 95% # @7 r( _9 {) B. G$ A- `
Sam & Max Hit the Road samnmax 95% ; i' T. R5 Q$ D0 S* v
Full Throttle ft 90%
8 h ^- S/ ^( m% L: z1 {; E1 M/ bThe Dig dig 90%
& Z; ?: D0 N2 l- a ]: i3 y1 IThe Curse of Monkey Island comi 90%
; U' J/ T) D3 H! Z AElvira - Mistress of the Dark elvira1 90% 1 Y) z" Z4 Y2 U+ t; S
Elvira II - The Jaws of Cerberus elvira2 80% L; D$ Y& x7 b
Simon the Sorcerer 1 simon1 95% % [: ~. I* H) r% ]- K* B
Simon the Sorcerer 2 simon2 95%
, a" Q4 M! j6 m' _/ Q7 i) w: tSimon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70%
6 n9 h1 F) l) {7 D" X1 y' wSimon the Sorcerer's Puzzle Pack - Jumble jumble 70%
8 \: `; T8 F4 Z/ Z" k8 z9 r( v0 u5 QSimon the Sorcerer's Puzzle Pack - NoPatience puzzle 70%
# A, l3 H) `! D; | zSimon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70%
+ ?8 l2 s9 y7 k7 P2 fThe Feeble Files feeble 95% 5 i: N& r8 G: q
Waxworks waxworks 20%
: \0 N2 }& }% q6 @/ e' e+ DBargon Attack bargon 95%
$ I2 S4 T- I( D/ H! a# OGobliiins gob1 95%
2 }$ T! P6 ?5 P1 U7 @Gobliins 2 gob2 95% 9 z D3 ?( V/ y" r
Goblins 3 gob3 95%
8 t& y6 k# X* B* `! Y. O0 DLost in Time lostintime 95% * o: V, X$ Z, W8 \# n3 I5 d: A
The Bizarre Adventures of Woodruff and the Schnibble woodruff 90%
- | C* S. ^/ |9 u' P/ H0 cWeen: The Prophecy ween 95% 9 I& c+ ]! I9 ^; s2 \. X; j/ m; b+ t. }
The Black Cauldron bc 90%
4 }$ W% n( G3 }! d+ Z( WGold Rush! goldrush 90%
, k/ }- p, ^2 G2 N4 s/ f# f: zKing's Quest I kq1 90%
$ Z1 ~# t+ n SKing's Quest II kq2 90%
; [- |( I" G) O, z g# ]- A! r3 P, fKing's Quest III kq3 90%
: I! Y- w8 `/ J; f/ j* K# dKing's Quest IV kq4 90% * q( l( ]1 N9 e
Leisure Suit Larry in the Land of the Lounge Lizards lsl1 90%
4 Z2 ]/ Q+ v0 E. jMixed-Up Mother Goose mixedup 90%
3 G& {3 T9 E; tManhunter 1: New York mh1 90% $ I# P2 D! ~" z& z; x
Manhunter 2: San Francisco mh2 90%
/ C% T0 t1 }+ ePolice Quest I: In Pursuit of the Death Angel pq1 90% 6 P' @: m' Y7 ?, `+ T! P
Space Quest I: The Sarien Encounter sq1 90%
: Z6 p2 ]+ [" F5 u4 b3 oSpace Quest II: Vohaul's Revenge sq2 90% / i' e& R+ n/ B" B, M
Fanmade Games agi-fanmade 80% ( I4 B7 a% G" m3 m" L
Mickey's Space Adventure mickey 90%
( w% n g0 W% b8 nTroll's Tale troll 80% ! O& ~' ]$ D0 H5 w) a2 W3 O N* h! j
Winnie the Pooh in the Hundred Acre Wood winnie 80% ( h' J* K+ l2 H. S6 Z
Beneath a Steel Sky sky 98%
1 b& @% e+ I- F4 X1 v0 w' I$ gBroken Sword 1: The Shadow of the Templars sword1 98%
, |0 |8 Y5 V3 VBroken Sword 2: The Smoking Mirror sword2 98% 4 r8 S1 p# t/ R& f. g
Bud Tucker in Double Trouble tucker 95% 5 M' m; P) I+ F
Drascula: The Vampire Strikes Back drascula 98%
9 A( N* s* r$ T8 U7 c2 TFlight of the Amazon Queen queen 98%
% V0 X) Q( t4 g% r) OFuture Wars fw 80%
$ v8 T3 ^. a5 g* a7 ?8 ?. kI Have No Mouth, and I Must Scream ihnm 90% : R3 T. a; X+ Y: ?9 B( t- a
Inherit the Earth: Quest for the Orb ite 95% ( w8 u- w' Q2 Q
Nippon Safes Inc. nippon 90% # z9 ^ \) X0 A- i+ p* b5 p. V
The Legend of Kyrandia kyra1 87% ; V L) x( m+ L* `
The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85%
( o" D8 z6 S( WThe Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80% 8 D4 I/ ]' j# X2 W' ~. ^
The 7th Guest t7g 90% - o$ X+ c7 C3 s6 w1 U6 t
Lure of the Temptress lure 95%
. h- j. u" q' Q' _Touche: The Adventures of the Fifth Musketeer touche 75%
/ f, G) p0 N% O3 Z& _3 nBackyard Baseball baseball 20%
2 O9 u' r6 F R0 Y% h5 }; [Backyard Football football 80%
' K, K6 {6 A) k% z3 N2 O+ h$ rBackyard Soccer soccer 20%
: J7 a! \/ I( q2 K) I0 l5 r0 UBear Stormin' brstorm 95% ) j- J) u# b+ b" L3 S- q i
Big Thinkers First Grade thinker1 90% $ E4 [, y. o. H& Q+ u0 i+ k) j
Big Thinkers Kindergarten thinkerk 90%
6 S% h! r2 N6 d# _+ cBlue's 123 Time Activities Blues123Time 90% ( u9 M0 E0 Y# C2 ~3 t( i
Blue's ABC Time Activities BluesABCTime 90%
+ n$ C5 l$ p1 z7 ?. C" FBlue's Birthday Adventure BluesBirthday 50%
f4 X1 Z8 b5 i0 ?0 ^, yBlue's Treasure Hunt BluesTreasureHunt 50%
/ |/ ~ K/ g; MFatty Bear's Birthday Surprise fbear 93%
$ x. I8 V; l+ Q1 b; g+ b# RFatty Bear's Fun Pack fbpack 95%
% E. _- t, a+ Z+ u. I+ sFreddi Fish 1: The Case of the Missing Kelp Seeds freddi 90%
& H+ Z! I7 L8 T% G$ I9 l9 yFreddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90%
) y# P7 u/ q9 O. W+ P: NFreddi Fish 3: The Case of the Stolen Conch Shell freddi3 90% : K7 \) F# }" h6 A5 Y
Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90% % d6 q) _4 e* M) O% E
Freddi Fish and Luther's Maze Madness maze 90% $ `6 V/ Y4 [" q. Q- {! C
Freddi Fish and Luther's Water Worries water 90% 4 K/ _ {5 f1 r4 Q; h' ]" M
Let's Explore the Airport with Buzzy airport 90% ( I7 |; q) l8 h# t8 w7 F6 E3 n; d+ U
Let's Explore the Farm with Buzzy farm 90%
; L: j4 ?; y) A w+ ?) _3 @3 z4 g* p, FLet's Explore the Jungle with Buzzy jungle 90% # n" z) T* ?; ^$ F2 I/ n" l5 T
Pajama Sam 1: No Need to Hide When It's Dark Outside pajama 90%
' ?1 |7 m: ]3 ]7 ]; T( B( zPajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90%
& U: u5 H" `4 W2 m& V" GPajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90%
0 [; R0 C |4 I! u+ I4 {3 \Pajama Sam's Lost & Found lost 85% * Y2 v8 v( B1 m6 v% _1 \8 G% t
Pajama Sam's Sock Works socks 90%
+ c: ]5 x C5 d+ s& u( p8 @! B" \' J' r- `Putt-Putt Enters the Race puttrace 90%
_* p9 a2 e5 Y0 s9 s4 xPutt-Putt Goes to the Moon puttmoon 95%
4 E3 h, |/ F1 U# j* X5 ~8 pPutt-Putt Joins the Circus puttcircus 90% $ @( @1 q& t9 t- g8 q7 U' Y
Putt-Putt Joins the Parade puttputt 95%
( _! f( L9 h1 a5 Y0 K4 l7 HPutt-Putt Saves the Zoo puttzoo 90% ! W" D, D: N4 S y5 a
Putt-Putt Travels Through Time putttime 90%
5 @/ ^& t/ _0 |6 O2 u RPutt-Putt and Pep's Balloon-O-Rama balloon 90%
9 V8 V, G6 U% J% F0 R- wPutt-Putt and Pep's Dog on a Stick dog 90%
+ B4 Y- j9 O; R6 ?Putt-Putt & Fatty Bear's Activity Pack activity 95%
& e1 K! S3 P3 @. QPutt-Putt's Fun Pack funpack 95%
$ _, g# T/ D' Y# O: jSPY Fox 1: Dry Cereal spyfox 90% ( ~$ J# P* \% P! [ u4 T& }
SPY Fox 2: Some Assembly Required spyfox2 90% 1 n7 Z |' [9 b: h. O
SPY Fox 3: Operation Ozone spyozon 70% 0 {( K- W( V' \
SPY Fox in Cheese Chase chase 90%
9 a! u8 h; S5 C7 [: y' YSPY Fox in Hold the Mustard mustard 85%
- v* `: c8 L) v+ R6 f) a% e$ h) y$ y! P# |) ?1 Y2 E1 N* @' Q$ ]( A
以下是汉化抓图。 7 {! E# U# q7 E1 h( s- ^( E
|