Homebrew Emulation Emulators for Libnds?

Deleted member 587507

Active Member
OP
Newcomer
Joined
Mar 6, 2022
Messages
26
Trophies
0
XP
167
Hello! I am currently trying to find some emulators that I can put in my Libnds game.

Any console emulator would be fine but I would really like,
- NES
- Game Boy/Game Boy Color
- Game Boy Advance
- SNES

Please include a link to the emulator's source code!
 

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
xn--rck9c.xn--tckwe
XP
3,910
Country
United States
  • NES: NesDS (Public Domain)
  • GB(C): GameYob (MIT)
  • GBA: GBARunner2 (no license/all rights reseved)
  • SNES: This one's a bit trickier, the best is SNEmulDS (GPL 2) but it's best version is TGDS not libnds... there is an old version that's libnds but it doesn't work natively on DSi and isn't quite as good

Though for all of these instead of building the code into your game directly it would probably work a lot better to simply bundle their normal builds and boot them, all four of those support argv so you can just boot it with the path to the ROM as argv.
 

Deleted member 587507

Active Member
OP
Newcomer
Joined
Mar 6, 2022
Messages
26
Trophies
0
XP
167
  • NES: NesDS (Public Domain)
  • GB(C): GameYob (MIT)
  • GBA: GBARunner2 (no license/all rights reseved)
  • SNES: This one's a bit trickier, the best is SNEmulDS (GPL 2) but it's best version is TGDS not libnds... there is an old version that's libnds but it doesn't work natively on DSi and isn't quite as good

Though for all of these instead of building the code into your game directly it would probably work a lot better to simply bundle their normal builds and boot them, all four of those support argv so you can just boot it with the path to the ROM as argv.
The only thing about booting them is that I want to do other things with the DS at the same time. Example, top screen is GB emulator, and while that is going on, the bottom screen has maybe a platformer of something. Maybe that's weird Idk I want to do that tho. Thanks for helping, I'll have to look at those!
 
  • Like
Reactions: Pk11

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
The only thing about booting them is that I want to do other things with the DS at the same time. Example, top screen is GB emulator, and while that is going on, the bottom screen has maybe a platformer of something. Maybe that's weird Idk I want to do that tho. Thanks for helping, I'll have to look at those!
Emulators are extremely resource and cpu intensive. And the ds does not have a lot of either one. Emulators often struggle to run by themselves. It will be a challenge to run an emulator plus something else at the same time.
 

DanTheManMS

aka Ricochet Otter
Member
Joined
Jun 2, 2007
Messages
4,453
Trophies
1
Age
34
Location
Georgia
XP
752
Country
United States
The only thing about booting them is that I want to do other things with the DS at the same time. Example, top screen is GB emulator, and while that is going on, the bottom screen has maybe a platformer of something. Maybe that's weird Idk I want to do that tho. Thanks for helping, I'll have to look at those!

With the regular DS hardware, that's not going to be possible. It has no underlying operating system, nor the resources to support such an OS (it has two processors clocked at 66MHz and 33MHz, and 4MB of on-board RAM). Once a *.nds file loads, it has complete control over every aspect of the hardware.

With Moonshell you can listen to music while browsing pictures, so there's that. DSOrganize had some very limited multitasking abilities as well I believe.

DSLinux is the only true instance of real multitasking on the DS, and that required slot-2 RAM to function in text-only mode. With DSLinux I could browse the web in one virtual shell via the text-based LINKS or RETAWQ browser, stream an online radio station in a second virtual shell (WGET piped to MP3play), and use the third virtual shell for editing a text file with VI or NANO.
 
Last edited by DanTheManMS,
  • Like
Reactions: Tarmfot

Deleted member 587507

Active Member
OP
Newcomer
Joined
Mar 6, 2022
Messages
26
Trophies
0
XP
167
Emulators are extremely resource and cpu intensive. And the ds does not have a lot of either one. Emulators often struggle to run by themselves. It will be a challenge to run an emulator plus something else at the same time.
So basically, I can't run the emulator AND do other things at the same time?
But they can be in the same ROM together?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    But it's a dead end
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, people who cant download it can still play the game
  • BigOnYa @ BigOnYa:
    If your internet speeds are fast enough. Streaming 4k takes alot. I used to only have 20mb sec, and 4k struggled. Now I have 300mb sec and 4k plays fine.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only have like 1 or 2 mb sec
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=zT-Cy-hap_Q