Author Topic: Problem with sound file - file name too long  (Read 242 times)

bx83

  • Get 'Er Doooooone
Problem with sound file - file name too long
« on: 02 Mar 2018, 08:25 »
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!
« Last Edit: 02 Mar 2018, 11:08 by bx83 »

bx83

  • Get 'Er Doooooone
Re: Problem with sound file - file name too long
« Reply #1 on: 02 Mar 2018, 08:36 »
...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 :(

bx83

  • Get 'Er Doooooone
Re: Problem with sound file - file name too long
« Reply #2 on: 02 Mar 2018, 11:08 »
...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 ;)

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: Problem with sound file - file name too long
« Reply #3 on: 02 Mar 2018, 13:24 »
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.
« Last Edit: 02 Mar 2018, 13:45 by Crimson Wizard »

Vincent

  • Jump back into the pond
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
Re: Problem with sound file - file name too long
« Reply #4 on: 02 Mar 2018, 17:19 »
Even when you name a view too much long it get the error message.

Slasher

  • slasher
    • I can help with AGS tutoring
    •  
    • I can help with scripting
    •  
    • I can help with story design
    •  
    • Slasher worked on a game that was nominated for an AGS Award!
Re: Problem with sound file - file name too long
« Reply #5 on: 02 Mar 2018, 17:25 »
Keeping everything short and sweet= no problems (nod)