Hi guys, So, just to wind up Alexandre [1], I wrote the following script. If you enjoy, as I do, sugar and all things sweet, you may like it. It probably screws up parameter passing entirely, but most win32 apps don't use them so no problem! Usage: vino +snoop,-imm foobar.exe vino ole32,oleaut32,rpcrt4=n +relay whatever.exe 2>/tmp/log Have fun! thanks -mike [1] OK I admit, I wrote this script for myself before I read Alexandres reply. Obviously this is a developer only script, it's not intended to be a part of Wine itself.
Of course, attaching the file first might be a good plan :) #!/bin/bash # A wine wrapper script. In Vino Veritas! # v1.0 (C) Mike Hearn <mike(a)navi.cx> # Licensed under the GPL for a in $@; do if [[ "${a:0:1}" == "+" ]] || [[ "${a:0:1}" == "-" ]]; then if [[ "$WINEDEBUG" != "" ]]; then WINEDEBUG="$WINEDEBUG,$a" shift else WINEDEBUG="$a" shift fi elif [[ "${a%=n}" != "$a" ]] || [[ "${a%=b}" != "$a" ]]; then WINEDLLOVERRIDES="$a $WINEDLLOVERRIDES" shift fi done red="\033[1;31m" normal="\033[0m" export WINEDEBUG WINEDLLOVERRIDES if [[ "$WINEDEBUG" != "" ]]; then echo -e "${red}debug channels:${normal} $WINEDEBUG"; fi if [[ "$WINEDLLOVERRIDES" != "" ]]; then echo -e "${red}dll overrides:${normal} $WINEDLLOVERRIDES"; fi wine $@
Mike Hearn wrote:
[1] OK I admit, I wrote this script for myself before I read Alexandres reply. Obviously this is a developer only script, it's not intended to be a part of Wine itself.
Or, as it appears, part of wine-devel. Or is there some other reason you did not attach it? -- Shachar Shemesh Lingnu Open Systems Consulting http://www.lingnu.com/
participants (2)
-
Mike Hearn -
Shachar Shemesh