Hacking Homebrew [Release] libnds-rs - Rust for the Nintendo DS

Pikachuk

Well-Known Member
OP
Member
Joined
Mar 19, 2016
Messages
768
Trophies
0
Age
23
Location
Bordeaux
XP
761
Country
France
Hey everyone.
I've recently been working on porting rust to the nintendo DS for one of my projects.
I ended up getting it working so I felt like releasing it publicly for everyone.
you will need to have BlocksDS installed with your environment variables set to use it.
https://github.com/SeleDreams/cargo-nds

at the moment this is a wip, so homebrews made with it will compile and run on the DS, however, only an unsafe access to the raw rapper of the C api is available. I plan to work on providing a safe wrapper that is more natural to use from rust
I hope this will be useful to others

 

Attachments

  • 1675945560912.png
    1675945560912.png
    1.3 MB · Views: 158
Last edited by Pikachuk,

orangy57

bruh
Member
Joined
Aug 17, 2015
Messages
925
Trophies
1
Age
22
Location
New Jersey
XP
3,010
Country
United States
Super cool! Really interesting to see a such a new programming language on such an old console. Is the memory overhead any different compared to C/C++?
 

yoooblls

Well-Known Member
Member
Joined
Nov 5, 2022
Messages
174
Trophies
0
Age
20
XP
474
Country
Cambodia
What? :wtf: Mine was a joke, a play on words. I was referring to real rust, which forms on iron by oxidation. Instead, I do not understand this reference to Halo, which if I am not mistaken is an FPS game, impossible on DS. :unsure:
Ik but for me halo is better than rust no offense
 

Pikachuk

Well-Known Member
OP
Member
Joined
Mar 19, 2016
Messages
768
Trophies
0
Age
23
Location
Bordeaux
XP
761
Country
France
Update :
I did a pretty big update of the implementation of rust for the DS and switched it to use BlocksDS instead of DevKitPro as it is more efficient and uses clearly licensed dependencies.
The new system is better and also easier to use.
Here is the link with instructions https://github.com/SeleDreams/cargo-nds
Post automatically merged:

Here's a video that shows how to use it
 
Last edited by Pikachuk,
  • Like
Reactions: CrashMidnick

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • DinohScene @ DinohScene:
    I've had better tasting battery acid
    +1
  • A @ ATEMVEGETA:
    has anyone tried to move Pokemon save files from emulator to console?
  • DinohScene @ DinohScene:
    no, open up a thread in the forums for it
  • BigOnYa @ BigOnYa:
    He already asked earlier
  • A @ ATEMVEGETA:
    I am trying to find someone with knowledge on that willing to help me
  • BigOnYa @ BigOnYa:
    I and Hayato warned him not to, but he won't listen
  • A @ ATEMVEGETA:
    @BigOnYa,
    I don't listen? What didn't I listen at? I just want to know all the possible risks on that part
  • A @ ATEMVEGETA:
    Hayato even said it's dangerous to backup the save files to CFW
  • A @ ATEMVEGETA:
    how is this dangerous? A ton of people did this it's the most common thing to do with CFW
  • BigOnYa @ BigOnYa:
    Then do it
  • A @ ATEMVEGETA:
    dude, whatever
  • BigOnYa @ BigOnYa:
    Not trying to hate, I tried to help you in the switch noob thread by asking for you, but you don't want to accept the answers you got, so do whatever then.
  • K3Nv2 @ K3Nv2:
    Is that bigonya squeezing bulmas tiddies
    +1
  • A @ ATEMVEGETA:
    @BigOnYa, Man, first of all thanks for your willing to help, much appreciated. But, it's not that I "don't want to listen", rather than I need soemone to EXPLAIN to me how and why all these are risky.
  • K3Nv2 @ K3Nv2:
    Putting your dick in certain areas is always a risk
    +1
  • A @ ATEMVEGETA:
    For example, HOW is is risky to get banned if you extract the save files to the CFW?
  • A @ ATEMVEGETA:
    isn't this proccess be done while you're offline?
  • BigOnYa @ BigOnYa:
    We are not Nintendo, so we don't know exactly how/why/when they ban, but better to stay on the safe side and not do shady stuff, if you don't want to be banned. Hayato is one of the most knowledgeable ones here on the subject and I believe what he says.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    300 bucks hmmm lol
  • A @ ATEMVEGETA:
    @BigOnYa, Yes ofc we don't know how Nintendo bans work, but if there are situations where a lot of people have tried safely then we can at least assume that this path is pretty much safe. To say don't try anything homebrew relative just to be safe forever is the easiest thing to say to someone. What I am trying to figure out here is with which cases and what actions got most of the people their bans for.
  • A @ ATEMVEGETA:
    Most things I can find resulting to a ban is save-editing reasons, like Pokehex, etc, and going online afterwards.
  • K3Nv2 @ K3Nv2:
    I'm almost certain fucking Google fibers modems blocking out PPPoE signals
    K3Nv2 @ K3Nv2: I'm almost certain fucking Google fibers modems blocking out PPPoE signals