http://www.hackerschool.org/HS_Boards/zboard.php?id=Free_Lectures&no=474 [º¹»ç]
. Wine¿¡¼ ½ºÅ¸Å©·¡ÇÁÆ® ¼³Ä¡ ¹× ½ÇÇàÇϱâ
[1] ¼³Ä¡Àü ½Ã½ºÅÛ Áغñ»çÇ×
1.Çϵå¿þ¾î
½Ã½ºÅÛ »ç¾ç - pentium 90 À̳ª ±× ÀÌ»ó
·¥ - 16 MB³ª ±× ÀÌ»ó
R0MB ¶Ç´Â ±× ÀÌ»óÀÇ ÇÏµå µð½ºÅ© °ø°£
2¹è¼ÓÀ̳ª ±× ÀÌ»óÀÇ CD-ROM µå¶óÀ̺ê
SVGA Ä«µå ( 640x480¿¡¼ 256 Ä®¶ó, 8ppm )
¸¶¿ì½º
»ç¿îµåÄ«µå
2.¼ÒÇÁÆ®¿þ¾î
¸®´ª½º
640 x 480 x 8ºñÆ®·Î ¸ÂÃß¾îÁø X¼¹ö¸¸ÀÌ °¡´É
Wine 985017À̳ª ±× ÀÌ»ó (981108¹öÀü Ãßõ)
Starcraft CD
»ç¿îµå¸¦ µè±â À§ÇÑ ¸®´ª½º ½Ã½ºÅÛ¿¡ ¸Â´Â ¿ÀÇ »ç¿îµå ½Ã½ºÅÛ µå¶óÀ̹ö¸¦ °¡Áø Ä¿³Î
[2] ¼³Ä¡Çϱâ
½Ã½ºÅÛÀÌ À§ÀÇ Á¶°Ç´ë·Î ¸ðµÎ °®Ãß¾îÁ® ½ºÅ¸Å©·¡ÇÁÆ®°¡ FAT/À©µµ¿ì ÆÄÅ׼ǿ¡ ¼³Ä¡µÇ¾î ÀÖ°í, ÀÌ ÆÄƼ¼ÇÀÌ ¸®´ª½º¿¡¼ ¸¶¿îÆ®ÇÏ¿© º¼ ¼ö ÀÖÀ¸¸ç Wineµµ Á¤»óÀûÀ¸·Î ¼³Ä¡,¼³Á¤µÇ¾î ÀÖ´Ù¸é °ÔÀÓÀ» ½ÃÀÛÇÒ ¼ö ÀÖ½À´Ï´Ù.
ÇÏÁö¸¸ ¸®´ª½º nativeÆÄƼ¼Ç¿¡ ½ºÅ¸Å©·¡ÇÁÆ®¸¦ ÀνºÅçÇØ¾ß ÇÑ´Ù¸é Áö±ÝºÎÅÍ ¼³¸íÇÏ´Â °úÁ¤À» µû¶ó¾ß ÇÕ´Ï´Ù.
À̸¦ À§ÇØ ¾Õ¿¡¼ ¼³Ä¡Çß´ø wineÀÌ ÇÊ¿äÇѵ¥ WineÀ» »ç¿ëÇϸé À©µµ¿ì ȯ°æ¿¡¼ ½ÇÇàµÇ´Â Àü·« ½Ã¹Ä·¹ÀÌ¼Ç °ÔÀÓÀÎ ½ºÅ¸Å©·¡ÇÁÆ®µµ Á¦ÇѾøÀÌ XÀ©µµ¿ì¿¡¼ ½ÇÇàÇÒ ¼ö ÀÖ½À´Ï´Ù.
¿ì¼± ¾Õ¿¡¼ ¼³Ä¡Çß´ø WineÀÌ Á¤È®È÷ ¼³Ä¡µÇ¾îÀÖ´ÂÁö È®ÀÎÇϱâ À§ÇØ wine.conf¸¦ ÇÏ´Â °úÁ¤ÀÔ´Ï´Ù.
[Drive A]
Path=/floppy
Type=floppy
Label=FLOPPY
Device=/dev/fd0
[Drive C]
Path=/usr/local
Type=hd
Label=LINUX-LOCAL
[Drive D]
Path=/cdrom
Type=cdrom
Label=STARCRAFT
[wine]
Windows=c:WINDOWS
System=c:WINDOWSsystem
Temp=c:temp
[Tweak.Layout]
WineLook=Win95
ÀÌ·¸°Ô WineÀÇ È¯°æÀ» ¼³Á¤ÇÑ ÈÄ Wine.conf ¾Æ·¡¿¡ ½ÃÀÛ¸Þ´º/ÇÁ·Î±×·¥/½ºÅ¸Å©·¡ÇÁÆ® µð·ºÅ丮¸¦ ¸¸µì´Ï´Ù. ±×¸®°í ½ºÅ¸Å©·¡ÇÁÆ® CD¸¦ ½Ãµð·Ò µå¶óÀ̺꿡 ³Ö°í ¸¶¿îÆ®½Ãŵ´Ï´Ù.
½ºÅ¸Å©·¡ÇÁÆ®°¡ ¸¶¿îÆ® µÈ À§Ä¡¿¡¼ wine install.exe¸¦ ÀÔ·ÂÇÏ¿© ¼³Ä¡ÇÁ·Î±×·¥À» ½ÇÇàÇÕ´Ï´Ù.
16ºñÆ® ¸ðµå¿¡¼´Â Ä÷¯°¡ À߸øµÉ ¼ö Àִµ¥ °ÔÀÓÀÇ Æ¯¼º»ó 640x480 256Ä®¶ó ¸ðµå¸¸À» Áö¿øÇϹǷΠ±¸µ¿½Ã Çػ󵵸¦ 8ºñÆ®·Î ¸ÂÃß¾î »ç¿ëÇÒ °ÍÀ» ±ÇÀåÇÕ´Ï´Ù. ±×·¯³ª 8ºñÆ® ¸ðµå¿¡¼ ±×·¡ÇÈ ÅؽºÆ® ¹öÆ°(¸Þ´º)ÀÌ º¸ÀÌÁö ¾ÊÀ» ¼öµµ Àִµ¥, ¸¸¾à Ãʱâȸ鿡¼ ¸Þ´º°¡ ³ªÅ¸³ªÁö ¾ÊÀ» °æ¿ì ¸¶¿ì½º¸¦ ȸéÀÇ ¿ÞÂÊ ¾Æ·¡Âë¿¡¼ ¿òÁ÷¿© º¾´Ï´Ù.
±×¸®°í ¸¶¿ì½ºÀÇ ¿ÞÂÊ ¹öÆ°À» ´·¯ ù¹ø°·Î »ç¿îµå°¡ µé¸®¸é ±×°÷À» Ŭ¸¯ÇÕ´Ï´Ù.
¼³Ä¡ÇÁ·Î±×·¥¿¡¼ ¼³Ä¡¸Þ´º¸¦ Ŭ¸¯Çϸé Direct x 5¸¦ ¼³Ä¡ÇÒ °ÍÀÎÁö ¹¯´Âµ¥ ¿©±â¼ 'No', ¼³Ä¡ÇÏÁö ¾Ê°í ½ÇÇàÀ» °è¼ÓÇÕ´Ï´Ù.
±× ´ÙÀ½ ½ºÅ¸Å©·¡ÇÁÆ® ¾îµð¿¡ ¼³Ä¡ÇÒÁö¸¦ ¹°¾î¿Ã ¶§ ¿øÇÏ´Â Àå¼Ò¸¦ ÁöÁ¤ÇØ ÁÖ¸é µË´Ï´Ù. ¿¹¸¦ µé¾î c:starcraft¶ó°í ¸¸µì´Ï´Ù.
¸ðµç ¼³Ä¡°¡ ³¡³ª¸é ¼³Ä¡»óŸ¦ ³ªÅ¸³»´Â ÆĶõ»öÀÇ ¹Ù°¡ º¸ÀÔ´Ï´Ù.
¸¸¾à ¼³Ä¡ÇÁ·Î±×·¥ÀÌ Starcraft.lnk(¸µÅ©ÆÄÀÏ)À» ¸¸µé¼ö ¾ø´Ù°í ³ª¿À¸é À©µµ¿ì µð·ºÅ丮Áß¿¡ "Star Menu/Programs"¶ó´Â µð·ºÅ丮°¡ ÀÖ´ÂÁö È®ÀÎÇÏ°í, ¸¸ÀÏ ¾ø´Ù¸é ¸¸µé¾î ÁÖ¾î¾ß ÇÕ´Ï´Ù.
ÇÏÁö¸¸ Starcraft.lnk¸¦ ¸¸µé ¼ö ¾ø´Ù°í ³ª¿À¸é ÀÌ ÆÄÀÏÀÌ ¾ø¾îµµ ½ºÅ¸Å©·¡ÇÁ´Â ½ÇÇàÀÌ µÇ¹Ç·Î ±×³É ¹«½ÃÇصµ µË´Ï´Ù.
¸¸¾àno program start menu found"¶ó´Â ¸Þ¼¼Áö°¡ install.exe¸¦ ÇÏ´Â Áß¿¡ ³ª¿À¸é ${HOME}/.wine/user.regÀ» ÆíÁýÇÏ°í ´ÙÀ½°ú °°Àº "Programs" Å°¸¦ ³Ö¾îÁÝ´Ï´Ù.
tMicrosoft
ttWindows
tttCurrentVersion
ttttExplorer
tttttShell Folders
ttttttPrograms=1,1,C:\WINDOWS\Start Menu\Programs
[3] ½ÇÇàÇϱâ
1.¿ì¼± ½ºÅ¸Å©·¡ÇÁÆ®°¡ ¼³Ä¡µÈ µå¶óÀ̺갡 Ȩµð·ºÅ丮ÀÇ ~/.winerc³ª wine.conf¿¡ ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù.
2.¸¶¿îÆ®µÈ ½ºÅ¸Å©·¡ÇÁÆ® CD°¡ wine.confÆÄÀϳ»ÀÇ °æ·Î¿Í ÀÏÁöÇÏ´ÂÁö¸¦ È®ÀÎÇÕ´Ï´Ù.
mount -t iso9660 /mnt/cdrom - /mnt/cdrom ÀÇ µð·ºÅ丮ÀÔ´Ï´Ù
3.root ·Î±×ÀÎ ÇÑ ÈÄ wine starcraft.exe¸¦ ÀÔ·ÂÇÏ¿© ½ÇÇà ÇÑ´Ù.(ÀÏ¹Ý »ç¿ëÀÚ °èÁ¤À¸·Î ·Î±×ÀÎ ÇÏ¿© wineÀ» ÅëÇØ ½ºÅ¸Å©·¡ÇÁÆ®¸¦ ½ÇÇàÇÏ¸é ½ÇÇà¼Óµµ°¡ ´À¸®¹Ç·Î ·çÆ®·Î ·Î±×ÀÎ ÇÒ°ÍÀ» ±ÇÀåÇÕ´Ï´Ù)
³¡À¸·Î wineÆÐÅ°Áö´Â 1´ÞÀ» ÁÖ±â·Î »õ·Î¿î ¹öÀüÀÌ ¹ßÇ¥µÇ°í ÀÖ¾î Á¤±âÀûÀ¸·Î ¾÷±×·¹À̵å ÇØÁÖ´Â °ÍÀÌ ÁÁÀ¸¸ç, ¶Ç »õ·Ó°Ô ¹ßÇ¥µÇ´Â ¹öÀüµéÀÌ ±âÁ¸ÀÇ ±â´ÉÀ» ¸ðµÎ À¯ÁöÇÏ°í ÀÖÁö ¾ÊÀº °æ¿ì°¡ Àֱ⠶§¹®¿¡ wineÀ» ÀÚÁÖ »ç¿ëÇÒ °æ¿ì¿¡´Â ¾÷±×·¹ÀÌµå ¹öÀüÀ» ±¸ÇØ »ç¿ëÇÏ´Â°Í ÀÌ¿Ü¿¡µµ ·¹µåÇÞ ¸®´ª½º°¡ ¾Æ´Ñ ´Ù¸¥ ¹èÆ÷ÆÇ¿ëÀ¸·Î °³¹ßµÈ ¿©·¯°¡Áö ÆÐÅ°ÁöµéÀ» ÇÔ²² »ç¿ëÇØ º¸´Â °Íµµ ÁÁÀº ¹æ¹ýÀÔ´Ï´Ù.
[4] ³×Æ®¿öÅ© (IPX)·Î ½ÇÇàÇϱâ
WineÀ¸·Î IPX³×Æ®¿öÅ© °ÔÀÓÀ» Çϱ⿡´Â ºÐ¸í ¹®Á¦°¡ ÀÖ½À´Ï´Ù. ¸¸¾à ´ç½ÅÀÌ IPX³×Æ®¿öÅ©·Î ½ÇÇàÇϱ⿡ ¹®Á¦°¡ ÀÖ´Ù¸é ¿©±â¿¡ ¸î°¡Áö ÇØ°áÃ¥À» Á¦½ÃÇÏ°Ú½À´Ï´Ù.
À©µµ¿ì¿¡¼´Â IPX ³×Æ®¿öÅ© ÁÖ¼Ò¸¦ 00000000À» »ç¿ëÇϴµ¥ ºñÇØ ¸®´ª½º¿¡¼´Â 00000000ÀÌ À¯È¿ÇÏÁö ¾ÊÀº ³×Æ®¿öÅ© ÁÖ¼ÒÀ̹ǷΠWineÀ» »ç¿ëÇÏ¿© ½ºÅ¸Å©·¡ÇÁÆ®¸¦ ÇÏ¸é ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù.
ÀÌ ¹®Á¦¸¦ ÇØ°áÇÏ·Á¸é, ¸®´ª½º IPX ³×Æ®¿öÅ© ÁÖ¼Ò¸¦ 0x00000000À¸·Î ¼³Á¤Çϸé IPX ³×Æ®¿öÅ© °ÔÀÓÀ» ÁøÇàÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ °úÁ¤Àº ·çÆ®±ÇÇÑÀ¸·Î ´ÙÀ½°ú °°Àº ¸í·ÉÀ» ³»·ÁÁÖ¸é µË´Ï´Ù.
# ipx_interface add -p eth0 802.2 0x00000000
ÀÌ ¸í·ÉÀÌ Á¦´ë·Î ¼öÇàµÇ¾ú´ÂÁö È®ÀÎÇϱâ À§Çؼ´Â /proc/net/ipx_interface ÆÄÀÏÀÇ ³»¿ëÀÌ ´ÙÀ½°ú °°ÀºÁö »ìÆ캸¸é µË´Ï´Ù.
Network Node_Address Primary Device Frame_Type
00000000 000021493CBD Yes eth0 802.2
|
Hit : 13935 Date : 2006/02/08 09:18
|