Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: bx83 on Fri 02/03/2018 08:25:11

Title: Problem with sound file - file name too long
Post by: bx83 on Fri 02/03/2018 08:25:11
I've recently come across a file called '1321_110_combined.ogg' - Get's the error 'Unexpected error: Filename too long (limit is 12 chars): '1321_110_combined.ogg''

I shortened the filename to CombinedLine.ogg ('aCombinedLine'), but it still complains about the file which no longer exists.

I can't rename the file to it's old name; it's too long.
I can't keep the filename; it always gets an error.
I can't change it; there's always the error for the old filename, which doesn't exist.
I deleted the Audio file (and associated filename), deleted everything in AudioCache; re-added the Audio file (from the new filename, CombinedLine.ogg); doesn't work, same error.

Help please, can't compile my game which is already 700mb and taken a year to write!
Title: Re: Problem with sound file - file name too long
Post by: bx83 on Fri 02/03/2018 08:36:22
...also, to add insult to injury, half the sound files are stuff like:
F:\Game\Sounds\Lighting Match-SoundBible.com-329028361.ogg

...Which is well over 12char. Don't know :(
Title: Re: Problem with sound file - file name too long
Post by: bx83 on Fri 02/03/2018 11:08:40
...and it was complaining about a Speech file that was too long, nothing to do with Sounds :P

I'll leave this here if anyone is as stupid as me and needs a tip ;)
Title: Re: Problem with sound file - file name too long
Post by: Crimson Wizard on Fri 02/03/2018 13:24:41
Speech files have 12-char limit because of their overly stict format: "CHARXXXX.ext".
Sound files also have some script name limit, but that's rather arbitrary and should be removed.
Title: Re: Problem with sound file - file name too long
Post by: Vincent on Fri 02/03/2018 17:19:35
Even when you name a view too much long it get the error message.
Title: Re: Problem with sound file - file name too long
Post by: Slasher on Fri 02/03/2018 17:25:20
Keeping everything short and sweet= no problems (nod)