Mira and Max Standalone

Dan Nigrin's icon

Will Mira work with a Max standalone, or only with the Max application itself?

Dan Nigrin's icon

FYI - I heard off-line from Cycling that Mira does work with Max standalones...

kennethnewby's icon

I've used Mira recently to control our projection mapping Max standalone. Mira is a great improvement over previous techniques for accurately setting up our complex multi-screen video installation works. The ease of the network setup plus the ability to walk around and get close to screens in the installation space makes the process a lot easier and more precise in a shorter time. We've been working with >100 individual screens to map so this means a lot in terms of setup time and effort.

Kenneth.

Rodrigo's icon

I would imagine if you build an application, or collective, or project, that it will include the mira dependency files (like any abstractions/externals).

Mike OConnor's icon

i just tried to build a standalone app that included Mira and Miraweb. when the app loaded, console messages "Mira package is not installed. Miraweb requires the Mira package" and "mira.frame: no such object"

i did the usual searching for the error-messages and this dusty thread is about the closest i got.

just checking to confirm - is Mira still not included in standalone builds?

thanks in advance.

Andrew Pask's icon

@Mike

The build phase may not be copying the relevant externs and libs over - we can check that.

In the meantime, if you manually copy the mira and miraweb packages over to the support folder of your app you should be good

Cheers

Andrew

Mike OConnor's icon

hi Andrew,

you got it in one. the Miraweb package had copied, but the Mira package had not. your suggestion worked. i made an app out of the mira.frame help patch, added the Mira package into its Packages directory and was successful launching on the target machine. thanks! especially on New Years Day. ;-)

whilst poking around, i also came across a very old "mira" directory in /applications/max.app/contents/resources/C74/packages (which is where all the "standard" packages live). nothing newer than 23-Nov 2016 in there. is it safe to remove that folder, since the newest version is in ~/documents/Max 7/packages? i may have loaded it there back in the days before Package Manager.

Andrew Pask's icon

The Package Manager should only load the most recent version of any package, it looks at the version string in package-info.json

No harm in blowing the old stuff away

Cheers

-A

Mike OConnor's icon

done.

one last, completely off-topic, set of questions. RTFM is perfectly acceptable, i just haven't been able to find the documentation of this kind of stuff.

- is there a way to force a different port number into Miraweb?

- is there a way to force Miraweb to launch a public read-only web page without the Link or Patching options? i'd like to do a display-only site without granting access to the patch on the server

Andrew Pask's icon

Hey Mike

We're looking at the port thing now, there are a few difficulties in the way. So right now it is not possible to change the port.

Regarding read-only - you might be able to get there now by setting each object to ignore click.

Also something we are looking at for the future

Cheers

-A

Mike OConnor's icon

hi Andrew,

i just posted a little writeup on the Miraweb "announce" thread that may bear on the "ports" puzzler. here's a link to the thread https://cycling74.com/forums/announcing-miraweb-package/

i was trying to learn whether a remote web browser could hit mira.frame objects in a M4L patch and got a goofy port assignment out of the miraweb_launcher. you may know all about this, but i wrote it up anyway.

following up on your ignore-click suggestion. none of the objects are clickable, they're just gauges. but Miraweb likes to open in Link mode rather than Presentation. when the person viewing the page finds the tool to change that (so that the whole screen scales correctly), they also discover Patching mode. which doesn't seem to do anything, at least right now on this machine. but it makes me edgy to leave something like that out there as an option for folks. so maybe the developers could consider an option like the old "kiosk mode" model from the early days of the web?

thanks again, no need for a reply.