EvilDragon
KSP Wizard
Yes, copy out somewhere else the 5.6.6 exe (standalone) and dll (plugin), do the update to 5.8, then rename the older version files and place them where latest versions are. In most DAWs this should work.
....
on ui_control($Layout__Unit1Knob1)
pgs_set_key_val(Unit1Knob1,0,1)
end on
....
on pgs_changed
select (pgs_get_key_val(FXRACK,0))
case 1
$i := 0
while ($i<588)
select ($i)
case 0 to 255
%master_preset[$i] := pgs_get_key_val(FXRACK_PRESET,$i)
case 256 to 511
%master_preset[$i] := pgs_get_key_val(FXRACK_PRESET1,$i-256)
case 512 to 767
%master_preset[$i] := pgs_get_key_val(FXRACK_PRESET2,$i-512)
end select
inc($i)
end while
call get_master_preset
$KnobsPreserved := 1
call AssignUnit1Plugin
call AssignUnit2Plugin
call AssignUnit3Plugin
wait(10000)
$KnobsPreserved := 0
if (1=1)
set_control_par($Layout__OverlaySliderID,$CONTROL_PAR_HIDE,$HIDE_WHOLE_CONTROL)
$Layout__i := 0
while ($Layout__i<374)
if (%Layout__control__Page[$Layout__i]=$Layout__UnitsPage)
set_control_par(%Layout__Page__IDs[$Layout__i],$CONTROL_PAR_HIDE,$HIDE_PART_NOTHING)
end if
if (%Layout__control__Page[$Layout__i] # $Layout__UnitsPage and (%Layout__control__Page[$Layout__i] # 0))
set_control_par(%Layout__Page__IDs[$Layout__i],$CONTROL_PAR_HIDE,$HIDE_WHOLE_CONTROL)
end if
inc($Layout__i)
end while
end if
call RenderInserts
$Layout__lfoTweakButton := 0
$Layout__seqTweakButton := 0
pgs_set_key_val(FXRACK,0,0)
case 2
call set_master_preset
$i := 0
while ($i<588)
select ($i)
case 0 to 255
pgs_set_key_val(FXRACK_PRESET,$i,%master_preset[$i])
case 256 to 511
pgs_set_key_val(FXRACK_PRESET1,$i-256,%master_preset[$i])
case 512 to 767
pgs_set_key_val(FXRACK_PRESET2,$i-512,%master_preset[$i])
end select
inc($i)
end while
pgs_set_key_val(FXRACK,0,-1)
end select
select (pgs_get_key_val(FXRACK_BYPASS,0))
case 0
select ($Unit1PluginOnProxy)
case 0
$Layout__Unit1PluginOn := 0
call OnUnit1PluginOn
case 1
$Layout__Unit1PluginOn := 1
call OnUnit1PluginOn
end select
case 1
select ($Unit1PluginOnProxy)
case 0
$Layout__Unit1PluginOn := 1
call OnUnit1PluginOn
case 1
$Layout__Unit1PluginOn := 0
call OnUnit1PluginOn
end select
end select
select (pgs_get_key_val(FXRACK_BYPASS,1))
case 0
select ($Unit2PluginOnProxy)
case 0
$Layout__Unit2PluginOn := 0
call OnUnit2PluginOn
case 1
$Layout__Unit2PluginOn := 1
call OnUnit2PluginOn
end select
case 1
select ($Unit2PluginOnProxy)
case 0
$Layout__Unit2PluginOn := 1
call OnUnit2PluginOn
case 1
$Layout__Unit2PluginOn := 0
call OnUnit2PluginOn
end select
end select
select (pgs_get_key_val(FXRACK_BYPASS,2))
case 0
select ($Unit3PluginOnProxy)
case 0
$Layout__Unit3PluginOn := 0
call OnUnit3PluginOn
case 1
$Layout__Unit3PluginOn := 1
call OnUnit3PluginOn
end select
case 1
select ($Unit3PluginOnProxy)
case 0
$Layout__Unit3PluginOn := 1
call OnUnit3PluginOn
case 1
$Layout__Unit3PluginOn := 0
call OnUnit3PluginOn
end select
end select
if (pgs_get_key_val(Unit1Knob1,0)=1)
pgs_set_key_val(Unit1Knob1,0,0)
end if
if (pgs_get_key_val(Unit1Knob2,0)=1)
pgs_set_key_val(Unit1Knob2,0,0)
end if
if (pgs_get_key_val(Unit1Knob3,0)=1)
pgs_set_key_val(Unit1Knob3,0,0)
end if
if (pgs_get_key_val(Unit1Knob4,0)=1)
pgs_set_key_val(Unit1Knob4,0,0)
end if
if (pgs_get_key_val(Unit1Knob5,0)=1)
pgs_set_key_val(Unit1Knob5,0,0)
end if
if (pgs_get_key_val(Unit1Knob6,0)=1)
pgs_set_key_val(Unit1Knob6,0,0)
end if
if (pgs_get_key_val(Unit1Knob7,0)=1)
pgs_set_key_val(Unit1Knob7,0,0)
end if
if (pgs_get_key_val(Unit1Knob8,0)=1)
pgs_set_key_val(Unit1Knob8,0,0)
end if
if (pgs_get_key_val(Unit1Knob9,0)=1)
pgs_set_key_val(Unit1Knob9,0,0)
end if
if (pgs_get_key_val(Unit1Knob10,0)=1)
pgs_set_key_val(Unit1Knob10,0,0)
end if
if (pgs_get_key_val(Unit1Knob11,0)=1)
pgs_set_key_val(Unit1Knob11,0,0)
end if
if (pgs_get_key_val(Unit1Knob12,0)=1)
pgs_set_key_val(Unit1Knob12,0,0)
end if
if (pgs_get_key_val(Unit2Knob1,0)=1)
pgs_set_key_val(Unit2Knob1,0,0)
end if
if (pgs_get_key_val(Unit2Knob2,0)=1)
pgs_set_key_val(Unit2Knob2,0,0)
end if
if (pgs_get_key_val(Unit2Knob3,0)=1)
pgs_set_key_val(Unit2Knob3,0,0)
end if
if (pgs_get_key_val(Unit2Knob4,0)=1)
pgs_set_key_val(Unit2Knob4,0,0)
end if
if (pgs_get_key_val(Unit2Knob5,0)=1)
pgs_set_key_val(Unit2Knob5,0,0)
end if
if (pgs_get_key_val(Unit2Knob6,0)=1)
pgs_set_key_val(Unit2Knob6,0,0)
end if
if (pgs_get_key_val(Unit2Knob7,0)=1)
pgs_set_key_val(Unit2Knob7,0,0)
end if
if (pgs_get_key_val(Unit2Knob8,0)=1)
pgs_set_key_val(Unit2Knob8,0,0)
end if
if (pgs_get_key_val(Unit2Knob9,0)=1)
pgs_set_key_val(Unit2Knob9,0,0)
end if
if (pgs_get_key_val(Unit2Knob10,0)=1)
pgs_set_key_val(Unit2Knob10,0,0)
end if
if (pgs_get_key_val(Unit2Knob11,0)=1)
pgs_set_key_val(Unit2Knob11,0,0)
end if
if (pgs_get_key_val(Unit2Knob12,0)=1)
pgs_set_key_val(Unit2Knob12,0,0)
end if
if (pgs_get_key_val(Unit3Knob1,0)=1)
pgs_set_key_val(Unit3Knob1,0,0)
end if
if (pgs_get_key_val(Unit3Knob2,0)=1)
pgs_set_key_val(Unit3Knob2,0,0)
end if
if (pgs_get_key_val(Unit3Knob3,0)=1)
pgs_set_key_val(Unit3Knob3,0,0)
end if
if (pgs_get_key_val(Unit3Knob4,0)=1)
pgs_set_key_val(Unit3Knob4,0,0)
end if
if (pgs_get_key_val(Unit3Knob5,0)=1)
pgs_set_key_val(Unit3Knob5,0,0)
end if
if (pgs_get_key_val(Unit3Knob6,0)=1)
pgs_set_key_val(Unit3Knob6,0,0)
end if
if (pgs_get_key_val(Unit3Knob7,0)=1)
pgs_set_key_val(Unit3Knob7,0,0)
end if
if (pgs_get_key_val(Unit3Knob8,0)=1)
pgs_set_key_val(Unit3Knob8,0,0)
end if
if (pgs_get_key_val(Unit3Knob9,0)=1)
pgs_set_key_val(Unit3Knob9,0,0)
end if
if (pgs_get_key_val(Unit3Knob10,0)=1)
pgs_set_key_val(Unit3Knob10,0,0)
end if
if (pgs_get_key_val(Unit3Knob11,0)=1)
pgs_set_key_val(Unit3Knob11,0,0)
end if
if (pgs_get_key_val(Unit3Knob12,0)=1)
pgs_set_key_val(Unit3Knob12,0,0)
end if
end on
function OnKnobs
// NI_CALLBACK_ID etc
....
// arg1 is id of value-label of ui-element
arg1 -> hide := HIDE_PART_BG
wait(1000)
// if NI_CALLBACK_ID etc
arg1 -> hide := HIDE_WHOLE_CONTROL
end function
slider amount: 85
button amount: 142
switch amount: 52
label amount: 94
menu amount: 2
table amount: 1
waveform amount: 0
knob amount: 0
file_selector amount: 0
level_meter amount: 0
text_edit amount: 1
value_edit amount: 1
xy amount: 2
It's really, really the last example I took from the code. There is no pgs in the subject script. There is the function with set_engine_par and hide_part. Nothing really strange in it. Look at the second example. It stacked too, without any pgs code.Why would you do what you're doing there in PGS?
this is the main strange thing)I cannot confirm anything happening here...
This is great.