Merge party
We're in the process of getting melonDS ready for a 0.9.5 release. That means, while Generic is working on fixing up OpenGL rendering on desktop, I'm free to go and finish some other fun things.

First, local_wifi has been deemed close enough to completion, and has been merged.

I added some tidbits of wifi emulation (for example, the Inazuma Eleven games use WEP during local multiplayer, so I had to implement enough of that to make them work), but most notably, I worked on the UI side of this feature. No more opening melonDS instances from different folders, MAC randomization, and other awkward workarounds. Now melonDS is able to detect when coexisting with other melonDS instances, and makes sure to save things like user settings, save file, etc, to separate files. For example, that makes it possible to configure each instance to use its own joystick.

It is probably still not perfect, but it's certainly a start. I also want to hear some user feedback on all this.

Regarding local multiplayer, the BSD socket interface is going byebye. This means it's no longer possible to play over LAN (not that it has ever really worked). But we plan to implement netplay for melonDS 1.0, so that will make up for it. It should even work better, in that the connection will be more reliable, but due to having to emulate all the participating consoles on every user's computer, it will be more demanding (although testing has shown that any decent computer can handle atleast two melonDS instances at fullspeed).

Next, I finished the work on camera_betterer, and merged it too.

Basically it was only matter of finishing up the UI side of things, adapting the Qt camera code for Qt6, and fixing up some tidbits (like camera image formats -- most cameras should be able to provide YUYV image data, but Mac cameras can only provide NV12).


You can, of course, feed video input from a physical camera into melonDS, but you can also choose to just feed a fixed picture into it.

There's also a setting for horizontally flipping the picture. A note on that: the DSi cameras have a register for flipping the picture horizontally and vertically, which is typically used to horizontally flip the picture from the inner camera, and melonDS emulates that. But, if for whatever reason the picture you get isn't in the correct orientation, you can use the provided horizontal flip setting to fix that.

I might also add in some more fun features, so stay tuned! And of course, if you're willing to experiment, we're open to issue reports on these new features. They will come in melonDS 0.9.5, but for now you can get dev builds from Github to try them out.
Navo says:
Oct 7th 2022
I once fooled around with Download Play using multiple instances of melonDS, so theoretically, would it be possible for Download Play to work in netplay, provided the clients use official firmware?
Navo says:
Oct 7th 2022
Man I wish I could've deleted the last comment I did, ah poop
Leaf says:
Oct 7th 2022
You're doing great work here! My long-distance girlfriend and I have been really wanting to play four swords anniversary edition over netplay, so we're really looking forward to 1.0! Remember to take your time and not stress yourself too much
LemonDeeZ says:
Oct 8th 2022
Cannot wait for 1.0 release to play dq9 with fellow enjoyer
shade-lich says:
Oct 9th 2022
Thank you very much for clarifying this issue for me, you really don't know how happy you make me to hear an answer, so I hope you take into account how some local online games work, for example the aforementioned battle network 5 ds thank you very much and I look forward to version 1.00
a.nak says:
Oct 11th 2022
dear melonDS team

sry i poor english

i playd github protype version

it so gratest work
ds vs mode coop mode running on my pc
it dream
it very fun
so gratest
thx a lot melonDS team

Post a comment