Dosbox configuration in Linux

Source: Internet
Author: User
In Linux, the installation of dosbox configuration is very simple. many release versions are available in the source. I use debian and sudoapt-getinstalldosbox. To compile the source code on sourceforge, download the source code. Www.2cto.com generates the configuration file dosbox...
In Linux, the installation of dosbox configuration is very simple. many release versions are available in the source. I use debian and sudo apt-get install dosbox. To compile the source code on sourceforge, download the source code. Www.2cto.com does not create its own configuration file after installing the configuration file dosbox or making it by yourself. here are two methods to generate the configuration file. The first method is to switch cd % to the home directory cp/usr/share/doc/dosbox/dosbox.conf.example.gz. /gunzip dosbox.conf.example.gz mv dosbox. conf. example dosbox. the second method of conf is to start dosbox. enter config-writeconf dosbox at the dosbox prompt. conf Note: When dosbox is started, it automatically reads the dosbox under the home directory. conf instead. dosbox. change the conf file to another name, and the dosbox will not be read automatically. Www.2cto.com if you want to hide dosbox. conf and rename it as. dosbox. conf, you can enter the following command when starting dosbox to make it take effect. Dosbox-conf ~ /. Dosbox. conf: configure the sound device. when you use dosbox to play a game, you may see the following prompt: ALSA: Can't subscribe to MIDI port (65: 0) MIDI: Opened device: oss indicates that the default device is alsa, but alsa does not support midi, so oss is enabled. In fact, the game can sound normally, but this error message is annoying and can be eliminated by modifying dosbox. conf. Open dosbox. conf and find the [MIDI] section. Mpu401 = intelligent device = default config = device = default indicates device = alsa. if we change to device = oss, there is no such error prompt. When the game focuses on the dosbox, you can use ctrl + F5 to play the game, but you have to set your own storage directory before. The default value is the capture directory under the Directory where the configuration file is located. if you do not have this directory, an error is returned. You can also change the configuration file to another directory, open the configuration file, and find captures = capture. here I want to set the directory to the dosbox-capture directory under the Directory where the configuration file is located, change the above line to captures = dosbox-capture. Note that the relative path should be used here, and an error will be reported if the absolute path of the directory is given. In addition to ctrl + F5 is, ctrl and F1-F12 are all functional, at the dosbox prompt, enter intro to see the function of these keys. Source http://www.cnblogs.com/neonlight/archive/2008/09/25/1299125.html
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.