Did Blender 2.49 break the PyPRP scripts???

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Christian Walther » Sat Jul 04, 2009 12:09 pm

As far as I can see, Crypto is only used for the SHA1 sums for Alcugs servers. The MD5 sums for the .sum files are computed using built-in Python functionality. I just tried it and exporting ages for Uru CC seems to work fine without Crypto (with Blender 2.49 and Python 2.5).
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Tsar Hoikas » Sat Jul 04, 2009 12:56 pm

Python itself is capable of doing SHA1, I thought.
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Christian Walther » Sat Jul 04, 2009 1:27 pm

Hmm, you're right. The hashlib module does that, so we could replace the use of Crypto in prp_MFGSGen.py by that. And its use of the md5 module as well while we're at it, since it generates a deprecation warning in Python 2.6.

The Myst 5 file support in prp_M5Crypt.py and prp_Stream.py (why the duplication BTW?) however uses AES, which doesn't seem to be available in Python proper.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Tsar Hoikas » Sat Jul 04, 2009 2:36 pm

I'm not really sure about the duplication, but I do know that Myst 5 support has never really worked nor has it been used extensively. I think the only successes have been like when I managed to import Myst from M5, and those were few and far between... Perhaps we should consider dropping support for Myst 5?
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Paradox » Sat Jul 04, 2009 3:59 pm

Myst 5's broken support make PyPRP more convoluted than it needs to be at the moment. I would be quite happy to see it all stripped out as it would drop one dependency, and make the code easier to follow.
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Lontahv » Sat Jul 04, 2009 8:59 pm

I could never get Myst 5 to import correctly. If you want to do Myst 5 stuff now you can use libPlasma pretty easily. For the sake of simplification I also think the Myst 5 stuff should be removed.
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Chacal » Sat Jul 04, 2009 9:02 pm

Not to mention that all of MystV's geometry, textures and most physicals are converted by Drizzle anyway.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Christian Walther » Sun Jul 05, 2009 2:57 am

Fine with me. There's one week left to get it into the release, if anyone of you wants to do it right now. Myself, I'm not familiar with the Myst 5 support and wouldn't know where to start to completely remove it.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Did Blender 2.49 break the PyPRP scripts???

Postby Jamey » Sun Jul 05, 2009 2:16 pm

Ok, I tried to install Crypto with Python 2.5 and it wouldn't let me. It would not even let me choose the folder to install it in when I tried changing it.

What now? :(
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Did Blender 2.49 break the PyPRP scripts???

Postby D'Lanor » Sun Jul 05, 2009 2:21 pm

A few posts back Christian mentioned that apparently we don't need it. So no harm done.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

PreviousNext

Return to Building

Who is online

Users browsing this forum: No registered users and 5 guests

cron