Language…
19 users online:  Ahrion,  Atari2.0, autisticsceptile1993,  Deeke, Dennsen86, eltiolavara9, Green, Heitor Porfirio, LazyRuns, LucasRCD, Mischievous Marc, neidoodle, NewPointless, Pizzagamer9791,  Ringo, Serena, sinseiga, SMWizard, YuriGamer - Guests: 283 - Bots: 326
Users: 64,795 (2,376 active)
Latest user: mathew

What to do with .bin (incbin) files in sprites?

I'm not great with sprites at the moment, however I have inserted a few (about 8 or so). I use PIXI for inserting sprites. All of my insertion has been successful so far even when converting from Romi's Spritetool to PIXI. However, I recently downloaded a boss sprite that has a .asm (bowser_v0.asm) file but with no .cfg. So I attempt to insert it into PIXI and I get the error, "sprites/bowser_v0.asm:1303: error: File not found [incbin sprites/bowser.gfx.bin]. So I'm not sure what to do with the .bin file. I heard you can insert it as a patch so I did with Asar. It said it was successful but PIXI is still giving me the error. Is there somewhere to put the .bin file? Help would be appreciated. Thanks! #smrpg{y}
That has to do with the fact that PIXI uses Asar and how it handles included files differently from xkas (Asar checks in the folder where ASM file is called vs. xkas which checks). You can fix that if you redownload the sprite because the remoderation fixed this issue or manually remove "sprites/" from "incbin sprites/bowsergfx.bin" to take account for Asar.

Moreover, BIN files contain pure data which means they aren't supposed to be inserted as a patch (if you notice the ROM broke, it's precisely this reason). Even then, it still wouldn't work because how can Asar know if the BIN file is even inserted anyway? Not to mention that Asar compiled the BIN file as a string, like a text or ASM file instead of as binary data (which still wouldn't work because of the lack of position where to insert).