Drizzle 32 ! (experimental)

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.

Re: Drizzle 32 ! (experimental)

Postby Sirius » Sun Mar 05, 2023 9:05 am

Maroonroon wrote:- For the fullscreen FlyBy video, after the link, it isn't a video but a camera animation made in Blender. (Which in the case of Myst V Ages, have been video captured to make the .bik files).

Yes. I found those in the files, so I just hacked together a script that runs those animations on link-in. You can reuse the script, although I noticed recently it randomly makes the avatar invisible or fails to cut the camera transition to the avatar after the animation.

Maroonroon wrote:- It's the xSimpleJournal/BahroStone scripts that are to use for a book placed opened somewhere in an Age; the file can be named "anything.bik" (256x256 px and without alpha margin); if this file is not found, the panel is white but the book can be used).

Sounds correct. This script doesn't have a fallback for when the video file doesn't exist though, as you've seen.

Maroonroon wrote:- When we look at the book, the Offline KI looks for "age.bik" (512x256 px and with alpha margin); if "age.bik" is not found, the Offline KI uses the ".jpg" image.

In the Relto library only - that sounds correct. It seems another option is agename_spawnpoint.bik.

Maroonroon wrote:Can you explain me:
1) How to set the model's panel in Blender?
2) How to set the .bik file in Blender (or in a script)?

For the world model - as far as I know Korman doesn't support it yet.
For the Relto bookshelf: it will automatically pick up agename.bik (or agename_spawnpoint.bik) if it exists in the AVI folder.
For the GUI: usually you just set the "linkPanel" property of xSimpleWhatever.py to your video file name (including ".bik" - you don't need to specify the "avi" folder name though).


Now that I think about it though, I would advise against using animated linking panels in Fan Ages, since they can cause crashes on some computers. Inevitably some people will not be aware of the issue and wonder why their game is always crashing. Deleting the video file is a workaround, but many people won't be aware of it, and xSimpleLinkingBook doesn't have a fallback to display a static image... It gets even more complicated since (as far as I know) Shards like Deep Island have to either enforce the presence of that file, or not release it at all :|
So yeah, if we want to avoid crashing people's computer, we should probably avoid animated linking panels altogether, unfortunately :(


Chacal wrote:Anytime I try any version of Drizzle, I get this error.

I'm afraid I don't know :( The LookAndFeel error is related to the way Drizzle's window is "decorated", but that's all I can say.
If it happens to all versions of Drizzle you try to run, then it's probably something with your Java version. Maybe try to reinstall it. (Java 8 is the correct version as far as I know.)
User avatar
Sirius
 
Posts: 1503
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: Drizzle 32 ! (experimental)

Postby Maroonroon » Sun Apr 02, 2023 7:48 pm

Sirius wrote:
Maroonroon wrote:- For the fullscreen FlyBy video, after the link, it isn't a video but a camera animation made in Blender. (Which in the case of Myst V Ages, have been video captured to make the .bik files).

Yes. I found those in the files, so I just hacked together a script that runs those animations on link-in. You can reuse the script, although I noticed recently it randomly makes the avatar invisible or fails to cut the camera transition to the avatar after the animation.

Ok. I'll try to put another camera and to anime it to make this fullscreen FlyBy at link in, without any script; if I don't manage to do it without script, I'll try to use a script. :)

Sirius wrote:
Maroonroon wrote:Can you explain me:
1) How to set the model's panel in Blender?
2) How to set the .bik file in Blender (or in a script)?

