Homebrew Homebrew game problems with Homebrew development

  • Thread starter Thread starter Lalito0325
  • Start date Start date
  • Views Views 1,146
  • Replies Replies 3

Lalito0325

New Member
Newbie
Joined
Apr 30, 2022
Messages
4
Reaction score
0
Trophies
0
Age
23
Location
Michoacán
XP
79
Country
Mexico
I want to make a game for Nintendo DS (more than anything to enjoy playing with my friends), but I'm doing something wrong and I simply can't configure any IDE to use night fox lib or Nitro engine, I could only configure the Devkitpro libraries in Eclipse ( and only in Eclipse, Codeblocks gives me compilation errors and I simply cannot include the libraries in Visual Studio Code)

My goal is to make a 3D game, simple graphics. and yes, I know that I should do a 2d one first knowing that my knowledge in c++ is relatively nil (I only know how variables work and that they can be up to 32 bits).

But how am I going to be able to make a 3D game if I can't even link other liberias with DevkitPro?

and I know that Nightfox Lib is used with C, but another thing I didn't mention is that eclipse doesn't compile the rom for me in a C project, only in C++

Also the tutorials are confusing, some do not explain the configurations well and others are simply outdated and use obsolete programs (and even plugins that I have not been able to find).
 
Last edited by Lalito0325,
I configured codeblocks using this tutorial and it's working fine:
https://whatroidoes.wordpress.com/2...itpro-with-codeblocks-and-debug-with-insight/
It's really usable once you configure your own custom project template and add emulator into tools running by key shortcut.
Also when you start new project it's good to give name folder the same name as project, but that's also makefile rule.
Look for examples in devkitpro or nightfoxlib how different libraries are included in makefiles to modify your own by needs.
By working fine I mean it depends how big is your project. Sometimes this IDE likes to freeze from time to time, but i'm using v12.11 so maybe newer one are more stable. Eclispse is way more memory consume heavy i guess.
 
Speaking of Makefile is just linker cofiguration file for your project it has own script language, it is for setting up which libraries do you want to use and how (in nitrofiles or build-in executable), or for some pre-compiling preparations (like converting images by grit or generating musicbanks for maxmod9 lib), it has not much to do with c language and compiler so makefile.exe seems to be unexpected result.
 

Site & Scene News

Popular threads in this forum