I want to include tools.zip inside my p3d, that I turn into a standalone. Here’s my pdef:
import sys
add the working directory to the path so local files and modules can be found
sys.path.insert(0,’’)
class mygame(p3d):
require('panda3d') # include some other packages
require('audio')
require('fmod')
require('morepy')
config(
version="0.0.1",
display_name="mygame")
module('gamedata.*')
module('gzip')
dir('data',newDir='data') # include a folder called data
file('tools.zip',extract=True)
mainModule('main') # include and set the main module that runs when the p3d is run
#file('data.mf') # include a text file
But it won’t extract the tools.zip to %appdata%/Panda3D/start folder! (I mean to extract the file not its content, of course)
The IS included as its listed when I do multify -v -f mygame.p3d