Page 1 of 1

updating dslibris for libnds 2.0

Posted: Sun Jan 26, 2025 7:28 pm
by nycki93

Hiya! A while ago I had submitted a feature request for dslibris, but it didn't get any responses, so I decided to compile and try it myself, only to find that it requires libnds 1.8, which is no longer provided. I am not asking for old versions of libnds, however, would it be possible to have a transitional version that supports both the old and the new interface? Then I could install that, confirm that the app builds, and start porting it to the new libnds2. This is how I would normally update any other broken dependency -- get a sane version working, then update one thing at a time and fix the bugs that pop up.

If this is not possible, can you instead tell me how I should replace the broken function call to fifoSendValue32()? Again, I would be happy to do this myself if it was possible to compare old and new versions.


Re: updating dslibris for libnds 2.0

Posted: Mon Jan 27, 2025 7:21 pm
by fincs

libnds 2.0/calico currently do not support setting the DS Lite or DSi backlight brightness. The function you mention (fifoSendValue32) is an internal function used for ARM7<->ARM9 communication, which has been superseded by the new PXI interface. In the meantime, you can comment out all calls to FIFO functions in order to build the project with latest tools. We will consider adding a function to change backlight brightness to a future version of libnds/calico.