scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数 # y9 m# g1 }4 V! B
HWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)");
& t' `( V% F- x( s7 q7 O" uHDC hdc = ::GetDC(hwnd);
4 y' r+ \5 D3 tTextOut(hdc,10,10,"中文测试字幕",12); * U0 @9 a P" k) f& m
。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。
N: D M5 u8 x7 h这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。
3 P% w O( V, Q( W' _/ r! r' H( H. V/ M
scummvm支持的104个AVG游戏如下
% v4 @- C* E- C. @" ]
# `! V% i9 n1 G2 J4 P其中比较著名的有
8 d! A" m* e* Q% g7 s }+ n3 b; H9 b4 f断剑系列
% \# }7 Y$ n4 v" g猴岛系列
0 e& l: G5 V0 A0 e; Z夺宝奇兵系列
. T# t( @8 }/ v" r& Q$ l) [顽皮小精灵Goblins系列: v- }; {& r6 @$ o- V; f' |
国王密史系列( t$ O; J* Y/ b* V
艾维拉系列6 @8 ]- v1 N1 ]8 X' Q, ` |. j
太空传奇系列+ u3 |1 y+ T9 J8 a" L
急速天龙0 z6 t( x, r( j' F
钢铁天空下0 G- W2 h$ U/ O* x& |. B
第7访客等
" G5 R6 |4 C: T4 r& K' x
/ a% y8 u1 d" S8 y% x& l& S并且还在不断增加新的游戏 S- `+ }) p8 q4 k4 K* _2 ^+ K: R3 i
1 D! w! ]3 U( ]7 j0 f: s1 i9 Ohttp://www.scummvm.org/compatibility.php?version=0.13.0 + _0 Q; y8 [) Q9 c i* v
3 r* O. ^" a2 b# i# e
Maniac Mansion maniac 90%
) k2 Z5 H9 [/ ~0 @% j, _/ OZak McKracken and the Alien Mindbenders zak 90% % q: t. Q2 ]7 a" s# }5 `
Indiana Jones and the Last Crusade indy3 90%
/ b; [" L, X7 s5 w' w! vLoom loom 95% 1 ^* B& K: O: L4 O% f
Passport to Adventure pass 95%
/ }4 C" B& U" L" k8 e e+ mThe Secret of Monkey Island monkey 95% ) y z; |' q/ i r3 l- |+ ~- m0 k
Monkey Island 2: LeChuck's Revenge monkey2 95% 9 x3 e) N; `, g) o% q* g& E" q
Indiana Jones and the Fate of Atlantis atlantis 95% / Z) ^* f) D2 T) Q$ Q; x
Day of the Tentacle tentacle 95% ; j6 p* s: I! }
Sam & Max Hit the Road samnmax 95%
: @3 j! q4 `& o% {! \Full Throttle ft 90% ( q& a- T' z6 d/ A- R( L
The Dig dig 90%
8 V T/ m. Q# O3 }5 JThe Curse of Monkey Island comi 90% : l3 H7 n/ ]5 k% p+ ?* I, m ]
Elvira - Mistress of the Dark elvira1 90%
, `% {) b( f- g. E) L; aElvira II - The Jaws of Cerberus elvira2 80%
! G* t4 {. p1 b( ASimon the Sorcerer 1 simon1 95% ) `! _4 o( y; y) k& C
Simon the Sorcerer 2 simon2 95% ( l- K& F& F: B" S H
Simon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70%
* w6 y) B3 `# d3 R# w2 M& b+ L+ KSimon the Sorcerer's Puzzle Pack - Jumble jumble 70% 1 D8 i P% a! l
Simon the Sorcerer's Puzzle Pack - NoPatience puzzle 70%
4 k& m$ o: @7 c2 |- CSimon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70%
! C3 d* t2 ^3 {The Feeble Files feeble 95% + O [ q( d& O$ U+ n1 l
Waxworks waxworks 20%
: U' d; m+ J' ?Bargon Attack bargon 95%
( h6 S% S' Z6 P9 N/ |9 j9 r& oGobliiins gob1 95%
7 b, s1 F/ H/ U5 f# a RGobliins 2 gob2 95%
5 |) ^4 G) A3 G$ D4 \( EGoblins 3 gob3 95% ( D$ }3 e( j- Y+ y( t5 C& h
Lost in Time lostintime 95%
$ C5 R% J/ w* r( ^The Bizarre Adventures of Woodruff and the Schnibble woodruff 90% 8 f4 ?3 J% R: K) n8 b0 r8 B+ r
Ween: The Prophecy ween 95%
2 o1 j/ c( k) v% F9 W4 v# wThe Black Cauldron bc 90% / C( U3 V) |% ]4 u6 m7 W, C
Gold Rush! goldrush 90% + y4 @+ j. T+ H2 {, U8 ~' t
King's Quest I kq1 90%
# I: s8 b0 W: [- uKing's Quest II kq2 90% ' c4 ]: p4 T, R, L
King's Quest III kq3 90%
$ w2 \0 B8 _, P7 W3 s2 VKing's Quest IV kq4 90%
- f8 k4 m% T& @; b/ i, PLeisure Suit Larry in the Land of the Lounge Lizards lsl1 90%
( u/ {6 u; E' ~/ z/ k/ Q XMixed-Up Mother Goose mixedup 90% 2 T$ i& ~( u& P9 E6 A
Manhunter 1: New York mh1 90% $ R! `+ Y9 l8 t6 p0 g; o
Manhunter 2: San Francisco mh2 90% 0 Q( k' y7 X9 P2 |
Police Quest I: In Pursuit of the Death Angel pq1 90% r6 B) P1 j3 e
Space Quest I: The Sarien Encounter sq1 90%
# `: L, n; B4 `' Z! b, e4 i5 t, BSpace Quest II: Vohaul's Revenge sq2 90%
" @* ~. V/ s6 T8 \Fanmade Games agi-fanmade 80% ' m# [6 G) N1 E% v
Mickey's Space Adventure mickey 90%
3 G1 i1 G0 `# v! _8 vTroll's Tale troll 80%
* r& P6 O' `6 c2 \, k; JWinnie the Pooh in the Hundred Acre Wood winnie 80%
8 E% v& T* _0 Z z# Y" VBeneath a Steel Sky sky 98% # p* v3 D9 j( D* @) V- c! q
Broken Sword 1: The Shadow of the Templars sword1 98%
. H% a" }2 u% h( XBroken Sword 2: The Smoking Mirror sword2 98% , X: r+ C5 W. q0 r! ?& y' ~
Bud Tucker in Double Trouble tucker 95% ; M2 f" E6 q, d# G& G& ?
Drascula: The Vampire Strikes Back drascula 98%
( F1 K3 U% P0 Z/ v, ^$ FFlight of the Amazon Queen queen 98%
- G1 A/ O& `7 f* d: \4 wFuture Wars fw 80% + m( ]6 }8 S# [! y/ w
I Have No Mouth, and I Must Scream ihnm 90%
9 K. N, j3 V- Y+ |6 bInherit the Earth: Quest for the Orb ite 95% 9 _! `$ Z$ V( N4 p) N5 H S
Nippon Safes Inc. nippon 90% 8 X& a6 E+ H2 |' N/ i
The Legend of Kyrandia kyra1 87% ' ]2 A! T% \2 a8 z6 l
The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85% ! e- N' M3 N; A
The Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80%
% _: r6 A& N/ }9 N& ^The 7th Guest t7g 90%
( B6 i; n- W" }+ V2 uLure of the Temptress lure 95%
" \5 N3 i8 }* N$ p. M, jTouche: The Adventures of the Fifth Musketeer touche 75%
6 K: G' Y( f4 VBackyard Baseball baseball 20% ' O1 Y' W, B/ Q8 }7 }
Backyard Football football 80%
, k& f3 e% M: N5 M" _Backyard Soccer soccer 20% * b5 y2 ]! X7 f
Bear Stormin' brstorm 95% & D- e2 _/ ?+ v8 C
Big Thinkers First Grade thinker1 90%
4 X5 H4 s1 R) F% B% }Big Thinkers Kindergarten thinkerk 90%
/ a8 v! c! n+ Y$ ` i* x+ {Blue's 123 Time Activities Blues123Time 90%
8 @3 e9 z! K0 Y# mBlue's ABC Time Activities BluesABCTime 90% / n% F+ v( d1 r. n9 }/ W
Blue's Birthday Adventure BluesBirthday 50%
! X' Q y0 ~( s1 B P) zBlue's Treasure Hunt BluesTreasureHunt 50%
8 h" `- o q; W4 G+ pFatty Bear's Birthday Surprise fbear 93%
# q( w# k9 n1 q8 f# dFatty Bear's Fun Pack fbpack 95% $ R- J% e9 |: q! n( G7 R
Freddi Fish 1: The Case of the Missing Kelp Seeds freddi 90%
) c0 _5 p% H3 S+ G- B. T9 n6 ]Freddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90% 9 A: O/ }0 d8 ~2 {
Freddi Fish 3: The Case of the Stolen Conch Shell freddi3 90%
- D( G' T* v& O3 k7 e' eFreddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90% + f6 T M/ G( u7 M( V
Freddi Fish and Luther's Maze Madness maze 90%
0 h/ d5 @( f& c6 GFreddi Fish and Luther's Water Worries water 90%
9 `- f6 Z1 h7 B% OLet's Explore the Airport with Buzzy airport 90%
) o: F& r5 Q7 cLet's Explore the Farm with Buzzy farm 90%
; \- s" x1 ]" y. VLet's Explore the Jungle with Buzzy jungle 90% $ t9 T$ z# w$ w+ B% D, {8 H
Pajama Sam 1: No Need to Hide When It's Dark Outside pajama 90%
. }0 t& g' ]% h0 o wPajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90% ! Q3 I6 U, b1 Y4 S j
Pajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90% , i* a, e2 B% a. _$ a$ }
Pajama Sam's Lost & Found lost 85% # e- r% X1 Z- I2 B
Pajama Sam's Sock Works socks 90% / g( H" F9 W/ F
Putt-Putt Enters the Race puttrace 90%
3 n, z+ B% {+ d9 Y( T; J* BPutt-Putt Goes to the Moon puttmoon 95%
1 m3 r5 N Z+ f# M. i4 _: IPutt-Putt Joins the Circus puttcircus 90% : L$ m# R6 ^4 E9 z# j8 T# |
Putt-Putt Joins the Parade puttputt 95% 9 X/ I6 s5 N- P/ j# [" a
Putt-Putt Saves the Zoo puttzoo 90%
; p. E1 i) N" @& q6 R+ kPutt-Putt Travels Through Time putttime 90%
; Q. N" |2 J* O( [; DPutt-Putt and Pep's Balloon-O-Rama balloon 90%
; M V" N; \2 R3 N+ L7 DPutt-Putt and Pep's Dog on a Stick dog 90% / T. Z) ?, C! x# u
Putt-Putt & Fatty Bear's Activity Pack activity 95% ! b9 P3 E, \9 G. z
Putt-Putt's Fun Pack funpack 95% 5 q: y" ^0 d. x6 _
SPY Fox 1: Dry Cereal spyfox 90%
0 H) }3 F& H9 c9 O& C( A! dSPY Fox 2: Some Assembly Required spyfox2 90%
+ o" T2 {3 i' z3 \7 H6 I! Y; tSPY Fox 3: Operation Ozone spyozon 70%
1 |8 y" ^+ }8 {1 MSPY Fox in Cheese Chase chase 90% F3 \8 A; [! {* V# V' _ X2 D" f
SPY Fox in Hold the Mustard mustard 85% 9 f' K! x* Y$ A+ e; o$ A5 i
! y# F( m# ]' g以下是汉化抓图。
& S( e. S. Y; M8 R' h( w |