PackageMaker

A PackageMaker is an application to create a redistributable zip package. A zip package may contain part of, one or several application redistributable files.

Features

  • Zip File Directory: using a treeview with checkbox to include files on a local disk in a zip package file.
    • There should be a package project text file which contains a plain list of filepaths that should be included in a zip package. It may contain regular expressions such as: "script/.*%.lua"
    • the zip directory treeview should also provide a bool function (filepath), that returns true if the file is being used by the system at the moment. Then the user can check files accordingly.
  • Package installer script: at the root of a zip package file, there is a file called package.xml, which contains package installation information.
  • package readme.txt: it is an optional text file at the root directory.
  • package about.html: it is an optional MCML or html file at the root directory.

TODO

  • save file txt file
  • merge files with another txt files.
  • when packaging zip, display a progress bar since it may take several seconds to be done. Use force render method.
  • automatically select all files in use in a selected folder
  • use red color to show files that are in use but not selected yet. Also in the preview window, precede such files with some mark letters like
    ==some file not selected but in use.txt
    file selected and in use.txt
  • when changing file extension filter, already selected files should be persistent.
  • when a folder is explicitly checked, it should check all sub folders, but needs to take the current file filter in to consideration

Manual

制作压缩包的主要步骤:

新建/打开 安装包---》导入安装包---》步骤1:选择文件---》步骤2:预览文件---》步骤3:生成发行包

注意事项:

如果是在“新建安装包”的时候,请记得 点击“新建发行包”按钮,确认创建压缩包的文本文件 !

如果是在“打开安装包”的时候,请记得 点击“加载”按钮,确认加载压缩包的文本文件 !

1 新建/打开安装包

2 导入安装包(导入已经存在的压缩包文本文件,你可以手工编写这个文件)请记得点击“加载”按钮,确认加载文本文件成功!

支持的通配符: "*.*","*.x","*.png","*.dds","*.lua","*.htm","*.html","*.xml","*.jpg","*.jpeg","*.gif","*.swf","*.avi","*.mp3"

3 选中文件

注意:

“刷新”按钮的作用:重新预览在“当前目录”或者“当前目录并包含子目录”下面,引擎所使用的资源文件的列表。

“选中”按钮的作用:把“预览”里面的资源文件路径“自动选中”。

4 文件预览(预览所有选中的文件)

5 生成发行包

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg 1.jpg r2 r1 manage 97.5 K 2008-05-30 - 10:58 UnknownUser  
JPEGjpg 2.jpg r2 r1 manage 68.2 K 2008-05-30 - 10:59 UnknownUser  
JPEGjpg 3.jpg r2 r1 manage 136.0 K 2008-05-30 - 10:59 UnknownUser  
JPEGjpg 4.jpg r2 r1 manage 117.7 K 2008-05-30 - 10:59 UnknownUser  
JPEGjpg 5.jpg r4 r3 r2 r1 manage 85.2 K 2008-05-30 - 11:08 UnknownUser  

This topic: Main > DeveloperSite > OfficialApps > AssetsApp > PackageMaker
Topic revision: r3 - 2008-05-30 - LeioZhang
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback