Is there a way to view/query all of the rackspaces for a particular plugin?

I’m trying to clean up some issues I have with Arturia plugins (custom presets inconsistently not saving - something that has been brought here before). What I want to do is go back and change all of my Arturia VST3 plugins to VST2 because it seems to work better. Problem is that my main coverband gig file has over 200 rackspaces in there. I could load each one manually, but it would be a lot easier if I could just query them somehow.

Did you report the issue to Arturia?

You can save a Gig File with the extension xml in Windows Explorer or Mac Finder.
Then you can load that xml-file into Excel

Here you see the name of the used plugins

And here you see the name of the rackspace

In Excel now you can search for your plugin

Better you can copy the 2 columns and paste in an additional sheet

4 Likes

Another option is to use XSL Transformation

Open this site with your web Browser

Upload the gig file (copied to file with extension xml)

Copy this XSL Code

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
  <html>
  <body>
    <table border="1">
      <tr bgcolor="#9acd32">
        <th>Rackspace</th>
        <th>Plugin</th>
        <th>Format</th>
      </tr>
      <xsl:for-each select="/GIGRACK/RACKSPACE">
      <xsl:for-each select="PROCESSOR/PLUGIN">
      <tr>
        <td><xsl:value-of select="../../@name"/></td>
        <td><xsl:value-of select="@name"/></td>
        <td><xsl:value-of select="@format"/></td>
      </tr>
      </xsl:for-each>
      </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>

Press “Transform XML to new window”

In the new window you see this

You can save this as a HTML-FIle and open it with your web-browser
Bildschirmfoto 2022-11-03 um 13.55.15

BUT: The size of the file you can upload is restricted to 2MB

1 Like

Another option is to use Perl
On MAC:
perl tr.pl

use strict;
use warnings;

use XML::LibXSLT;

my ($xmlfile, $xsltfile,$outfile) = qw/ blue.xml blue.xsl out.html /;

my $xslt = XML::LibXSLT->new;
my $stylesheet = $xslt->parse_stylesheet_file($xsltfile);
my $results    = $stylesheet->transform_file($xmlfile);

$stylesheet->output_file($results,$outfile);

Just create an ascii file, put the code above in it and save as tr.pl

It reads in this example the file blue.xml (just a copy from blue.gig) and applies the XSL-Transformation in the file blue.xls and puts the HTML output in the file out.html

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
  <html>
  <body>
    <table border="1">
      <tr bgcolor="#9acd32">
        <th>Rackspace</th>
        <th>Plugin</th>
        <th>Format</th>
      </tr>
      <xsl:for-each select="/GIGRACK/RACKSPACE">
      <xsl:for-each select="PROCESSOR/PLUGIN">
      <tr>
        <td><xsl:value-of select="../../@name"/></td>
        <td><xsl:value-of select="@name"/></td>
        <td><xsl:value-of select="@format"/></td>
      </tr>
      </xsl:for-each>
      </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>

Content of blue.xsl

1 Like

You have to be on drugs to use Perl! At least use Python :slight_smile: :slight_smile:

1 Like

Hm, just saw this after ‘having been linked’ in the Hacks compilation…
Looks quite complicated, but also a solution for the same problem or requirements.
I still prefer my solution with a Python script and some filtering afterwards in Excel :slight_smile: