Yup I'm back sorry. Anyway, I was wondering if there was any way, using Nitro Engine and NFLib(because I haven't managed to get graphics working at all without them), to have both 2D and 3D graphics on the same screen? It's probably due to how they setup the banks and things like that, but when...
So, I managed to get 3D models working. So, my problem is now with some specific things.
The first is to do with animated textures. The way they're currently done is through loading multiple textures, and binding a different texture based on what frame it's on. This works, but isn't very good...
I'm thinking of adding 3D support to my homebrew, but there's no resources on how. The only think I can find in terms of libraries is Nitro Engine, but the documentation is hard to navigate and I have no idea how to convert models for use with it. That model conversion is my main problem. Is...
Sorry, here's some of my code.
u8 Floor::setDirec(u8 y, u8 x, u8 direc) {
printf("set direc ");
if (direc == -1 or randomChance(direc_change, 100)) { direc = randomRange(0, 3); }
for (u8 i = 0; i < 4; i++) {
switch (direc) {
default:
if (y+1 <=...
On real hardware, it gives the error 'Data abort'. With no console, it's hard to say where it crashes(there could be errors later in my code that I can't fix), just that it does.
So I changed a bit of my code and now get the same error, but with a bunch of different values depending on what I change. I think what the error is is that it doesn't finish my code before it gets the VBlank interrupt. Is there any solution to this? A way to tell it to keep doing what it's...
I managed to compile and run a good chunk of code, and am working on another bit in a new project to put together after it's done. It's a kind of random maze generator. It's not the best, but it compiles fine. But playing it in Desmume makes gives the error in the console:
THUMB9: Undefined...
I copied the NitroFS initialisation a bit more faithfully to the examples, and it's now found the pal files, so that's one problem sorted!
But, I still don't know how to convert the files with grit. I made the pal files with usenti, but that has no support for img or map files. So how do you...
Yeah I have another issue. You fix one another makes itself known. This time with grit/image converting. Running it on the ds makes it print the error "File /palette/ui/01.pal not found. Error code 101.". I think I know what's going on, but I don't know how to fix it. BlocksDS automatically...
I hadn't done that, so thank you! That wasn't just the problem; it was also with where I was directing the libs to in the makefile. But that problem's fixed now, so thanks again.
I'm trying to make some ds homebrew. I'm using NFLib and compiling with BlocksDS. I've managed to get it to mostly compile, except for a singular error:
C:/msys64/opt/wonderful/toolchain/gcc-arm-none-eabi/lib/gcc/arm-none-eabi/15.1.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lnflib: No...