mini-HOWTO gia to Monkey Island
4 se Linux
h' "Giati na xalasoume to uptime mas?"
Ananewthike: 20/7/2002
contact: admin at www0 dot org
Apaitiseis: 3D karta grafikwn me DRI (3d ac.) support sta X.
Gia to MI4 tha xreiastoun 1.3gb eleuthera sto sklhro.
Specs: Voodoo3 8mb, Duron 600, Linux 2.4.18, 448mb RAM.
Ta 448mb ram den enai aparaitita oute to arxaiologiko 8mb voodoo3.
Download:
top
Prwta egkathistoume to transgaming wine(episis gnwsto san winex). Den exei kai to kalutero licencing alla toulaxiston prosferei kalo directx support kai epitrepei to download me cvs. An thelete na breite etoima binaries prepei na ginete melh tou club tous (me to azimiwto). De mas endiaferei toso to gegonos, outws h allws axoume kaluterh apodosh mesw enos local build.
Gia na katebasoume to winex mesw cvs:Gia thn istoria, to winex einai wine me directx patches. Den dimiourgoun
diko tous wine, antithetws, kanoun merge to wine ana takta xronika
diasthmata douleuontas mono to directx meros. Auto toulaxiston sumvainei
mexri ti sigmh pou grafetai to keimeno.
Leptomereies gia to Transgaming wine uparxoun sto:
http://www.transgaming.com
Egkatastash Wine:
top
cd wine
./tools/wineinstall
Prosexoume oti gia openGL support sto wine, xreiazomaste ta gl.h,
glx.h kai glext.h sto susthma mas gi'auto an de ta exoume egkathistoume
ta analoga -devel paleta. (p.x. libmesa-dev sto debian)
Gia ta apotelesmata tou configuration, koitame to config.log kai droume
analoga.
An den vrethoun ta gl includes,
DEN tha stamathsei to configuration/build tou wine kai de tha doume error
mexri na treksoume to paixnidi, gi'auto epivevaiwnoume oti ta exoume kai
oti anagrafetai to "ok" sto config.log
Ekteneis plhrofories gia to openGL support tou wine uparxoun sto:
http://www.winehq.com/Docs/wine-devel/opengl.shtml
To installation isws na xreiastei ena "su root" kai ksana ./tools/wineinstall
gia na egkatastathoun ta arxeia. Den tha ksanaginei to build, apla
tha perasei amesws sto final stage.
Prepei na deite ta notes pou isws dwsei sto telos to wine build
- san user - peri library paths kai na drasete analoga, an auto einai
aparaitito. (ta notes peri export LD_LIBRARY_PATH=...". An kati tetoio
de ginei isws to wine paraponietai gia "missing libraries".
Rithmiseis Wine:
top
To linux de mas afhnei - eutyxws - na afairesoume mounted CDROMS
apo ths suskeues alla to MI4 zhtaei kati tetoio enw exei se xrhsh to
drive. Gi'auto, prepei na antigrapsoume ta periexomena twn cd se ena prosorino
dir, p.x. to /MONKEYCDS wste na kanoume thn egkatastash.(den xreiazetai
na ginei twra, auto upothike gia na ginei poio katanoito to config pou
akolouthei)
Dhmiourgoume to ~/.wine/config arxeio ean den uparxei hdh
mkdir ~/.wine
touch ~/.wine/config
Periexomena tou config:
;============
WINE REGISTRY Version 2
[Drive A]
"Type" = "floppy"
"Path" = "/floppy"
"Label" = "/floppy"
"Device" = "/dev/fd0
[Drive C]
"Path" = "/Cdrive"
;;;(Sto paradeigma mas, to /Cdrive periexei to "Windows" dir
twn win98, an exete windows sto sklhro sas mporeite na dwsete to mount
point. Yparxei kai h lush tou "fake windows" dir, thn opoia den kaluptei
to keimeno)
"Type" = "hd"
"Label" = "Windows"
"Filesystem" = "win95"
;;;Se auto to bhma kanoume ena pseudo-cdrom drive gia ta cd pou
tha antigrapsoume - prosorina - sto sklhro:
[Drive D]
"Type" = "cdrom"
"Path" = "/MONKEYCDS"
"Label" = "cdrom"
"Filesystem" = "win95"
[Drive X]
"Type" = "hd"
"Path" = "/tmp"
"Label" = "Tmp Drive"
"Filesystem" = "win95"
[wine]
"Windows" = "C:\\windows"
"System" = "C:\\windows\\SYSTEM"
"Temp" = "X:\\"
"Path" = "C:\\windows;C:\\windows\\SYSTEM;X:\\;Y:\\"
"GraphicsDriver" = "x11drv"
"ShellLinker" = "wineshelllink"
;;;***Ta paths anazhtountai apo to wine case sensitive.
;Kapoia defaults gia th sunexeia:
;Gia ena KALO configuration pou kaluptei tis anagkes tou kathena,
we RTFM.
;=============================================
;=============================================
[DllOverrides]
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"ver" = "builtin, native"
"version" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"lzexpand" = "builtin, native"
"lz32" = "builtin, native"
"comctl32" = "builtin, native"
"commctrl" = "builtin, native"
"advapi32" = "builtin, native"
"crtdll" = "builtin, native"
"mpr" = "builtin, native"
"winspool.drv" = "builtin, native"
"ddraw" = "builtin, native"
"dinput" = "builtin, native"
"dsound" = "builtin, native"
"opengl32" = "builtin, native"
"msvcrt" = "native, builtin"
"rpcrt4" = "native, builtin"
"msvideo" = "builtin, native"
"msvfw32" = "builtin, native"
"mcicda.drv" = "builtin, native"
"mciseq.drv" = "builtin, native"
"mciwave.drv" = "builtin, native"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"msacm.drv" = "builtin, native"
"msacm" = "builtin, native"
"msacm32" = "builtin, native"
"midimap.drv" = "builtin, native"
; default for all other dlls
"*" = "builtin, native, so"
[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
"Desktop" = "N"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"
[fonts]
;Read documentation/fonts before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"
;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"
[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
[parallelports]
"Lpt1" = "/dev/lp0"
[spooler]
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"
[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"
[spy]
"Exclude" = "WM_SIZE;WM_TIMER;"
[registry]
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"
[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
"WineLook" = "Win98"
[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"
[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"
; List of all directories directly contain .AFM files
[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"
mini-HOWTO Monkey Island 4 sto Linux.
----------------------
Ola auta vevaia mporeite na ta deite se ena example config file
pou vrisketai mesa sto documentation dir tou source kai akoma kalutera
na diabasete ta boithitika keimena tou wine, wste na kanete dikes sas allages.
Egkatastash tou MI4:
top
Afou exoume ena teleia egkatesthmeno wine apo source me ta config
kai ta ola tou, mporoume na sunexisoume me to installation tou MI4.
Ftiaxnoume ena /MONKEYCDS an thimaste, (to onoma tou dir einai
paradeigma), kai ekei antigrafoume ta periexomena toy prwtou CD.
mount /cdrom
cp -rp /cdrom/* /MONKEYCDS
Mporoume twra na dwsoume thn entolh:
wine "D:\MONKEY.exe" (h' apla wine /MONKEYCDS/MONKEY.exe)
kai na arxisei to installation.
Epilegoume FULL install.
Afou teleiwsei to 50% kai zhththei to 2o CD, diagrafoume ta periexomena
tou /MONKEYCDS kai antigrafoume ta periexomena tou 2ou CD sto idio
dir.
Einai boliko an exoume xwro sto sklhro, na kanoume duo dirs me ta CD ta
opoia na kanoume rename se /MONKEYCDS, opote xreiastei, mias kai tha zhththei
gia mia akoma fora to 1o CD.
Ypenthimizoume pws den einai dunaton na kanoume umount/mount ta CD panw sthn egkatastash logw tou oti to MI4 den "kserei" oti den trexei se susthma pou den afhnei to umount suskeuwn se xrhsh. Gi'auto kai h fasaria twn antigrafwn. (Toulaxiston einai gia to installation mono). An mesa sto paixnidi zitithei na xrhsimopoiisetai h'/kai na allaksete CD, mporeite na kanete mount/umount.
rm /MONKEYCDS/* -fr
cp -rp /cdrom2/* /MONKEYCDS
Kai patame "ok".
An to MI4 installer rwthsei an theloume na egkatastathei to DirectX7 apantame
oxi.
yg. Legetai pws to problhma me ta busy drives sto wine mporei na lithei
an ksekinisei ena programma me anoixto to tray tou drive. Episis akougetai
pws ena patch pou diorthonei auto to problhma asumvatothtas einai sta skaria.
Afou teleiwsei to installation kai arnhthoume na topothetithoun ikonidia
sto "taskbar":> polu apla mpainoume sto dir pou kaname installation
kai trexoume to configuration tool me:
"wine MONKEY.EXE"
Isws einai aparaithto na thesoume ws settings openGL kai 16/32bit:)
Afou ginei kai auto tote mporoume na treksoume to paixnidaki me:
"wine MONKEY4.EXE -- -gl"
Xeirismos: Ta "velakia" kinoun ton hrwa, to "u" kanei 'use', to
"p" kanei 'pick up', kai to "enter" einai to default, to opoio einai sinithws
"look". To "i" dixnei inventory kai to shift einai to "run". Sta options
pate me F1 kai mporeite na deite ekei ta upoloipa, na kanete save ktl.
Kai kalh diaskedash.
~fateswarm