Tutorials

Advanced Max: Standalones, Part 1

Want to build a standalone Mac or Windows application? With Max, you can do just that and I will show you how. The result is an independent application anyone can run on their Mac or Windows machine with no Max installation required.

Here’s the first in a series on creating standalone applications. Spend 18 minutes learning the basics on standalone building for Mac and Windows machines.

All the tutorials in this series: Part 1, Part 2, Part 3, Part 4, Part 5

by Timothy Place on December 12, 2017

patrick robert's icon

Great thanks!

Martin.Jirsak's icon

Great, looking forward to the next part. Thanks!

Graham Dunne's icon

Very cool. Looking forward to the rest of this series! Thank you.

Ernest's icon

Thanks for the videos. I just posted a separate topic:

When javascript contains buffer and dict ojects, they dont work in the standalone and the console reports "Buffer is not defined" and "Dict is not defined." Is there something missing , or is it a bug? I'm inclined to think it's a new bug, as the same error happens when loading monosequencer in max for live, which contains a dict object.

Also: * A coll object named for example 'foo' creates an erroneous error 'foo: no such file in collective'. * When including the adstatus window it generates a 'Dict is not defined' message' and some missing colors in javascript. * The following files have to be added manually in the build process e3ven though they are included: revert.svg, reveal.svg, audiopower.svg, resolveconflicts.svg

Max 7.3.4 on windows 10

Franky De Smet Van Damme's icon

Thank You ! If you have time make more of these video's !! they will probably get me going in Max !!

KD's icon

Hi,

thanks for the great tutorial.

When I follow the tutorial on Windows 7, Max 7.3.4 crashes at the point where I'm adding the loadmess 1, toggle, fullscreen $1, front - part and reopen the patch.

No problem on Mac OS.

Any idea why Max crashes here?

Regards Klaus

11OLSEN's icon

@ Klaus Dobbler Insert a deferlow after loadbang. I remember this special problem with Windows.

Ernest's icon

I think C74 has fixed the missing Dict and Coll objects in the current release. Sadly I dont think I will be able to help much with the tech stuff in the future, my health has declined alot over the last few years, so I am trying to write up what little else in my life might be interesting to other people, such as my friendship with Steve Jobs, and post it on my blog https://yofiel.com ~ I know I dont write in a very accessible manner when I'm not writing tech stuff, like, anyone with english as a second language won't want to read it, in fact I tend to write past high school level, so I dont think it will be a big success. But I dont want to dumb it down this time, so there it is.

Martel Martin's icon

well i fixed that part but now the chord.js from tonal is not working

Ernest's icon

And I took my blog offline. Even my old work colleagues weren't interested in accounts of the time we had together. Wel, l the world certainly has changed since I joined the workforce 40 years ago. Going to see if I can get on a respirator yet. Cheerio )

Roman Thilenius's icon

and you are clarefloud-blocking the whole european adress range because of a single NI staff member.

Ernest's icon

What lol by blog is offline, like I said

James Howard Young's icon

Thanks for the tutorials. Can I build a collective in Max for Mac that can be opened in Max for windows?

Martin.Jirsak's icon

Hi,

Yes. The Max collective is cross platform. So you can build it on Mac and open on Windows.

But you cannot make the Windows Application (*.exe) on Mac.

B-Scherr's icon

I'm getting "unable to locate package 'link', could not add to standalone" in the Max console (actually about 50 of these messages repeated); but the patch seems to run correctly as I've been building it as I follow along with your video. When I built the standalone, it did it, but almost all of the graphics didn't work. I'm not sure how to correct the link and could use some help doing so.

B-Scherr's icon

Another thing: the messages arise when trying to save the project and not when I first open the project. Win10, Max 8

Jack.Lion's icon

Hey, B-SCHERR, I am having the same issue over here only I am on MacOS Catalina. I'm doing some digging today and will report back if I find a solution.

Jack.Lion's icon

Okay, so I downloaded the link package and it cleared the errors but in order to get the graphics to work, you need to find the folder contents of the standalone. under resources>C74>packages place a copy of the jit.mo package or any other packages you wish to include. This worked for me the next time I opened the standalone!

Derick Downey's icon

I'm just here ~5 years later showing some love and appreciation for you taking the time to create this tutorial series. Thank you!!!