Homebrew WIP melonDS for Switch

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
Interesting. How does it run? Last time I compiled the melonDS libretro core for the Switch it didn't run very well. Not that my standalone port runs perfect either, but it ran better :P
I heard it runs pretty much the same as your standalone port, I haven't tested it myself though.
 

TotalJustice

Well-Known Member
Member
Joined
Jan 28, 2017
Messages
443
Trophies
0
Age
26
XP
2,604
Country
United Kingdom
Interesting. How does it run? Last time I compiled the melonDS libretro core for the Switch it didn't run very well. Not that my standalone port runs perfect either, but it ran better :P
About the same. Slightly worse performance in some games, but that could just be my RA setup.
 

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
Hopefully yours/StapleButter's stays standalone.
Don't worry, it will. I prefer standalone emulators anyways.

While I'm here, I suppose I'll give a little update. I have some fun UI changes that I've been holding onto for a few weeks now; I was going to wait for melonDS 0.7.4 to release, but then melonDS development slowed down so I was going to make my own "0.7.3b" update, but then I accidentally updated my Switch to 7.0.0 and lost homebrew access (I have a 6.2.0 NAND backup, but it wasn't worth the hassle) and now that I have homebrew again melonDS development is picking up so 0.7.4 should be soon. :wacko: Either way, I'll make sure the update is released on time to qualify for the emulator bounty! :P Not that I expect to win with an emulator that doesn't even reach full speed in most games, but hey, it's worth a shot. Not many projects have been submitted from what I've seen, so maybe we have a chance! If melonDS wins, I plan on sharing the prize with @StapleButter (now known as Arisotura) since obviously this project wouldn't exist without her.

In other news, the weeks I spent not working on melonDS I spent learning how to program my own emulators from scratch. I had success with a simple CHIP-8 emulator and now I'm working on an NES emulator which currently runs all the games I've tried on it, with varying degrees of success. Who knows, maybe I'll make my own DS emulator one day! :lol:

Anyways, there's what's been happening if anyone cares. I'll end this with a couple screenshots of the new features. Oh, and a screenshot of my NES emulator because I'm damn proud of it. B-)
2019022122390500-39044917CFF4239A6A8855A4FBFD24A3.jpg 2019022122405600-39044917CFF4239A6A8855A4FBFD24A3.jpg Screenshot from 2019-02-21 23-13-36.png
 

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
Hey guys, I've decided to release 0.7.4 a bit early! Grab it here. Actually I should've done this even earlier; the remaining core melonDS changes are all desktop-specific networking and UI changes, which doesn't affect us at all right now. Anyways, this is mainly a UI release, though there are a few changes to the core. Here's the changelog:
-Updated to melonDS 0.7.4
-Added continuous menu scrolling on input hold
-Improved audio quality in docked mode
-Overclocking now persists across docked/undocked switching
-Added ROM and folder icons for the file browser
-Added input and hotkey remapping
By the way, I think 0.7.4 will be the last 0.7 release, which means the big hardware renderer release will probably be next! For now, still don't expect anything full speed except for Ace Attorney and such. I know the UI stuff doesn't help with that, but I hope it's at least something interesting to play around with! It was interesting for me to program, especially writing something to extract the game icon; it's not as straightforward as you might think!
 

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
I'm just curious, if you make your own DS emulator one day, despite the knowledge you'll acquire and the challenge it represents, is there any benefit for the user ? (Faster/more reliable emulation especially)
Who knows? [emoji14] But it would make more sense for me to just help with melon instead of starting from scratch, so I'll probably do that.
 

MK73DS

Non-commutative algebra
Member
Joined
Feb 23, 2015
Messages
575
Trophies
0
Age
25
Location
France
Website
www.youtube.com
XP
1,536
Country
France
Who knows? [emoji14] But it would make more sense for me to just help with melon instead of starting from scratch, so I'll probably do that.

I totally understand, your work on melonDS is amazing :)
But why starting from scratch can lead to a better emulator ? Is the "base" you use not great ? Or is it because you can make it more specific to the Switch's CPU architecture ?
 

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
I totally understand, your work on melonDS is amazing :)
But why starting from scratch can lead to a better emulator ? Is the "base" you use not great ? Or is it because you can make it more specific to the Switch's CPU architecture ?
Well, if a project gets really big and complex it can become hard to change things. Something may need to be reworked, but changing that thing would require changing something else, and that would require changing something else, etc. Or the codebase can just become so big and messy that it might be a good idea to just start over. I think DeSmuME has both of these problems to some degree, which is why Arisotura decided to create melonDS. Luckily melonDS has a good codebase behind it right now, so I don't see much need for writing an entire new DS emulator aside from teaching myself about the hardware. Optimizing for the Switch's architecture doesn't require a full rewrite, though. It just needs one of those famous ARM64 JIT recompilers. I'd love to write one someday, though JITs are much less straightforward to program than interpreters, so I'll have to do some more research into how it's done [emoji14]
 
  • Like
Reactions: MK73DS

Csmrcc

Well-Known Member
Member
Joined
Sep 13, 2018
Messages
412
Trophies
0
Age
37
XP
905
Country
Spain
Hummm, something weird here, horizon 6.2, atmosphere, without issues with other versions of this homebrew, but after new version the menu crashes when scrolling down a little between my ds titles.
Tried also fresh installation, same issue, any clues?
thanks!
 

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
Hummm, something weird here, horizon 6.2, atmosphere, without issues with other versions of this homebrew, but after new version the menu crashes when scrolling down a little between my ds titles.
Tried also fresh installation, same issue, any clues?
thanks!
That's weird. The only thing I can think of is that it's failing to load an icon. Do you know what game causes the crash? It should be whatever one is next to come on screen but hasn't yet (if that makes sense!). Also try removing that game and see if it fixes the crash, to verify if that is indeed the problem.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Nut on the hill