Page 2 of 2

Re: Finally got Chrome to work inside Minetest ...

Posted: Mon May 22, 2017 16:09
by azekill_DIABLO
it would lag though, on a server. i imagine the mess.

Re: Finally got Chrome to work inside Minetest ...

Posted: Sat Nov 11, 2017 17:22
by LMD
First of all : That looks awesome. But I'd like to know how you got Chrome's GUI to work ?

Re: Finally got Chrome to work inside Minetest ...

Posted: Mon Dec 25, 2017 15:46
by numzero
@azekill_DIABLO this is client-side only.

@Beerholder Your work is too heavy to be embedded in MT, but might be used as a plugin, if there were an API. Look at the issue #4064.

Re: Finally got Chrome to work inside Minetest ...

Posted: Mon Dec 25, 2017 17:52
by Linuxdirk
Minetest has an HTTP API. It’s possible to create a very simple browser by implementing some kind of HTML-to-text parser. Links could be summarized and shown in a dropdown list which would allow simple browsing, mod-storage or player-attributes could be used for bookmarks.

… but running Chrome in Minetest is much cooler that that :D

Re: Finally got Chrome to work inside Minetest ...

Posted: Tue Dec 26, 2017 01:00
by sorcerykid
Extending formspecs with support for hyperlinked text as well as downloadable JPEG and PNG images would be a huge step in the right direction. These three features alone would absolutely make browsing of most mobile Websites possible, at least using basic GET and POST requests.

There are already several HTML parsers for Lua, so that base is already covered.

https://github.com/msva/lua-htmlparser
https://github.com/thenumbernine/htmlparser-lua

As for transmitting the images (or any multimedia content) to the client, the IETF standard for multipart form data might be a viable option:

https://www.ietf.org/rfc/rfc2388.txt

Re: Finally got Chrome to work inside Minetest ...

Posted: Tue Dec 26, 2017 08:16
by Linuxdirk
sorcerykid wrote:Extending formspecs with support for hyperlinked text as well as downloadable JPEG and PNG images would be a huge step in the right direction.
That would be awesome on the same level as real multicolor lighting would be.

Re: Finally got Chrome to work inside Minetest ...

Posted: Tue Dec 26, 2017 12:10
by azekill_DIABLO
LOL

Re: Finally got Chrome to work inside Minetest ...

Posted: Tue Dec 26, 2017 14:42
by sorcerykid
Linuxdirk wrote:
sorcerykid wrote:Extending formspecs with support for hyperlinked text as well as downloadable JPEG and PNG images would be a huge step in the right direction.
That would be awesome on the same level as real multicolor lighting would be.
Exactly, with dynamic loading of embedded content (raster images for starters, but maybe sound or video too) as well as dynamically generated elements (thus allowing for moving buttons, resizing images, changing text fields, etc.), I think formspecs could take on a whole new life of interactive possibilities for modders, just like the introduction of DHTML and Ajax for the Web.

As far as implemention, I imagine this would involve extending the client-server protocol to allow asynchronous formspec updates from the server during the lifecycle of a given formspec. This way embedded content (some of which could be quite large) wouldn't even have to be sent in its entirety, for the client to initially display the formspec.

Heck, even a few very basic drawing primitives (or support for SVG graphics) and simple text formatting (size, alignment, and style) would be absolutely AWESOME in terms of design potential.

Re: Finally got Chrome to work inside Minetest ...

Posted: Tue Dec 26, 2017 15:11
by rubenwardy
sorcerykid wrote:Even a few very basic drawing primitives (or support for SVG graphics) and simple text formatting (size, alignment, and style) would be absolutely AWESOME in terms of design potential.
This is one of the features planned for client-side scripting

Re: Finally got Chrome to work inside Minetest ...

Posted: Tue Dec 26, 2017 15:49
by Linuxdirk
sorcerykid wrote:Heck, even a few very basic drawing primitives (or support for SVG graphics) and simple text formatting (size, alignment, and style) would be absolutely AWESOME in terms of design potential.
At least proper text wrapping and scrollable non-editable texts in formspecs would be a good start :D

Re: Finally got Chrome to work inside Minetest ...

Posted: Mon Mar 05, 2018 13:24
by crazyR
Any progress updates on this?

Re: Finally got Chrome to work inside Minetest ...

Posted: Wed Jul 04, 2018 11:07
by christoferlevich
This post seems dead - but I would love to see something like this released... oh how good it looks!

Re: Finally got Chrome to work inside Minetest ...

Posted: Sat Oct 27, 2018 19:03
by Inocudom
If this keeps getting worked on, real video theaters in Minetest could happen one day.

Re: Finally got Chrome to work inside Minetest ...

Posted: Thu May 16, 2019 07:30
by Inocudom
I showed your videos of this project in the public theater in Swamp Cinema in Garry's Mod. However, that does no good if it has been discontinued. What will you do with it now that version 5.0.0 of Minetest is out?

Re: Finally got Chrome to work inside Minetest ...

Posted: Mon Sep 16, 2019 13:39
by Miniontoby
Can I get the resource??

Re: Finally got Chrome to work inside Minetest ...

Posted: Thu Sep 03, 2020 20:02
by Artur
I someone still working on this? It looks so promising, why was this given up?...