Old 07-31-2017, 07:41 AM   #1
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 2,493
Default GetTrackStateChunk string truncated if > 4Mb

Hi,

This has been mentioned in the Scripting forum but I cannot find a bug report on here for it.

If a track chunk string is quite large (limit appears to be > 4Mb) - then what's returned by GetTrackStateChunk is truncated - and therefore fairly useless.

I'm assuming it's similar for SetTrackStateChunk.

I've no idea if there is a reason for this or if it is just a bug - but with plugins like Kontakt and Nebula in common use - it's very easy for a track chunk to break this apparent limit.

A workaround has been suggested (using SNM functions)- but these are limited in that if you delete or move around any of the FX chunk data - all the GUIDs get messed up (as in - the GUIDs won't follow any reordering or deletions - they always remain fixed in place). IE. it becomes very hard to keep track of plugins. Surely once a plugin is created and has a GUID - that GUID should remain part of that plugin and not ever swap to another plugin.

Can the truncation of the chunk be avoided - as the SNM solutions don't appear to be very usable for me?
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is online now   Reply With Quote
Old 07-31-2017, 12:59 PM   #2
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 2,493
Default

A quick test seems to suggest that SetTrackStateChunk might not suffer the 4Mb limit. I'm going to do some more testing on this to try and confirm. But the GetTrackStateChunk definitely has a problem with larger chunks.
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.