scummvm系列游戏汉化终于基本实现了。 其实使用的技术非常简单。就是在每个游戏的显示函数里面加上一段中文显示函数。 大概是下面的样子。找到模拟器的窗口句柄,往上面写字就行了。 void Display::drawText(uint16 x, uint16 y, uint8 color, const char *text, bool outlined) { ''这里是中文字幕显示函数
$ e8 p3 B1 Q( \, _ aHWND hwnd =FindWindow(NULL,"Flight of the Amazon Queen (Talkie/DOS/English)"); 5 K' Q8 B v6 q+ Q- d! l/ r0 V
HDC hdc = ::GetDC(hwnd); # `0 d3 p+ m" }' ~
TextOut(hdc,10,10,"中文测试字幕",12); 5 Y+ j" }) D+ Q' A
。。。 } 注意在加中文字幕显示函数的CPP文件里要加上#include <windows.h>。 在scummvm的linker里要加上gdi32.lib user32.lib的支持。
$ r. ^6 O/ |, k, U' `6 s这样的话,scummvm支持的104个AVG游戏(包括断剑1,2,猴岛1,夺宝奇兵系列等)就都有可能汉化了。目前只是实现了关键的技术。还有一些细节问题,比如字体显示的风格,字幕的解包等等。不过这都不是大问题。 ) s% r8 d3 T, j+ e3 j9 k/ L% _
) X: Z$ i( k) n6 s$ Mscummvm支持的104个AVG游戏如下
- N- n. J5 I- h/ m2 l+ Q4 S4 f5 X' D# S1 J' n6 G
其中比较著名的有
E! M9 l, m0 R- B$ z: i# H断剑系列
' [1 |1 i4 d/ i! f: L猴岛系列
8 @( n( z& U" u& h$ M6 ?夺宝奇兵系列- u/ `& r( t- R7 E6 I3 `( _$ m
顽皮小精灵Goblins系列" k A. A- M* o" h/ b
国王密史系列
5 A, v0 [/ k6 ]- z; t L I艾维拉系列
+ W2 N- }* j1 V& j6 X L" D& O6 R+ ^太空传奇系列: ]3 [6 U1 o! r8 B7 @) e( O
急速天龙0 [2 g( Q# T: k! s8 T1 f' F c/ m% m
钢铁天空下
: ?+ _7 ?7 h8 [# ]4 e5 U第7访客等
3 ]7 Z% O/ {( Z8 J0 V' q5 [1 N. ~7 [3 B5 C$ @) b9 J
并且还在不断增加新的游戏
1 w, E0 r4 v2 J$ J) D& N- {; C* @% Q% q
http://www.scummvm.org/compatibility.php?version=0.13.0
* R d( J# a9 @9 L4 O5 c6 @+ B
; B$ _* z1 ?3 S, m5 m' [4 O2 pManiac Mansion maniac 90%
8 A, @6 X& [' l& _( i, w3 YZak McKracken and the Alien Mindbenders zak 90% 6 Y2 O0 N4 i5 e: T
Indiana Jones and the Last Crusade indy3 90%
3 }: {% R z8 J( Y3 TLoom loom 95%
7 f+ Q2 D* J, h$ G4 RPassport to Adventure pass 95% ! J0 m, y( h, I. l; h
The Secret of Monkey Island monkey 95% " u5 t% x1 Q( g" }
Monkey Island 2: LeChuck's Revenge monkey2 95%
4 u7 G: [8 p% ^* Y! o- o; g, zIndiana Jones and the Fate of Atlantis atlantis 95%
1 l6 f" c/ }) _/ M* D$ _( CDay of the Tentacle tentacle 95% 9 v; {9 h4 n2 i1 N2 y5 u( A7 k
Sam & Max Hit the Road samnmax 95% ; O T7 \" a9 ^- E1 t
Full Throttle ft 90% 1 W9 @9 }& j3 |" }
The Dig dig 90%
6 n" M7 v" B5 y+ }. |The Curse of Monkey Island comi 90% Y1 G1 E+ }, e) ?: i h
Elvira - Mistress of the Dark elvira1 90%
9 m' G4 g/ m- @3 |Elvira II - The Jaws of Cerberus elvira2 80%
. [4 u; n* @% U% F4 O7 `Simon the Sorcerer 1 simon1 95% 2 D4 }" |" |1 C8 ?" X! l; c
Simon the Sorcerer 2 simon2 95%
, `, a) | u( N. ^# D2 bSimon the Sorcerer's Puzzle Pack - D.I.M.P. dimp 70%
# ~, E3 x% L. n% }3 `/ i1 X+ HSimon the Sorcerer's Puzzle Pack - Jumble jumble 70% , O8 b) W$ C7 s5 ^
Simon the Sorcerer's Puzzle Pack - NoPatience puzzle 70% 3 F* ~* T, F8 p
Simon the Sorcerer's Puzzle Pack - Swampy Adventures swampy 70%
6 X. V+ H( {9 K: QThe Feeble Files feeble 95%
) f" G% l* q: x; U2 h' O& yWaxworks waxworks 20%
8 ^- k) q! G# f" _, T3 zBargon Attack bargon 95%
& B! i# ]+ {' M: s( M4 L) BGobliiins gob1 95%
k7 t3 o5 ? i/ ZGobliins 2 gob2 95%
" j1 h) g ~$ j3 gGoblins 3 gob3 95% 2 b! ]( U) C4 e& @) |3 H! a: B
Lost in Time lostintime 95% ) J% G& }& a. |1 o' N9 ^
The Bizarre Adventures of Woodruff and the Schnibble woodruff 90%
9 \9 h; x8 b3 ?9 _! CWeen: The Prophecy ween 95%
& T: t u, R# h7 g# n# ~2 A8 {The Black Cauldron bc 90% 3 Z+ k# W1 c6 q( N* i
Gold Rush! goldrush 90%
- c2 s0 r# t& F0 QKing's Quest I kq1 90% ' l3 g& d8 N+ E/ w4 {: @
King's Quest II kq2 90% ! Z, P6 b) H8 Z( M' Y
King's Quest III kq3 90% 8 \& R3 n) ~; ` V7 N
King's Quest IV kq4 90% * \9 ?* L% n% {% _$ D9 @4 g6 V
Leisure Suit Larry in the Land of the Lounge Lizards lsl1 90%
- u4 Q" l' K/ o5 Q1 tMixed-Up Mother Goose mixedup 90%
$ r2 u1 [7 N* Z6 I0 u# oManhunter 1: New York mh1 90% 1 ?9 W' K8 c" T5 U- O1 U
Manhunter 2: San Francisco mh2 90%
1 ]0 B5 N1 I$ K- i* v% v0 UPolice Quest I: In Pursuit of the Death Angel pq1 90%
# f3 T/ T9 S) @; c6 hSpace Quest I: The Sarien Encounter sq1 90% 1 {3 L2 u4 e t& m n5 l
Space Quest II: Vohaul's Revenge sq2 90%
& f: ~+ h0 I' {9 Z' L* F5 Y3 B: ~Fanmade Games agi-fanmade 80% ) Y5 u- F" ?- u2 H4 Y0 e
Mickey's Space Adventure mickey 90%
2 q. P9 G, m/ o: V( kTroll's Tale troll 80%
4 |* _/ n; n7 B: aWinnie the Pooh in the Hundred Acre Wood winnie 80% 3 i+ |1 R v( N' t" W; q. ^) |9 c
Beneath a Steel Sky sky 98% ( s% \( f: `* x2 ^' U
Broken Sword 1: The Shadow of the Templars sword1 98% 8 E* }1 J' ]' m9 C+ c; L5 n
Broken Sword 2: The Smoking Mirror sword2 98%
# E9 E0 x+ v, r: nBud Tucker in Double Trouble tucker 95%
6 A' k: R3 d, S& }( g' VDrascula: The Vampire Strikes Back drascula 98%
% L5 P) \& e/ U9 X4 cFlight of the Amazon Queen queen 98%
, F$ r9 f9 _' I& t0 ?Future Wars fw 80%
n, q6 f) M" {0 ]8 d/ @5 z- bI Have No Mouth, and I Must Scream ihnm 90% # y2 Y+ {0 O! Y3 g# D. n
Inherit the Earth: Quest for the Orb ite 95% ! y8 B0 v3 E0 @( b- V- k5 X
Nippon Safes Inc. nippon 90%
! C, G3 S# ^& l9 e2 lThe Legend of Kyrandia kyra1 87% ; g- d- l5 p6 A4 w% ]. O
The Legend of Kyrandia: Book Two: Hand of Fate kyra2 85% $ Y! h2 m6 u' n) F! w- w5 L
The Legend of Kyrandia: Book Three: Malcolm's Revenge kyra3 80%
# {7 \0 ^2 c1 D* z# }The 7th Guest t7g 90% % G: q9 L9 n" U4 V! C$ |
Lure of the Temptress lure 95%
' o( A" b6 j: E" Y& U0 \Touche: The Adventures of the Fifth Musketeer touche 75% & L" q$ o. t. U9 J$ o% X
Backyard Baseball baseball 20% : S* H8 |' {, \+ r* o" ]0 W% i u
Backyard Football football 80%
t7 A! [& r5 A g! KBackyard Soccer soccer 20% , k5 A Z8 x( y) |& t- A8 _
Bear Stormin' brstorm 95%
; v5 Q8 X( Z9 f' ?& W5 ZBig Thinkers First Grade thinker1 90% 5 @* W3 o) |* v- m
Big Thinkers Kindergarten thinkerk 90%
7 k6 @4 a1 B8 J% `; b) k1 x/ oBlue's 123 Time Activities Blues123Time 90% 8 \2 h$ _; n% V% j2 e+ \; G* ^# B* f. H
Blue's ABC Time Activities BluesABCTime 90%
+ w1 e) A% }# XBlue's Birthday Adventure BluesBirthday 50% 6 \% A/ O/ m+ ]2 \! J( S. ?
Blue's Treasure Hunt BluesTreasureHunt 50% 3 N# O! W0 P# g' [
Fatty Bear's Birthday Surprise fbear 93%
$ ?- r- g! G+ X; b7 p; t2 B% T3 M: UFatty Bear's Fun Pack fbpack 95% 8 B; S6 C6 q7 z. p
Freddi Fish 1: The Case of the Missing Kelp Seeds freddi 90% ' e1 ^8 W$ L, F
Freddi Fish 2: The Case of the Haunted Schoolhouse freddi2 90%
# U* b9 O# ~; b& j$ s5 CFreddi Fish 3: The Case of the Stolen Conch Shell freddi3 90% ( B+ E( n; z0 I
Freddi Fish 4: The Case of the Hogfish Rustlers of Briny Gulch freddi4 90% % X% ^% E! u3 Z0 q) o, }0 i' k8 k
Freddi Fish and Luther's Maze Madness maze 90% 3 G0 a: `1 [: b
Freddi Fish and Luther's Water Worries water 90%
1 {# v% b) N( T' iLet's Explore the Airport with Buzzy airport 90% : _1 u( x7 I! l
Let's Explore the Farm with Buzzy farm 90% + U2 n8 Q% Z, P0 L, l
Let's Explore the Jungle with Buzzy jungle 90%
8 z: e2 A' T E9 c( @: lPajama Sam 1: No Need to Hide When It's Dark Outside pajama 90% # S& g6 `" ?6 Y' t
Pajama Sam 2: Thunder and Lightning Aren't so Frightening pajama2 90%
! W; h! l0 z/ T* I) J6 ?. ]Pajama Sam 3: You Are What You Eat From Your Head to Your Feet pajama3 90% ( h& { j0 W# v# r, F/ B
Pajama Sam's Lost & Found lost 85% . C5 x% l9 B/ \5 L
Pajama Sam's Sock Works socks 90%
7 Q8 A# {! N6 N6 s* S/ XPutt-Putt Enters the Race puttrace 90%
6 A* m7 u. [) w+ e" S8 q% ?% Z8 `Putt-Putt Goes to the Moon puttmoon 95%
- v0 q5 E* T1 G3 qPutt-Putt Joins the Circus puttcircus 90% + n) _, Y2 a- Q( \# J4 U+ Z# o% T: M
Putt-Putt Joins the Parade puttputt 95%
/ n, m) Y2 c% J1 u6 c4 fPutt-Putt Saves the Zoo puttzoo 90% * C. c& J9 `/ d% P8 ^' [+ N4 T
Putt-Putt Travels Through Time putttime 90% 9 s5 y2 Y( {2 b" z
Putt-Putt and Pep's Balloon-O-Rama balloon 90% 5 P0 [4 T7 o/ M; h: ]
Putt-Putt and Pep's Dog on a Stick dog 90%
6 V+ H3 N1 b. {; u) oPutt-Putt & Fatty Bear's Activity Pack activity 95%
( B3 ^! A# S4 Y- @! i) y5 ^Putt-Putt's Fun Pack funpack 95% 6 t& K2 ?( J8 W$ }- E$ R
SPY Fox 1: Dry Cereal spyfox 90% 6 g, G4 G) n P
SPY Fox 2: Some Assembly Required spyfox2 90% 4 d! Y) |, U* K9 K0 ~0 u# W
SPY Fox 3: Operation Ozone spyozon 70%
& `% }) G5 i P+ M9 e. g6 h* kSPY Fox in Cheese Chase chase 90%
; X# _2 E9 H Y5 z7 T$ X/ _: WSPY Fox in Hold the Mustard mustard 85% 8 h |9 p% K, d) E6 h7 ~
2 ?3 y c8 S# U1 D% O9 I$ Y+ L2 n以下是汉化抓图。 * ]( H7 [: j% k n2 p# _' b
|