Difference between revisions of "Portable Canvas File Structure"

From CDOT Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page lists the file and folder structure for the Portable Canvas builds.
+
This page lists the file and folder structure for the [[Canvas3D_XUL_Runner_App|Portable Canvas]] builds.
  
 
Files in a folder are listed under the folder name, indented by one more bullet level.
 
Files in a folder are listed under the folder name, indented by one more bullet level.
Line 10: Line 10:
 
'''Location:''' C:\Program Files\Portable Canvas
 
'''Location:''' C:\Program Files\Portable Canvas
  
Location is fixed; otherwise, the "Browse local files" button doesn't work.
+
Location is fixed; otherwise, the "Browse local files" button doesn't work; location is statically defined in "mybrowser.jar/.../mybrowser.js".
  
 
* ''application.ini''
 
* ''application.ini''
Line 27: Line 27:
 
** ''chrome.manifest''
 
** ''chrome.manifest''
 
** ''mybrowser.xul''
 
** ''mybrowser.xul''
** ''en-US.jar'''
+
** ''en-US.jar''
 
** ''mybrowser.jar''
 
** ''mybrowser.jar''
 
** ''(other files extracted temporarily from mybrowser.jar)''
 
** ''(other files extracted temporarily from mybrowser.jar)''

Latest revision as of 13:45, 12 February 2009

This page lists the file and folder structure for the Portable Canvas builds.

Files in a folder are listed under the folder name, indented by one more bullet level.

Italicized words are file names (or equivalent).


Portable Canvas Win

Location: C:\Program Files\Portable Canvas

Location is fixed; otherwise, the "Browse local files" button doesn't work; location is statically defined in "mybrowser.jar/.../mybrowser.js".

  • application.ini
  • portable_canvas.exe (XR stub for Windows)
  • jsmin.c (part of the C3d Library, otherwise not sure what it's for)
  • c3dl_namespace
    • (the Canvas 3d Library)
  • canvas3dapi
    • (the Canvas 3d Library)
  • chrome
    • chrome.manifest
    • mybrowser.xul
    • en-US.jar
    • mybrowser.jar
    • (other files extracted temporarily from mybrowser.jar)
  • components (contains the C3d extension, lets you view Canvas elements)
    • canvas3d.dll
    • canvas3d.xpt
    • compreg.dat
    • xpti.dat
  • defaults
    • preferences
      • mybrowser-prefs.js
  • demos (demo html files with canvas elements, tested to work with Portable Canvas)
    • 0.5 Release
      • Samples
        • Soko
          • (Soko-related files)
  • extensions
    • (empty)
  • models
    • (files for use with the C3d Library)
  • xulrunner
    • (XUL Runner executable files, required to run Portable Canvas without another XR or FF installation)


Portable Canvas Mac

Location: probably anywhere is okay!

  • Contents
    • Info.plist (Mac configuration stuff)
    • Frameworks
      • (empty)
    • MacOS
      • xulrunner (XR stub for MacIntosh)
    • Resources
      • application.ini
      • chrome
        • chrome.manifest
        • en-US.jar (contains localization info for button text)
        • mybrowser.jar (contains platform-independant source code {local disk location is an exception!})
      • components
        • libcanvas3d.dylib (important file, but isn't recognized)
      • defaults
        • preferences
          • mybrowser-prefs.js
      • extensions
        • (empty)
      • updates
        • 0 (This folder gets generated automatically even when deleted, I wonder why...)
          • (empty)