Hacking How feasible would Dolphin port be?

bludud

Member
OP
Newcomer
Joined
Feb 13, 2015
Messages
16
Trophies
0
Age
34
XP
316
Country
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,

GarnetSunset

Well-Known Member
Member
Joined
Apr 27, 2017
Messages
213
Trophies
0
Age
33
XP
1,465
Country
United States
Both of you don't seem to undertstand the word homebrew. Homebrew is unauthorized software on closed source systems. - any kind of unauthorized software - so therefore you can write code that prints the text string "lol dis is switchbrew ; )" And It'd be homebrew.
It is homebrew.
If the dev calls it homebrew then it's gotta be true.

Yes, we will probably need a GPU driver/toolkit, but the definition of homebrew is unsigned code, not a GPU accelerated emulator.
114.gif
 

Kitlith

Well-Known Member
Newcomer
Joined
Jan 29, 2016
Messages
93
Trophies
0
Location
Trapped between a rock and a hard place
Website
kitl.pw
XP
218
Country
United States
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.
 

linkenski

Well-Known Member
Member
Joined
Aug 6, 2008
Messages
353
Trophies
1
Age
30
Location
Denmark
XP
526
Country
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.
 
  • Like
Reactions: Ace_Axel

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,207
Trophies
4
Location
Space
XP
13,731
Country
Norway
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.
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.
 

Bladexdsl

fanboys triggered 9k+
Member
Joined
Nov 17, 2008
Messages
21,038
Trophies
2
Location
Queensland
XP
12,056
Country
Australia
Given that Nintendo may end up maining the Switch as their one and only console in the future
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,

LibretroRetroArc

Well-Known Member
Member
Joined
Aug 24, 2012
Messages
748
Trophies
0
XP
1,258
Country
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,
  • Like
Reactions: ShadowOne333

nmkd

Well-Known Member
Member
Joined
Oct 25, 2016
Messages
554
Trophies
0
Age
26
XP
775
Country
Germany
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.
Well, GL and Vulkan are the only options for Homebrew anyway, we're not gonna try to port D3D...
 

Ace_Axel

Well-Known Member
Newcomer
Joined
Feb 3, 2015
Messages
60
Trophies
0
Age
39
Location
Good ol' Chilltown, New Jersey
XP
575
Country
United States
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.

"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.

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.

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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +1
    The Real Jdbye @ The Real Jdbye: @LeoTCK actually good quality products are dying out because they can't compete with dropshipped... +1