Cant run my own game on r4 card

MrMoneyBags100

Member
OP
Newcomer
Joined
Oct 1, 2021
Messages
6
Trophies
0
Age
23
XP
117
Country
United Kingdom
When I try to put my Test.nds game on my "R4 Gold Pro" it will display a white top screen and black bottom screen.
I have been able to successfully play other games on this card so I don't think that is the issue here.
My file works on the DeSmuMe emulator so I don't know what I can do.
I'll input my code in-case there is anything I can do but all it is supposed to do thus far is display a background.
as you can see in the header, I am using NFlibrary for my project.

Any help would be appreciated, thanks for reading.

Code:
#include <iostream>
#include <nds.h>
#include <nf_lib.h>

int main(int argc, char **argv) {

    consoleDemoInit();
    consoleClear();
    setBrightness(3, 0);
    NF_SetRootFolder("NITROFS");
   
    NF_Set2D(0, 0);
    NF_Set2D(1, 0);
   
    NF_InitTiledBgBuffers();
    NF_InitTiledBgSys(0);
    NF_InitTiledBgSys(1);

    NF_LoadTiledBg("Backgrounds/Sky", "Sky", 256, 256);
    NF_LoadTiledBg("Backgrounds/SeaBg", "Sea", 256, 256);
    NF_LoadTiledBg("Backgrounds/ShipBg", "Ship", 256, 256);

    NF_CreateTiledBg(0, 3, "Sky");
    NF_CreateTiledBg(1, 3, "Sea");
    NF_CreateTiledBg(1, 2, "Ship");



    while(1) {

        NF_SpriteOamSet(0);
        NF_SpriteOamSet(1);
        swiWaitForVBlank();
        oamUpdate(&oamMain);
        oamUpdate(&oamSub);
    }

    return 0;

}
 

Attachments

  • Capture.JPG
    Capture.JPG
    76.8 KB · Views: 42
  • 20211001_185414.jpg
    20211001_185414.jpg
    2.4 MB · Views: 54
  • 20210930_212323.jpg
    20210930_212323.jpg
    1.5 MB · Views: 49

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • NinStar @ NinStar:
    you have to launch your homebrews directly from the wii u menu
  • NinStar @ NinStar:
    there is a plugin that display them on the wii u menu, pretty sure it is enabled by default
  • crafthp434 @ crafthp434:
    so like it doesnt exist
  • crafthp434 @ crafthp434:
    yeah
    ?
  • NinStar @ NinStar:
    it doesn't exist, at least not for aroma
  • crafthp434 @ crafthp434:
    ohhhhh
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
  • BigOnYa @ BigOnYa:
    Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)
    BigOnYa @ BigOnYa: Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does...