For the world model - as far as I know Korman doesn't support it yet.
For the Relto bookshelf: it will automatically pick up agename.bik (or agename_spawnpoint.bik) if it exists in the AVI folder.
For the GUI: usually you just set the "linkPanel" property of xSimpleWhatever.py to your video file name (including ".bik" - you don't need to specify the "avi" folder name though).


Now that I think about it though, I would advise against using animated linking panels in Fan Ages, since they can cause crashes on some computers. Inevitably some people will not be aware of the issue and wonder why their game is always crashing. Deleting the video file is a workaround, but many people won't be aware of it, and xSimpleLinkingBook doesn't have a fallback to display a static image... It gets even more complicated since (as far as I know) Shards like Deep Island have to either enforce the presence of that file, or not release it at all :|
So yeah, if we want to avoid crashing people's computer, we should probably avoid animated linking panels altogether, unfortunately :(

It's sad do know how to do something and to not do it because of a kind of random bug. :cry:
But if I manage to at least make the fullscreen FlyBy at link in, I'll be happy. :)

Edit:
I managed to use a .bik file as panel for the book model, but not to have it auto-playing, so, it isn't an animated panel... :?
That being said, a texture animation (using static images) can do the trick (it's long enough to do, but it works). :P
Show Spoiler

But yeah, I probably mixed up things; the "in Age" book GUI doesn't seem to have a fallback to display a static image...
I tried making my own .py file by modifying the "xSimpleLinkingBook.py" script, but I didn't managed to get a working fallback, neither by doing the same with the "xEoALinkingBook.py" script. :cry:
Show Spoiler

So yes, I will probably not use animated panels in my Ages if I don't have a working fallback, or only the book model will have an animated panel.

For the fullscreen FlyBy at link in, I'll try later; for now I'd like to fix a few things in my Age. :)

Edit 2: For the texture animation, as we can have "only" 18 textures in a material, the texture animation can have only 18 images (18 frames, around 0.5 second), while I need 900 images (30 frames a second x 30 seconds)...
So... I forsake the "animated panel" idea.
Last edited by Maroonroon on Fri Jun 09, 2023 3:54 am, edited 3 times in total.
User avatar
Maroonroon
 
Posts: 208
Joined: Sun Jul 06, 2014 5:03 pm
Location: France

Re: Drizzle 32 ! (experimental)

Postby RicKy » Mon Apr 24, 2023 1:46 pm

Hello Sirius,

I tried two version of your Drizzle32, but I Have a issue (this two releases : 18-03-22 and 01-02-23) :

18-03-22
Code: Select all
Checking the folders you gave...
Starting conversion of MOUL...
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=PlayerBlocker4NoCam(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=SharedBalcRail08(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=SharedBalcRail07(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=StairsToUL73(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=SharedBalcRail06(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=SharedBalcRail05(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=StairsToUL71(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=StairsToUL49(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=StairsToUL04(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=GHTapestry13(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=GHTapestry12(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=GHTapestry11(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=GHTapestry07(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=GHTapestry06(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=SharedBalcRail02(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=SharedBalcRail01(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=SharedBalcRail04(plHKPhysical)(84:1)
Error: plHKPhysical: Unhandled flag combination.: u14=0x2;u15=0x0;losdb=0x4;group0=0x80;name=SharedBalcRail03(plHKPhysical)(84:1)
Error: Unexpected error in GuiThread:
Console: stderr:java.lang.NullPointerException
Console: stderr:   at auto.moul.proccessPrp(moul.java:737)
Console: stderr:   at auto.moul$2.ModifyPrp(moul.java:270)
Console: stderr:   at auto.conversion.convertPrp(conversion.java:199)
Console: stderr:   at auto.conversion.convertFile(conversion.java:119)
Console: stderr:   at auto.conversion.convertFiles(conversion.java:101)
Console: stderr:   at auto.AllGames$GameConversionSub.convert(AllGames.java:358)
Console: stderr:   at auto.AllGames$GameConversionSub.ConvertGame(AllGames.java:268)
Console: stderr:   at gui.ThreadedTasks$14.run(ThreadedTasks.java:111)
Console: stderr:   at shared.GuiThread$InvisibleThread.run(GuiThread.java:106)


01-02-23

Code: Select all
Error: Unexpected error in GuiThread:
Console: stderr:java.lang.NullPointerException
Console: stderr:   at auto.moul.proccessPrp(moul.java:760)
Console: stderr:   at auto.moul$2.ModifyPrp(moul.java:270)
Console: stderr:   at auto.conversion.convertPrp(conversion.java:199)
Console: stderr:   at auto.conversion.convertFile(conversion.java:119)
Console: stderr:   at auto.conversion.convertFiles(conversion.java:101)
Console: stderr:   at auto.AllGames$GameConversionSub.convert(AllGames.java:358)
Console: stderr:   at auto.AllGames$GameConversionSub.ConvertGame(AllGames.java:268)
Console: stderr:   at gui.ThreadedTasks$14.run(ThreadedTasks.java:111)
Console: stderr:   at shared.GuiThread$InvisibleThread.run(GuiThread.java:106)


Did i do something wrong ?

Thank you :)
RicKy
 
Posts: 3
Joined: Mon Jan 25, 2010 9:12 am

Re: Drizzle 32 ! (experimental)

Postby Maroonroon » Sun Jul 02, 2023 3:16 am

I now host on my website a ".7z" archive that contains the last compatible duet of "MOUL(a) install folder + Drizzle(32)", to allow you to convert MOUL(a) Ages ; I will update it at each Drizzle(32) update: https://www.thescar.fr/drizzle/
User avatar
Maroonroon
 
Posts: 208
Joined: Sun Jul 06, 2014 5:03 pm
Location: France

Previous

Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 2 guests