Speech file error

Started by PuNKKoMmANDO77, Wed 12/06/2013 13:50:25

Previous topic - Next topic

PuNKKoMmANDO77

Hi, i'm working on the talkie version of my game The Path of the Pumpkin, the game have 11000 speech files but seems that the last 800 have a problem.
The version of AGS is 3.1.2
When i build the speech compressed file for try the game AGS give me this error:
Unable to initialize speech sample file - check for corruptions and that it belongs to this game

I try to open all the mp3 with Windows media player and VLC and no one seems corrupted, next i try to convert all the files in .ogg but AGS give me the error again.
So i try two software for repair corrupted mp3, the first mp3Val say to me that all the files aren't corrupted, the second Mp3Diag try to adjust the possible error but nothing change.
So, i'm not an expert of audio files, but i can't understand where can be the problem.

PuNKKoMmANDO77

Ok, maybe i found the problem, this version of ags can't have more than 9999 speech files, how i can increase that limit?

Khris

By changing the engine. You have to get the source code, get MS Visual C++ 6, find the part that handles speech, and compile your own version.

Crimson Wizard

#3
If I understand correctly, 9999 is a max number per character.
Meanwhile, is it possible to deal with this issue by making a dummy character(s) who would speak extra lines for real one(s)?

PuNKKoMmANDO77

QuoteIf I understand correctly, 9999 is a max number per character.

Yes, the Ags library tells 9999 for character but after some test i see that if the total files on the speech folder are more than 9999 the speech file are corrupted, so i divided the game in two parts (two games) with the second protected by a password that the player obtain at the end of the first part.

Crimson Wizard

That is because AGS does not let the data package have more than 10k files inside :(.

We will need to modify the package format to make this work. I will post update in the Development forum if there are any news on this matter.

PuNKKoMmANDO77

Oh, thanks for the info Wizard.

SMF spam blocked by CleanTalk