Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kitlith/powerslaves
Taking PowerSaves as a slave to your will.
https://github.com/kitlith/powerslaves
3ds cartridge hidapi library mit-license nintendo-3ds nintendo-ds
Last synced: 3 months ago
JSON representation
Taking PowerSaves as a slave to your will.
- Host: GitHub
- URL: https://github.com/kitlith/powerslaves
- Owner: kitlith
- License: mit
- Created: 2016-11-05T04:37:12.000Z (about 8 years ago)
- Default Branch: api
- Last Pushed: 2020-08-16T18:28:05.000Z (over 4 years ago)
- Last Synced: 2024-10-10T21:15:18.341Z (4 months ago)
- Topics: 3ds, cartridge, hidapi, library, mit-license, nintendo-3ds, nintendo-ds
- Language: C
- Size: 40 KB
- Stars: 36
- Watchers: 5
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Powerslaves -- The API strikes back.
_Taking Powersaves as a slave to your will._
(Name courtesy of Normmatt)## What is this?
It's a little thing. Datel's Powersaves can do more than just
reading and writing save files, but they won't tell you that.At the moment, this is just a small library that abstracts away having to deal
with hidapi, aong with a few examples that use the API. This could be useful to
anyone who wants to communicate with a DS or 3DS cartridge. Personally, a good
usecase of this can be seen in the ak2itool example.This is licenced under the MIT licence, contained in LICENCE.
### Why bother?
I have had some issues implementing this. Some were stupid mistakes.
I'd like to save other people trouble in case they want to do anything similar.~~I've also never made a library before, so, experience?~~
### TODO
- Make absolutely sure this is cross platform. This was developed and tested
on linux based distros, so Windows and Mac OS should definately be tested.## Compiling
Grab and install hidapi. It's a requirement for this. Run make. Done.
That was easy. Or, at least, it should've been.
Let me know if it wasn't as easy as it should've been in the issues.Yes, it's a quicky made Makefile. If you have suggestions for a good build
system that handles every platform, let me know.### Usage
Link with your project, and (hopefully) never have to think about hid devices
ever again.#### header 'tool'
`Usage: ./header [-ntc] [-l length] [-o filename]``-n` for NTR mode. `-t` for TWL mode. `-c` for CTR mode.
#### ak2itool
`ak2itool` has moved to its own repository! You can find it at https://github.com/kitling/ak2itool## Credits
Normmatt, for the C# code this was based off of.
TobiX, for sharing some small details about commands that appearantly exist but
are undocumented. And for reminding me about this once again. <\_<
SeddiHz, for being the one to test the original application for me before I
could test with my own yet-to-arrive powersaves. >\_>
hedgeberg, for inspiring me to work on this and similar projects. (NTRPi)
Everyone in #Cakey(-ot) on freenode.
The developers of hidapi, so that I didn't have to create the relevant code.
Datel, for making a device that was more flexible than they probably intended.