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: 40
  • 20211001_185414.jpg
    20211001_185414.jpg
    2.4 MB · Views: 51
  • 20210930_212323.jpg
    20210930_212323.jpg
    1.5 MB · Views: 47

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    I only drank alcohol once and it was by accident
  • Xdqwerty @ Xdqwerty:
    I didnt know it was beer, it was on a juice bottle
  • SylverReZ @ SylverReZ:
    Yeah, I'm addicted to smoking, sadly. It's very addictive but I wish I didn't start.
  • K3Nv2 @ K3Nv2:
    May just order a 5700g for a nas/emulation set up tbh
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast you were asleep on 4/20
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, you played that Mario flash game called Mario 63?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, No, but I've seen it on Vinesauce's stream.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that game is one of the reasons i met newgrounds bc the full versión of it is in that site
  • Xdqwerty @ Xdqwerty:
    Also somebody is remaking it
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, the other game where I found newgrounds is new york shark
    +1
  • SylverReZ @ SylverReZ:
    Spoke to Tom Fulp the other day, if he can find his old Newgrounds site content like the mini Flash animations from the 2000's that played on the portal.
  • SylverReZ @ SylverReZ:
    So far no response, but he did say that he'll find them. Wayback Machine doesn't have em.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast the 1999 versión of pico's school is avaliable (the difference between it, the 2006 versión and the 2016 versión is that the speed of the game depends of the speed of your computer and that it had the og soundtrack)
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Another being Pico VS Bear, the original 1999 version before Jim Henson filed a DMCA takedown.
    +1
  • Xdqwerty @ Xdqwerty:
    The 2006 versión was made when the flash portal was made
  • SylverReZ @ SylverReZ:
    Many people thought it was lost, but was discovered that he hid it on the same page.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, although the "secrets" system where the game was has been removed. Also pico vs uberkids had a netplay versión that was shutdown, although the swf file has been found
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Nope. There are two download buttons on the same page, where you can download the original under a file called "bear.exe". "bear2.exe", however, is the updated game in a Flash projector. P.s. this was on the archived Pico page from 2000.
  • SylverReZ @ SylverReZ:
    @Xdqwerty, That's been there for a long time, too. People who search for lost media don't look hard enough lmao.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, also the pico 2 demos used to be only for the newgrounds patrons but they are on internet archive too (https://archive.org/download/picos_school_2)
    +1
  • Xdqwerty @ Xdqwerty:
    Iirc the demos were removed from newgrounds in 2022
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, or well only the demo with mindchamber's style was on newgrounds
    +1
    Xdqwerty @ Xdqwerty: @SylverReZ, or well only the demo with mindchamber's style was on newgrounds +1