VOGONS


First post, by radivx

User metadata
Rank Newbie
Rank
Newbie

I'm recieving the following error when I try to run the AdLib Player RdosPlay under dosbox:

ERROR: no sound card found. You need OPL2/3/4 compatible soundcard.

Any idea how to solve this?

Reply 1 of 1, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The problem is how that program autodetects the type of OPL chip you have, and that method is apparently not compatibile with DOSBox. To bypass autodetect, use command line switches per RDOSPLAY's doc file:

  RDOSPLAY.EXE [/p] [/t] [/l] [/s] <musfile.ext>

options:
/pXXX:Y - specifies port and type of OPL chip (avoiding autodetection)
XXX: hexadecimal base port of the chip
Y: 1 = OPL2 (Adlib compatible)
2 = OPL3 (Yamaha YM262 stereo chip)
3 = OPL4 (Yamaha OPL4 stereo chip)
/tXXX - specifies track to be played (for ADL format only, 1-118)
/s - enables OPL3-stereo for OPL2 musics (omitted with OPL3 musics)
/lX - enables LED-meter on LPT port
X: port number, where:
0 = 3BC (EGA's LPT port)
1 = 378 (standard LPT1 port)
2 = 278 (standard LPT2 port)

Using a command line switch of /p220:2 for base address 220 and OPL3 should work OK assuming standard sound settings in DOSBox.