How feasible would Dolphin port be?

Discussion in 'Switch - Hacking & Homebrew' started by bludud, Nov 11, 2017.

  1. bludud
    OP

    bludud Newbie

    Newcomer
    8
    8
    Feb 13, 2015
    United States
    I think the interesting fact about emulation for the Switch is that the architecture is much more documented and supported compared to past hardware in Nintendo systems. The Wii had emulation, but I remember it was pretty limited due to the fact that the system was pretty under-powered and unique as far as hardware went. The OS may even be easier to work with, as I remember hearing it's somewhat based off Android.
     
    Last edited by bludud, Nov 11, 2017
  2. GarnetSunset

    GarnetSunset Advanced Member

    Newcomer
    63
    102
    Apr 27, 2017
    United States
    Explanation of the comment I made.
     
  3. Kitlith

    Kitlith Advanced Member

    Newcomer
    89
    68
    Jan 29, 2016
    United States
    Trapped between a rock and a hard place
    With code exec, most of what's needed now will be in figuring out how to use the GPU, how to make sound, how to free up some additional memory (does the browser itself even have enough memory in total to run dolphin? (And note I say the browser, not the switch!)), how to get input from the joycons, etc...

    There hasn't been a big focus on these prior to now because we didn't have any of our own code to run. Now we do, so I expect a lot of activity on that front.
     
  4. linkenski

    linkenski GBAtemp Regular

    Member
    287
    32
    Aug 6, 2008
    Denmark
    Given that Nintendo may end up maining the Switch as their one and only console in the future I could see them making a New Switch with faster CPU clock, better battery and heat cooling, and with that it's totally possible. As for now I expect this will be one homebrew thing that winds up just killing people's switches.

    This is generally one thing that scares me about homebrew more than with 3DS or Wii U. Switch seems more vulnerable in how its hardware reacts to software over time. I bet inevitable memory leakages and force closing is gonna wear and tear on it easilier.
     
    Ace_Axel likes this.
  5. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,286
    5,311
    Mar 17, 2010
    Norway
    Alola
    Dynarec might be a potential issue with Dolphin as we might not have access to execute arbitrary memory without kernel. There's no way Dolphin is going to be playable without dynarec.
    With kernel we will have arbitrary R/W so none of this is an issue. Just find a memory region big enough that's marked as executable and use it. Or if we can, allocate our own executable memory.
     
  6. Bladexdsl

    Bladexdsl ZOMG my posts...it's over 9000!!!

    Member
    16,380
    3,971
    Nov 17, 2008
    Australia
    Queensland
    they won't do that. i bet their already working on their next console as we type. soon as one colsole is done they are straight to work on the next it's how they've always did it.
     
    Last edited by Bladexdsl, Nov 12, 2017
  7. blinkzane

    blinkzane Panic at your moms house

    Member
    778
    238
    Jul 24, 2012
    United States
    Florida
    hahaha the title of this made me laugh
     
  8. nmkd

    nmkd GBAtemp Regular

    Member
    153
    76
    Oct 25, 2016
    Germany
    How was my post bait?

    Correct me if I was wrong
     
    GarnetSunset likes this.
  9. GarnetSunset

    GarnetSunset Advanced Member

    Newcomer
    63
    102
    Apr 27, 2017
    United States
    I was the one with the bait :>
     
  10. Bladexdsl

    Bladexdsl ZOMG my posts...it's over 9000!!!

    Member
    16,380
    3,971
    Nov 17, 2008
    Australia
    Queensland
    it's absolutely 100% possible to port ECCO THE DOLPHIN to the switch :creep:
     
    nmkd and GarnetSunset like this.
  11. LibretroRetroArc

    LibretroRetroArc GBAtemp Advanced Fan

    Member
    669
    748
    Aug 24, 2012
    Netherlands
    OpenGL/Vulkan drivers will go a long way here. The main problem with Dolphin is that you don't want your port falling behind upstream, and I sincerely doubt upstream will ever want to support a backend that is not GL or Vulkan - they will consider it a maintenance hazard. So a GLES 3/3.1 driver implementation or Vulkan implementation for Switch homebrew will definitely need to become a priority as far as tooling is concerned.
     
    Last edited by LibretroRetroArc, Nov 13, 2017 at 5:45 AM
    ShadowOne333 likes this.
  12. nmkd

    nmkd GBAtemp Regular

    Member
    153
    76
    Oct 25, 2016
    Germany
    Well, GL and Vulkan are the only options for Homebrew anyway, we're not gonna try to port D3D...
     
  13. isoboy

    isoboy GBAtemp Fan

    Member
    333
    136
    Dec 23, 2016
    United States
    We'll have dolphin on the switch in about three days. He just needs to "wire it up to this hax."
     
    nmkd likes this.
  14. nmkd

    nmkd GBAtemp Regular

    Member
    153
    76
    Oct 25, 2016
    Germany
    Am I witnessing the birth of a meme?
     
  15. Dann_

    Dann_ Advanced Member

    Newcomer
    61
    33
    May 3, 2016
    Afghanistan
    We don't yet have a graphics library
    We don't yet have SD card access
    We don't yet have a HID library

    We're still quite far away from actual useful NRO's being build
     
    nmkd and Bladexdsl like this.
  16. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,123
    2,798
    Jul 23, 2012
    United States
    Octo Canyon
    It would be ironic (and sad) if Nintendo suddenly hired Dolphin devs for the Switch, and Dolphin support either stopped or gets forked.
     
    nmkd likes this.
  17. voddy

    voddy No Title Available

    Member
    278
    84
    Jul 14, 2013
    United States
    wait... rohan is released? am i missing something? where r the sources :x?
     
  18. Ace_Axel

    Ace_Axel Member

    Newcomer
    41
    26
    Feb 3, 2015
    United States
    Good ol' Chilltown, New Jersey
    "New" Nintendo Switch, I suppose? I was thinking the same thing since Ninty went with the Tegra X1 SoC. They could easily use a newer... nevermind. The X1 is the latest chip. Perhaps they can OC the crap out of it if a revision comes out.

    Well 3DS isn't going anywhere just yet according to what Reggie said in an interview with a lame gaming site that will not be named here. They want to support the hardware "Beyond 2018". Then there are those mockups of the Switch Mini. I'd like to see that happen. OK. Done talking... Didn't mean to de-rail... I'll just go back underneath my rock now. Bye bye then.
     
    Last edited by Ace_Axel, Nov 13, 2017 at 11:12 AM
  19. Ace_Axel

    Ace_Axel Member

    Newcomer
    41
    26
    Feb 3, 2015
    United States
    Good ol' Chilltown, New Jersey
    Delete this.
     
  20. Bladexdsl

    Bladexdsl ZOMG my posts...it's over 9000!!!

    Member
    16,380
    3,971
    Nov 17, 2008
    Australia
    Queensland
    cmon it's Reggie he's a notorious liar!
     
    Ace_Axel likes this.