I tried it, had the same errors as martin roughly, but next i get this error
packing...
File: "and" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "C:\Panda3D-1.1.0\direct\src\directscripts\packpanda.nsi" on lin
e 110 -- aborting creation process
C:\Documents and Settings\tor\Skrivebord\oogp\cgcmain>
BTW. im trying this on a project built under panda 3d 1.0.5. Will that make any difference?
Hi, as i’m interested in this topic thought i would give some input (but i don’t know how much worth it will add)
here is my code (which runs in panda 1.1.0 and i’m no expert but would guess that this is a basic as it gets!)
import direct.directbase.DirectStart
from pandac.PandaModules import *
# reposition the camera
base.disableMouse()
camera.setPosHpr(Vec3(0,-15,7),Vec3(0,-15,0))
# load a model
Alien = loader.loadModel("Models/alienmodel.egg")
Alien.reparentTo(render)
run()
and this is the error that i get (i have included all the changes outlined in this post)
C:\Documents and Settings\Tony\My Documents\Panda 3d etc\Test>packpanda --game t
estgame
Game : C:\Documents and Settings\Tony\My Documents\Panda 3d etc\Test\t
estgame
Name : testgame
Start Menu : testgame
Main : C:\Documents and Settings\Tony\My Documents\Panda 3d etc\Test\t
estgame\testgame.py
Icon : C:\Documents and Settings\Tony\My Documents\Panda 3d etc\Test\t
estgame\testgame.ico (MISSING)
Bitmap : C:\Documents and Settings\Tony\My Documents\Panda 3d etc\Test\t
estgame\testgame.bmp (MISSING)
License : C:\Documents and Settings\Tony\My Documents\Panda 3d etc\Test\t
estgame\LICENSE.TXT
Output : C:\Documents and Settings\Tony\My Documents\Panda 3d etc\Test\t
estgame.exe
Install Dir : C:\testgame
Copying the game to C:\Documents and Settings\Tony\My Documents\Panda 3d etc\Tes
t\packpanda-TMP...
Compiling BAM and PYC files...
Executing: egg2bam -noabs -ps rel -pd . ".\Models\alienmodel.egg" -o ".\Models\a
lienmodel.bam"
Writing ./Models/alienmodel.bam
Executing: egg2bam -noabs -ps rel -pd . ".\Models\alienmodelwalkanim.egg" -o ".\
Models\alienmodelwalkanim.bam"
Writing ./Models/alienmodelwalkanim.bam
Compiling python .\testgame.py
C:\Panda3D-1.1.0\nsis\makensis.exe /V2 /DCOMPRESSOR="lzma" /DNAME="testgame" /DS
MDIRECTORY="testgame" /DINSTALLDIR="C:\testgame" /DOUTFILE="C:\Documents and Set
tings\Tony\My Documents\Panda 3d etc\Test\testgame.exe" /DLICENSE="C:\Documents
and Settings\Tony\My Documents\Panda 3d etc\Test\testgame\LICENSE.TXT" /DLANGUAG
E="English" /DRUNTEXT="Play testgame" /DIBITMAP="C:\Panda3D-1.1.0\nsis\Contrib\G
raphics\Wizard\nsis.bmp" /DUBITMAP="C:\Panda3D-1.1.0\nsis\Contrib\Graphics\Wizar
d\nsis.bmp" /DPANDA="C:\Panda3D-1.1.0" /DPSOURCE="C:\Panda3D-1.1.0" /DPPGAME="C:
\Documents and Settings\Tony\My Documents\Panda 3d etc\Test\packpanda-TMP" /DPPM
AIN="testgame.py" "C:\Panda3D-1.1.0\direct\src\directscripts\packpanda.nsi"
packing...
LicenseData expects 1 parameters, got 6.
Usage: LicenseData local_file_that_has_license_text | license_lang_string
Error in script "C:\Panda3D-1.1.0\direct\src\directscripts\packpanda.nsi" on lin
e 61 -- aborting creation process