Forums > Jitter

Problems with Making a collective application

November 6, 2006 | 12:54 am

Hey there

I am trying to make a collective aplication using maxmsp/jitter

My problem is that it cant find the resources (ie.. various pictures and movies i am using)

I am running max/msp 4.5.5, i am not sure abotu what version of jitter i am running, possibly 1.3 or 1.5

I am also using TapTools 1.5

the error message it give s me is

Error :jit.qt.movie: can’t open resource (x) where x is a movie file

and

Error :jit.qt.movie: can’t open resource (y) Where y is a picture (jpeg format)

I would upload the file to this forum but the file i am wqorking with is about 476mb big

I will upload the cololective script i have done

Any help would be greatly appreciated as i am running on a tight time schedule and need to get this working

cheers

Danny


November 7, 2006 | 4:47 pm

rather than trying to make the movies part of the collective, you should just manually put the files in the standalone app package: ctl-click on the application icon, select "Show package contents", open "Contents/MacOS" folder, and put the movies in there.

when you change to max 4.6, you can simply just put the movies in the same folder as the application, without having to add them to the package (if you don’t want to).


November 7, 2006 | 11:08 pm

Thanks for that Idea

I have put the movie and picture files dierectly into the folder specified but it still cant find them,
Maybe its trying to find them in the wrong place?

Would anyone be able to help me on this?

Danny


November 7, 2006 | 11:28 pm

This is just getting very confusing now

It seesm that the collective application can find the files, it just cant load them.

What would cause this?

Is it something to do with what version of jitter im using?

the computer is running jitter 1.121 (acording to our IT person)
maxmsp 4.5.5
Mac OSX

Danny


November 9, 2006 | 2:53 pm

well, i can’t say exactly why you are having this problem…it worked for me! however, you can be explicit about it, if you need to, and provide an absolute path. becuase you are in 4.5, standalones report the application path in an overly precise manner, so they require some regexp. here’s an example of how to handle this.

#P window setfont Arial 9.;
#P window linecount 1;
#P message 287 316 21 131137545 set;
#P window linecount 0;
#P message 357 377 190 131137545;
#P window linecount 1;
#P newex 357 352 59 131137545 prepend set;
#P newex 418 287 50 131137545 tosymbol;
#P window setfont "Sans Serif" 9.;
#P message 403 265 76 196617 My Movie.mov;
#P window setfont Arial 9.;
#P newex 357 329 65 131137545 sprintf %s%s;
#P newex 357 305 50 131137545 tosymbol;
#P newex 357 284 33 131137545 v app;
#P button 379 217 29 0;
#P button 164 57 29 0;
#P window linecount 0;
#P message 86 345 190 131137545;
#P window linecount 1;
#P newex 86 320 59 131137545 prepend set;
#P message 79 213 262 131137545 "Macintosh HD:/Applications/MaxMSP 4.6/";
#P newex 80 193 59 131137545 prepend set;
#P newex 70 174 31 131137545 r app;
#P window setfont "Sans Serif" 9.;
#P message 163 110 108 196617 ; max sendapppath app;
#P window setfont Arial 9.;
#P comment 193 155 187 131137545 initialize regular expression pattern;
#P window linecount 2;
#P comment 273 111 187 131137545 GET STANDALONE APP LOCATION NAME (sends to the "r app)";
#P window linecount 1;
#P newex 163 90 29 131137545 t b b;
#P message 182 137 190 131137545 re "(.*\\/)App Name.app/Contents/MacOS/$";
#P newex 119 299 33 131137545 v app;
#P newex 70 233 50 131137545 tosymbol;
#P newex 70 259 66 131137545 regexp;
#P connect 8 0 1 0;
#P connect 1 0 0 0;
#P connect 3 0 0 0;
#P connect 9 0 10 0;
#P connect 8 0 9 0;
#P fasten 0 3 11 0 117 293 91 293;
#P fasten 0 1 11 0 89 293 91 293;
#P connect 22 0 12 0;
#P connect 11 0 12 0;
#P fasten 0 3 2 0 117 293 124 293;
#P fasten 0 1 2 0 89 293 124 293;
#P connect 13 0 4 0;
#P connect 4 0 7 0;
#P connect 4 1 3 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 20 0;
#P connect 22 0 21 0;
#P connect 20 0 21 0;
#P connect 14 0 18 0;
#P connect 19 0 17 1;
#P connect 18 0 19 0;
#P window clipboard copycount 23;


Viewing 5 posts - 1 through 5 (of 5 total)