1. XorTroll

    OP XorTroll Tired of classic HOME menu
    Developer

    Joined:
    Dec 28, 2017
    Messages:
    621
    Country:
    Spain
    Brew.js - C++ high-level JavaScript API for Nintendo homebrew
    (Still under development) 2.0 version - everything (is going to be) remade!


    [​IMG]

    Brew.js is a C++ API for evaluating plain JavaScript (not Node.js or PegaSwitch) within C++, for various Nintendo platforms.

    - Currently supported platforms: Nintendo DS, Nintendo 3DS, Nintendo Switch
    • Current content
    - Brew.js API: C++ libraries to execute JavaScript within any C++ application or program (stable, some not working stuff, modules are WIP)
    - Brew.js interpreter: a GUI front-end for executing JavaScript. (still undeveloped)
    - Brew.js link: a PC client and Homebrew server to interpretate JavaScript code, like in Node.js CLI. (only Switch, and still very WIP)

    Each platform has different exclusive modules(for instance ctr/sf2d for 3DS, ntr for DS, nx/pegaswitch for Switch...)

    The current state of the project is unreleased. Latest release is 1.0, although it was released like 3 months ago.
    2.0 is only early commits, and so much stuff needs to be done. Check the projects section on GitHub for more information.

    As soon as the development gets closer to a release, more information will be added here.
    As you can see, there are also graphical improvements, as the logo has changed (thanks to @EmperorX for the awesome new logo design)
    Thanks for the current support, guys! The best is still coming soonTM!

    GitHub project: https://github.com/XorTroll/Brew.js
    Webpage (API documentation): https://xortroll.github.io/Brew.js

    Enjoy scripting!

    Copyright © 2018, by XorTroll
     
    Last edited by XorTroll, Oct 31, 2018 - Reason: Add 2.0 early info
    dcnigma, LadyApollo, ry755 and 39 others like this.
  2. mowsie

    mowsie Advanced Member
    Newcomer

    Joined:
    May 16, 2018
    Messages:
    70
    Country:
    United States
    Sick, I'm all over this. I have a ton of snippets from old homebrew I made I'd love to bring to Switch. I will be testing this when I get back from the office for sure.
     
  3. YES! Thank you, will this support HTML+js development?
     
    lordelan, Dr.doom, Ep8Script and 2 others like this.
  4. copycat114

    copycat114 Member
    Newcomer

    Joined:
    Jul 17, 2015
    Messages:
    29
    Country:
    United States
    oh hell yeah
     
  5. XorTroll

    OP XorTroll Tired of classic HOME menu
    Developer

    Joined:
    Dec 28, 2017
    Messages:
    621
    Country:
    Spain
    It doesn't support JS as in HTML, more like Node.js.
    BTW, it would be a good idea.
     
  6. Awesome, still great. Would be amazing if we could have a "wrapper" like Cordova / Electron down the line.
     
    Ep8Script likes this.
  7. sup3rgh0st

    sup3rgh0st Top Tier Ghost
    Member

    Joined:
    Apr 22, 2010
    Messages:
    393
    Country:
    United States
    Looks like a great way to get your feet wet making Homebrew games! Does it work with any Switch emulators for testing?
     
  8. XorTroll

    OP XorTroll Tired of classic HOME menu
    Developer

    Joined:
    Dec 28, 2017
    Messages:
    621
    Country:
    Spain
    I guess it does, you just have to add your projects to the folder the emulator has as the SD card.
    I've tested it with Yuzu and it seems to work.
     
  9. EclipseSin

    EclipseSin Ignorant Wizard
    Member

    Joined:
    Apr 1, 2015
    Messages:
    2,063
    Country:
    United Kingdom
    Does this mean what I think it means, seeing as js stuff already exists due to pegaswitch. It'd be easier than converting some stuff.
     
  10. Shadowhand

    Shadowhand Slim, Alternative Dev.
    Member

    Joined:
    Feb 27, 2016
    Messages:
    522
    Country:
    United Kingdom
    Ah... It's time to buy a Switch.
     
  11. normal19

    normal19 GBAtemp Regular
    Member

    Joined:
    Aug 23, 2014
    Messages:
    125
    Country:
    Afghanistan
    Can you edit the yellow text, I can't read it
     
    matt! likes this.
  12. Use dark theme
     
  13. XorTroll

    OP XorTroll Tired of classic HOME menu
    Developer

    Joined:
    Dec 28, 2017
    Messages:
    621
    Country:
    Spain
    Yep, I'm using dark theme SO I didn't notice that.
     
  14. RedDucks

    RedDucks Advanced Member
    Newcomer

    Joined:
    Apr 28, 2017
    Messages:
    69
    Country:
    United States
    Awesome! Been messing around with PyNX lately as I have an idea for a homebrew app, might give it a go using this as well!

    Quick question though: I’ve noticed that you’re supporting some really old consoles, even back to the GBA. Any reason why WiiU support is not planned? Feels a bit odd. Also any plans to add support for non-Nintendo consoles?
     
  15. Fadi5555

    Fadi5555 GBAtemp Regular
    Member

    Joined:
    Jan 3, 2018
    Messages:
    270
    Country:
    United States
    LibNX has JIT support if that helps.
    Also can we get the advantage of vulkan api?
     
  16. Fatih120

    Fatih120 All-Loving Lover
    Member

    Joined:
    Jan 22, 2016
    Messages:
    177
    Country:
    Canada
    Oh shit, sounds great! I'll totally try it out... when I'm not lazy, of course
     
  17. Naked_Snake

    Naked_Snake Constant Miscreant
    Member

    Joined:
    Oct 6, 2013
    Messages:
    1,746
    Country:
    Australia
    @SciresM cart dumping script with this
     
  18. Thetoto

    Thetoto GBAtemp Advanced Fan
    Member

    Joined:
    May 10, 2018
    Messages:
    529
    Country:
    France
    Great. I love node.js so I'll love create homebrew with js.
     
  19. H1B1Esquire

    H1B1Esquire RxTools, the ultimate CFW machine.
    Member

    Joined:
    Nov 2, 2016
    Messages:
    3,556
    Country:
    United States
  20. masterspike52

    masterspike52 GBAtemp Regular
    Member

    Joined:
    Jan 25, 2017
    Messages:
    189
    Country:
    United States
    does it work on 5.0.x?
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - JavaScript, homebrew,