Recent content by DerSamelt

  1. D

    Homebrew Help with libnds bottom screen

    Hello, I've been trying to display my tiles on the bottom screen of the DS using libnds. After looking at several examples and the documentation I made this: int bg; int main(int argc, char* argv[]){ videoSetModeSub(MODE_0_2D); vramSetBankC(VRAM_C_SUB_BG); bg = bgInitSub(0...
  2. D

    Homebrew Setup palette correctly for two backgrounds libnds

    Great! Thanks a lot for the tip. I managed to use GIMP for this and it worked now!
  3. D

    Homebrew Setup palette correctly for two backgrounds libnds

    Alright, so I've added a few gray dots onto the white background, and it seems that what's happening is wich you mentioned that the first color is transparent. The palette has now 2 colors, and the gray color seems to be the one transparent, and the white background displays fine. Could a...
  4. D

    Homebrew Setup palette correctly for two backgrounds libnds

    Okay, so I tried now multiple times to load two backgrounds in a different project with setting the correct palette, and one of the backgrounds just doesn't want to display when using the Palette index 1. The weird thing wich I don't understand is that when I view it with no$gba in VRAM under...
  5. D

    Homebrew Setup palette correctly for two backgrounds libnds

    Awesome! Thanks for the help. Finally got DeSmuMe to work so I'll experiment a little with how the VRAM looks. 1743964630 Just a little extra question: The "Tile num" always shows a "mini adress" (I think). But when selecting the next "8x8" tile in only increases by 1. Why is that?
  6. D

    Homebrew Setup palette correctly for two backgrounds libnds

    Alright I understand it little bit better. I finally got the code to work in the example. Just a few extra questions so I can understand it cuz I really don't know what I'm doing here: -How exactly does each background variable "know" at what location in memory the corresponding palette is...
  7. D

    Homebrew Setup palette correctly for two backgrounds libnds

    Could you perhaps elaborate a little the "SetMapForPalette" function? It's a little confusing with the bitwise or operator (I believe it is). Also how does the tile and mapbase affect it? Thanks for the help!
  8. D

    Homebrew Setup palette correctly for two backgrounds libnds

    Hello, so I was experimenting a little bit with backgrounds, and tried loading two at the same time on different layers. That worked partially because the colors were incorrect, and upon further inspection, it seems that every background takes its colors from the same adress in VRAM (I could be...
  9. D

    Homebrew Loading tiles from tileset to background libnds

    Thanks a lot for the explanation and the example, I understand a lot better now! You’re the best! :D
  10. D

    Homebrew Loading tiles from tileset to background libnds

    Hmm, how exactly does the Code snippet work? Is the Mapbuffer every pixel or 8x8 tiles. And I see that the Array saves up mainly integers from 1-tilessize wich I don’t understand too well. (Kinda new to DS or rather libnds). When I tried it (the project with the code snippet) it just didn’t...
  11. D

    Homebrew Loading tiles from tileset to background libnds

    I feel like I explained it a little unclear. What my problem is, is that I don't know how load specific tiles to the background. What I have right now are two files that grit created, one header file with all the declarations and one c file with the tileset array, where there are a bunch of... I...
  12. D

    Homebrew Loading tiles from tileset to background libnds

    Hello, I was trying to create a tileset of 8x8 or 16x16 tiles and then trying to load them onto a background with libnds. For now I've been able to create sort of a tileset and palette with grit, but I do not know how to make practical use of them. Any help appreciated!
  13. D

    NFlib Compilation Error

    Hello, I was having the same issue. I did manage to reinstall / update all the components, but that did mainly nothing. Any more ideas? Any help appreciated.