Questions tagged [devkitpro]

provider of homebrew toolchains for wii, gamecube, ds, gba, gp32 and psp

devkitpro is a provider of homebrew toolchains for wii, gamecube, ds, gba, gp32 and psp

50 questions
1
vote
1 answer

How to create a wii option selector with devkitpro?

How to create a wii options selector like wii mod lite? (devkitpro + C) wii mod lite options selector i searched and searched, but i didnt found anything
1
vote
0 answers

Can't get this out of date DS Library to compile with current DevkitPro

I wan't to try and develop a little DS game as a hobby project. I precise that it is also a way for me to reuse C/C++ after several years, and the comeback is a bit difficult. Sorry in advance if I miss obvious stuff, I forgot a lot of what I used…
Gaëtan
  • 779
  • 1
  • 8
  • 26
1
vote
0 answers

How do you receive a status code from HTTP using libogc?

So, I've been working on a Wii application. I want it to connect to my server and receive a status code response. I wrote the following code to try to do so(yeah, it's messy, I know) s32 connectSocket(const char *hostn, u32 port) { int sock =…
Tech
  • 37
  • 1
  • 8
1
vote
0 answers

devkitpro libctru 3ds moving sprite is lagging

I am creating a game for my nintendo 3ds. Its a platformer. There I use sprite which are store in simple arrays and also some palettes. I am writing these Sprites directly into the framebuffer (so no citr02d). I am also using double buffering. The…
ocram101
  • 11
  • 1
1
vote
0 answers

Change color when printing using libnds for the nds, programing in C

I'm developing a game for a nintendo emulator using the libnds library from devkitpro and I'm trying to change the color of the text when printing. I initialize the console variable with consoleDemoInit() and then I try modifying several values but…
Mach1n3
  • 11
  • 1
1
vote
0 answers

why do i get an error when i try to do $make?

I'm using devkit pro, trying to create a 3DS Homebrew app. I keep getting an error while doing "$make" I have this code, #include <3ds.h> int main(){ gfxInitDefault(); gfxExit(); return 0; } It just says, \*\*\* missing seperator. stop. I am…
Sussy Baka
  • 11
  • 2
1
vote
0 answers

Problems with downloading a file with devkitPro (Wii)

i found this code online that should download a file to my usb plugged into my wii, however, i found it only works with http or www domains, which means i cant download a file from my github.io website. i really could not find any useful examples or…
weeg luigi
  • 23
  • 2
  • 4
1
vote
1 answer

Nintendo DS. Error Showing a simple sprite using NightFoxLib

I'm getting into simple NDS Development. I'm trying to build a simple game. I built like a button (that is handled like a sprite) and tried to show it on the screen. This is the result: here is what no$gba shows. I followed this tutorial:…
Rom7x
  • 56
  • 1
  • 6
1
vote
1 answer

Why does DevkitARM GBA linker detect multiple definitions?

Running make on this code to cross-compile for GBA with DevkitARM results in the following: main.c tilemap.c linking cartridge /opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/11.1.0/../../../../arm-none-eabi/bin/ld:…
Isaac Thompson
  • 75
  • 1
  • 1
  • 7
1
vote
1 answer

Program freezes when setting values in an array using for loops, C Devkitpro 3DS

For a homebrew Minecraft-like clone for the 3DS, I'm attempting to create a data struct called a Chunk that contains a position, and a 3D array of ints, where an int in the array represents a block ID. It is defined as so: typedef struct{ …
Plokie
  • 21
  • 6
1
vote
0 answers

How do I fix the error code U1000 in Visual Studio 2019 NMAKE?

I recently decided to get into Nintendo DS programming, so downloaded devkitPro, which uses makefiles. When attempting to build a copy of a "hello_world" project, I get this error: U1000 syntax error : ')' missing in macro invocation This line is…
はるき
  • 141
  • 1
  • 9
1
vote
1 answer

what does something like 0400:0130h mean for register location?

I've been trying to develop with devkitARM and only notable guide is Coranac's Tonc, everything's fine but I can't get what it means when some register is in location xxxx:xxxxh what does the h and the numbers mean? Cant't find it anywhere.
RealGas
  • 109
  • 1
  • 6
1
vote
1 answer

DevkitARM, white screen on emulator If I use a for loop in the code?

This Code works great and outputs the pixels as expected: int main() { *(unsigned int *)0x04000000 = 0x0403; unsigned short *Screen = (unsigned short *)0x06000000; Screen[120 + 80 * 240] = 0x001F; Screen[136 + 80 * 240] = 0x03E0; …
RealGas
  • 109
  • 1
  • 6
1
vote
2 answers

what can I do about GNU ld 'legacy __sync_synchronize' warning?

I have some C++ code that uses a local-scope, program-lifetime object, e.g. void testFunction(int arg) { static Tested tested(0); tested.use(arg); } which built fine with older versions of GCC. With GCC 8.2.0, I get a puzzling warning at link…
PypeBros
  • 2,607
  • 24
  • 37
1
vote
1 answer

Garbage on top of screen when displaying text over image in devkit pro

I am currently using the 16-bit libnds (Whith devkitpro) example as a basis and am trying to display text and the png background image on the same screen (in this example it is the top sceen). I am having a similar issue as this post. I have garbage…
Matthew D. Scholefield
  • 2,977
  • 3
  • 31
  • 42