最近無意打開了DOSBOX的配置文件,看了下,試著翻譯了一下,初中英語水平,錯(cuò)的地方請(qǐng)高手指出,謝謝
dosBox的配置文件是 dosbox.conf
[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
#全屏啟動(dòng)dosbox
# autolock -- Mouse will automatically lock, if you click on the screen.
#如果你在屏幕上點(diǎn)一下,鼠標(biāo)將會(huì)自動(dòng)鎖住
# sensitiviy -- Mouse sensitivity.
#鼠標(biāo)敏感度
# waitonerror -- Wait before closing the console if dosbox has an error.
#如果dosbox錯(cuò)誤,在關(guān)閉控制臺(tái)之前等待
fullscreen=true
autolock=true
sensitivity=100
waitonerror=true
[dosbox]
# language -- Select another language file.
#選擇另一種語言
# memsize -- Amount of memory dosbox has in megabytes.
#dosbox內(nèi)存大小 百萬字節(jié)(MB)為單位
language=
memsize=16
[render]
# frameskip -- How many frames dosbox skips before drawing one.
#在繪圖前dosbox跳多少幀
# snapdir -- Directory where screenshots get saved.
#屏幕截圖保存的目錄
# scaler -- Scaler used to enlarge/enhance low resolution modes.
#擴(kuò)大/提高低分辨率縮放模式
# Supported are none,normal2x,advmame2x
frameskip=0
snapdir=snaps
scaler=normal2x
[cpu]
# cycles -- Amount of instructions dosbox tries to emulate each millsecond.
#dosbox嘗試每豪秒模擬的指令數(shù)量
# Setting this higher than your machine can handle is bad!
#設(shè)置此項(xiàng)高過于你的CPU處理能力是不行的
cycles=1800
[mixer]
#聲音混合器
# nosound -- Enable silent mode, sound is still emulated though.
#啟動(dòng)靜音模式,聲音仍然在模擬!
# rate -- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
#混合器采樣率,設(shè)置過高或許會(huì)降低聲音的質(zhì)量
# blocksize -- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
#混合器區(qū)塊大小,較大的區(qū)塊大小也許能解決聲音停頓,但是也會(huì)更加滯后
# wavedir -- Directory where saved sound output goes when you use the
# sound record key-combination, check README file.
#當(dāng)你使用組合鍵錄音時(shí)錄音保存的目錄,請(qǐng)閱讀README.txt文件
nosound=false
rate=22050
blocksize=2048
wavedir=waves
[midi]
# mpu401 -- Enable MPU-401 Emulation.
#開啟MPU-401模擬
# device -- Device that will receive the MIDI data from MPU-401.
#所選裝置將會(huì)從MPU-401接收MIDI數(shù)據(jù)
# This can be default,alsa,oss,win32,coreaudio,none.
#可以設(shè)置default,alsa,oss,win32,coreaudio,none幾個(gè)值
# config -- Special configuration options for the device.
#裝置特別配置選項(xiàng)
mpu401=true
device=default
config=
[sblaster]
# sblaster -- Enable the soundblaster emulation.
#開啟soundblaster模擬
# base,irq,dma -- The IO/IRQ/DMA address of the soundblaster.
#soundblaster的IO/IRQ/DMA地址
# sbrate -- Sample rate of soundblaster emulation.
#soundblaster模擬采樣率
# adlib -- Enable the adlib emulation.
#開啟adlib模擬
# adlibrate -- Sample rate of adlib emulation.
#adlib模擬采樣率
# cms -- Enable the Creative Music System/Gameblaster emulation.
#啟動(dòng)CMS/Gameblaster 模擬
# Enabling both the adlib and cms might give conflicts!
#同時(shí)開啟adlib和cms有可能產(chǎn)生沖突!
# cmsrate -- Sample rate of cms emulation.
#CMS模擬采樣率
sblaster=true
base=220
irq=7
dma=1
sbrate=22050
adlib=true
adlibrate=22050
cms=false
cmsrate=22050
[speaker]
#喇叭
# pcspeaker -- Enable PC-Speaker emulation.
#開啟PC喇叭模擬
# pcrate -- Sample rate of the PC-Speaker sound generation.
#PC喇叭采樣率
# tandy -- Enable Tandy 3-Voice emulation.
#開啟Tandy公司的3-Voice模擬
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
#Tandy公司3-Voice采樣率
# disney -- Enable Disney Sound Source emulation.
#開啟disney(狄斯耐)音源模擬
pcspeaker=true
pcrate=22050
tandy=true
tandyrate=22050
disney=true
[bios]
# Nothing to setup yet!
#無任何設(shè)置
[dos]
# xms -- Enable XMS support.啟用XMS支持
# ems -- Enable EMS support.啟用EMS支持
# dpmi -- Enable builtin DPMI host support.
#啟用建立DPMI主機(jī)支持
# This might help in getting some games to work, but might crash others.
#這可能對(duì)一些游戲運(yùn)行有利,但是其他一些游戲有可能導(dǎo)致PSP當(dāng)機(jī)。
# So be sure to try both settings.
#試著設(shè)定TURE和FALSE來確定吧
xms=true
ems=true
dpmi=true
[modem]
# modem -- Enable virtual modem emulation.
#開啟虛擬調(diào)制解調(diào)器模擬
# comport -- COM Port modem is connected to.
#modem連接的COM端口
# listenport -- TCP Port the momdem listens on for incoming connections.
#
modem=true
comport=2
listenport=23
[autoexec]
# Lines in this section will be run at startup.
#這一段將會(huì)在啟動(dòng)dosbox時(shí)運(yùn)行(注:DOS游戲存放目錄,可自由更改,比如mount c ms0:/psp/DosGame)
mount c ms0:/psp/DosGame
下面附一個(gè)標(biāo)準(zhǔn)的dosbox.conf 文件
# This is the configurationfile for DOSBox 0.72.
# Lines starting with a # are commentlines.
# They are used to (briefly) document the effect of each option.
[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay,opengl,openglnb,ddraw.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest,pause (when not focussed).
# Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.
fullscreen=false
fulldouble=false
fullresolution=640x480
windowresolution=originnal
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true
[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory DOSBox has in megabytes.
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.
language=
machine=vga
captures=capture
memsize=128
[render]
# frameskip -- How many frames DOSBox skips before drawing one.
# aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,normal3x,advmame2x,advmame3x,hq2x,hq3x,
# 2xsai,super2xsai,supereagle,advinterp2x,advinterp3x,
# tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.
# If forced is appended (like scaler=hq2x forced), the scaler will be used
# even if the result might not be desired.
frameskip=0
aspect=true
scaler=advinterp2x
[cpu]
# core -- CPU Core used in emulation: normal,simple,dynamic,auto.
# auto switches from normal to dynamic if appropriate.
# cycles -- Amount of instructions DOSBox tries to emulate each millisecond.
# Setting this value too high results in sound dropouts and lags.
# You can also let DOSBox guess the correct value by setting it to max.
# The default setting (auto) switches to max if appropriate.
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.
core=normal
cycles=6100
cycleup=500
cycledown=20
[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.
nosound=false
rate=22050
blocksize=2048
prebuffer=10
[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
[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory. In this directory
# there should be a MIDI directory that contains
# the patch files for GUS playback. Patch sets used
# with Timidity should work fine.
gus=true
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND
[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
# For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation. Covox Voice Master and Speech Thing compatible.
pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true
[joystick]
# joysticktype -- Type of joystick to emulate: auto (default), none,
# 2axis (supports two joysticks,
# 4axis (supports one joystick, first joystick used),
# 4axis_2 (supports one joystick, second joystick used),
# fcs (Thrustmaster), ch (CH Flightstick).
# none disables joystick emulation.
# auto chooses emulation depending on real joystick(s).
# timed -- enable timed intervals for axis. (false is old style behaviour).
# autofire -- continuously fires as long as you keep the button pressed.
# swap34 -- swap the 3rd and the 4th axis. can be useful for certain joysticks.
# buttonwrap -- enable button wrapping at the number of emulated buttons.
joysticktype=auto
timed=true
autofire=false
swap34=false
buttonwrap=true
[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, nullmodem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameter for all types is irq.
# for directserial: realport (required), rxdelay (optional).
# for modem: listenport (optional).
# for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
# transparent, port, inhsocket (all optional).
# Example: serial1=modem listenport:5000
serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled
[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support.
# keyboardlayout -- Language code of the keyboard layout (or none).
xms=true
ems=true
umb=true
keyboardlayout=none
[ipx]
# ipx -- Enable ipx over UDP/IP emulation.
ipx=false
[autoexec]
# Lines in this section will be run at startup.
@ECHO OFF
mount c .\鬼馬小英雄
c:
MONK.EXE
exit
[sdl]
fullscreen=false
# 設(shè)置一開始是否全屏畫面選項(xiàng),設(shè)為false為不全屏,設(shè)為true為全屏。
fulldouble=false
# 設(shè)置全屏是否開啟雙倍緩沖,設(shè)為false為關(guān)閉,設(shè)為true為開啟。(只對(duì)全屏模式有效)
fullresolution=original
# 設(shè)置全屏分辨率,可以設(shè)為original(原始大小)或固定大小(例如640x480)。
# 注意:這個(gè)選項(xiàng)是調(diào)整屏幕分辨率,并不是調(diào)整游戲畫面分辨率,
# 例如有一個(gè)DOS游戲畫面分辨率是640x480,如果你設(shè)為1024x768,
# 那么全屏后游戲畫面分辨率依然是640x480,并居于屏幕畫面中間;
# 如果你設(shè)為640x480那么游戲畫面是全屏的。
windowresolution=original # 這設(shè)置沒弄懂,暫時(shí)就用默認(rèn)original選項(xiàng)吧。
output=surface
# 輸出模式,有surface, overlay, opengl, openglnb, ddraw五種選項(xiàng),
# 一般用surface即可,用opengl, openglnb, ddraw有畫面柔和效果。
autolock=true # 鼠標(biāo)自動(dòng)鎖定,設(shè)為true為開啟,設(shè)為false為關(guān)閉。
sensitivity=100 # 鼠標(biāo)靈敏度設(shè)置。
waitonerror=true
# 設(shè)為true當(dāng)DOSBOX出錯(cuò)時(shí)關(guān)閉DOSBOX,設(shè)為false當(dāng)DOSBOX出錯(cuò)時(shí)不關(guān)閉DOSBOX。
priority=normal
# 設(shè)置DOSBOX優(yōu)先級(jí),有l(wèi)owest, lower, normal, higher,
# highest, pause六種選項(xiàng),一次可設(shè)置2個(gè),以","號(hào)分隔。
# (例如:normal,lower,當(dāng)DOSBOX在后臺(tái)或最小化的時(shí)候會(huì)選擇第二個(gè)優(yōu)先級(jí)lower。)
mapperfile=mapper-0.74.map
# 自定義鍵位設(shè)置文件,mapper-0.74.map這文件沒有找到,是由按CTRL+F1來生成。
# 有些游戲是不支持手柄或搖桿,可以通過自定義鍵位將手柄或搖桿的鍵位添加進(jìn)去,
# 這樣就可以使用手柄或搖桿來游戲。
usescancodes=true # 目前作用不明。
[dosbox]
language= # 語言文件設(shè)置。
machine=svga_s3
# 顯示模式設(shè)置,有hercules, cga, tandy, pcjr, ega,
# vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise,
# vesa_nolfb, vesa_oldvbe十二個(gè)選項(xiàng),用默認(rèn)svga_s3就行了。
captures=capture
# 等號(hào)后面是文件夾名稱,用來存放錄制的wave、midi以及截圖文件。
# 一定要先建立這個(gè)文件夾,不然用DOSBOX自帶的截圖鍵截圖可能會(huì)失敗。
memsize=32 # DOSBOX環(huán)境內(nèi)存大小,一般用32就夠了。
[render]
frameskip=0 # 跳幀,默認(rèn)用0即可。
aspect=false # 象素高寬比,設(shè)為false關(guān)閉,設(shè)為true開啟,用默認(rèn)false選項(xiàng)即可。
scaler=normal2x
# 圖像增強(qiáng)選項(xiàng),有none, normal2x, normal3x, advmame2x,
# advmame3x, advinterp2x, advinterp3x, hq2x, hq3x, 2xsai,
# super2xsai, supereagle, tv2x, tv3x, rgb2x, rgb3x,
# scan2x, scan3x十八個(gè)選項(xiàng),依個(gè)人喜好自行設(shè)定。
[cpu]
core=auto # 核心模擬選項(xiàng),有auto, dynamic, normal, simple四個(gè)選項(xiàng),選項(xiàng)用auto或normal即可。
cputype=auto # CPU類型選項(xiàng),有auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch六個(gè)選項(xiàng),用auto選項(xiàng)即可。
cycles=auto
# CPU頻率,有auto,fixed #數(shù)字,max三種選項(xiàng),這三個(gè)選項(xiàng)作用如下:
# "auto"選項(xiàng)是由dosbox自行判斷選擇。
# "fixed #數(shù)字"選項(xiàng)是設(shè)置一個(gè)固定頻率(例如:fixed #4000)。
# "max"選項(xiàng)是設(shè)置最大頻率。
# 一般用auto選項(xiàng)即可。
cycleup=500 # 等號(hào)后面的值是按下CTRL+F12后增加的CPU頻率數(shù)值。
cycledown=500 # 等號(hào)后面的值是按下CTRL+F11后減少的CPU頻率數(shù)值。
[mixer]
nosound=false # 設(shè)為true無聲,設(shè)為false有聲。
rate=44100 # 聲音比率,有44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716八個(gè)選項(xiàng),用默認(rèn)44100就行了。
blocksize=1024 # 塊大小,有1024, 2048, 4096, 8192, 512, 256六個(gè)選項(xiàng),用1024就夠了。
prebuffer=20 # 緩沖大小,用默認(rèn)的20就夠了。
[midi]
mpu401=intelligent # mpu401類型模擬,有intelligent, uart, none三個(gè)選項(xiàng),用默認(rèn)的intelligent選項(xiàng)就行了。
mididevice=default # 接收來自mpu401的midi數(shù)據(jù),有default, win32, alsa, oss, coreaudio, coremidi, none七個(gè)選項(xiàng),用默認(rèn)的default選項(xiàng)就行了。
midiconfig= # 作用不明,這個(gè)不用管了。
[sblaster] # 以下是sound blaster聲卡設(shè)置
sbtype=sb16 # 聲卡類型,有sb1, sb2, sbpro1, sbpro2, sb16, gb, none七個(gè)選項(xiàng)。
sbbase=220 # 聲卡IO地址,有220, 240, 260, 280, 2a0, 2c0, 2e0, 300八個(gè)選項(xiàng)。
irq=7 # 聲卡IRQ值,有7, 5, 3, 9, 10, 11, 12七個(gè)選項(xiàng)。
dma=1 # 聲卡DMA值,有1, 5, 0, 3, 6, 7六個(gè)選項(xiàng)。
hdma=5 # 聲卡HDMA值,有1, 5, 0, 3, 6, 7六個(gè)選項(xiàng)。
# 注意:如果你要讓游戲出聲,以上5項(xiàng)必須與游戲中聲卡設(shè)置一致,不然出不到聲音。
sbmixer=true # 允許聲卡的混頻器修改Dosbox的混頻器,設(shè)為true即可。
oplmode=auto # 作用不明,有auto, cms, opl2, dualopl2, opl3, none六個(gè)選項(xiàng),用默認(rèn)的auto選項(xiàng)即可。
oplemu=default # 作用不明,有default, compat, fast三個(gè)選項(xiàng)。用默認(rèn)的default選項(xiàng)即可。
oplrate=44100 # 采樣率設(shè)置選項(xiàng),有44100, 49716, 48000, 32000, 22050, 16000, 11025, 8000八個(gè)選項(xiàng),用默認(rèn)44100就行了。
[gus] # 以下是Gravis Ultrasound聲卡設(shè)置 注:這部分用不上,因?yàn)橛蠸B聲卡嘛。
gus=false # Gravis Ultrasound聲卡模擬選項(xiàng),設(shè)為false關(guān)閉即可。
# 注:如果你開啟SB聲卡模擬,那么這選項(xiàng)要設(shè)為false關(guān)閉,不然可能有沖突。
gusrate=44100 # Gravis Ultrasound聲卡采樣率選項(xiàng),有44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716八個(gè)選項(xiàng),用默認(rèn)44100就行了。
gusbase=240 # Gravis Ultrasound聲卡IO地址,有240, 220, 260, 280, 2a0, 2c0, 2e0, 300八個(gè)選項(xiàng)。
gusirq=5 # Gravis Ultrasound聲卡IRQ值,有5, 3, 7, 9, 10, 11, 12七個(gè)選項(xiàng)。
gusdma=3 # Gravis Ultrasound聲卡DMA值,有3, 0, 1, 5, 6, 7六個(gè)選項(xiàng)。
ultradir=C:\ULTRASND # 作用不明。
[speaker]
pcspeaker=true # PC喇叭模擬,設(shè)為true即可。
pcrate=44100 #PC喇叭采樣率設(shè)置,有44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716八個(gè)選項(xiàng),用默認(rèn)44100就行了。
tandy=auto # tandy聲音系統(tǒng)模擬,有auto, on, off三個(gè)選項(xiàng),設(shè)為auto即可。
tandyrate=44100 # tandy聲音系統(tǒng)采樣率設(shè)置,有44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716八個(gè)選項(xiàng),用默認(rèn)44100就行了。
disney=true # Disney聲源模擬,設(shè)為true即可。
[joystick]
joysticktype=auto # 手柄/搖桿類型設(shè)置,有auto, none, 2axis, 4axis, 4axis_2, fcs, ch七個(gè)選項(xiàng),設(shè)為auto讓DOSBOX自動(dòng)識(shí)別,設(shè)為none關(guān)閉手柄/搖桿。
timed=true # 軸的時(shí)間間隔設(shè)置,設(shè)為true啟用。
autofire=false # 自動(dòng)連發(fā)設(shè)置,設(shè)為true開啟,設(shè)為false關(guān)閉。
swap34=false # 第3軸與第4軸交換,建議設(shè)為false關(guān)閉,這選項(xiàng)可能對(duì)某些手柄或搖桿有用。
buttonwrap=false # 按鈕交換,建議設(shè)為false關(guān)閉。
[serial] # 這以下部分是設(shè)置串口,暫時(shí)用不上,略過吧,以后將來有機(jī)會(huì)再研究吧。
serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled
[dos]
xms=true # XMS內(nèi)存支持,設(shè)為true開啟,設(shè)為false關(guān)閉。
ems=true # EMS內(nèi)存支持,設(shè)為true開啟,設(shè)為false關(guān)閉。
umb=true # UMB內(nèi)存支持,設(shè)為true開啟,設(shè)為false關(guān)閉。
# 有一些DOS游戲可能是需要關(guān)閉XMS或EMS、UMB才能運(yùn)行。
keyboardlayout=auto # 鍵盤布局設(shè)置,設(shè)為auto即可。
[ipx]
ipx=false # IPX在UDP/IP上模擬,暫時(shí)用不上,設(shè)為false關(guān)閉吧,以后將來有機(jī)會(huì)嘗試DOSBOX聯(lián)機(jī)再研究吧。
[autoexec]
# 在這里輸入DOSBOX自動(dòng)加載命令。
# 各命令用法請(qǐng)?jiān)贒OSBOX里輸入intro或help /all查看。