This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Paths

Russian | French

why you should NOT develop your modules/plugins/etc. in vvvv's related folders.

previously some words about paths

a patch refers to its contained EXTERNALS (means: external files like modules ; subpatches ; ex9.effects ; plugins ; freeframe.dlls ; vst.dlls ) in basically TWO different ways.
but like any other rules this rule also has an important exception.

1. 'absolute' Paths
2. 'relative' Paths
3. 'special' Paths (dear devvvvs, do you have a synonym for this?)

in almost any case you should go for 'relative' Paths.

imagine having a patch PATCH.v4p containing a subpatch EXTERNAL.v4p.
(or MODULE.v4p ; SHADER.fx ; PLUGIN.dll ; FREEFRAME.dll ; VST.dll.... )

move your cursor over the node EXTERNAL.v4p and wait a second.
now the tooltip tells you how PATCH.v4p is referencing to EXTERNAL.v4p

'absolute' Path

example: C:\vvvv\kalle\EXTERNAL.v4p

means:
no matter where you move your patch,
on startup it searches its subpatch ( fx; plugin ; ..) in exactly this location.

so if you also moved this 'external.v4p' ( fx; plugin ; ..) to another location this happens:
the external isn't found; vvvv creates an 'empty' patch with any inlets.
for sure you all experienced this at least once...

'relative' Paths

example: EXTERNAL.v4p C:\vvvv\kalle\

both PATCH.v4p and EXTERNAL.v4p are located in the same folder (here: C:\vvvv\kalle\ )
they are referenced 'relative'.
move both patches (or their folder) to another location:
they keep referenced correct.

other examples would be
Subfolder\EXTERNAL.v4p C:\vvvv\kalle\
means.
C:\vvvv\kalle\PATCH.v4p
C:\vvvv\kalle\Subfolder\EXTERNAL.v4p
move folder \kalle\ somewhere else without problems.

..\EXTERNAL.v4p C:\vvvv\kalle\Subfolder\
means that the external is located in the patches PARENTfolder.
C:\vvvv\kalle\Subfolder\PATCH.v4p
C:\vvvv\kalle\EXTERNAL.v4p
move folder \kalle\ somewhere else without problems.

..\Modules\EXTERNAL.v4p C:\vvvv\kalle\Subfolder
means:
C:\vvvv\kalle\Subfolder\PATCH.v4p
C:\vvvv\kalle\Modules\EXTERNAL.v4p
move folder \kalle\ somewhere else without problems.

finally those special cases:

:MODULES:\EXTERNAL.v4p C:\YourLocationOf\vvvv_40betaXY\modules\
:FREEFRAME:\Fiducialtracker.dll C:\YourLocationOf\vvvv_40betaXY\freeframe\
:EFFECTS:\Constant.fx C:\YourLocationOf\vvvv_40betaXY\effects\
references to the \modules\ (\fx\ ; .... ) folder next to the vvvv.exe you are currently running.
no matter in which location the author of EXTERNAL.v4p ran HIS vvvv.exe.
so this is a path relative to YOUR VVVVlocation, NOT relative to your PATCH.v4p

in case of the commonly distributed modules like
:MODULES:\AxisAndGrid (DX9).v4p C:\YourLocationOf\vvvv_40betaXY\modules\
this works like a charm.

but in case of individual subfolder structures like:
:MODULES:\kalle\Devices\SpaceNavigator\Custom.v4p C:\YourLocationOf\vvvv_40betaXY\modules\kalle\Devices\SpaceNavigator\
:EFFECTS:\PS3_0\nVIDIA\tryMETAL.fx C:\YourLocationOf\vvvv_40betaXY\modules\kalle\Devices\SpaceNavigator\
:PLUGINS:\(user)\(folder)\plug.dll|vvvv.Nodes.plugNode C:\YourLocationOf\vvvv_40betaXY\modules\(user)\(folder)\
chaos and broken links are preprogrammed.
it would take some effort to rebuild another users folder structure.
beyond that evvvvery user will have his own likes of structuring folders.


ok,
now you did invent a really incredible module,
it would be a serious shame not sharing this one with our lovvvved community.
so pingpingtaktakgenaugenau,
make a helpfile and upload to the vvvviki to keep the VVVVheel spinning.

your MODULE.v4p was already located in :MODULES:\mymodules\category\ and appears in the nodelist.
you create a new patch,
open the nodelist,
place your MODULE.v4p inside that patch and save it as MODULE help.v4p into the same folder as usual.
zip it and up it.

what a pity:
your nice, weird helpful module inside its helppatch is referenced as:
:MODULES:\mymodules\category\MODULE.v4p
logically works for other users only

  • if they exactly recreate your subfolderconstructions :(

or

  • if they 'repair' the paths by editing the MODULE help.v4p with a texteditor :)

see: HowTo edit wrong Paths quickly.

a better way:
develop your externals and their helppatches in ANY OTHER folders than those especially referenced vvvvfolders
when your external and its helppatch reached a final state,
use the tooltip to assure that all paths are 'relative' ones.
now you can; without causing any trouble,

  • zip your stuff within a subfolder or even a more complex folderstructure
  • upload it
  • and finally move it into your vvvv's \modules\ (\fx\ ; .... ) folder.

(some of you vvvvolks wondered about my messy desktop, now i have a large folder \ModulesInProgress\ with lots of unfinished goodies)

anonymous user login

Shoutbox

~3d ago

skyliner: the vcard page is assembled by personal settings + user page

~3d ago

lasal: thank you guys but this is to edit the user data, i don't find how to edit the vcard

~3d ago

CeeYaa: @lasal - haha nice - I think it's funny - you should keep it ;) to change - HOME-SETTINGS - PERSONAL SETTINGS

~3d ago

skyliner: @lasal: here?

~3d ago

lasal: who knows how to edit the vcard?

~3d ago

joreg: get started with #vl with this first part of a series of "vl for vvvv users" tutorial: https://discourse.vvvv.org/t/vl-for-vvvv-users-key-differences-1-5/15919 #vvvv

~3d ago

joreg: speak japanese? this looks like a great resource for #vvvv tipsntricks: https://qiita.com/advent-calendar/2017/vvvv