GOG uru and drizzle

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.
I.Brattin
Posts: 472
Joined: Sat Jan 31, 2009 3:06 pm
MOULa KI#: 0

Re: GOG uru and drizzle

Post by I.Brattin »

Yeah its likely your age. If you get a memory error during export then its not exporting properly. Since its not exporting properly and you try and visit it, it will crash your game each and every time.

Only fix for the memoryerror is to upgrade PyPRP to 1.6 if you haven't already. I was getting a memoryerror when exporting and turns out after I upgraded to 1.6 the memoryerror stopped.
MOUL Again Ki #'s
I.Brattin - 777796
Jayden Halliwell (IC Explorer) - 54404
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: GOG uru and drizzle

Post by diafero »

As a side note, a broken age file can crash the game on startup already (as opposed to only crashing while linking there) as Uru then reads the index of all Plasma objects in all prp files.
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
Chacal
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
MOULa KI#: 0
Location: Quebec, Canada

Re: GOG uru and drizzle

Post by Chacal »

That will become a problem when we have 1000+ Ages.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Trylon
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
MOULa KI#: 0
Location: Gone from Uru

Re: GOG uru and drizzle

Post by Trylon »

I think it only reads the header of the prp files, it doesn't load all of the files into memory.
Still, that would take up quite some time to load
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: GOG uru and drizzle

Post by diafero »

That's what I meant by "index" - it loads the list of which objects with which type and which name are in which page (identified by sequence prefix and page number aka sequence suffix). The actual objects are only loaded into memory when needed, and when linking to an age (where the list of objects to loaded is specified in the .age file).
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
Trylon
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
MOULa KI#: 0
Location: Gone from Uru

Re: GOG uru and drizzle

Post by Trylon »

I knew, I was just clarifying it for those who didn't ;)
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: GOG uru and drizzle

Post by diafero »

Ok :)
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
Chacal
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
MOULa KI#: 0
Location: Quebec, Canada

Re: GOG uru and drizzle

Post by Chacal »

So in plain English, it reads the plSceneNode?
:)
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
ddb174
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Re: GOG uru and drizzle

Post by ddb174 »

There is a header at the start of each prp file that lists things such as the version, the pagename, and has a list of all the objects that will be found in the prp file. The plScenenode is one of those objects, and it does indeed act like a header, but there is also this additional header.
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: GOG uru and drizzle

Post by diafero »

The plSceneNode only contains a list of most (all?) of the scene objects, while Uru loads the index of all objects of all types... so you can actually directly reference a texture (plMipMap) from, say, the city in your age without even loading the city textures page. Uru will then load the texture from the correct file automatically. I don't know whether and when it will be unloaded though...

AFAIK this header also lists where in the file the objects are, so that when it needs the object, it just needs to open the file, seek to the correct position and load the object saved there.
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
Post Reply

Return to “Plasma Development”