« sumi-chan | Main | more decentralisation »

June 27, 2008

the wine whine

so wine 1.0 came out last week (firefox 3 sort of stole its thunder) but i caught it on slashdot and i thought, what the hell.

i'd stayed away from wine previously because i was almost certain nothing as complex as my use of avisynth would run 100% satisfactorily. needless to say, i was quite surprised when it compiled on one of my macs and played an unmodified sda avisynth script in vdub correctly.

that was over a week ago, and i'm still not entirely over the weirdness factor of running the whole anrichan family of tools without running any microsoft code. so i guess i'm not as elated as you might imagine - more like dumbfounded. it's been one of those rare moments when technology catches me off guard.

i've read that wine works even better under linux due to apple's lame x implementation, so i'm now considering what to do with the one remaining machine i own that runs windoze as its primary os ("v5").

it's not perfect by any means - as far as i can tell, pipes aren't supported in batch files, which meant i had to reimplement everything in unix shell language. it hasn't been a big deal except in the case of anri.bat, which will need major reworking, and that's a damn shame, because i thought at first that i had "discovered" a universal anrichan.

i'm also having problems with processes, e.g. avs2wav and bepipe, not being able to close files that are on network volumes. the process will complete successfully, but the close call hangs, meaning i have to hit ctrl-c to continue the encode script - unacceptable. i've actually seen this before under windoze (though not working on sda stuff), so i doubt it's wine's fault per se - just something i'll have to dump more time into.

i also can't seem to figure out how to install codecs that include right-click -> install .inf files. i grabbed the dll call out of a real copy of doze and tried that, and it does run, but doesn't seem to produce any result under wine. i'm lucky the anrichan installer installs lagarith, because i probably wouldn't have access to that codec under wine for doing nmf otherwise.

speaking of nmf, here's my unix nmf command, my v command and my mq commmand as references for how i reimplemented snow's batches in unix shell language. sumichan is essentially unchanged because i'm still using avisynth - the only difference is the batch file writing for calling nmf.bat on each of the slices, which now obviously just writes calls to nmf instead. syntax is like

nmf "P:\\projname\\runname" 1
(the 1 for setting "delete temporary files" to true, from snow's batches).

look for the first runs produced with the help of wine on sda soon.

Posted by njahnke at June 27, 2008 10:37 PM

Comments

This is the code in the anri-chan istaller for lagarith:

Exec "rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 0 $INSTDIR\Lagarith_1314\lagarith.inf"

Exec "rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 C:\WINDOWS\INF\LAGARITH.INF"

Posted by: ballofsnow Author Profile Page at June 28, 2008 1:57 PM

yep ... that was exactly what i ran (minus the uninstall part). maybe there's something glitchy with these particular .infs (not the lag one obviously).

Posted by: nate Author Profile Page at June 28, 2008 6:19 PM

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?