Graphics

 View Only
Expand all | Collapse all

File location based on project location so that the project can be stored anywhere on the harddrive

  • 1.  File location based on project location so that the project can be stored anywhere on the harddrive

    Posted 11-18-2013 17:09
    There are 2 reasons why I'm wondering if this is possible. The first occurs because sometimes our xpression machine will switch drive letters on us. Our D: became an E: and broke the project.

    We also had to run 4 football games back to back. We simply replaced the school logos and player photos between games but sometimes xpressions would fail to update with the new images. It would be nice if we could have the projects fully built in separate folders instead of having to replace the files between games.

    Generally you'd type something like //(folder hierarchy)/(file name).png but expressions doesn't let you manually type in the location. Is there a way to do this?


  • 2.  RE: File location based on project location so that the project can be stored anywhere on the harddrive

    Posted 11-18-2013 20:11
    If you store your images in the "Images" subfolder of the project (this folder is automatically created for you when you create a project) then they should be stored relative to the XPression project path. This means you can copy the project to another location, or even another drive and it will still find those images.

    When you load a project XPression caches the images from disk in local memory, so even if you change the file on disk XPression may still refer to the copy it has cached in memory. Restarting XPression, or using the Menu Item Tools->Advanced->Flush Texture Cache should force it to reload the images from disk.

    So, to summarize, you should be able to do what you want (have projects fully built in separate folders instead of having to replace files between games). Just make sure you store the images in the project subfolder.

    #XPression


  • 3.  RE: File location based on project location so that the project can be stored anywhere on the harddrive

    Posted 11-18-2013 22:35
    Awesome. That helps so much. Thanks!!!!!!!!

    #XPression