scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
: Q: _" t: f6 \# tHWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)");
% _ j ^' l/ R5 }HDC hdc = ::GetDC(hwnd);
R8 ]: N" R: ZTextOut(hdc,10,10,"中文测试字幕",12);
8 u# R2 S# P1 P。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。 1 p9 F' v* @" l( v; _# U
这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。
* [* W, @, _2 _
2 Y: J/ n* ?8 M% [6 N' s# W; Wscummvm支持的104个AVG游戏如下
! k8 k3 }7 e2 b; u$ Y
! h s9 f! k B+ ?其中比较著名的有9 ~# r+ y$ g" y. F1 c' n+ h: n, w
断剑系列/ V$ G2 I- R _( L. T
猴岛系列 `4 J: A/ a3 V( m4 T }! y
夺宝奇兵系列
z7 |7 ?9 {4 L2 b0 d; v顽皮小精灵Goblins系列# g' `; O) t$ j+ p% V. L
国王密史系列: h5 r% l1 F G) Z
艾维拉系列
: B5 Y! O5 b' I% e! p: r( \+ G2 L太空传奇系列
9 D+ h: B/ k# @( i* n急速天龙' D5 g8 t9 m- b
钢铁天空下1 I [( l3 C+ P5 j% y
第7访客等
, @8 m' A/ L k& x& D0 A: c4 y, S' A1 ]: r/ [) ]% ^
并且还在不断增加新的游戏3 S5 K, r1 @& B$ L
0 W" C; Y; m/ e. |1 b7 K) a3 s0 jhttp://www.scummvm.org/compatibility.php?version=0.13.0
9 X" k, C+ K+ H" @# V2 |. ^0 `) g1 R/ T- ]; P( a1 p
Maniac Mansion maniac 90%
# {+ G% N1 N: @: [: ~7 EZak McKracken and the Alien Mindbenders zak 90%
) \/ Z5 p. d7 C9 U1 I. `" RIndiana Jones and the Last Crusade indy3 90% ( U( s0 B3 g, E0 F, x( {
Loom loom 95% d& V- G" G1 O f
Passport to Adventure pass 95%
$ E( M0 x, N; T( qThe Secret of Monkey Island monkey 95%
' w* g& p& |# p5 n0 q* n% pMonkey Island 2: LeChuck's Revenge monkey2 95%
3 C- [6 L6 Q8 b! E* D, D7 H eIndiana Jones and the Fate of Atlantis atlantis 95%
: C, s7 |, w" Q0 d* }Day of the Tentacle tentacle 95% " X# {6 N7 T$ v7 p
Sam & Max Hit the Road samnmax 95% & O. j: d4 Y2 x6 l" j
Full Throttle ft 90% ; i8 m9 q t6 I" ?$ T j, o; r3 Z2 M" \
The Dig dig 90%
2 o/ |+ ^/ G4 AThe Curse of Monkey Island comi 90% # f6 t/ w0 w& _; H: S
Elvira - Mistress of the Dark elvira1 90%
, k4 x+ d3 V" r9 I' }" H$ |' \Elvira II - The Jaws of Cerberus elvira2 80% . W$ l. P0 y% @
Simon the Sorcerer 1 simon1 95%
; [4 @/ r) {) ?) ySimon the Sorcerer 2 simon2 95%
' `1 p* m5 A: ~ q. OSimon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70%
* a: Y$ p+ ^& d, l% XSimon the Sorcerer's Puzzle Pack - Jumble jumble 70% . @# t5 c3 P& u9 O. h7 |6 |
Simon the Sorcerer's Puzzle Pack - NoPatience puzzle 70% # l6 {( s7 i& e2 u2 H
Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70% ( z# r$ \7 U W- f/ J/ f/ Q
The Feeble Files feeble 95% + V% J- _6 y g4 W/ V [) p# ^+ a
Waxworks waxworks 20%
" z; m v1 `( d& p6 MBargon Attack bargon 95% + H0 z0 a/ ?; a: h/ j) ~ w4 @
Gobliiins gob1 95%
6 \' q! E( r) L7 ~4 KGobliins 2 gob2 95% 5 w1 l- ^6 E* Y( b: h4 u) S
Goblins 3 gob3 95% 6 A) P9 \) g4 R) }* s4 R7 Q( b' v
Lost in Time lostintime 95%
" o4 O( B, J2 p6 `% v o$ d( v- H7 @The Bizarre Adventures of Woodruff and the Schnibble woodruff 90%
% U$ [: [: v9 E T" o& w2 |Ween: The Prophecy ween 95% ( J: [- R2 }# ]5 E+ _3 H6 P$ o
The Black Cauldron bc 90%
9 M4 X0 g1 X4 J+ V* ~) ~1 yGold Rush! goldrush 90% 6 ~: b; |5 p% J( T3 T A: p
King's Quest I kq1 90%
8 l6 G' P& Z, c# aKing's Quest II kq2 90% - p. p1 b' Q( o2 Y1 C
King's Quest III kq3 90% ; Z3 u1 c- {. R) A2 r2 K4 x
King's Quest IV kq4 90% 0 _* Q9 Z2 _2 q) W6 r
Leisure Suit Larry in the Land of the Lounge Lizards lsl1 90% : s, u* C9 N" m0 ]/ h. W
Mixed-Up Mother Goose mixedup 90%
5 G+ v9 [2 x( p1 jManhunter 1: New York mh1 90%
& K2 G" d6 H! V) C0 K% C4 p' lManhunter 2: San Francisco mh2 90% # s6 [/ L9 n+ g2 U$ O
Police Quest I: In Pursuit of the Death Angel pq1 90%
W6 Y ]" k _Space Quest I: The Sarien Encounter sq1 90% + y" ~. b' F# j! \3 d5 M" m7 h! d- P
Space Quest II: Vohaul's Revenge sq2 90%
& X }! ^3 j% t0 j/ u$ s. ?1 g; |Fanmade Games agi-fanmade 80%
0 h H4 w7 U* nMickey's Space Adventure mickey 90%
, d9 q' X! S% |3 N; x3 |* kTroll's Tale troll 80% 8 q1 {! ~0 y5 Q2 V6 [! r
Winnie the Pooh in the Hundred Acre Wood winnie 80%
( A# o2 W U3 S, p2 @% ^3 _% ^Beneath a Steel Sky sky 98% 8 C1 \" }) Q$ W: U
Broken Sword 1: The Shadow of the Templars sword1 98% ; p- U: }0 r: G0 L. K
Broken Sword 2: The Smoking Mirror sword2 98% 2 f) }- Q) P V: c
Bud Tucker in Double Trouble tucker 95%
7 x: W. b. N$ j- lDrascula: The Vampire Strikes Back drascula 98%
' E- q. B6 T% pFlight of the Amazon Queen queen 98%
9 {1 T# U0 k4 d6 `) A HFuture Wars fw 80% # }* c3 E4 c' M5 I
I Have No Mouth, and I Must Scream ihnm 90%
) ]) J% | O3 _9 |2 t$ K: g7 Z. ~1 QInherit the Earth: Quest for the Orb ite 95%
3 |9 l- f1 i& h. V, T* \Nippon Safes Inc. nippon 90%
% @4 ~: Y; G% q" B7 ?/ I" K1 T) rThe Legend of Kyrandia kyra1 87%
" K1 |, { ]0 K8 y4 r# D5 N3 EThe Legend of Kyrandia: Book Two: Hand of Fate kyra2 85% 5 b9 o) L' p6 T- Y( ]1 {
The Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80%
6 D$ R# ?0 P% J) b/ A' fThe 7th Guest t7g 90%
. z1 R8 K& \* w" k5 f" yLure of the Temptress lure 95% 4 u8 k2 e+ ^# Y K+ ]0 C
Touche: The Adventures of the Fifth Musketeer touche 75%
. i7 c+ D' M. m& s2 k1 m: I( Z) KBackyard Baseball baseball 20% * v: s- T/ K s0 F
Backyard Football football 80%
4 k) r( S4 r3 w2 K2 \Backyard Soccer soccer 20% 8 Z; X) n5 r1 N$ @7 x0 n
Bear Stormin' brstorm 95%
( {, C+ j) k8 N2 j, f) l9 i/ |Big Thinkers First Grade thinker1 90%
0 t A+ m; k* Y2 p; Q2 ZBig Thinkers Kindergarten thinkerk 90%
0 w7 L+ h! w6 r, d+ U8 wBlue's 123 Time Activities Blues123Time 90%
0 g+ g3 w; c* f6 q* V* QBlue's ABC Time Activities BluesABCTime 90% " V6 [1 l: g. n/ h8 F p2 q
Blue's Birthday Adventure BluesBirthday 50%
: j7 n. u1 }& |' o, c' ]% A, ~Blue's Treasure Hunt BluesTreasureHunt 50%
" A) b" ]: t3 b H S V7 ?4 G: TFatty Bear's Birthday Surprise fbear 93% 8 F+ c) h. _) } ~ ?: V D
Fatty Bear's Fun Pack fbpack 95%
1 a+ s' `6 d: C1 BFreddi Fish 1: The Case of the Missing Kelp Seeds freddi 90% R1 r5 D" R( O/ S4 e- [
Freddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90%
2 r! e% G: f) T( u" P0 uFreddi Fish 3: The Case of the Stolen Conch Shell freddi3 90% # |3 [7 u$ W, \+ r
Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90%
; y% K, R# p+ r% z$ T NFreddi Fish and Luther's Maze Madness maze 90%
/ O1 L0 `, \# M z7 ~Freddi Fish and Luther's Water Worries water 90%
, n3 {" } ~9 a yLet's Explore the Airport with Buzzy airport 90% 1 ^, J* E @3 J
Let's Explore the Farm with Buzzy farm 90% - ~9 ]; T; I1 ^# R
Let's Explore the Jungle with Buzzy jungle 90%
$ m; Y* {$ n$ x6 y6 w9 v: zPajama Sam 1: No Need to Hide When It's Dark Outside pajama 90% # w$ H D5 t+ E
Pajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90% ) @; ?( Q: a. I: D- N Y& c
Pajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90%
) W+ L& n: _! J4 WPajama Sam's Lost & Found lost 85%
5 Y) I3 o1 s$ c% A1 \% n! c! HPajama Sam's Sock Works socks 90% $ n6 m( J& \- x$ m
Putt-Putt Enters the Race puttrace 90%
% u& s9 A- z! K% V! t; d( W! CPutt-Putt Goes to the Moon puttmoon 95% . j/ Q: e) ^) x" }. a
Putt-Putt Joins the Circus puttcircus 90% + q; S3 O, r8 J) O
Putt-Putt Joins the Parade puttputt 95% / T. f& o0 n" m4 C
Putt-Putt Saves the Zoo puttzoo 90% % {3 F# p4 p8 o5 W8 G# g! a: {' s
Putt-Putt Travels Through Time putttime 90%
' o0 T" }7 n# k" d0 MPutt-Putt and Pep's Balloon-O-Rama balloon 90%
4 y4 I& O/ T- I/ r. `+ e) @+ ePutt-Putt and Pep's Dog on a Stick dog 90%
1 V& y4 G& u: q* }6 aPutt-Putt & Fatty Bear's Activity Pack activity 95% 4 l* y* e2 X2 `/ V
Putt-Putt's Fun Pack funpack 95% : s8 w5 }( z2 b1 I- _3 m
SPY Fox 1: Dry Cereal spyfox 90% 1 D) J5 q6 x; M. W' P# V r
SPY Fox 2: Some Assembly Required spyfox2 90%
, c. M! {# B' tSPY Fox 3: Operation Ozone spyozon 70%
, B$ z; P5 n& ^7 ?SPY Fox in Cheese Chase chase 90% & H( i% \% @& x% \
SPY Fox in Hold the Mustard mustard 85%
! J5 s5 w, ?/ r1 E. H! Y/ h- i( D& e- Z5 C
以下是汉化抓图。
1 i" X) V( Y3 ] e6 U |