Author Topic: Attempt to Play Sound File Crashes Game  (Read 868 times)

0 Members and 1 Guest are viewing this topic.

Offline MercantileInterest

Attempt to Play Sound File Crashes Game
« on: February 26, 2020, 10:02:19 pm »
Using the GOG version. Every time the game plays a sound, it crashes. Removing the sound files makes everything run. Anyone know how to fix this?

Offline Fibonacci

Re: Attempt to Play Sound File Crashes Game
« Reply #1 on: February 26, 2020, 10:41:32 pm »
In your "Alpha Centauri.ini", is "ForceOldVoxelAlgorithm=0" under [PREFERENCES]? I vaguely remember that selecting which code the game uses to renders audio.

Aside from that, right clicking the shortcut and running the game in compatibility mode for an older version of Windows may help.

I'm fuzzy on other methods under windows because I've been running via WINE under Linux for the last 7 or so years.

Works nicely once I discovered that the resolution both horizontal and vertical need to be divisible by 8.

Offline MercantileInterest

Re: Attempt to Play Sound File Crashes Game
« Reply #2 on: February 26, 2020, 11:04:22 pm »
That fixed it! Thanks!

Offline bvanevery

  • Emperor of the Tanks
  • Thinker
  • *
  • Posts: 6443
  • €818
  • View Inventory
  • Send /Gift
  • Allows access to AC2's quiz & chess sections for 144 hours from time of use.  You can't do without Leadship  Must. have. caffeine. -Ahhhhh; good.  Premium environmentally-responsible coffee, grown with love and care by Gaian experts.  
  • Planning for the next 20 years of SMACX.
  • AC2 Hall Of Fame AC Text modder Author of at least one AAR
    • View Profile
    • Awards
Re: Attempt to Play Sound File Crashes Game
« Reply #3 on: February 27, 2020, 12:07:58 am »
The wording isn't clear what is supposed to be a "good" or bad" setting.  I have

Code: [Select]
[PREFERENCES]
ForceOldVoxelAlgorithm=1

and no issues.  I believe this is the default for a GOG installation.

Offline Fibonacci

Re: Attempt to Play Sound File Crashes Game
« Reply #4 on: February 27, 2020, 04:45:53 am »
ForceOldVoxelAlgorithm=1 uses the older pre-MMX instruction set algorithm for decoding audio.
ForceOldVoxelAlgorithm=0 uses the same algorithm, but re-compiled allowing MMX instruction set use.

Good is whichever one plays nice on your system. In theory, the MMX stuff should allow more processor time for everything other than the audio decoding.

Offline bvanevery

  • Emperor of the Tanks
  • Thinker
  • *
  • Posts: 6443
  • €818
  • View Inventory
  • Send /Gift
  • Allows access to AC2's quiz & chess sections for 144 hours from time of use.  You can't do without Leadship  Must. have. caffeine. -Ahhhhh; good.  Premium environmentally-responsible coffee, grown with love and care by Gaian experts.  
  • Planning for the next 20 years of SMACX.
  • AC2 Hall Of Fame AC Text modder Author of at least one AAR
    • View Profile
    • Awards
Re: Attempt to Play Sound File Crashes Game
« Reply #5 on: February 27, 2020, 06:36:13 am »
There was some technical issue with MMX and DirectX back in the day, about preserving FPU state or failing to do so.  MMX aliased the FPU registers, repurposing them.  The successor, XMM, didn't have this problem.

 

* User

Welcome, Guest. Please login or register.

Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
104 (33%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 315
AC2 Wiki Logo
-click pic for wik-

* Random quote

Planet's Primary, Alpha Centauri A, blasts unimaginable quantities of energy into space each instant, and virtually every joule of it is wasted entirely. Incomprehensible riches can be ours if we can but stretch our arms wide enough to dip from this eternal river of wealth.
~CEO Nwabudike Morgan 'The Centauri Monopoly'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 47 - 1280KB. (show)
Queries used: 42.

[Show Queries]