Author Topic: "Unable to read voice pack" error  (Read 364 times)

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    •  
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
      Dave Gilbert worked on a game that won an AGS Award!
"Unable to read voice pack" error
« on: 02 May 2018, 20:35 »
I haven't done anything different as far as I know, but now when I compile my game and try to run it, I get the error "Unable to read voice pack, file could be corrupted or of unknown format. Speech voice-over will be disabled."

As a test, I moved all of the speech files out of the Speech folder except for one and recompiled it. I received the same error. So it appears to have something to do with the game/engine and not the speech file itself.

Any ideas are appreciated!

Thanks,

-Dave

Edit: I have also tried rebuilding all files. Nothing appears to work.
« Last Edit: 02 May 2018, 20:39 by Dave Gilbert »

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: "Unable to read voice pack" error
« Reply #1 on: 02 May 2018, 21:02 »
You're using 3.4.1, right?

Does it matter whether you are running from editor or from compiled folder?

Can you upload the vox file that does not work (even if with 1 random file)?
« Last Edit: 02 May 2018, 21:07 by Crimson Wizard »

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    •  
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
      Dave Gilbert worked on a game that won an AGS Award!
Re: "Unable to read voice pack" error
« Reply #2 on: 02 May 2018, 22:07 »
Turns out the files weren't getting properly rebuilt unless I deleted them from the compiled folder first.

I'm PMing you a link to my speech.vox!

Edit: I *think* it might be a filesize issue? I've been removing files from the speech folder and it seems to run fine when the Speech.vox gets below 453mb or so. Is there a filesize limit for speech? Is there any way around that?

Edit2: Hm. No. That's not it. I removed the commentary speech files which were around 50mb on their own. It brought my speech.vox size down to 420mb and I still got the error.
« Last Edit: 02 May 2018, 22:14 by Dave Gilbert »

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: "Unable to read voice pack" error
« Reply #3 on: 02 May 2018, 22:35 »
Was getting a bad feeling about that.

Apparently this silly file package format has a limit of 10k files. I believe there should not be a problem in removing that limit, actually this is something that had to be done years ago, but it does not happen often.

(Also need to improve the way error is reported)

« Last Edit: 02 May 2018, 22:43 by Crimson Wizard »

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    •  
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
      Dave Gilbert worked on a game that won an AGS Award!
Re: "Unable to read voice pack" error
« Reply #4 on: 02 May 2018, 23:09 »
Thanks CW! When can that be done? I kind of have a hard deadline of next week for a preview build, and I still have about 1000 more lines to import! :sealed:

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: "Unable to read voice pack" error
« Reply #5 on: 02 May 2018, 23:36 »
The engine for test: https://www.dropbox.com/s/8is4m8p2u6z0ox6/acwin-3.4.1--hotfix-assetlimit.zip?dl=0

Will perhaps release a proper patch later on this week.

EDIT: Hmm, actually have no idea how it works in the Editor. Better test newly added files.
EDIT2: Apparently Editor never had any limits when it was making speech.vox. It was only engine that had this limit for some silly reason.
« Last Edit: 02 May 2018, 23:56 by Crimson Wizard »

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    •  
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
      Dave Gilbert worked on a game that won an AGS Award!
Re: "Unable to read voice pack" error
« Reply #6 on: 03 May 2018, 00:08 »
You are a LIFESAVER. Worked like a charm. Thank you!