トップ «前の日(08-07) 最新 次の日(08-09)» 追記

Masa's blog

検索キーワード:

2013年08月08日 wine-1.6

_ wine-1.6

Build

http://www.winehq.org/

$ tar xvvf wine-1.6.tar.bz2
$ cd wine-1.6
$ ./configure && make

# make install && ldconfig

Setting

$ winecfg &
  • ~/.wine/ is system directory for wine
  • ~/.wine/drive_c/ is C: drive for wine
  • ~/.wine/dosdevices/ consists of symblic links for DOS_DRIVE_NAME to physical directory like following.
lrwxrwxrwx 1 m-ito m-ito 10 Aug  7 22:00 c: -> ../drive_c/
lrwxrwxrwx 1 m-ito m-ito 10 Aug  1 22:00 z: -> //

fix for wine preloader: Warning: failed to reserve range 00000000-00010000

# sysctl -w vm.mmap_min_addr=0

winetricks

http://www.cabextract.org.uk/

$ tar xvvf cabextract-1.4.tar.gz
$ cd cabextract-1.4
$ ./configure && make

# make install && ldconfig

http://wiki.winehq.org/winetricks

$ wget http://winetricks.org/winetricks
$ vi winetricks
#!/bin/sh
alias wget='wget --no-check-certificate' # <-- add line
... snip ...

$ chmod +x winetricks
$ ./winetricks

Registry for Kanji charcters

~/.wine/user.reg

[Software\\Wine\\Fonts\\Replacements]
"Courier New"="Courier New"
"Comic Sans MS"="Comic Sans MS"
"FixedSys"="IPAGothic"
"Lucida Sans Unicode"="Lucida Sans"
"Microsoft Sans Serif"="DejaVu Sans"
"MS Pゴシック"="IPAPGothic"
"MS PGothic"="IPAPGothic"
"MS P明朝"="IPAPMincho"
"MS UI Gothic"="IPAPGothic"
"MS ゴシック"="IPAGothic"
"MS Gothic"="IPAGothic"
"MS 明朝"="IPAMincho"
"Small fonts"="IPAGothic"
"System"="IPAGothic"
"Terminal"="IPAPGothic"
"Verdana"="IPAPGothic"

Registry for IME(kinput2)

~/.wine/user.reg

[Software\\Wine\\X11 Driver]
"InputStyle"="root"

Run

$ cd ~/.wine/drive_c
$ wine windows/system32/cmd.exe
Wine CMD Version 5.1.2600 (1.6)

C:\>

If you want to omit "fixme: ...snip..." messages then

$ WINEDEBUG=-all wine ...snip...

Misc

install dlls, fonts, app etc and many configurations for Wine :P

$ WINEDEBUG=-all LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 ~/INSTALLED/winetricks

reboot or initialize(?) for Wine environment

$ wineboot

configuration for Wine

$ WINEDEBUG=-all LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 winecfg

file manager for Wine

$ WINEDEBUG=-all LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 winefile

or

$ WINEDEBUG=-all LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 wine explorer

command console for Wine

$ WINEDEBUG=-all LC_ALL=en_EN.UTF-8 LANG=en_EN.UTF-8 wineconsole cmd

or

$ WINEDEBUG=-all LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 wine cmd

control panel for Wine

$ WINEDEBUG=-all LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 wine control

notepad for Wine

$ WINEDEBUG=-all LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 wine notepad

task manager for Wine

$ WINEDEBUG=-all LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 wine taskmgr

wordprocessor for Wine

$ WINEDEBUG=-all LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 wine wordpad