I got it working too thanks
I got it working too thanks
Last edited by slenkar; 13-11-2010 at 06:17 PM.
the examples work except for the ones that need an include like texture.bin.inc
I have the texture.bin file but it needs to be texture.bin.inc
if i rename it I get errors
Remember, you need to convert it into delphi code from binary data
There should be a tool that can do that. I cant remember the name. bin2inc or something
Peregrinus, expectavi pedes meos in cymbalis
Nullus norvegicorum sole urinat
texture.bin is converted in an include file by using the provided makefile:
I don't know if "make" can be called by Lazarus; however you could call "make" the very first time, in order to generate the inc files, then use Lazarus as usualCode:set PATH=%PATH%;c:\fpc4nds\bin\arm-nds make OS_TARGET=nds CPU_TARGET=arm BINUTILSPREFIX=arm-eabi- PP=ppcarm.exe
so the executable that makes the bin into an inc is in the arm-nds folder and it begins with arm-eabi ??
How do I make an image into a BIN file?
No, there is a little neat program called bin2s, that produces assembly files from binaries (texture.bin.s), then the makefile uses a "trick" to generate a pascal include file (texture.bin.inc). In the last step it calls the assembler to make an object file (texture.bin.o) from texture.bin.s.
About your other question, grit or wingrit should do the trick
Bookmarks