These containers will use bz2 compression on all files and if the developer wants to and have pycrypto installed they may enable encryption and set a key which will also encrypt each file in these containers.
So far things have gone rather well considering as with most things i do, i have never done something like this. However I am now testing its ability to use the files loaded from an archive into pygame, specifically an image, and then display that image.
however when i pass my loaded file, a cStringIO file, to pygame.image.load it errors as unsupported image format. Ok so i try to pipe it the data directly by giving it the cStringIO.getvalue() and it errors again at pygame.image.load saying it must be a string without null bytes, no str.
I am kind of lost as to where to go from here to fix it.
The module is simple and i have attached it and and the test.py which replicates this problem using the module. I would like to get this fixed and then polish it up some more freely distribute it but like i said, only started this yesterday so its got a bit more work needed i think. please excuse the state of some of it as i have been spent the last few hours hacking it to peices to fix the little bugs but this one i cannot kill.
Thanks guys for any help you can offer!
Attached File(s)
-
darc.zip (12.9K)
Number of downloads: 32

New Topic/Question
Reply




MultiQuote




|