compiling the decoder

Subscribe to compiling the decoder 3 post(s), 3 voice(s)

 
Avatar Xiuide 1 post

First off, hands down this is one of the best homebrew applications for the NDS I have seen in a while, my hat is off to the development, the interface is user friendly, the program itself runs very smooth, and the encoding is a breeze compared to other video players.
that said…

I am trying to compile a custom build, with a new GUI, as I found the default one a bit to “candy/shiny” for my Onyx DS Lite, and for my personal tastes. I am trying to compile on Ubuntu Linux, however, in the readme file, the compile instructions are a bit “underdeveloped” I have devkitARM and have linked it to my environment, however, for libnds you do not say if you need the source, or the compiled, and, you do not state where to put the file(s) once you get them. I was hoping you could give me a bit more insight on this, as I’m figuring all the errors I’m getting, is due to libnds not being declared/in the right directory. Also, would a change in graphics be considered as a “patch” under your license (I believe you are using a custom license, yes?) or, would it be considered something entirely different, where it could only be for personal use, and not redistributed as an unofficial build? Oh, while I’m thinking of it, would it break, using devkitARM r21 instead of r19?

and just to show you my updates…
http://bayimg.com/LaJiPaABd

 
Avatar Nick Ludlam Administrator 312 post(s)

Sorry for the late reply. Do you have devkitPro installed as well? If you do, it should be a matter of going into the “decoder” directory and typing “make”.

As for whether assets are considered a patch, I’m not sure. If you want to contribute the images as an optional theme, we could distribute it with the main bundle. Dom, what do you think?

I like the look of the black theme so far. Very different from our default one, and it’s nice to see people experimenting with the source code!

 
Avatar Dominic Ludlam Administrator 30 post(s)

Hi Xiuide,

For building with devkitPro under linux, I made a devkitPro directory with devkitARM and libnds as subdirectories, ie.

/opt/devkitPro-20071023/devkitARM
/opt/devkitPro-20071023/libnds  (containing the libnds include and lib dirs)

then in my bashrc, I set the required environment variables to point to them:

export DEVKITPRO=/opt/devkitPro-20071023
export DEVKITARM=/opt/devkitPro-20071023/devkitARM

The devkitPro build rules expect libnds to be installed under $(DEVKITPRO)/libnds. You don’t need the libnds source to build dsvideo.

I use devkitPro r21, older versions may not work (and versions of libnds older than 20071023 definitely won’t work).

My interpretation of the licence is that changes to the graphics are patches because they are a modification of the original work (ie. the term patch applies to any change, not just to the software).