gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > libdevlight - small lib for easy wifi-based development

#159362 - fluff - Sun Jun 29, 2008 8:29 pm

I hope this is the right forum to post this. Here's the readme:


libdevlight v1.00 (C) Mikael Klasson 2008
http://mklasson.com

Small library meant to be used when developing NDS apps/games.

It let's you easily download and boot your freshly compiled new version from a
web server, all from within the previous version. The whole process takes about
10 seconds for a small .nds file, from the moment you start downloading to when
your new version starts.

Be sure to check out the included example for info on how to use this lib.

The reboot functionality is provided by Lick's rebootlib v1.1r. It seems to
only support DLDI, so be sure to keep that in mind. I don't know how compatible
it is with different cards, but it looks very capable and works on my CycloDS.


Install
-------
Copy libdevlight7.a and libdevlight9.a to your devkitpro/libnds/lib path.
Copy source/devlight.h to your devkitpro/libnds/include path.


Used libs
---------
- libfat by Michael Chisholm (chishm).
- DSWifi by Stephen Stair (sgstair).
- rebootlib by Rick Wong (Lick).
- libnds and devkitARM by Dave Murphy (WinterMute), Jason Rogers (dovoto),
and Michael Noland (joat). (?)
Fantastic work. Thank you all!


License
-------
As far as _I_ am concerned, you can use this however you want as long as you
don't expect anything from it or me. Seeing as rebootlib is GPLv2 licensed
though, I think I'm obliged to perpetuate that.
So: GPLv2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt)


You can get it at http://mklasson.com/libdevlight100.zip. If you don't already have a nice wifi-based dev system set up, feel free to give it a try. It sure beats swapping flash cards all day. :) I'm all ears if you've got better ideas on how to do some things.

#159516 - dub3000 - Wed Jul 02, 2008 5:21 am

awesome, i've been looking for this sort of thing for ages. cheers!

#159530 - fluff - Wed Jul 02, 2008 11:57 am

Glad to hear it! Thanks for commenting

#159531 - hacker013 - Wed Jul 02, 2008 12:19 pm

fluff wrote:

License
-------
As far as _I_ am concerned, you can use this however you want as long as you
don't expect anything from it or me. Seeing as rebootlib is GPLv2 licensed
though, I think I'm obliged to perpetuate that.
So: GPLv2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt)


Rebootlib has a custom license, not a GPLv2 license.
_________________
Website / Blog

Let the nds be with you.

#159535 - fluff - Wed Jul 02, 2008 12:59 pm

From rebootlib's readme.txt:
"Dual licensed under the MIT (www.opensource.org/licenses/mit-license.php) and GPLv2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt) licenses."
If you meant that I could use the MIT license instead of GPL then I guess you're right. I don't know anything about the MIT license though... It's not that big of a deal; GPL is fine, unless I've somehow done something naughty by including rebootlib in my lib. AFAIK though, that's not the case as I've released the source code, and all copyright statements and whatnot are intact. I'm just trying to spread some joy, and banish card swapping to the dark corners from whence it came. :)

#159583 - tepples - Wed Jul 02, 2008 8:03 pm

fluff wrote:
From rebootlib's readme.txt:
"Dual licensed under the MIT (www.opensource.org/licenses/mit-license.php) and GPLv2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt) licenses."
If you meant that I could use the MIT license instead of GPL then I guess you're right. I don't know anything about the MIT license though

The so-called MIT license is a simple permissive free software license, similar in effect to the BSD licenses and compatible with the GNU GPL. It originated with the X Window System, and the Expat XML parser, Lua interpreter, and PuTTY SSH client are under variants of the MIT license.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#159595 - fluff - Wed Jul 02, 2008 8:47 pm

Looks good. While I doubt there is or will be any need for such a thing with this particular project, I could certainly use that license as well.