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
34
XP
1,475
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,316
Trophies
4
Location
Space
XP
13,894
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,151
Trophies
2
Location
Queensland
XP
12,248
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
  • BakerMan
    The snack that smiles back, Ballsack!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
  • BakerMan @ BakerMan:
    Wake up, it's da first of da month
    BakerMan @ BakerMan: Wake up, it's da first of da month