scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
7 m" r. m. l/ R- S7 OHWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)"); # e9 d0 p7 U* g" ^" y) \
HDC hdc = ::GetDC(hwnd);
" q; K- S2 B* t8 \6 ETextOut(hdc,10,10,"中文测试字幕",12);
( w- D# L+ Q/ F% ^$ B。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。
. h! Y: |1 ?" g这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。
2 u7 U* K% j% S# @9 Y/ c. T% U
+ e' Q x) W# \% D* P1 `; p1 }- uscummvm支持的104个AVG游戏如下
. Y. A# c& M! c- h9 z1 v, i' U
2 {- x1 E3 m" k: i8 z2 \" O2 U& U其中比较著名的有
7 A% X$ I) d/ B; s9 h断剑系列
- A x5 J3 W0 @8 P4 Y" b6 x猴岛系列
$ S5 x$ }' W) u+ w9 l夺宝奇兵系列
9 u4 _4 j! d1 D- I- g C$ K j顽皮小精灵Goblins系列; n0 V0 f( ]: f) x
国王密史系列. c. [, b' ]% J B+ D
艾维拉系列
6 n% o) y- s& Q+ B- D太空传奇系列( c, \" l' X6 ~9 K/ H
急速天龙3 m: M$ p0 u5 J7 U. l- r* \* R
钢铁天空下
! a4 `8 E/ w2 }/ ?) E7 @第7访客等
0 V1 i! r9 k! I1 t. h* D5 V, V) g1 D8 b+ r& G- R
并且还在不断增加新的游戏- q" R# n& S" q* l* }8 n5 [2 V
4 x7 [" Q7 |+ x8 L/ h
http://www.scummvm.org/compatibility.php?version=0.13.0 $ G4 _( X1 M; I. Q/ w0 s
2 P' z5 g6 \- e9 a! ~1 JManiac Mansion maniac 90%
# ^" Z; c" y1 DZak McKracken and the Alien Mindbenders zak 90%
- J4 ?- \5 o& H1 KIndiana Jones and the Last Crusade indy3 90% & Q9 e* w+ @+ G; Z, C; u
Loom loom 95% # ~# I/ w( M ?' l& W
Passport to Adventure pass 95%
" W! q2 _& h$ ~The Secret of Monkey Island monkey 95%
- D9 E. Y8 \0 p$ @7 D5 OMonkey Island 2: LeChuck's Revenge monkey2 95% K' }7 C& _- X
Indiana Jones and the Fate of Atlantis atlantis 95% / f6 y$ X& N; l8 A
Day of the Tentacle tentacle 95% , L7 x2 L/ q' d8 s9 \3 a
Sam & Max Hit the Road samnmax 95%
2 J F3 D( H) Z3 h F PFull Throttle ft 90%
- j+ g+ p& v' C9 Y1 W" a% FThe Dig dig 90%
/ W2 G1 v, R4 S$ eThe Curse of Monkey Island comi 90%
% Y$ L w E( |9 r+ ]Elvira - Mistress of the Dark elvira1 90% ; {0 Z V9 s$ ]/ c- t* T; T* v
Elvira II - The Jaws of Cerberus elvira2 80% * Z' O* W4 y8 I0 R& X/ a
Simon the Sorcerer 1 simon1 95%
7 e- v8 D7 a3 P) `9 C: kSimon the Sorcerer 2 simon2 95% / Y8 Q& K9 I4 t5 C, A
Simon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70% + ]+ s6 k3 _: k- a: Y, [2 W
Simon the Sorcerer's Puzzle Pack - Jumble jumble 70%
" k; @1 R! }/ Y$ k1 k* XSimon the Sorcerer's Puzzle Pack - NoPatience puzzle 70%
$ Y% ^" J! x4 d8 V# d$ E8 w7 @Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70%
z4 T2 _9 G1 W7 e. U1 PThe Feeble Files feeble 95% 7 h/ Z/ o( W3 g* K/ o" ^
Waxworks waxworks 20% $ T$ S* J% K/ J7 o# M0 D4 }. g
Bargon Attack bargon 95%
! |- M5 D: A% V! _* G' wGobliiins gob1 95%
! u% b* c% A$ m. ^Gobliins 2 gob2 95%
5 k3 o4 r4 \% r7 ?4 k# cGoblins 3 gob3 95% # D) U1 q3 b( r6 z) e
Lost in Time lostintime 95%
' w6 x% Z+ q H( Y( t. ^: hThe Bizarre Adventures of Woodruff and the Schnibble woodruff 90%
& h7 S+ G, K) e4 OWeen: The Prophecy ween 95% ; V( h1 N6 G. v( [; z+ ~
The Black Cauldron bc 90%
; \& x; Q: H* c! A& tGold Rush! goldrush 90% , w' S c/ R& E/ ]
King's Quest I kq1 90% - K" F$ A3 E# h+ z# v! j, u
King's Quest II kq2 90%
! i# e( [) j6 }4 R: [# yKing's Quest III kq3 90%
' Y6 Y9 g5 U+ a* lKing's Quest IV kq4 90% 1 U) s0 h1 |; p
Leisure Suit Larry in the Land of the Lounge Lizards lsl1 90% : T+ Q( E4 h: X( N
Mixed-Up Mother Goose mixedup 90% 1 V* [8 N8 i/ g3 g. A; s: p
Manhunter 1: New York mh1 90%
) ~' J3 ? `7 c; |Manhunter 2: San Francisco mh2 90% 2 l p9 R4 G8 K
Police Quest I: In Pursuit of the Death Angel pq1 90% $ W" T8 `9 q7 m" j' s$ w2 |* M
Space Quest I: The Sarien Encounter sq1 90% - L& Z+ U3 I5 v$ n% i
Space Quest II: Vohaul's Revenge sq2 90%
. }6 H. M) u0 R: J/ WFanmade Games agi-fanmade 80%
* R/ a5 S4 T$ I- cMickey's Space Adventure mickey 90%
$ K' b9 p0 o8 P# dTroll's Tale troll 80% 6 O2 _/ w! v$ Y) {' R
Winnie the Pooh in the Hundred Acre Wood winnie 80% , n- `1 \7 s& G" }" @3 K
Beneath a Steel Sky sky 98%
; W9 |# g8 q& }" R1 ?& u+ _4 f0 |Broken Sword 1: The Shadow of the Templars sword1 98% 1 y# r9 G, ~& }1 _% f$ u$ G
Broken Sword 2: The Smoking Mirror sword2 98% 7 @- ]0 w, b& o+ a- N0 i+ D }5 k+ U
Bud Tucker in Double Trouble tucker 95%
' j; b9 g1 `6 A8 v- v0 r7 l9 ~Drascula: The Vampire Strikes Back drascula 98% " p* w2 K/ f T' d% y
Flight of the Amazon Queen queen 98% v7 P% Z" J% C, b$ S0 S0 f/ M5 @! A, W
Future Wars fw 80% " ]' L u5 E0 T( n4 }
I Have No Mouth, and I Must Scream ihnm 90%
- [ W2 E2 F2 TInherit the Earth: Quest for the Orb ite 95%
/ ^7 b7 D t5 `, A7 ?" j2 qNippon Safes Inc. nippon 90% 7 e* V( j1 E& q& {* e6 C( z
The Legend of Kyrandia kyra1 87%
* p( n9 {' z! s0 @% C! ]The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85% & [- L, U7 ~% i0 f) m: I# U" t
The Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80%
8 j9 d( X7 q0 q/ C# S& A z2 {3 ~The 7th Guest t7g 90% * V$ H2 s- Z) ^: y8 I+ O% g A# Y
Lure of the Temptress lure 95%
3 J5 K, R8 a- R& oTouche: The Adventures of the Fifth Musketeer touche 75% 6 v/ @& ]4 E, c6 A9 d
Backyard Baseball baseball 20%
?9 ?+ {. r/ c; XBackyard Football football 80% 6 L0 b, x6 P. J( F% R% u
Backyard Soccer soccer 20% _& v6 p4 E- y; R2 w
Bear Stormin' brstorm 95% 6 A+ N1 Y) ]& m# y
Big Thinkers First Grade thinker1 90%
/ H" u* P9 F* Y$ g* ~Big Thinkers Kindergarten thinkerk 90%
" ^5 g5 O7 i( f Y: F, s" I: EBlue's 123 Time Activities Blues123Time 90% ! B$ l% A8 _* U' y' o
Blue's ABC Time Activities BluesABCTime 90% 2 o3 c2 E$ i$ ]+ G0 m
Blue's Birthday Adventure BluesBirthday 50% 6 b5 N5 _, \9 v) P3 j
Blue's Treasure Hunt BluesTreasureHunt 50% : ?& ~3 ?$ \* X$ ?! n
Fatty Bear's Birthday Surprise fbear 93% 3 F" w& h8 A M- |1 k
Fatty Bear's Fun Pack fbpack 95% & @" C6 [9 ~9 @) z3 { q& M
Freddi Fish 1: The Case of the Missing Kelp Seeds freddi 90%
' j8 {+ S4 x1 p, h6 MFreddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90%
* D$ @4 y% M( ~/ @Freddi Fish 3: The Case of the Stolen Conch Shell freddi3 90%
6 V* g5 k. v$ \! w1 s) F/ [1 G2 \4 PFreddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90%
b- y7 z/ J) P: r' x( wFreddi Fish and Luther's Maze Madness maze 90%
' X( w3 E. L/ O3 u zFreddi Fish and Luther's Water Worries water 90% 5 o" x8 z8 W! A! E% g' J/ J
Let's Explore the Airport with Buzzy airport 90% : _' N' f+ Z1 w6 t5 p. H
Let's Explore the Farm with Buzzy farm 90%
$ T! H6 p: S( W8 E$ Y# nLet's Explore the Jungle with Buzzy jungle 90% ! b2 N* [% L/ k; z4 J
Pajama Sam 1: No Need to Hide When It's Dark Outside pajama 90%
1 c1 L& P# }6 \, y e' c; ]Pajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90%
) c3 B6 p) D% hPajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90%
8 @+ o5 V" t, _) K! Y8 ]Pajama Sam's Lost & Found lost 85%
* A' b$ [4 t- bPajama Sam's Sock Works socks 90% 9 H' I6 \; I( A/ O! [# c
Putt-Putt Enters the Race puttrace 90% $ {% c" ]" r4 f; n' @
Putt-Putt Goes to the Moon puttmoon 95% " l) Z7 U [+ P: K
Putt-Putt Joins the Circus puttcircus 90%
, L/ ~+ }- ?; q N% c" T. xPutt-Putt Joins the Parade puttputt 95% 1 P: J8 N. r* d- O% ~
Putt-Putt Saves the Zoo puttzoo 90% & A2 l3 a, E2 a6 I1 h
Putt-Putt Travels Through Time putttime 90%
0 I: {8 ?. E. m8 ` R% V' k$ ]. YPutt-Putt and Pep's Balloon-O-Rama balloon 90%
/ l( n/ x$ f8 i- t+ m3 W1 UPutt-Putt and Pep's Dog on a Stick dog 90% . h* _7 V8 J- b- R3 S" g
Putt-Putt & Fatty Bear's Activity Pack activity 95%
" m$ m( Y0 Q: t% V) rPutt-Putt's Fun Pack funpack 95% 0 W$ F8 B% Y! ]: U
SPY Fox 1: Dry Cereal spyfox 90% & Q; ?- d6 W+ C
SPY Fox 2: Some Assembly Required spyfox2 90%
# _: o' [3 A" W' K* j, O8 | WSPY Fox 3: Operation Ozone spyozon 70% ) A/ ]& [% |: ~$ K/ q; { F f) }
SPY Fox in Cheese Chase chase 90%
4 X5 w& D( g; t* HSPY Fox in Hold the Mustard mustard 85% 0 p+ Y) h2 l9 ?! |
8 d5 O q. U* G2 T1 `
以下是汉化抓图。
( r1 A5 Y# T4 `$ ?7 z |