Giter Club home page Giter Club logo

powerslaves's Introduction

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.

powerslaves's People

Contributors

d3m3vilurr avatar kitlith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

powerslaves's Issues

Fails to talk sucessfully to certain cartridges (Flashcards)

This isn't consistant. Normmatt had an ak2i that worked with his powersaves, but the one I have for testing does not. Other cartridges work, maybe it isn't providing enough power to the cart?

Everything spits out 0s when this is occuring.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.