possible bug loading bmp file?

Started by miguel, Fri 21/11/2003 01:17:29

Previous topic - Next topic

miguel

Hello to all,
 Sorry if tjis was talked before,
when loading a bmp sprite into the sprites folder AGS gave me an error saying that I should check colour depth and resolution,
 the file is named  "man#2.bmp" and I think #2 is doing the problem because other sprites named man#1.bmp  work fine,
 also, the same sprite when saved with a diferent name ("man2.bmp") work fine.
  I checked it several times and allways returns a error.
 Could this be part of how the engine works, maybe symbols that we can't use?
  I'm using 2.56
 
Working on a RON game!!!!!

Pumaman

Hmm yes, AGS cannot load filenames with the '#' character in them. It's because the character is used internally for another purpose, so there's no easy workaround I'm afraid - just don't use that character in filenames.

miguel

I thought it was something like that, sorry for the trouble,
miguel
Working on a RON game!!!!!

Pumaman

Thanks for bringing it up, it's not something I had considered before. But you're right, it's something we need to be aware of.

SMF spam blocked by CleanTalk