Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: miguel on Fri 21/11/2003 01:17:29

Title: possible bug loading bmp file?
Post by: miguel on Fri 21/11/2003 01:17:29
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
 
Title: Re:possible bug loading bmp file?
Post by: Pumaman on Fri 21/11/2003 15:45:24
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.
Title: Re:possible bug loading bmp file?
Post by: miguel on Sat 22/11/2003 00:08:42
I thought it was something like that, sorry for the trouble,
miguel
Title: Re:possible bug loading bmp file?
Post by: Pumaman on Sat 22/11/2003 12:11:49
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.