# AppPacker

from direct.showbase.MakeAppMF import AppPacker

## Inheritance:

AppPacker:

## Methods of AppPacker:

__init__
_recurse
addBamFile
addBinaryFile
addEggFile
addNode
addPyFile
addTextFile
addTexture
addUncompressibleFile
findPyFiles
makeRelFilename
mapTextureFilename
scan

__init__ def __init__(self, multifile_name) Undocumented function.

_recurse def _recurse(self, filename) Undocumented function.

addBamFile def addBamFile(self, filename, outFilename) Undocumented function.

addBinaryFile def addBinaryFile(self, filename) Adds a generic binary file to the multifile.

addEggFile def addEggFile(self, filename, outFilename) Undocumented function.

addNode def addNode(self, node, filename) Converts the indicated node to a bam stream, and adds the bam file to the multifile under the indicated filename.

addPyFile def addPyFile(self, filename) Undocumented function.

addTextFile def addTextFile(self, filename) Adds a generic text file to the multifile.

addTexture def addTexture(self, filename) Adds the texture to the multifile, if it has not already been added. If it is not within the root directory, copies it in (virtually) into a directory within the multifile named imported_maps. Returns the new filename within the multifile.

addUncompressibleFile def addUncompressibleFile(self, filename) Adds a generic binary file to the multifile, without compression.

findPyFiles def findPyFiles(self, dirname) Returns a list of Python filenames at the root directory level.

makeRelFilename def makeRelFilename(self, filename) Returns the same filename, relative to self.root

mapTextureFilename def mapTextureFilename(self, filename) Returns the filename within the multifile of the already-added texture.

scan def scan(self, root, main) Undocumented function.