No .map and .pal files generated.

Post Reply
Posts: 2
Joined: Tue Jul 17, 2012 1:05 pm

No .map and .pal files generated.

Post by Skye » Tue Jul 17, 2012 1:08 pm

Hey all,

I just started out ND programming and was messing around with the NightFox library for graphics.

I am trying to convert a bmp file into .img, .map and .pal files so I can have them shown in the rom. However when I run the conversion, I only get a .img file.

The following code is used in a bat file:

Code: Select all

@echo on
del backgrounds\*.img
del backgrounds\*.map
del backgrounds\*.pal
del h\*.h
grit.exe bmp\*.bmp -g -gTFF00FF -m -mRtf -mLs -p -ftb
for /f "delims==" %%F in ('dir /b *.bin') do ren "%%~nxF" "%%~nF"
move *.img backgrounds
move *.map backgrounds
move *.pal backgrounds
move *.h h
I have my bmp file located in the bmp folder, the only thing I get in the backgrounds folder is the .img file.

I don't get any errors (I turned echo on to check) so I'm not sure what's up with it. According to the parameters given to grit.exe it should in fact generate a pal and map file, but it doesn't.

Any ideas?

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests