Getting libHSPlasma and PlasmaShop

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: Getting libHSPlasma and PlasmaShop

Post by diafero »

I'm simply used to git, I even use it locally for projects that don't have a public code repository - and for all SVN projects I contribute to (most notably Alcugs). Admittedly it took me some weeks to get used to it, but boy it IS simple and powerful, just like a unix tool has to be. So when I got the basic ideas, and how they simply work, I was really stunned. Linus did an amazing job there. So now I learned how to do branches, rebase, bisect and whatnot (I even dealt with remotes at one point, which was just great - it was so simple to get a patch from one local repository to another, amazing), and it all works consistently and predictable. I am sure I could do the same in Mercurial, but I would have to learn it again. It's like the endless flamewar about the best programming language (which is C++, of course) - it's all a matter of taste and what you are used to.

Granted, the patches I've written for libHSPlasma have been fairly small so far, and haven't really required the power that git gives me. It's entirely possible Mercurial won't irritate me too badly.
The same applies here, too. I also read that Mercurial's wiki is quite well-organized, so it should be feasible. The documentation shipped with the app was not as helpful as the one from git, though.
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
User avatar
Mystler
Posts: 116
Joined: Sun Mar 22, 2009 4:55 am
Location: Germany
Contact:

Re: Getting libHSPlasma and PlasmaShop

Post by Mystler »

Ahh, thank you for the explanation. I am using Mercurial and git together and they seemed to be the same... Maybe because i didn't use/create branches so much. ;)
User avatar
Zrax
Posts: 206
Joined: Fri Sep 28, 2007 5:19 pm
MOULa KI#: 0
Location: Waist-deep in a conecano
Contact:

Re: Getting libHSPlasma and PlasmaShop

Post by Zrax »

Well, I've done a bit more research on the differences between git and hg, and it seems that the two indeed encompass pretty much the same feature set; it's just a matter of the workflow and syntax that differs. A lot of people seem to like git because a) it's faster (I can't argue this point, since native code will always have the opportunity to be faster than Python bytecode), and b) they have an easier time understanding the branching concepts... Personally, I find hg's lightweight branching easier to understand, since it's an automatic thing rather than an explicit one, but maybe that's just me coming from a non DVCS world to a DVCS one ;).

In any case, I plan to continue to use hg at least for now; and when we swtich to git at work (which will be soon I'm told), I'll get a really good opportunity to compare the two and see which one I end up liking better... If the syntax differences don't drive me crazy in the meanwhile, that is :P. FWIW, there is a tool for migrating hg to git if I decide to switch later, but hg's clean interface and design, good Windows integration (remember, I develop on multiple platforms), and branching concepts I can relate to definitely continue to hold my interest for now ;)

EDIT: Also, I do tend to agree with Mercurial's philosophy about editing history... Perhaps it can be useful, but it just seems so wrong and against what a VCS is good for... But that's just my opinion, of course ;)
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: Getting libHSPlasma and PlasmaShop

Post by diafero »

Any chance of an updated Windows build? Strange enough, PyPack on Windows seems to have different results than PyPack on Linux, though the file works fine in Uru and "drizzle -diffpaks" does not show any difference.
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
User avatar
Zrax
Posts: 206
Joined: Fri Sep 28, 2007 5:19 pm
MOULa KI#: 0
Location: Waist-deep in a conecano
Contact:

Re: Getting libHSPlasma and PlasmaShop

Post by Zrax »

Sorry about that, been kinda busy lately.

The Windows builds have now been updated with the latest trunk code for both libHSPlasma and PlasmaShop, and I also updated the info in the original post with some more current prereq. information.
User avatar
tachzusamm
Posts: 575
Joined: Thu May 29, 2008 2:03 am
MOULa KI#: 0
Location: Germany

Re: Getting libHSPlasma and PlasmaShop

Post by tachzusamm »

PlasmaShop (3.0 beta build 144) crashes when I try to view a PythonFileMod which has a ptAttribAnimation as parameter.

Example:
Kadish => District_kdshPillars.prp => [00A2] Python File Mod => cPythPillars => crash

or:
Negilahn => District_Jungle.prp => [00A2] Python File Mod => cPythUrwinBird => :shock:

(Unfortunatelly especially those animations were what I was trying to learn from, e.g. how Cyan got them working.)

Any idea?
User avatar
Chacal
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
MOULa KI#: 0
Location: Quebec, Canada

Re: Getting libHSPlasma and PlasmaShop

Post by Chacal »

Extract the object to an xml file using prpmod.exe

I:\Uru\LibPlasma>prpmod
Usage: prpmod filename.prp action [options]

actions:
add filename Insert an object (.po or .prc) into the PRP
del type:object Remove an object from the PRP
extract type:object Extract an object (.po) from the PRP

options:
-o filename Specify the output file (extract mode)
--prc Do PRC decompilation (extract mode)
--help Display this help message and then exit
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Getting libHSPlasma and PlasmaShop

Post by D'Lanor »

Workaround: In PrpShop right-click and choose "Edit prc". That does not cause a crash.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
Zrax
Posts: 206
Joined: Fri Sep 28, 2007 5:19 pm
MOULa KI#: 0
Location: Waist-deep in a conecano
Contact:

Re: Getting libHSPlasma and PlasmaShop

Post by Zrax »

The crash should be fixed now; please try with build 152.
User avatar
tachzusamm
Posts: 575
Joined: Thu May 29, 2008 2:03 am
MOULa KI#: 0
Location: Germany

Re: Getting libHSPlasma and PlasmaShop

Post by tachzusamm »

Now, THAT was fast. WOW! Thanks a lot, Zrax; it's indeed fixed. 8-)

Thankful Spoiler Show Spoiler
Post Reply

Return to “Plasma Development”