Suggestion Possible All-In-One emulator for the Switch

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by PRAGMA, Aug 5, 2018.

  1. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    So, GB and GBA are pretty playable with the current emulator homebrew on specific firmwares, occasional graphical issues and slowdowns occur though.

    What I want to ask, is someone try and attempt to pop a proxy in your switch and use the browser to navigate to:
    https://impragma.github.io/NeptunJS (NeptunJS/NJS - JavaScript Multi-Emulator)
    EDIT: Fun fact, with my CPU strained to a literal 90-100% aswell as some GPU performance stressing, the web-emulator still runs around 50->51 fps on a bad day.
    Source: https://github.com/imPRAGMA/NeptunJS
    More Information: https://github.com/imPRAGMA/NeptunJS/blob/master/README.md
    If all runs smoothly, it should start playing Pokemon Emerald on the GBA.
    Let me know if it runs well.

    (This can run other stuff like NDS e.t.c, just testing with GBA for now)
    (Make sure you try go to it in your browser to see if its working first before attempting on Switch as I am constantly working on it and changes might break something)

    [Reason im asking for ppl to test is I cannot do so myself, mine is banned from messing with SX OS logs, so yeah, wont let me do Tweets from Album e.t.c, so I have no way to open browser, even if I did, I bet it would block it)
     
    Last edited by PRAGMA, Aug 6, 2018
    Rickyman likes this.
  2. kikongokiller

    kikongokiller GBAtemp Advanced Fan

    Member
    8
    Jan 12, 2017
    Australia
    I might just be reading your question wrong, but doesn't RetroNX work just fine for 2D games? I haven't encountered any issues with it.
     
  3. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    Perhaps, but this way, you dont need to homebrew your switch in any way
     
  4. wurstpistole

    wurstpistole GBAtemp Psycho!

    Member
    11
    Nov 19, 2015
    Gambia, The
    Yup, extremely useful on the go also. PRAGMA at his best again
     
  5. kikongokiller

    kikongokiller GBAtemp Advanced Fan

    Member
    8
    Jan 12, 2017
    Australia
    Isn't the browser exclusive to 3.0.0 or something? Setting this up sounds a lot more painful than just installing homebrew on the thing.
     
  6. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    Nah, you can make a proxy and then open up the browser by anything like tweeting stuff e.t.c, and make a dns server (or proxy) to just redirect to google.com and such, then just redirect to the page in OP, and it should run
    All you rlly need is either Charles proxy (i heard thats a thing ppl use for youtube) or host up ur own DNS Redirect Server (bit more work, but not rlly hard)

    Some routers let u dns redirect, so just pop in twitter.com -> google.com, ez pz
     
    iriez likes this.
  7. kikongokiller

    kikongokiller GBAtemp Advanced Fan

    Member
    8
    Jan 12, 2017
    Australia
    I'm pretty ignorant about any other methods for this kinda stuff, so I guess there would be a use for this for some people who don't wanna homebrew their switch.
     
  8. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    Yeah its the safest way imo, only downside I can think of right off the top of my head, is perhaps webkit disables downloads so downloading your save probably wont be possible
    But since I deobfuscated the entire thing, I could probably implement some kind of auto-save to server thing that allows you to download your save from your PC or something
     
  9. iriez

    iriez GBAtemp Fan

    Member
    6
    Oct 27, 2016
    United States
    This definitely takes more work than dragging and dropping files to a SD card + RCM.


    I really don't understand the point of this. You admit in your post you see calls to retroarch....so why not use the RetroNX build which is a retroarch port optimized for the switch?

    Claiming that this is for people who don't want to Homebrew there switch seems illogical. As it requires more technical knowledge then the actual modding of the switch.

    Also I call bs on slowdowns. The latest builds play a lot of psx games at full speed, we are to believe it has slow downs on GBA?

    I cannot believe that a web based JavaScript manglimg of retroarch is somehow optimized better than a direct port from the retroarch guys.

    There seems to be much better uses of time, but hey it's your life so have fun wasting it....
     
    Last edited by iriez, Aug 5, 2018
  10. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    I perfectly see some of your points, lemme explain.

    This definitely takes more work than dragging and dropping files to a SD card + RCM.
    You quite literally condradicted yourself. With this way, you dont need to do shit apart from set a proxy (or dns) on your switch's internet settings where that proxy will redirect from twitter.com or something to the page in OP. Done. Play away by getting the browser to open, like by doing the Tweet Gallery image.
    Theres various sites online that already do this. If you want to make it even easier, im sure you could create a dummy homebrew app to pop open the browser.

    You admit in your post you see calls to retroarch....so why not use the RetroNX build which is a retroarch port optimized for the switch?
    Yes this is something I see your point of but again, I made this thread mainly to point out theres a way to have a retro system without the need for ANY homebrew (So 0 chance of being banned)

    As it requires more technical knowledge then the actual modding of the switch.
    Already explained

    Also I call bs on slowdowns. The latest builds play a lot of psx games at full speed, we are to believe it has slow downs on GBA?
    Yes it may be able to, in OP, im on about the custom non retroarch homebrew that was used early on in the scene by gdkchan

    I cannot believe that a web based JavaScript manglimg of retroarch is somehow optimized better than a direct port from the retroarch guys.
    Basically how it works, is it converts the original code directly to a subfunction of Javascript. this is VERY commonly used and in cases it can actually run a lot better, Javascript is VERY powerful.
    An example, Microsoft Office/Excel uses similar thing, theres even ways to convert C# to Javascript! (Also give it a shot yourself, you would be surprised how well it works from a BROWSER let alone using Javascript)

    There seems to be much better uses of time, but hey it's your life so have fun wasting it....
    This took me less than 20 hours so far of time to do.
     
    Nisem0n0, x65943 and Xandrid like this.
  11. ZachyCatGames

    ZachyCatGames GBAtemp Maniac

    Member
    7
    Jun 19, 2018
    United States
    Hell
    It just goes to a white screen for me, I used the DNS method to enter the browser and I'm on firmware 5.1.0
     
  12. Echoing_Mediocrity

    Echoing_Mediocrity Member

    Newcomer
    1
    Aug 5, 2018
    United States
    The space between insane and insecure
    Now I feel like I've seen Pragma's name in the scene before (sorry that my particular memory is failing me :( no disrespect meant, Pragma) so I have to ask...
    Did you seriously just call BS on a dev's statement (and unironically show your ignorance of how coding even works...? I'm not even a dev, and I know better lolol) and imply that their time is better spent/ they should get a new hobby? Anyone who thinks RCM by itself, let alone file transfer, is somehow easier than a simple DNS redirection should probably do some self reflection before posting lol.
     
    Last edited by Echoing_Mediocrity, Aug 6, 2018
    PRAGMA likes this.
  13. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    Could you try again? Ive been messing with the script, was down for a small bit
     
  14. iriez

    iriez GBAtemp Fan

    Member
    6
    Oct 27, 2016
    United States
    Considering I've been a major contributor to the console hacking scene for 20 years now, I think I have just a *little* bit of experience to go off of.

    But by all means continue to hold your opinion. It sounds like you are using a appeal to authority and you really don't understand whats going on here. I don't really have the time to correct you if you did not understand what i wrote in the first place.

    As for seeing Pragma's name before, you have. You've likely seen him shitpost a ton and get ridiculed for it by other developers. Watch his twitter, its a riot.
     
    Last edited by iriez, Aug 6, 2018
  15. Echoing_Mediocrity

    Echoing_Mediocrity Member

    Newcomer
    1
    Aug 5, 2018
    United States
    The space between insane and insecure
    Jesus, they're not the one with the "hate boner" here, (from an outside perspective) you are. Which makes me doubt your accusation/ characterization of them.

    I'm using appeal to authority? No, I'm using appeal to reason here. Pragma has done dev stuff before, I've seen some of Pragma's work. Also the whole "20 years now" thing is an appeal to authority too, by your own logic.

    And links or STFU then, anyone can claim anything. I would know, I've worked for Nvidia's security detail for 27 years.
    The fact you fail to not realize that a GBA == PS1 or vice versa and still comparing them that that would be comparing apples and oranges, or the fact you jumped on another dev for what? Making an ease of use webloader that they're working on, FOR FREE, when you, as a major uber h4x0r dev should know of all people how toxic the community can be...

    And I understand this much, the fact you had to reply, and get all butthurt when he hasn't been anything but accommodating to answering your criticisms (iTT at least) speaks volumes.

    EDIT: Could I trouble you for your twitter handle, and some sort of list of the compendium that spans the many dev works you've done?
     
    Last edited by Echoing_Mediocrity, Aug 6, 2018
    PRAGMA likes this.
  16. Mr. Wizard

    Mr. Wizard Ending the spread of bullshit one thread at a time

    Member
    7
    Mar 20, 2015
    Canada
    E8 lattice
    This sounds interesting. One of the first things I did with the switch back in the day was try to run this.
     
  17. realjumy

    realjumy Ratkid hunter

    Member
    6
    Apr 24, 2018
    United Kingdom
    Love is in the air...
     
  18. Zyvyn

    Zyvyn GBAtemp Advanced Maniac

    Member
    7
    Aug 9, 2017
    United States
    you can access it through switchbruDNS
     
  19. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    Yeah this is very similar
     
  20. Shadowfied

    Shadowfied GBAtemp Addict

    Member
    11
    Dec 6, 2014
    *snip*
     
    Last edited by Shadowfied, Aug 6, 2018
Loading...