TRiX an OS X winetricks frontend [update 2]

April 14th, 2008 by

TRiX is a simple frontend to Dan Kegels winetricks for wine/Darwine. Winetricks is:

Quick and dirty script to download and install various redistributable runtime libraries

So it should help to download and install certain fonts and libraries that are needed by some windows programs to run under wine.

I’d like to point a finger at the font downloads. Loads of applications on windows (an therefore wine) depend on the corefonts. These fonts are not part of wine and can’t be packed together with wine because of different licenses. So if You had apps, showing only symbols and garbage, this is for You :) .

Wintricks offers to install some other notable libraries and Runtimes like

  • Visual Basic runtiems
  • C++ runtimes
  • xvid, intel and ffdshow codecs for audio and video en/decoding
  • .NET 1.1/2.0 and mono 1.1/1.9

TRiX comes with cabextract and wget binaries, so it should work out of the box. It will download the current version of winetricks and install the selected items.

download TRiX

as always, enjoy
Mike

[update 1]
0.9.1 Built wget with –disable-nls (native language support) to get rid of the libintl dependency.

[update 2]
0.9.2 Built with sha1sum, as winetrix mac workaround is still not working and sha1sum is used now.

Tags:

36 Responses to “TRiX an OS X winetricks frontend [update 2]”

  1. Hi Mike,

    thanks for the great effords. I was happy to see an easy possibility to get .Net support under wine :-)

    At the moment Trix.app doe not run here because I have no php installation.

    regards,
    thomas

    macbook:~ x$ sh /tmp/winetricks -q corefonts tahoma ffdshow
    dyld: Library not loaded: /usr/local/php5/lib/libintl.8.dylib
    Referenced from: /Users/x/Applications/TRiX.app/Contents/Resources/wget/wget
    Reason: image not found

    Comment by Thomas — April 14, 2008 @ 19:40

  2. Hi Thomas,

    txs for pointing out… don’t know why wget is linking agaginst php. I’ll up a version without this dependency asap.

    Mike

    Comment by mike — April 15, 2008 @ 09:22

  3. OK, wget is fine now :-)

    Whenever I decide to fire up trix.app, it installs the fonts again (because the check marks are still set). Maybe it could uncheck the fonts when their registry keys already exist…? Even easier would be, to ignore this :-)

    Regards,
    thomas

    Comment by Thomas — April 17, 2008 @ 00:05

  4. Heya, looks like a great tool. I did notice that unless you have an active terminal window open it will crash out with an error. Other than that, fantastic tool.

    One request, I’m in Korea so if you could figure out CJK support it would rock. I belive winelocale does this under ubuntu, but for darwin, who knows.

    thanks for your hard work and efforts,

    mike

    Comment by Mike — April 17, 2008 @ 01:43

  5. Still have some problems using trix.app. Tried to install the vb6 runtimes:

    macbook:~ x$ curl http://www.kegel.com/wine/winetricks > /tmp/winetricks
    export PATH=$PATH:”/Users/x/Applications/TRiX.app/Contents/Resources/wget”:”/Users/x/Applications/TRiX.app/Contents/Resources/cabextract”:”/Applications/Darwine/Wine.bundle/Contents/bin”
    sh /tmp/winetricks -q vb6run
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 48191 100 48191 0 0 22520 0 0:00:02 0:00:02 –:–:– 27660
    macbook:~ x$ export PATH=$PATH:”/Users/x/Applications/TRiX.app/Contents/Resources/wget”:”/Users/x/Applications/TRiX.app/Contents/Resources/cabextract”:”/Applications/Darwine/Wine.bundle/Contents/bin”
    macbook:~ x$ sh /tmp/winetricks -q vb6run
    err:setupapi:SetupDefaultQueueCallbackW copy error 0 L”C:\\windows\\temp\\IXP000.TMP\\OLEAUT32.DLL” -> L”c:\\windows\\system32\\OLEAUT32.DLL”
    err:setupapi:SetupDefaultQueueCallbackW copy error 0 L”C:\\windows\\temp\\IXP000.TMP\\OLEPRO32.DLL” -> L”c:\\windows\\system32\\OLEPRO32.DLL”
    macbook:~ x$

    regards,
    thomas

    Comment by Thomas — April 20, 2008 @ 13:58

  6. Hi Try 0.9.2… as winetrix now require sha1sum.

    Comment by mike — April 20, 2008 @ 14:10

  7. [...] TRiX 0.9.2, which is a OS X frontend to Dan Kegels winetricks, to install some essential fonts, libraries or [...]

    Pingback by Darwine 0.9.60 | mikesMassiveMess — April 20, 2008 @ 14:15

  8. Downloaded vbrun60.exe and tried a manual install, but did not succeed. Wine Log tells us:

    fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 32f640,0
    err:setupapi:SetupDefaultQueueCallbackW copy error 0 L”C:\\windows\\temp\\IXP000.TMP\\OLEAUT32.DLL” -> L”c:\\windows\\system32\\OLEAUT32.DLL”
    fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 32f640,0
    err:setupapi:SetupDefaultQueueCallbackW copy error 0 L”C:\\windows\\temp\\IXP000.TMP\\OLEPRO32.DLL” -> L”c:\\windows\\system32\\OLEPRO32.DLL”
    fixme:ole:DllRegisterServer stub

    I set chmod 777 for system32 and temp, what didn’t help.

    Comment by Thomas — April 20, 2008 @ 14:17

  9. Tried the new trix.app included in your darwine 0.9.60 build, remains the same.

    BTW, Dan could include MSCOMCTL.OSX as well. Wanted to tell him this, but didn’t find a web form on his HP.

    Comment by Thomas — April 20, 2008 @ 14:50

  10. Hi there…
    First off let me thank you very much for your work to get wine “useable” on mac.
    I tested the last both versions of TRiX and wondered if anyone was successfull at installing .Net 2.0 ? I hope to get flashdevelop working with wine and therefore I need .Net 2.0…
    The installation Process throws some unhandled_exception errors and from what I can tell these a wine errors. But I just wanted to ask, if someone had success.

    So, thanks again and keep up the good work ;-)

    Cheers

    Comment by Hannes — April 21, 2008 @ 15:24

  11. @Hannes…

    according to the wine devel list .net 2.0 only works for *some* command line tools, yet. But it’s got a very high priority.

    .net 1.0 is a lot more stable. If your .net apps do not need native libaries, I’d try mono.

    My personal beef with .net lies in WiX… :)

    Mike

    Comment by mike — April 22, 2008 @ 08:40

  12. Ok, so I have to wait a while… until then I stick to parallels and flashdevelop. It seems like fd doesn’t work with mono right now.

    Thanks again.

    Hannes

    Comment by Hannes — April 22, 2008 @ 11:49

  13. [...] TRiX 0.9.3, which is a OS X frontend to Dan Kegels winetricks, to install some essential fonts, libraries or [...]

    Pingback by Darwine 0.9.61 & TRiX 0.9.3 | mikesMassiveMess — May 3, 2008 @ 08:40

  14. Unfortunately TRiX crashes on OS X 10.4.11:

    curl http://www.kegel.com/wine/winetricks > /tmp/winetricks
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 47780 100 47780 0 0 32773 0 0:00:01 0:00:01 –:–:– 46197

    $ export PATH=$PATH:”/Applications/TRiX.app/Contents/Resources/bin”:”/Applications/Darwine/Wine.bundle/Contents/bin”
    $ sh /tmp/winetricks -q corefonts tahoma
    Executing wget -nd -c –read-timeout=300 –retry-connrefused http://internap.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
    dyld: Symbol not found: _fnmatch$UNIX2003
    Referenced from: /Applications/TRiX.app/Contents/Resources/bin/wget
    Expected in: /usr/lib/libSystem.B.dylib

    /tmp/winetricks: line 1209: 14061 Trace/BPT trap “$@”
    Note: command ‘wget -nd -c –read-timeout=300 –retry-connrefused http://internap.dl.sourceforge.net/sourceforge/corefonts/andale32.exe‘ returned status 133. Aborting.

    Comment by stream — May 6, 2008 @ 22:15

  15. [...] TRiX 0.9.3, which is a OS X frontend to Dan Kegels winetricks, to install some essential fonts, libraries or [...]

    Pingback by Darwine 1.0-rc1 | mikesMassiveMess — May 13, 2008 @ 20:39

  16. Hello,
    I am trying to get ffdshow in combination with media player classic to run under crossover. I tried this for some time now. Now I am totally frustrated that it doesn’t seem to be possible. My opinion is that the picture quality is much better with ffdshow than VLC or anything els. So than I stumbled on to this site. I see that you have managed to get some form of ffdshow working with Wine? How do I get started to get the ffdshow MKV codecs to work under os-x? I like to integrate it with media player classic. Is this impossible? Hope someone reads this.
    Thanks.

    Sorry for my bad English.

    Comment by flinstone — May 21, 2008 @ 17:54

  17. When I try to install TRiX, I get a AppleScript Error, that says “Finder got an error: Can’t make file “Macintosh HD:Applications:Darwine:Wine.bundle:Contents:bin:wine” into type reference. (-1700)”
    How do I fix this? I’m on OSX 10.4.11

    Comment by Christopher — May 25, 2008 @ 06:11

  18. I tried to install some stuff with TRiX on Leopard, but instead of opening a new terminal window it sent the commands via the terminal I had open into a IRC channel.

    Sure it’s quick and dirty, but too dirty this time.

    Sorry for being this negative.

    Comment by Jussi — May 25, 2008 @ 12:42

  19. [...] TRiX 0.9.3, which is a OS X frontend to Dan Kegels winetricks, to install some essential fonts, libraries or [...]

    Pingback by Darwine 1.0-rc2 | mikesMassiveMess — May 29, 2008 @ 21:52

  20. Hi

    Launching TRiX to install fonts to fails with quite a few errors:

    Welcome to Darwin!
    curl http://www.kegel.com/wine/winetricks > /tmp/winetricks
    export PATH=$PATH:”/Applications/Darwine/TRiX.app/Contents/Resources/bin”:”/Applications/Darwine/Wine.bundle/Contents/bin”
    sh /tmp/winetricks -q corefonts tahoma liberation colorprofile riched20 riched30 msls31 msi2
    Minimax:~ steve$ curl http://www.kegel.com/wine/winetricks > /tmp/winetricks
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 56687 100 56687 0 0 3840 0 0:00:14 0:00:14 –:–:– 130k
    max:~ steve$ export PATH=$PATH:”/Applications/Darwine/TRiX.app/Contents/Resources/bin”:”/Applications/Darwine/Wine.bundle/Contents/bin”
    max:~ steve$ sh /tmp/winetricks -q corefonts tahoma liberation colorprofile riched20 riched30 msls31 msi2
    Could not load Mozilla. HTML rendering will be disabled.
    err:module:load_builtin_dll failed to load .so lib for builtin L”msxml3.dll”: dlopen(/Applications/Darwine/Wine.bundle/Contents/bin/../lib/../bin/../lib/wine/msxml3.dll.so, 2): Symbol not found: _xsltInit
    Referenced from: /Applications/Darwine/Wine.bundle/Contents/bin/../lib/../bin/../lib/wine/msxml3.dll.so
    Expected in: /usr/li
    err:module:load_builtin_dll failed to load .so lib for builtin L”msxml3.dll”: dlopen(/Applications/Darwine/Wine.bundle/Contents/bin/../lib/../bin/../lib/wine/msxml3.dll.so, 2): Symbol not found: _xsltInit
    Referenced from: /Applications/Darwine/Wine.bundle/Contents/bin/../lib/../bin/../lib/wine/msxml3.dll.so
    Expected in: /usr/li
    err:wgl:X11DRV_wglGetProcAddress No libGL on this box – disabling OpenGL support !
    err:wgl:X11DRV_wglGetProcAddress No libGL on this box – disabling OpenGL support !
    err:wgl:X11DRV_wglGetProcAddress No libGL on this box – disabling OpenGL support !
    wine: configuration in ‘/Users/steve/.wine’ has been updated.
    Executing wget -nd -c –read-timeout=300 –retry-connrefused –header Accept-Encoding: gzip,deflate http://downloads.sourceforge.net/corefonts/arial32.exe
    dyld: Symbol not found: _fnmatch$UNIX2003
    Referenced from: /Applications/Darwine/TRiX.app/Contents/Resources/bin/wget
    Expected in: /usr/lib/libSystem.B.dylib

    /tmp/winetricks: line 1393: 980 Trace/BPT trap “$@”
    Note: command ‘wget -nd -c –read-timeout=300 –retry-connrefused –header Accept-Encoding: gzip,deflate http://downloads.sourceforge.net/corefonts/arial32.exe‘ returned status 133. Aborting.
    max:~ steve$ curl http://www.kegel.com/wine/winetricks > /tmp/winetricks
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 56687 100 56687 0 0 61670 0 –:–:– –:–:– –:–:– 98607
    max:~ steve$ export PATH=$PATH:”/Applications/Darwine/TRiX.app/Contents/Resources/bin”:”/Applications/Darwine/Wine.bundle/Contents/bin”

    max:~ steve$ sh /tmp/winetricks -q corefonts tahoma liberation
    Executing wget -nd -c –read-timeout=300 –retry-connrefused –header Accept-Encoding: gzip,deflate http://downloads.sourceforge.net/corefonts/arial32.exe
    dyld: Symbol not found: _fnmatch$UNIX2003
    Referenced from: /Applications/Darwine/TRiX.app/Contents/Resources/bin/wget
    Expected in: /usr/lib/libSystem.B.dylib

    /tmp/winetricks: line 1393: 1027 Trace/BPT trap “$@”
    Note: command ‘wget -nd -c –read-timeout=300 –retry-connrefused –header Accept-Encoding: gzip,deflate http://downloads.sourceforge.net/corefonts/arial32.exe‘ returned status 133. Aborting.

    Comment by Steve — May 31, 2008 @ 08:12

  21. [...] TRiX 0.9.3, which is a OS X frontend to Dan Kegels winetricks, to install some essential fonts, libraries or [...]

    Pingback by Darwine 1.0-rc3 | mikesMassiveMess — May 31, 2008 @ 15:55

  22. [...] TRiX from http://mike.kronenberg.org/?p=69 into the Applications [...]

    Pingback by Mendeley Blog » Blog Archive » Mendeley on Apple OS X/Linux/Your Toaster — June 13, 2008 @ 17:50

  23. Heh, you didn’t look hard enough for my email address :-)

    OK, I’ve added COMCTL32.OCX/MSCOMCTL.OCX, check it out.

    Comment by Dan Kegel — June 14, 2008 @ 18:43

  24. [...] είναι και το TRiX που εγκαθιστά αυτόματα διάφορα dll και γραμματοσειρές [...]

    Pingback by Mac, αλλά.. » Got wine? — June 19, 2008 @ 10:50

  25. Tried TRiX (in v1.1.1 of Darwine). While I’m no Unix guru, I can see what it’s doing in the Terminal. It gets the downloads via cUrl just fine (doesn’t use wget), fut fails finding cabextract. It appears that it doesn’t set the PATH to find them. cUrl is already on my Mac, so it works, but in the end the script fails because of the lack of cabextract. At least I know how to fix it.

    Comment by msandersen — July 21, 2008 @ 19:00

  26. By copying the contents of TRiX.app/Contents/Resources/bin to /usr/local/bin (where Darwine copied Fontforge/Freetype files), all went well, and the script used wget this time. Only thing was that http://www.redhat.com/f/fonts/liberation-fonts.tar.gz returns 404 not found. No big deal.

    Comment by msandersen — July 22, 2008 @ 03:38

  27. Everything works fine up till the installation of runtimes. I originally checked the VB runtimes. However after a first error, I unchecked the VB runtimes and deleted the file in winetrickscache. However, on running the TRiX again, it goes ahead and still downloads the VB6 file.

    Error:
    Executing cabextract -q –directory=/Users/Anime/.wine/drive_c/winetrickstmp /Users/Anime/.winetrickscache/VisualBasic6-KB896559-v1-ENU.exe
    /Users/Anime/.wine/drive_c/winetrickstmp/ADVPACK.DLL: Permission denied
    /Users/Anime/.wine/drive_c/winetrickstmp/W95INF32.DLL: Permission denied
    /Users/Anime/.wine/drive_c/winetrickstmp/W95INF16.DLL: Permission denied
    Note: command ‘cabextract -q –directory=/Users/Anime/.wine/drive_c/winetrickstmp /Users/Anime/.winetrickscache/VisualBasic6-KB896559-v1-ENU.exe’ returned status 1. Aborting.

    Comment by Jon Lee — July 29, 2008 @ 15:03

  28. [...] voir apres : trix , pour les symboles à la place de lettre http://mike.kronenberg.org/?p=69 [...]

    Pingback by summer web » Blog Archive » tester ie sur mac — October 19, 2008 @ 19:12

  29. [...] if You have symbols instead of letters, you lack the Microsoft Corefonts. Get them with TRiX [...]

    Pingback by Darwine 0.9.61 released | Mundo Linux — December 13, 2008 @ 04:58

  30. [...] if You have symbols instead of letters, you lack the Microsoft Corefonts. Get them with TRiX [...]

    Pingback by Darwine 1.0-rc2 for OS X released | Mundo Linux — December 13, 2008 @ 04:59

  31. It’s pretty trivial from a user-standpoint to make curl use a proxy, but I can’t seem to find a way to get trix to do so.

    The .scpt file appears to be read-only, so I can’t update it to use the info for the proxy I’m stuck behind.

    Any suggestions?

    Comment by fnord — April 22, 2009 @ 19:30

  32. As an update…

    I replaced /usr/bin/curl with a wrapper script that calls the real curl with my proxy info.

    Then I ran into wget :]

    wget is easier though, because you can set an environment var like so:

    export http_proxy=http://:@:

    so:

    export http_proxy=http://me:pass@proxy:8080

    Comment by fnord — April 22, 2009 @ 20:17

  33. Hi I’m trying to install somethings thru trix but I get the following error log thru terminal:

    curl http://www.kegel.com/wine/winetricks > /tmp/winetricks
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 71736 100 71736 0 0 43464 0 0:00:01 0:00:01 –:–:– 76403
    Rampant-Lion-3:~ Jan$ export PATH=$PATH:/Applications/Darwine/Wine.bundle/Contents/bin:~/Applications/Darwine/Wine.bundle/Contents/bin:”/Applications/TRiX.app/Contents/Resources/bin”
    Rampant-Lion-3:~ Jan$ sh /tmp/winetricks -q gecko dcom98
    wine client error:3e: version mismatch 386/339.
    Your wine binary was not upgraded correctly,
    or you have an older one somewhere in your PATH.
    Or maybe the wrong wineserver is still running?
    wine cmd.exe /c echo ‘%ProgramFiles%’ returned empty string

    What do I need to do to fix?

    Comment by Jan — May 11, 2009 @ 03:50

  34. couple of things…

    sha1sum mismatch! Rename /Users/apple/.winetrickscache/./mplayerc_20080414.zip and try again.

    any idea what this is about?

    And, how do I uninstall? does Trix handle any of that?

    Thx

    Dan

    Comment by omnivore — September 11, 2009 @ 17:10

  35. BTW, I cannot read the labels to the right of the fields in the comment pane. Have to hilite to tell what they say.

    Comment by omnivore — September 11, 2009 @ 17:11

  36. [...] تحط لينك للموقع لاني لسه الان بس شفت برنامج عندي اسمه TRiXبينزل مجموعه من الـ Liberaries الخاصه بالويتدوز مثل Visual Basic, [...]

    Pingback by مشكل الدخول في التداول عن طريق البنوك - ماك ارابيا، mac، ماكنتوش، ابل — October 18, 2009 @ 14:44