Log in

View Full Version : Linux AviSynth Switcher


tcope
21st February 2017, 19:11
The switcher is a wonderful idea, however it does not play well for those running wine on Linux..

To solve this I have written a bash script to complement the project.

VERSION='2.1 (03-10-2017)'
#########################################################
# Written by Tim Copeland
# Inception 02-20-2017
# Providing functionality for wine users on Linux
# Inspired by AvisynthRepository script from Groucho2004


Version 2.1 is now avail.

Added feature to cascade list, allowing
cascade options to target "ALL32" and "ALL64".

The documentation of website has been
updated to reflect the new changes.
A complete changlog can be found
included with the zip file.

I have successfully tested it in both
32 and 64 bit wine prefixes.

Now both 32 and 64 bit AVS installs, will
correctly coexist in a single 64 bit wine
prefix.

Introducing a new cascade plugin loader.
Allows granular plugin loading with as many
different plugin directories as you like and
gives granularity for which plugins load for
each AVS version.

This allows centralized plugin management
outside of wine prefixes.

The AviSynth+ auto loader is also supported
and behaves as normal, along side of the
cascade loader.

The download, along with detailed information
can be found at......
Linux AviSynth Switcher Project Home Page (http://criteriondigital.net/AviSynth/index.htm)

Hopefully others will find this useful.
I welcome all feedback and look forward
to hearing of your experiences.

Cheers :)

Groucho2004
21st February 2017, 19:30
The switcher is a wonderful idea, however it does not play well for those running wine on Linux..

To solve this I have written a bash script to complement the project.

#!/bin/bash
#
VERSION=1.0
#########################################################
# Written by Tim Copeland
# 02-20-2017
# Providing functionality for wine users on Linux
# Inspired by AvisynthRepository script from Groucho2004
#########################################################


Feel free to include it in your package.
Cheers :)
I'm not (yet) using Linux so I can't test it. I'll certainly include it if I get some feedback from other users.

Attachments usually take very long to get approved around here, you might consider posting it on dropbox or similar.

tcope
21st February 2017, 20:36
Attachments usually take very long to get approved around here, you might consider posting it on dropbox or similar.

TY for the heads up.. No worries if they don't get to it any time soon.
It can be downloaded from here.
Linux AviSynth Switcher (http://criteriondigital.net/AviSynth/index.htm)

tcope
21st February 2017, 21:58
No mismatch, that's how it should be.


You can tell I dont spend much time with windows these days.
Leave it to microsoft to do some confusing nonsense like that.

TY for clarifying.

The script has been fixed and download links restored.
Hopefully others will find it useful also.
I welcome feedback

Cheers :)

tcope
9th March 2017, 03:48
Version 2.0 is now avail.

A new web page has been created
to support the Linux version of setavs.
.
.
.

Groucho2004
9th March 2017, 10:09
Tim, please make a new thread for this.

tebasuna51
9th March 2017, 11:39
New thread created.

Groucho2004
13th March 2017, 18:45
The download, along with detailed information
can be found at......
Linux AviSynth Switcher Project Home Page (http://criteriondigital.net/AviSynth/index.htm)
Wow, nice page you made there!

tcope
13th March 2017, 20:14
TY sir :)
:thanks:

tcope
15th March 2017, 16:42
Version 2.1 Now Available

Groucho2004
15th March 2017, 16:45
Version 2.1 Now Available
No change log?

tcope
15th March 2017, 16:49
is inside the file download setavs.sh.zip
download link on home page

Groucho2004
15th March 2017, 16:56
is inside the file download setavs.sh.zip
download link on home page
Ah, I see.
VERSION=2.1 (03-10-2017): Added entry for libfftw3f-3.dll in system loadable dll list.
-current list-:
dllLIST="avisynth.dll devil.dll libfftw3f-3.dll"
What does libfftw have to do with the Avisynth core? That choice seems rather random. This DLL is used by some plugins, other plugins may have other dependencies.

tcope
15th March 2017, 17:03
The information on the website has
also been updated to reflect all the
changes.

Cheers :)

tcope
15th March 2017, 17:06
libfftw3f-3.dll is one i needed and is
added to the list to demonstrate how
to add items to the list, while having
items in the list but not having them
installed has no ill effects.

Done basically to call attention to the
concept for installing system dll's vs
plugin dll's.

tcope
15th March 2017, 17:08
i went into more details on the website on that topic

tcope
15th March 2017, 17:13
To clarify. it does not need to be installed.
Was done to highlight the concept.

Groucho2004
15th March 2017, 17:15
OK, just a couple of things:

libfftw3f-3.dll is not a plugin (as stated on your page), it's a support DLL.
Some plugins will try to load libfftw3f-3.dll but with a different name (fftw3.dll) so just having libfftw3f-3.dll in the system directory won't help.
I would probably use a separate variable for support libraries but that's of course your choice.

tcope
15th March 2017, 18:16
libfftw3f-3.dll is not a plugin (as stated on your page), it's a support DLL.

good catch.. Typo now corrected on website.

I would probably use a separate variable for support libraries

Originally considered that, but wasnt sure how many support
libraries are generally being used. At the moment I am only
needing the one. Seemed easier than adding multiple lines of
support code to add one system dll .

There may be others out there with a long list
of system dll's they use. You all have a better idea
of how many support libraries outside the core
are commonly being used.

Could deff split that off into its own var if needed.