Homebrew WIP My web browser project for Nintendo Switch!

  • Thread starter Thread starter XorTroll
  • Start date Start date
  • Views Views 21,886
  • Replies Replies 20
  • Likes Likes 19

XorTroll

Switching between my 2DS and my Switch
Developer
Joined
Dec 28, 2017
Messages
660
Reaction score
2,479
Trophies
1
Location
Nowhere
Website
github.com
XP
4,501
Country
Spain
Hi everybody!

First of all, this is just a planned project, it's not sure that it'll be released, and if so it would be ready in a long time, because it's a long project.

In case I wanted to create my own renderer:
- As I did with Brew.js, we already have a way to process and evaluate JavaScript, using duktape embeddable engine.
- We have Gumbo parser, which is a HTML parser, so we can read DOM elements and their attributes.
- I haven't searched for any CSS parser, but I'm sure there are plenty of them for C or C++.
- There are some HTML renderers, but they may be difficult to port, but using SDL2 plus all the interpreters and parsers above, we have the possibility to build a good HTML renderer.
- Using libcurl or any other web libs we can access web files...

Anyway, I may try porting another web browser or renderer, such as librocket or WebKit.

As I said before, this is not a almost-ready project. I've started the development of this idea, but this thread's objective is to speak a bit about this idea.
 
Last edited by XorTroll,
It's a good idea to wait until you have something to show when you announce it, but I'll definitely be following this
 
Wouldn't porting chromium be easier? Ideally you'd only have to rewrite the renderer, right?
 
There's already a renderer in the Switch firmware, used when you sign into social media and public wifi. Seems fully-featured:

Someone just needs to make a more convenient front-end. No need to re-invent the wheel.
 
  • Like
Reactions: Deleted User
As I said I'm just trying to do it, it's not a project which I plan definitely to release, I'll do what I can. As @sirAnger said, we won't lose anything if I'm not able to carry on with such a big project.
Btw I'm not asking if I should start this project on this thread, I made it to inform people about the project I plan to develop, because I think many people would enjoy this kind of projects.
 
Last edited by XorTroll,
@XorTroll

I have taken a quick look at doing something similar https://github.com/filfat/SimpleWebNX/
but I still think that you should just use the web applet as soon as that's possible.

(This would mostly be a hobby project to better understand how a browser handles the DOM)

b0VJI0I.png
 
Last edited by filfat,
  • Like
Reactions: lordelan
Whit this would be posible to load html5 js games? like the ones made on rpg maker mv?

THIS would be sooooo great! <3

BTW: There is a official RPGMaker MV planed for Nintendo Switch (&PS4, &XBOXone), which will come out in 2019.
You can already preorder it for $59.99 ^___^

Trailer:

But I guess this version will not be able to play the games made on the PC version (or be able to run all those great JS Plugins written by the community..)
But well .. we will see .. :P
 
Last edited by Shrike,

Site & Scene News

Popular threads in this forum