wine一个foobar过程备忘
要装foobar就得装wine,要wine就得先装macports,要装macports就得先装xcode
tools。这样可以装好foobar并且可以运行,问题是很多功能不能实现,比如wma播放和界
面设置等等。
另外,中文的foobar会方块字,得装en版的,而且有些插件与新版foobar不兼容,比如
乐辞,所以得找旧版的英文版。
wine启动旧版英文版foobar安装文件,我用的0.9.6.4,装好后,再把win下的foobar目
录里东西一点一点往wine虚拟目录里考,每增加一点东西就开一遍foobar,如果出现问题
比如crash就rewise,直到把所有能放的东西都放进去。
好像原来的设置都不见了,界面,配色,快捷键之类,重新设好。
然后解决wma播放问题以及其他一些崩溃的问题,从这里学到很多:
http://www.hydrogenaudio.org/forums/index.php?showtopic=54933
“Components
Not all components work well with wine, here is a list of some components with
special requirements:
foo_bubble_coverflow - Requires an XP machine: sh winetricks winxp
foo_chronflow - This component requires Windows Script Control (WGA Required)
which is included with WiMP: sh winetricks wmp10 - Still won't load, complains
about EyePos function missing.
foo_converter - In order to convert songs using lame, you must use a win32
version of lame.exe.
foo_discogs - This component requires GDI+: sh winetricks gdiplus
foo_highlightplaying - Requires an XP machine: sh winetricks winxp
foo_dop - This component loads fine however wine does not have usb support so
it is not able to detect the ipod, even with the ipod mapped as a windows
drive.
foo_input_std - WMA support requires Windows Media Format Runtimes which are
included with WiMP: sh winetricks wmp10
foo_run - Newer versions of this component run fine. Example: Z:\usr\bin\
firefox http://forums.foobar2000.org
foo_ui_columns - This component requires GDI+: sh winetricks gdiplus
foo_uie_elplaylist - This component will load and display a playlist but
crashes foobar whenever the configuration is changed
foo_uie_panel_splitter - I have had mixed results with this component. There
is something fishy with the dotnet requirements.
foo_uie_queuemanager - Requires MSVC++ & .NET 2.0 as well as an XP machine: sh
winetricks winxp vcrun6 dotnet20
foo_uie_vis_egoh - Requires MSVC++ & .NET 2.0: sh winetricks vcrun6 dotnet20
foo_uie_vis_projectm - Requires MSVC++ & libmmd.dll. Rather buggy, foo_vis_
shpeck is a better way to run MilkDrop and other vis.”
这里提供的信息很重要,不止对foobar更是对wine的使用,学到了winetricks这个东西
,马上通过macports安装它,然后把foobar插件依赖的windows的dll和dotnet之类的东东
装上。然后foobar就变的更接近win上了。
还有个album art插件不能启用,一开就crash,可能是缺dll。看到
“I was able to make foo_uie_albumart work flawlessly after copying some DLL
into foobar's directory:
gdiplus.dll libpng13.dll zlib1.dll. If you miss some dll you probably can find
it on http://www.dll-files.com
foo_playlist_tree works great too, it's a central piece of my setup.”
照做就解决了
英文歌词和专辑封面都显示正常,包括自动下载歌词
剩余的问题:
1.目前启动wine程序非得用terminal,得想个办法整成一个可以双击的东东,不会写脚本
How to create an icon on the desktop to start a given .exe?
Instructions how to make a custom launcher .app file
This is for real Wine, installed to /usr/local, not Darwine
open up Apple's Script Editor
in Mac OS X 10.6 "Snow Leopard" this is "/Applications/Utilities/Applescript
Editor.app"
in Mac OS X 10.5 "Leopard" this is "/Applications/AppleScript/Script Editor.
app"
Copy and paste the following code into the Applescript editor
on run
do shell script "PATH=\"$PATH:/usr/local/bin\";
export WINEPREFIX=\"$HOME/.wine\";
EXENAME=\"$WINEPREFIX/drive_c/Program Files/MyProgram/MyProgramName.exe\";
wine start /unix \"$EXENAME\" > /dev/null 2>&1 &"
end run
if you are using a different WINEPREFIX than the standard ~/.wine ($HOME/.wine
) for this particular program, make sure you change the "export WINEPREFIX"
line for that.
on the "EXENAME" line, change after drive_c for the path and .exe name of the
program you are trying to launch. (leave the \ at the end before the quote)
Note: be sure not to remove the extra \ symbols in there before most of the
quotes, it will not work without them.
After you have edited it for your program, save it as an Application
this will create a .app for you that you can double click to run what you
specified, that is already installed on your machine.
it might start up a bit slow with no visual indicators, especially if your
Wine install has to build Font Metrics.
2.wine里中文都是乱码,并且有乱码名称的文件不能被foobar访问到
Comments
Post a Comment