[Papervision3D] Far manifest...

John Grden neoriley at gmail.com
Thu Mar 1 08:57:27 EST 2007


ha! excellent:

<!--
============================================
Far (Flash Archive) Manifest file, v.0.1
--------------------------------------------

Build an archive from this manifest, using:
    far -m path-to-manifest

============================================
-->
<far-manifest target="mexico.far">

    <!--
    Priorities, ranked from highest to lowest.

    Higher priority files are placed at the beginning of the
    archive so they will be streamed in first .
    -->

    <priorities>
        <priority>default</priority>
    </priorities>

    <!--
    Source files, in random order.
    -->

    <source compress="1" priority="default">
        <path>mexico/states.shp</path>
        <index>mexico/states.shp</index>
    </source>
    <source compress="1" priority="default">
        <path>mexico/rivers.shp</path>
        <index>mexico/rivers.shp</index>
    </source>
    <source compress="1" priority="default">
        <path>mexico/roads.shp</path>
        <index>mexico/roads.shp</index>
    </source><source compress="1" priority="default">
        <path>mexico/cities.shp</path>
        <index>mexico/cities.shp</index>
    </source><source compress="1" priority="default">
        <path>mexico/cities.dbf</path>
        <index>mexico/cities.dbf</index>
    </source>
</far-manifest>

Just wondering, does compress attribute directly relate to FarItem.asBitmap,
FarItem.asMovieClip, FarItem.asText ?  if not, what does the "1" stand for
(or is there a doc on the manifest usage?)

Thanks Edwin - very exciting to see this taking shape!

On 3/1/07, Edwin van Rijkom <lists at screenweaver.com> wrote:
>
> Hi John,
>
> The -m option is for building an archive from an xml manifest file.
> Using it on a .far file confused the XML parser. I'll make sure to put
> in a better error. To extract a manifest from an existing .far file
> though, use the -n option. So:
>
> > far.exe -n mexico.far
>
> should work, and should create 'mexico.xml' (the manifest).
>
> To repack the archive from the manifest:
>
> > far.exe -x mexico.far (to extract all files from the org. archive)
> > far.exe -m mexico.xml
>
> Beware that extracting a manifest doesn't bring back the originally
> specified priority groups, for those aren't stored in the archive to
> keep things small. Normally though, the .far author would have the
> original manifest (incl. priorities).
>
> The version that's currently on-line has a bug on adding files to
> existing archives. This is fixed with my local build that I'll upload
> shortly.
>
> Cheers,
> Edwin
>
> John Grden wrote:
> > I tried grabbing the mexico.far from Edwin's site and then using the
> > -m tag,
> > but I get this error:
> >
> > FAR (Flash Archive) 0.1 - (C) 2007, Edwin van Rijkom
> > http://www.vanrijkom.org
> >
> > Unhandled exception:
> > Invalid field access : get
> >
> > On 3/1/07, John Grden <neoriley at gmail.com> wrote:
> >>
> >> I've got far installed, env variable set, cmd prompt working and I'm
> >> trying to do this in a bat file:
> >>
> >> far "C:/Documents and Settings/John/My
> >> Documents/Papervision3D/starwars/deploy/meshes" xwing.ASE deathstar.ASE
> >> endor.ASE tiefighter.ASE
> >> pause
> >>
> >> when I run this, it just keeps running the same line over and over and
> >> over again until I cancel it with ctrl+c
> >>
> >> Does anyone have a manifest file I can look at to see how to
> >> structure the
> >> xml?  I can't find it on the wiki and there isn't a sample in the
> >> download
> >> ;)
> >>
> >> Thanks,
> >>
> >> --
> >> [  JPG  ]
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



-- 
[  JPG  ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070301/49989b43/attachment-0001.htm


More information about the Papervision3D mailing list