[NTLK] Compiling a big Newton package

Vladislav Korotnev vladkorotnev at gmail.com
Wed Mar 27 09:37:46 EDT 2013


The problem seems to be in NTK.
It keeps on producing 8K packages.

My Project Data file is:


// Created with Newton Movie Converter, vladkorotnev 2013 version
TotalLengthSecs := 219.0667;
MovieInfo:="MP2x00 version, 320 by 240 resolution, 16 grays, 219 second playing time (15 fps), 8 bit/22 KHz/mu-Law compressed audio";
PictList := [];
// Read each pict resource into a separate variable
// Open the resource file with the PICT Type 1 resources in it...
r := OpenResFileX("MacLis:Desktop Folder:BadApple:Pics1.rsrc");
setadd(PictList,MakePixFamily(nil,nil,{rsrcSpec: "Frame1", bitdepth:4}),nil);
setadd(PictList,MakePixFamily(nil,nil,{rsrcSpec: "Frame2", bitdepth:4}),nil);
< snip >

// Open the resource file with the PICT Type 1 resources in it...
r := OpenResFileX("MacLis:Desktop Folder:BadApple:Pics33.rsrc");
setadd(PictList,MakePixFamily(nil,nil,{rsrcSpec: "Frame3201", bitdepth:4}),nil);
setadd(PictList,MakePixFamily(nil,nil,{rsrcSpec: "Frame3202", bitdepth:4}),nil);
setadd(PictList,MakePixFamily(nil,nil,{rsrcSpec: "Frame3203", bitdepth:4}),nil);
setadd(PictList,MakePixFamily(nil,nil,{rsrcSpec: "Frame3204", bitdepth:4}),nil);
<snip>
CloseResFileX(r) ;


However it just doesn't seem to attach the images.
OpenResFile() and CloseResFile() just hang NTK on the Project Data stage

Someone more knowledgeable, please help!

Thanks
~ Vladislav Korotnev
http://vladkorotnev.github.com
http://vladkorotnev.me

On March 27, 2013 at 17:03:34 , Morgan Aldridge wrote:
On Wed, Mar 27, 2013 at 5:53 AM, Vladislav Korotnev  
<mailto:vladkorotnev at gmail.com> wrote:  
>  
> > I'd be very much interested in the discussion - much more so than in some  
> > of the off-topic stuff that gets posted.  
> I asked to contact off-list since I also would rather not show off the contents of the RSRC files. Not NSFW, but just doing that for one challenge, a bet with a friend, if we may call it so  

I too am interested in this discussion. I don't think you'd need to  
provide any content of actual RSRC files.  

--  
Morgan  
---  
http://makkintosshu.com/  
http://seriesparts.com/  
http://rikuwoiku.com/  
http://unna.org/  

====================================================================  
The NewtonTalk Mailing List - http://newtontalk.net/  
The Official Newton FAQ - http://splorp.com/newton/faq/  
The Newton Glossary - http://splorp.com/newton/glossary/  
WikiWikiNewt - http://tools.unna.org/wikiwikinewt/  
====================================================================


More information about the NewtonTalk mailing list