include image file in runtime
I want to make a runtime with this patch.
It needs a an image file of my own, .jpg format.
I built a collective and specifyed the path of the file.
When I launch the runtime patch the image seems not to be there.
No error message in max window.
Can anyone give help.
MBP 2.8GHZ 4Go 1067MHz DDR3 9400M+9600MGT
----------begin_max5_patcher---------- 1648.3oc0Zs7jhhCG9r8eEor1itVjf.5dZNtW1p16cMUWQHpoGHggDr6YmZ9 eeyCPAadoR6n8AnMu3Ke462iD3mOMY5Z96DwTveAdFLYxOeZxDSQ5BlT76IS SvuGFiEllMkQdiu90oyrUIIuKMEKjXVDNlyHkUkhkg6nrsujQBk1mPvx4Ny. KWnu5uReEpJA70hdPiLCkZ3+ST4nrgyjLbBwTyeSh2SjzPbYsr7DJKlHMPCd rPdtrrTmJCjf9elABhlWVr.umD8h5Qp.4KXoLitNWZYjIGX.0Xxi43n0X11H xFBVplWUFb0jMirYCMlb.p+C9cfG3eUESxHrP0HV1T9dRVTFcOo1.HH3rvca 3YITgPM55Aq5rZxTbb7aTVD+MANTdZ2SnQTQdZJOSVuS4QTdSUnVuj4h8TAc cLoVMpUTBSP4LQsmPHlICi4BhjmFS1ShMqujr5fLWPryDUs6L0Xp3WO8T40e 8zrqSoon5TBKBPSzSpD9d5AImcYW9iThUuMc5AsUCpQjGxHACL5QHxsKA4hQ SPBaQPNdLzqT4bqTA782HfurQjPX4qwY.mVYJszd5rdXLq8KZo4Fz0wbyqYB CNdlvnFXrUiIgIAqAwWG0THlPNFwjKZtWGN29bolwULIAwcvM8yKHiedTPws NkL9ONRFsM1134hX7ZsQVqDjpcurM9Ec+xyH8RWt99F8CzXh460IcEbAzE5t ftT9jTw2.7z4I4wx4u9tXrHvB8l6Bn0GkamL3x6PFbiJIp7jV4CU0XolFLtk NLq1oInPUVJY114LeYfi2xkyZ7+fU3ilHQWKI5XzetcqBWcEFsq2VGx9p+Bl 03+UExMS86NYzblU4R0texZToVMiJBw1jgblu5BV4RHBAdK4iYrfyvI.JCYF eve.uv7UJVUrIprxprcaIDiynorg2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f2NLsb.XJ37nIj6RcpLt9Nl7ZfqN7qqDr9iO VGCoOrukzyk+VXRHz0w9B9B7N7qqDsqT3.0CXuslDqFvJ5M1H0cHFonaJlVL .HgP27Et9z89mGhfN1CMGZ+R8fAVuGnqV1OHazaaHSzPhh+6.S2Y7DbHNHNI V+mNlFh4Hz+1hI3.vzpaKjFTFXvq.Spe7qm9eMuuFp. -----------end_max5_patcher-----------
is the .jpg in the folder with the collective? When you tell the collective to "include file" it doesn’t actually embed it, it saves a reference to it. So ensure that the jpg is in the same folder as your .maxpat, then when you make the collective (and save it in another folder maybe), put a copy of the jpg into that folder after you’ve made the collective.
You can also embed the image right into the patch with fpic, or by using Edit–>Paste Picture. But maybe you’re using the image differently (like having the user load it) so that wouldn’t work for you.
I still think there are some inconsistencies with how the Include File/Include Folder options work when making standalones, it seems like some types of files need to be included to be found, others don’t… if the object references an image file, say, then the Collective maker grabs it automatically, but in other cases where you might think it would, it doesn’t.
the docs are pretty detailed, but I definitely have had some strange results when I thought I was doing things right, and it’s had numerous threads on here, so maybe some more insight would be helpful. Then again, probably I just need to test things more carefully :)
Hi Seejayjames, thanks for all that.
I surprised about:
"When you tell the collective to "include file" it doesn’t actually embed it, it saves a reference to it. "
I told the collective to include a folder with a lot of .aiff. Then the runtime doesn’t need the source folder to find the soundfiles: they seem well embed inside the runtime patch.
So indeed, the behaviour of files included in standalone … ???
I need to do some more testing in a systematic way, to clear up my fuzziness with this. I’ve generally had to make several attempts with various settings to get everything to work (getting all the files found etc., even if they’re in the same folder as the standalone, they may or may not be found). Also want to see where included files are put, if they are always in the same spot (Support folder)?
Anyway, this is probably too rambling for the Forum, will do some testing when I can and if there are any obvious gotchas I’ll post them. Though my testing would only be for Windows.