Advanced Max: Standalones, Part 3


    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.
    In the third installment in our series on creating standalone applications. I’ll spend 40 minutes guiding you through the process of creating your own file format, showing you how to make your app read and write documents, customizing menu bars, and even giving you the inside scoop on a secret object.

    Advanced Max: Standalones, Part 3

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

    • Feb 14 2018 | 5:48 pm
      Hi Timothy I've hit a wall with some standalone apps I've made available to music teachers to help students with sight reading. Is there any way to "sign" a Max standalone so users don't have to disable gatekeeper prefs to open it? JB Smith
    • Feb 14 2018 | 6:31 pm
      Hi JB! That topic will be addressed in a future video in this series!
    • Feb 15 2018 | 9:11 am
      Hi Timothy The object Opened does not seem to work inside a standalone application.
    • Feb 16 2018 | 8:38 am
      HI timothy
      The procedure for putting the path to the external file won't work after building a standalone. On Windows, the path to data includes the username, and other locations are write protected. On Macs it might work, but not if the user runs the app on the desktop, for example. So after distributing a standalone, the path will be wrong on other machines. In some cases it will present an open dialog to find the proper file, if for example using pattrstorage with savemode set to 3. But my general experience with Mac users is they write me to tell me it doesnt work, without any further specifics, the moment they see a file-open dialog. The reason is that the app has no way to know where to set the defualt path, so they have to navigate to it, and they don't expect that.
      There's a number of solutions, and I look forward to hearing your preferred option.
    • Feb 16 2018 | 3:13 pm
      @MaMe Thanks for that report! I just fixed the opened object problem and that will be in a forthcoming release.
      @Ernest I need a little more background on what you are reporting as I could interpret that several different ways. A step-by-step sequence for me to reproduce would be most helpful. Thanks!
    • Feb 16 2018 | 3:20 pm
      Oh, You build the app and open it. Then if the file isn't on the search paths set for Cycling74, it can't find the file and shows an open dialog, if it's a type of object that does (for others, like pattrstorage, it may only display an error in the console). But the path location of the open dialog is the path to the last file it opened, or defaults to C:\ root on Windows, which is what perplexes users.
      it's a bit difficult to share as its 25~100 MB.
    • Feb 17 2018 | 8:51 pm
      Great tutorials!