about .pod file format on windows emulator

This topic contains 2 replies, has 3 voices, and was last updated by  Xmas 8 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29658

    gordongao
    Member

    in your windows emulator , we use .pod file from our own .max file, but can’t load it, the file path is right , I have check the projects found that this  may be arise from you own .pod file has a  .cpp file with the same name , just like the projects in openGLES1.1 demo (windows emulator) (the path is ../  PowerVR SDKOGLES-.1_WINDOWS_PCEMULATION_2.03.23.1162DemosPolyBumpOGLESContent) , in the head of this file the comment told that

     

     

    // This file was created by Filewrap 1.0
    // Little endian mode
    // DO NOT EDIT

     

    what Filewrap is ??

    and how could we create  file like this from our .max file.
    #32557

    warmi
    Member
    You will find this utility in the UtilitiesFilewrap folder. It simply creates C/C++ header files out of binary data.

     

    Imagination TechnologiesPowerVR SDKOGLES-1.1_WINDOWS_PCEMULATION_2.03.23.1162UtilitiesFilewrap
    #32558

    Xmas
    Member

    If you don’t need the existing POD file you can simply remove the .cpp file in the Content directory from the project.

    The idea behind Filewrap is the ability to “link files into the application binary”. That way you don’t have to worry about the location of various resource files or losing them when you copy the executable, and it makes it easier to port apps to platforms that don’t have a file system.

    The utility can create a .cpp file from any file (though your compiler may have a size limit). If you compile and link this .cpp into your application it will create a “memory file” at application startup time by virtue of static object constructors.

    To access these “files” you can use the CPVRTResourceFile class in our PVRTools library. Note that the memory file system doesn’t have folders, so every file name needs to be unique.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.