XML file for Advanced Output

Just let it all out, buddy. You're among friends here.
Post Reply
VjLuper
Posts: 35
Joined: Mon Apr 12, 2010 10:48

XML file for Advanced Output

Post by VjLuper »

Hello beautiful people!
I would need to pass on resolume a mapping made with another software. I think the best way is to generate the XML file that I will then load from the "Advanced Output" window

Is it possible to have the documentation of this type of file?
Thanks!

User avatar
cosmowe
Posts: 1623
Joined: Fri Mar 25, 2011 10:27
Location: cologne // germany

Re: XML file for Advanced Output

Post by cosmowe »

Hey there,
could you be a bit clearer about what you're trying to do there!?

As far as I understand you correctly, you or someone else created a mapping using another software – for example with MadMapper.
And now you'd like to convert this MadMapper file into an XML format that Resolume can understand – right?

Best wishes,
cosmowe
Image Do you like outlines? Easy Outliner on Juicebar

VjLuper
Posts: 35
Joined: Mon Apr 12, 2010 10:48

Re: XML file for Advanced Output

Post by VjLuper »

Hi Cosmowe!
cosmowe wrote: Fri Mar 21, 2025 12:58 cosmowe
I created the mapping using a VVVV patch, this mean I have the coordinates (x,y,z) of each point of the surface (it's a curved wall).

I want to create the XML file to load from resolume.
nic
Attachments
screenshot.jpg

User avatar
cosmowe
Posts: 1623
Joined: Fri Mar 25, 2011 10:27
Location: cologne // germany

Re: XML file for Advanced Output

Post by cosmowe »

Okay, I see,
but I gotta tell you, without a custom converter script, I don’t see any real way to do it. Developing such a converter would probably take way longer than just rebuilding the mapping from scratch in Resolume.

You were asking about the structure of the Resolume XML file, right!? You can simply open the XML in an editor like Notepad++ and have a look at it yourself. My approach would be to start with a single square in the mapping...both in vvvv and in Resolume.... and then painstakingly compare everything. For each value, I’d create a value mapping in a table, maybe with some conversion formulas if needed.

But yeah, that means scripting and testing, and testing, and testing again. I can totally imagine it could work, but it’d be super time consuming and kind of a nervekiller :D Even with AI support, it’s no walk in the park.

But hey..... maybe I’m wrong and some clever dude/lady will jump in here and say: "Everyone out of the way… HERE, TAKE THIS TOOL!"

If that happens… chapeau! :)


Best wishes
cosmowe
Image Do you like outlines? Easy Outliner on Juicebar

VjLuper
Posts: 35
Joined: Mon Apr 12, 2010 10:48

Re: XML file for Advanced Output

Post by VjLuper »

cosmowe wrote: Fri Mar 21, 2025 15:57 You were asking about the structure of the Resolume XML file, right!? You can simply open the XML in an editor like Notepad++ and have a look at it yourself.
I'm doing this right now. My problem is that there seems to be more coordinates than there should be, and a bit of data that aren't intuitive.

I used to work in a software company (a long time ago, seems like a lifetime ago) and I remember we had to keep some documentation on almost everything. I don't know if the wonderful guys at resolume kept it, but if they did somewhere I'd be very happy :D

thanks anyway
Attachments
screenshot2.jpg

Menno
Team Resolume
Posts: 146
Joined: Tue Mar 12, 2013 13:56

Re: XML file for Advanced Output

Post by Menno »

There is no documentation for this file format, nor is this format part of our public api. This means that it may change without notice. To be fair, it doesn't change often so you may still get some milage from your tools. It's just that we aren't keeping track of who's using the format nor will format changes be mentioned in release notes.

We have an open unscheduled feature request for rest support, that's probably the way forward for programmatically modifying the preset. For now you can probably easily recreate the preset by exporting the image and using it as input guide.

VjLuper
Posts: 35
Joined: Mon Apr 12, 2010 10:48

Re: XML file for Advanced Output

Post by VjLuper »

Menno wrote: Fri Mar 21, 2025 17:16 For now you can probably easily recreate the preset by exporting the image and using it as input guide.
Eh, the problem is that I have to remap 28 projectors, with 17x17 points each (289) :shock:
Anyway I solved it! My problem was that in the XML file there were more vertices than expected. 2401 instead of 289.
After I understood that I had to add 2112 "fake" bezier handles (because they are in the file even if I don't use them) everything was easy :D
Attachments
Resolume.jpg

User avatar
cosmowe
Posts: 1623
Joined: Fri Mar 25, 2011 10:27
Location: cologne // germany

Re: XML file for Advanced Output

Post by cosmowe »

congratulations :P nice work
Image Do you like outlines? Easy Outliner on Juicebar

Post Reply