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
2 answers

How to use iprintf in c++

How can I use any command really (in c++ programming with Devkit Pro for NDS) to simply print a variably rather than text to a specific location? Here's what I have that prints text: iprintf("\x1b[1;20HHello");
Matthew D. Scholefield
  • 2,977
  • 3
  • 31
  • 42
1
vote
1 answer

Different languages for devkitPPC (Wii) development

devkitpro has been pretty great for development so far. However, I was wondering if there were any other libraries, either independent or based on devkitpro, that would incorporate other languages for me to explore Thanks in advance!
1
vote
1 answer

How do I connect the C++ Wii devkitpro to the internet?

I am struggling with my code in devkitpro trying to get this program to connect to the Internet. It says it connects, it gets an IP address. However, how do I read from the Internet and verify that it is even writing my data to the socket? This is a…
Tyler McMaster
  • 1,407
  • 2
  • 14
  • 15
0
votes
1 answer

NDS Homebrew: Multiple Animation Speeds for Sprites

I have been experimenting with the devkitARM toolchain for NDS homebrew recently. Something I would like better understand, however, is how to control sprite animation speeds. The only way I know of doing this is by 'counting frames'. For example,…
Zorobabel
  • 1,211
  • 1
  • 10
  • 9
0
votes
0 answers

devKitPro network.h: Cannot create network socket, returns "Illegal byte sequence"

I am trying to create a HTML web server for the Wii. It'll only serve static content, nothing dynamic. However, I'm running into issues when it comes to actually creating the socket. This code had been developed within Arch Linux, and had…
0
votes
1 answer

Installing and using and Header files in C, namely bdsm.h

I'd like to access an smb share through my WiiU (using an app of my making) instead of just moving and playing around with the local file system. After much searching, I found bdsm (don't search for this on Google with people nearby), and I tried…
0
votes
0 answers

address of file section `.bss' is not within region `ewram' when compiling for Nintendo DS

I am compiling a Nintendo DS game, and recently it has been giving me a weird error I've never seen before: .../ld.exe: address 0x2382a18 of .../game.elf section `.data' is not within region `ewram' .../ld.exe: .../game.elf section `.itcm' will not…
0
votes
2 answers

NDS Homebrew : can't compile in Visual Express 2008

I'm trying to get into NDS Homebrew, and have installed devkitPro and PALib, and linked it with Visual Express 2008. But When I try to compile the Hello World example code that is automatically generated when you start a new NDS project, I get the…
CosmicRabbitMediaInc
  • 1,165
  • 4
  • 21
  • 32
0
votes
1 answer

CMake Build Issues on Windows 10 with Visual Studio

So I'm trying to build a CMake project on Windows 10 I have Visual Studio 2019 installed with CMake and all the C++ tooling as well. However I'm getting weird behavior when trying to run cmake -S external\ebpf-verifier -B…
0
votes
0 answers

How do I download and save a file from an HTTP server in C

I need to download and save a file from an HTTP server but I CAN NOT use libcurl or any built-in system libraries. This is a program for the Nintendo 3ds that can be run using homebrew (I am using devkitpro if you are wondering). My current code…
Elliot
  • 1
  • 1
  • 3
0
votes
1 answer

Error when freeing elements of a struct depending on the order they are declared in C

I have the following struct: typedef struct { char* json; char* jsonBody; char* tokens; int max_json_size; int max_num_tokens; int num_tokens; } JsonResponse; If I execute the following code everything works as…
Aridez
  • 452
  • 5
  • 17
0
votes
1 answer

Including directories for CLion inspections while using custom toolchain

I'm using CLion 2018.2 to write C/C++ code for a custom compiler toolchain which are not supported natively by CLion. I currently compile with make on the Terminal instead of building from within the IDE. I have a custom include directory with…
BullyWiiPlaza
  • 17,329
  • 10
  • 113
  • 185
0
votes
0 answers

Dsi Homebrew load bmp from sdcard

So i'm trying to display an bmp image stored in the sdcard of the dsi I have found this code: consoleInit ( 0, 1, BgType_Text4bpp, BgSize_T_256x256, 0, 6, false, true); //für das untere Bildschirm FILE *pFile=fopen…
0
votes
1 answer

invalid initializer in gba

im Lino, im new on this community. basically, im trying to save data into the GAMEPAK_RAM of the GBA, and the pointer dont work. the code line is this: #define GAMEPAK_RAM ((volatile uint8_t*)0x0E000000) and the error is this: In file included…
Lino
  • 13
  • 4
0
votes
0 answers

cmake CHECK_SYMBOL_EXISTS can't find function when cross-compiling OpenAL-Soft for ARM

Im trying to build OpenAL-Soft for an ARM machine (the 3ds) and it stops in the cmake process when CHECK_SYMBOL_EXISTS can't find nanosleep function in time.h i tried commenting the error in CMakeLists.txt to see what would happen and the cmake…
Mikiko9
  • 3
  • 1
  • 3