VOGONS


First post, by Rekrul

User metadata
Rank Member
Rank
Member

I have a self-contained installation of Redneck Rampage using DOSBox 0.74 which works perfectly. The game plays smoothly and I can't recall it ever stuttering.

I wanted to reduce the size by converting the CD audio tracks to audio files. Unfortunately the official DOSBox only supports OGG files, not MP3 and even then I can't get the music to play properly. When converted to OGG, the tracks play about 25% slower than normal, even though the files play normally in every media player.

I tried the latest DOSBox SVN and DOSBox-X, but they don't support MP3 either. So I decided to use the 1/27/14 Daum SVN. The 2015 versions have even more problems.

It plays the music fine, but quite often, when you do something that causes a sound sample to be played, like picking something up, confronting an enemy, etc, the game will stutter for about half a second before continuing. That may not sound like much, but it really ruins the flow of the game to have it pause like that every second or third time a sound sample is played.

I tried increasing the block size and the prebuffer values, both separately and together, but neither seemed to have any effect.

I've played through both Tomb Raider and Dark Forces using this same version of Daum SVN and didn't have this problem with either of those games. I'm guessing it's because the sound samples are stored as files in the GRP file and the game has to load each one.

Does anyone know how to solve this? Or failing that, is there another variant of DOSBox that will allow me to use MP3 files in place of the music tracks?

Reply 1 of 4, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Use a full bin image. Dosbox is taxing your pc, mp3 decoding as well. Bin image will give you the least overhead.
Also the daum svn is broken...

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 4, by Rekrul

User metadata
Rank Member
Rank
Member
Dominus wrote:

Use a full bin image. Dosbox is taxing your pc, mp3 decoding as well. Bin image will give you the least overhead.

One small thing I forgot to mention is that I get the stutter even with the music disabled. And by disabled, I mean that the CUE file is renamed so that it can't be mounted. At that point, as far as DOSBox is concerned, the audio tracks don't exist.

As for taxing my system, I find that rather strange considering I played through Tomb Raider using the same version of Daum SVN, with the CD audio tracks converted to MP3, and using 3DFX mode with the NGlide wrapper. I would think that would tax my system more than a Build Engine game with the CD audio disabled.

Dominus wrote:

Also the daum svn is broken...

Maybe so, but it's the only build I know of that includes the features I want to use.

MP3 support - Helps reduce the size of game installations even more than using OGG files. My ultimate goal is to create a flash drive/SD card full of self-contained game installations so that I can just plug it into any suitable system and play them. The smaller each game is, the more will fit on the drive.

Save States - These were very handy when playing Dark Forces.

Glide Support - I tried gulikoza's build and I could never figure out how to get Glide support working.

Also, I'm using the Daum 2014 version because I encountered problems with the 2015 ones.

Reply 3 of 4, by leileilol

User metadata
Rank l33t++
Rank
l33t++
Rekrul wrote:

MP3 support - Helps reduce the size of game installations even more than using OGG files.

seems legit

apsosig.png
long live PCem

Reply 4 of 4, by Rekrul

User metadata
Rank Member
Rank
Member

I discovered what the problem was...

For testing purposes, I copied the Redneck Rampage installation to another drive so that I could make changes without fear of screwing up my fully working copy.

The drive I chose to copy it to was an older external USB hard drive. Turns out that if enough time passed before it needed to access the drive, it would spin down, causing a slight delay when the game went to access a new file and it had to spin back up again. Some previously used files were cached so it didn't happen every time, only when it needed a new file and the drive had gone idle.

So it's not a problem with Daum SVN or my system, just an unforeseen quirk of playing from certain external drives.