Sneak peek
Just showing off some of what I've been working on lately:



This is adjacent to something else I want to work on, but it's also been in the popular request list, since having to manually enter cheat codes into melonDS isn't very convenient: would be much easier to just import them from an existing cheat code database, like the R4 cheat database (also known as usrcheat.dat).

It's also something I've long thought of doing. I had looked at usrcheat.dat and figured the format wasn't very complicated. It was just, you know, actually making myself do it... typical ADHD stuff. But lately I felt like giving it a look. I first wrote a quick PHP parser to make sure I'd gotten the usrcheat.dat format right, then started implementing it into melonDS.

For now, it's in a separate branch, because it's still quite buggy and unfinished, but it's getting there.

The main goal is complete, which is, it parses usrcheat.dat, extracts the relevant entries, and imports them into your game's cheat file. By default, it only shows the game entry which matches your game by checksum, which is largely guaranteed to be the correct one. However, if none is found, it shows all the game entries that match by game code.

It also shows a bunch of information about the codes and lets you choose which ones you want to import. By default, all of them will be imported.

This part is mostly done, besides some minor UI/layout bugs.

The rest is adding new functionality to the existing cheat code editor. I modified the melonDS cheat file format (the .mch files) to add support for the extra information usrcheat.dat provides, all while keeping it backwards compatible, so older .mch files will still load just fine. But, of course, I also need to expose that in the UI somehow.

I also found a bug: if you delete a cheat code, the next one in the list gets its code list erased, due to the way the UI works. Not great.

I'm thinking of changing the way this works: selecting a cheat code would show the information in disabled/read-only fields, you'd click an "Edit" button to modify those fields, then you'd get "Save" or "Cancel" buttons... This would avoid much of the oddities of the current interface.

The rest is a bunch of code cleanup...

Stay tuned!
Striker says:
Oct 27th 2025
Retroachievements when? this version of melonds is almost perfect, achievements will make this perfect
LEGO_Vince says:
Oct 27th 2025
Oh this ... This is good.
keisui says:
Oct 27th 2025
wonderful feature !
Wiifanbro says:
Oct 27th 2025
Excellent. It felt strange that MelonDS didn't support a cheat database. Can't wait for this to arrive.
MelonmanlyMan says:
Oct 27th 2025
Hello, I was wondering, are there any plans to add any kind of Overclocking for the emulator?

I'm not a developer but from what I know, the emulators, well...Emulate the CPU, and to emulate it they also have to emulate the frequency it uses.
In which case, one can use the emulator to emulate another frequency, in turn Overclocking it, it's something possible to do in a real DS too if you have the know-how.

So yeah, I'm just very curious about it, I like the feeling that my computer is so fast it can run DS without any slowdowns whatsoever, caused by the emulated frequency.
Italord says:
Oct 27th 2025
Hello Arisotura, I'm immensely grateful for your work in melonDS, thank you for the bottom of my heart!

Can I ask you something? Do you have any plans to implement RetroAchievements support into the emulator in the future? I mean, I love melonDS but I've been playing DS games with RetroAchievements support recently, and that's forcing me to use the retroarch core over the standalone. If you never thought about that before, I'm leaving it here as my suggestion, thanks again for your great work and I hope you have a great week!
BrockWrecker says:
Oct 28th 2025
As nothing more than a casual user, just wanna say: super excited to see these changes coming! I'm sure I speak for a great deal of the userbase when I say we're all so grateful for the work you and the team do. Never feel rushed, you're awesome!!
Loreciao says:
Oct 28th 2025
I can't wait for this to be available for download! Even just to try it out. :)
Post a comment
Name:
DO NOT TOUCH