X-COM: Apocalypse

X-COM: Apocalypse

Jeredriq Dec 29, 2015 @ 9:17pm
Sound problem with DOSBOX
Hi,
I have a sound issue with DOSBOX. Sometimes musics and other sounds just go silent for 1 sec and then they keep playing but its very annoying. And it happens every 5-6 seconds. Is there a solution to this?
< >
Showing 1-8 of 8 comments
highfivenumber5 Dec 29, 2015 @ 9:52pm 
In X-COM AP the below directory has the dosbox.cfg file with many text settings, this section is for sound settings.

I cut --- 8>< --- and pasted my section but you will have get to know your hardware and find the apropriate settings to make it work!

# <-- This is a comment. If you remove the comments it activates the line.

DON"T FORGET to SAVE after EDITING the .txt file. Backing UP the original file is NOT a bad Idea either but Steam can repair and patch files back as well !

---8><---
C:\Program Files\Steam\steamapps\common\XCom Apocalypse\dosbox.cfg

[midi]
# mpu401 -- Type of MPU-401 to emulate: none, uart or intelligent.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,none.
# config -- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.

mpu401=intelligent
device=default
config=

[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the dosbox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.

sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050
Last edited by highfivenumber5; Dec 29, 2015 @ 10:00pm
Jeredriq Dec 29, 2015 @ 10:03pm 
Originally posted by highfivenumber5:
In X-COM AP the below directory has the dosbox.cfg file with many text settings, this section is for sound settings.

I cut --- 8>< --- and pasted my section but you will have get to know your hardware and find the apropriate settings to make it work!

# <-- This is a comment. If you remove the comments it activates the line.

DON"T FORGET to SAVE after EDITING the .txt file. Backing UP the original file is NOT a bad Idea either but Steam can repair and patch files back as well !

---8><---
C:\Program Files\Steam\steamapps\common\XCom Apocalypse\dosbox.cfg

[midi]
# mpu401 -- Type of MPU-401 to emulate: none, uart or intelligent.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,none.
# config -- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.

mpu401=intelligent
device=default
config=

[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the dosbox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.

sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050
Unfortunately it didnt work. I'm using Realtek Hd Audio as hardware
highfivenumber5 Dec 30, 2015 @ 6:50am 
"Unfortunately it didnt work. I'm using Realtek Hd Audio as hardware"

I think that's what my i7 Intel CPU on my Asus mainboard uses as well for sound. But I have never had sound issues. This could be a Windows sound drivers issue as well. You should be able test the sound in Windows by going to the control panel, sound and opening the various dialogs.

After building my mainboards, then after installing Windows, the mainboards also ship with a CROM full of device drivers in order to use the full functions of that particular board under Windows. Most of the time you have to go to the website of that board and get the newest updates.

I am sure there is a simple solution for the sound. I have played X-COM AP for 350 hours to completion with NO sound issues. But the main issue with the game is having to do saves because it still wants to see a CD in the tray. But there are some fixes for this as well. :)
highfivenumber5 Dec 30, 2015 @ 7:16am 
I can see I am off subject after going back re-reading your original post. I'm a bit tired after flying for three days. You do know in X-COM AP there are in game menu settings for the game sound? You can turn them off or on. I presented my settings as an example which work for my rig. :)

Remeber this is an old title game from the 1990's. :) But it's a great game ! :)
Jeredriq Dec 30, 2015 @ 1:48pm 
Originally posted by highfivenumber5:
I can see I am off subject after going back re-reading your original post. I'm a bit tired after flying for three days. You do know in X-COM AP there are in game menu settings for the game sound? You can turn them off or on. I presented my settings as an example which work for my rig. :)

Remeber this is an old title game from the 1990's. :) But it's a great game ! :)
Its my favourite game in all time:D
highfivenumber5 Dec 30, 2015 @ 2:23pm 
I agree! It's X-COM AP is one my favorites games as well! I will be playing it again.

Right now I am in the middle of a very long playing game of X3 Terrain Conflict. 650 hours.
X3TC is some what boring initially but it takes quite a bit of trading, buying to build your very own empire. Pretty solid game and complex as well. :)

T/C and have a Happy New Year !
Jeredriq Dec 30, 2015 @ 5:16pm 
You too mate:D
Jeredriq Mar 5, 2021 @ 11:57am 
thanks to user L-and-O this solves the problem:

https://steamcommunity.com/sharedfiles/filedetails/?id=2031580561
Just change in the dosbox.conf file the blocksize number from '4096' to '1024' in the [mixer] section
< >
Showing 1-8 of 8 comments
Per page: 1530 50