Homebrew WIP melonDS for Switch

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
Hi,
I find that so far the emulator is progressing well and thanks Hydr8gon for all his work.
I have a small suggestion if it is possible, i would liked that there is a language choice settings for multilingual games like Animal Crossing. :)
Try turning off direct boot in the settings. You should be able to load into the DS system menu on game boot and change the language from there.
 
D

Deleted User

Guest
Is there a ds emulator on switch with fast forward and magnification filter, like desmume?
Probably not. As mentioned earlier in the thread, there seems to be a lack of ARM64 JIT compilers available for the Switch atm. As such, many emulators have to run via interpreters, which are much slower, and, in some cases, require overclocking to get good performance. We have yet to get many of these games running at normal speed, much less 2x or 3x normal speed.
 
  • Like
Reactions: Hydr8gon

Arisotura

rise of melonism
Member
Joined
Dec 5, 2009
Messages
839
Trophies
1
Age
30
Location
center of the Sun
Website
kuribo64.net
XP
2,498
Country
France
any plans for threaded audio?
Audio is already running on a separate thread. Disabling audio has absolutely no impact on speed, so no more optimization needed there :)
Technical side note there: audio mixing (emulation of the DS audio hardware) happens inside the emu loop, in sync with the rest of the hardware. Putting that on a separate thread would be a bad idea, as it can capture audio output and write it back to RAM.

Not worth doing so anyway, audio emulation is hardly a bottleneck. The critical parts are CPU and 3D.


Anyway, a little roadmap for near-future releases, atleast on the 'regular' version. Hydr8gon would likely follow suit and update their port real soon.

Version 0.7.1 will feature a bunch of timing fixes. Opportunity for things that were shitting themselves to finally run correctly. Not much else-- I want this to be a testing release, so if there are any regressions from the timing changes, we can fix them quickly.

And then... timing fixes are cool but they mean squat as far as speed is concerned. Or maybe not? The GX timing fixes have already shown to make some things run better somehow, so we'll see how things go once the general timings are fixed.

I want to try things regarding online multiplayer for 0.7.2, to make it more user-friendly. That being said, I don't know how well wifi works on the Switch, if it works at all.

I also want to try connecting melonDS to an actual DS someday, no idea if it's possible at all but it sounds hella cool. Even moreso if we could make it work from a Switch. But it needs more access than your typical socket API (needs RF-monitor mode). I don't know how much control we can get on the Switch.

Dunno what else. I also want to use a database to detect savetypes, the current autodetect code is a total fucking trainwreck. Anybody know a good database for this?

0.8 will be the hardware renderer/upscaling release, but that'll take a while.
 

Csmrcc

Well-Known Member
Member
Joined
Sep 13, 2018
Messages
412
Trophies
0
Age
37
XP
905
Country
Spain
I guess wifi, with moded dns or with some stealth mode thing can run the multiplayer on the emulator
 

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
Anyway, a little roadmap for near-future releases, atleast on the 'regular' version. Hydr8gon would likely follow suit and update their port real soon.
I've been keeping my fork up to date, so a Switch release is always based off of whatever is the newest at the time of release. I did notice some slight speed improvements from the timing in the last release, but it kinda got overshadowed by the overclocking. I do hope to update soon though, with the new UI. I just need to fix the lag problem. Don't have much time to work on it right now though.

I also want to try connecting melonDS to an actual DS someday, no idea if it's possible at all but it sounds hella cool. Even moreso if we could make it work from a Switch. But it needs more access than your typical socket API (needs RF-monitor mode). I don't know how much control we can get on the Switch.
Wireless stuff might be possible on the Switch, I haven't looked into it yet though. All the related functions in the Platform file are empty for now. I figured it wasn't worth investigating until we reach full speed in most games anyways. Also, uh, I'll have to learn how all that crap works.
 
Last edited by Hydr8gon,

RedHunter

Well-Known Member
Member
Joined
Dec 12, 2014
Messages
441
Trophies
0
XP
1,573
Country
Italy
Make sure they're named right. They need to be "bios7.bin", bios9.bin", and "firmware.bin".
You're right I'm stupid didn't notice the extension were different thanks.
You should also add a feature that automatically change the game language because some games like Solatorobo change the language based only on the nds system language itself.
Also it is possibile to use R4/Cyclods saves? Maybe converting them using https://shunyweb.info but to which format?
 

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
You're right I'm stupid didn't notice the extension were different thanks.
You should also add a feature that automatically change the game language because some games like Solatorobo change the language based only on the nds system language itself.
Also it is possibile to use R4/Cyclods saves? Maybe converting them using https://shunyweb.info but to which format?
melonDS uses RAW save format.
 

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
Next release will be a big one, hopefully I can get the issues sorted out and ready to release within a week or so. I'm right in the middle of exams so no promises!
2018121114354500-DB1426D1DFD034027CECDE9C2DD914B8.jpg 2018121114364500-DB1426D1DFD034027CECDE9C2DD914B8.jpg
 
Last edited by Hydr8gon,

Arisotura

rise of melonism
Member
Joined
Dec 5, 2009
Messages
839
Trophies
1
Age
30
Location
center of the Sun
Website
kuribo64.net
XP
2,498
Country
France
squatting your channel to let you know that melonDS 0.7.1 is out, and it's fasterer and accuraterer

so if Hydr8gon decides to use this as a core for their next release, should be pretty good

this version has downsides tho, there are a few things that are shitting themselves from the timing renovation, so pls report bugs to us
 

DollyWhipDoll

Royalty & Unbothered. LMFAO!!! ;)
Member
Joined
May 18, 2018
Messages
451
Trophies
0
XP
991
Country
United States
Does this thing require FW 5.0 and up or something?

I have all the files names as bios7.bin, bios9.bin, and firmware.bin. Inside the switch folder, I created a melonds folder and put them in there, but it still tells me it can't find the files.
 

Hydr8gon

Dragon Trainer
OP
Developer
Joined
Dec 15, 2014
Messages
316
Trophies
1
Website
hydr8gon.github.io
XP
2,580
Country
Canada
Does this thing require FW 5.0 and up or something?

I have all the files names as bios7.bin, bios9.bin, and firmware.bin. Inside the switch folder, I created a melonds folder and put them in there, but it still tells me it can't find the files.
It should work on all firmwares. Honestly every time someone's had trouble getting the emulator to find their firmware it was a naming issue. Alternatively, it also checks for the files in the directory that the .nro is in, so if your .nro is just in the switch directory and not in the melonds directory, you can try putting them there. Other than that, I don't know.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @BakerMan, I have a piano keyboard but I never use it