Page 1 of 1

Request for (or Directions to) a way to pack SDL and Python

PostPosted: Sun Jul 27, 2008 5:00 pm
by di gama
Is it possible to store the Python and SDL files within my Blender file through the file editor interface (like we do with AlcScript)? If not, I would like to suggest such a capability. The files in Blender would have ".py" and ".sdl" at the end, which would tell PyPRP to encrypt and pack the files into .pak's and put them in the requisite folders. It seems to me that this would avoid the use of other tools and enhance the "all-in-one" aspect which we get now by having a single blender file store all the data for an age, even though it is exported as several files.

Re: Request for (or Directions to) a way to pack SDL and Python

PostPosted: Mon Jul 28, 2008 1:50 am
by Lontahv
You can only pack Python files (.py->.pyc->.pak).

The SDL files go into the SDL folder in your Uru folder.

You can use an application called UruPython to pack .py files. This tool can be found mirrored on my web-space here: http://lontahv.googlepages.com/UruPython31.zip

:)

Re: Request for (or Directions to) a way to pack SDL and Python

PostPosted: Mon Jul 28, 2008 3:09 am
by D'Lanor
I always wondered why SDL files are not generated by PyPRP. That would be relatively easy to implement since they use the same encryption as the age and fni files.

Now Python would be a whole different story...

Re: Request for (or Directions to) a way to pack SDL and Python

PostPosted: Mon Jul 28, 2008 4:05 am
by Lontahv
The reason I think is that PyPrp only exports what can go into the 'dat' folder.

I had an idea about having your age make "dat" "Python" and "SDL" folders but that'd be messy because in python folder creation is operating-system specific etc.