当前位置: 主页 > 浏览器教程 > dosbox配置文件 dosbox.conf 中文翻译

dosbox配置文件 dosbox.conf 中文翻译

更新时间:2022-12-01 10:14:02
dosbox配置文件 dosbox.conf 中文翻译 DOSBox0.74 英文安装版&绿色版 类型:DOS工具大小:1.7M语言:中文 评分:2.3 标签: 立即下载

 最近无意打开了DOSBOX的配置文件,看了下,试着翻译了一下,初中英语水平,错的地方请高手指出,谢谢

dosBox的配置文件是  dosbox.conf

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
#全屏启动dosbox
# 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.
#如果dosbox错误,在关闭控制台之前等待

fullscreen=true
autolock=true
sensitivity=100
waitonerror=true

[dosbox]
# language -- Select another language file.
#选择另一种语言
# memsize -- Amount of memory dosbox has in megabytes.
#dosbox内存大小 百万字节(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.
#扩大/提高低分辨率缩放模式
# Supported are none,normal2x,advmame2x

frameskip=0
snapdir=snaps
scaler=normal2x

[cpu]
# cycles -- Amount of instructions dosbox tries to emulate each millsecond.
#dosbox尝试每豪秒模拟的指令数量
# Setting this higher than your machine can handle is bad!
#设置此项高过于你的CPU处理能力是不行的

cycles=1800

[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.
#混合器区块大小,较大的区块大小也许能解决声音停顿,但是也会更加滞后
# wavedir -- Directory where saved sound output goes when you use the
# sound record key-combination, check README file.
#当你使用组合键录音时录音保存的目录,请阅读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.
#所选装置将会从MPU-401接收MIDI数据
# This can be default,alsa,oss,win32,coreaudio,none.
#可以设置default,alsa,oss,win32,coreaudio,none几个值
# config -- Special configuration options for the device.
#装置特别配置选项

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.
#启动CMS/Gameblaster 模拟
# Enabling both the adlib and cms might give conflicts!
#同时开启adlib和cms有可能产生冲突!
# 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!
#无任何设置


[dos]
# xms -- Enable XMS support.启用XMS支持
# ems -- Enable EMS support.启用EMS支持
# dpmi -- Enable builtin DPMI host support.
#启用建立DPMI主机支持
# This might help in getting some games to work, but might crash others.
#这可能对一些游戏运行有利,但是其他一些游戏有可能导致PSP当机。
# So be sure to try both settings.
#试着设定TURE和FALSE来确定吧

xms=true
ems=true
dpmi=true

[modem]
# modem -- Enable virtual modem emulation.
#开启虚拟调制解调器模拟
# 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.
#这一段将会在启动dosbox时运行(注:DOS游戏存放目录,可自由更改,比如mount c ms0:/psp/DosGame)
mount c ms0:/psp/DosGame

 

下面附一个标准的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
# 设置一开始是否全屏画面选项,设为false为不全屏,设为true为全屏。

fulldouble=false
# 设置全屏是否开启双倍缓冲,设为false为关闭,设为true为开启。(只对全屏模式有效)

fullresolution=original
# 设置全屏分辨率,可以设为original(原始大小)或固定大小(例如640x480)。

# 注意:这个选项是调整屏幕分辨率,并不是调整游戏画面分辨率,
# 例如有一个DOS游戏画面分辨率是640x480,如果你设为1024x768,
# 那么全屏后游戏画面分辨率依然是640x480,并居于屏幕画面中间;
# 如果你设为640x480那么游戏画面是全屏的。

windowresolution=original # 这设置没弄懂,暂时就用默认original选项吧。

output=surface
# 输出模式,有surface, overlay, opengl, openglnb, ddraw五种选项,
# 一般用surface即可,用opengl, openglnb, ddraw有画面柔和效果。

autolock=true # 鼠标自动锁定,设为true为开启,设为false为关闭。

sensitivity=100 # 鼠标灵敏度设置。

waitonerror=true
# 设为true当DOSBOX出错时关闭DOSBOX,设为false当DOSBOX出错时不关闭DOSBOX。

priority=normal
# 设置DOSBOX优先级,有lowest, lower, normal, higher,
# highest, pause六种选项,一次可设置2个,以","号分隔。
# (例如:normal,lower,当DOSBOX在后台或最小化的时候会选择第二个优先级lower。)

mapperfile=mapper-0.74.map
# 自定义键位设置文件,mapper-0.74.map这文件没有找到,是由按CTRL+F1来生成。
# 有些游戏是不支持手柄或摇杆,可以通过自定义键位将手柄或摇杆的键位添加进去,
# 这样就可以使用手柄或摇杆来游戏。

usescancodes=true # 目前作用不明。

[dosbox]

language= # 语言文件设置。

machine=svga_s3
# 显示模式设置,有hercules, cga, tandy, pcjr, ega,
# vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise,
# vesa_nolfb, vesa_oldvbe十二个选项,用默认svga_s3就行了。

captures=capture
# 等号后面是文件夹名称,用来存放录制的wave、midi以及截图文件。
# 一定要先建立这个文件夹,不然用DOSBOX自带的截图键截图可能会失败。

memsize=32 # DOSBOX环境内存大小,一般用32就够了。

[render]

frameskip=0 # 跳帧,默认用0即可。

aspect=false # 象素高宽比,设为false关闭,设为true开启,用默认false选项即可。

scaler=normal2x
# 图像增强选项,有none, normal2x, normal3x, advmame2x,
# advmame3x, advinterp2x, advinterp3x, hq2x, hq3x, 2xsai,
# super2xsai, supereagle, tv2x, tv3x, rgb2x, rgb3x,
# scan2x, scan3x十八个选项,依个人喜好自行设定。

[cpu]

core=auto # 核心模拟选项,有auto, dynamic, normal, simple四个选项,选项用auto或normal即可。

cputype=auto # CPU类型选项,有auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch六个选项,用auto选项即可。

cycles=auto
# CPU频率,有auto,fixed #数字,max三种选项,这三个选项作用如下:

# "auto"选项是由dosbox自行判断选择。

# "fixed #数字"选项是设置一个固定频率(例如:fixed #4000)。

# "max"选项是设置最大频率。

# 一般用auto选项即可。

cycleup=500 # 等号后面的值是按下CTRL+F12后增加的CPU频率数值。

cycledown=500 # 等号后面的值是按下CTRL+F11后减少的CPU频率数值。

[mixer]

nosound=false # 设为true无声,设为false有声。

rate=44100 # 声音比率,有44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716八个选项,用默认44100就行了。

blocksize=1024 # 块大小,有1024, 2048, 4096, 8192, 512, 256六个选项,用1024就够了。

prebuffer=20 # 缓冲大小,用默认的20就够了。

[midi]

mpu401=intelligent # mpu401类型模拟,有intelligent, uart, none三个选项,用默认的intelligent选项就行了。

mididevice=default # 接收来自mpu401的midi数据,有default, win32, alsa, oss, coreaudio, coremidi, none七个选项,用默认的default选项就行了。

midiconfig= # 作用不明,这个不用管了。

[sblaster] # 以下是sound blaster声卡设置

sbtype=sb16 # 声卡类型,有sb1, sb2, sbpro1, sbpro2, sb16, gb, none七个选项。

sbbase=220 # 声卡IO地址,有220, 240, 260, 280, 2a0, 2c0, 2e0, 300八个选项。

irq=7 # 声卡IRQ值,有7, 5, 3, 9, 10, 11, 12七个选项。

dma=1 # 声卡DMA值,有1, 5, 0, 3, 6, 7六个选项。

hdma=5 # 声卡HDMA值,有1, 5, 0, 3, 6, 7六个选项。

# 注意:如果你要让游戏出声,以上5项必须与游戏中声卡设置一致,不然出不到声音。

sbmixer=true # 允许声卡的混频器修改Dosbox的混频器,设为true即可。

oplmode=auto # 作用不明,有auto, cms, opl2, dualopl2, opl3, none六个选项,用默认的auto选项即可。

oplemu=default # 作用不明,有default, compat, fast三个选项。用默认的default选项即可。

oplrate=44100 # 采样率设置选项,有44100, 49716, 48000, 32000, 22050, 16000, 11025, 8000八个选项,用默认44100就行了。

[gus] # 以下是Gravis Ultrasound声卡设置 注:这部分用不上,因为有SB声卡嘛。

gus=false # Gravis Ultrasound声卡模拟选项,设为false关闭即可。

# 注:如果你开启SB声卡模拟,那么这选项要设为false关闭,不然可能有冲突。

gusrate=44100 # Gravis Ultrasound声卡采样率选项,有44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716八个选项,用默认44100就行了。

gusbase=240 # Gravis Ultrasound声卡IO地址,有240, 220, 260, 280, 2a0, 2c0, 2e0, 300八个选项。

gusirq=5 # Gravis Ultrasound声卡IRQ值,有5, 3, 7, 9, 10, 11, 12七个选项。

gusdma=3 # Gravis Ultrasound声卡DMA值,有3, 0, 1, 5, 6, 7六个选项。

ultradir=C:ULTRASND # 作用不明。

[speaker]

pcspeaker=true # PC喇叭模拟,设为true即可。

pcrate=44100 #PC喇叭采样率设置,有44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716八个选项,用默认44100就行了。

tandy=auto # tandy声音系统模拟,有auto, on, off三个选项,设为auto即可。

tandyrate=44100 # tandy声音系统采样率设置,有44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716八个选项,用默认44100就行了。

disney=true # Disney声源模拟,设为true即可。

[joystick]

joysticktype=auto # 手柄/摇杆类型设置,有auto, none, 2axis, 4axis, 4axis_2, fcs, ch七个选项,设为auto让DOSBOX自动识别,设为none关闭手柄/摇杆。

timed=true # 轴的时间间隔设置,设为true启用。

autofire=false # 自动连发设置,设为true开启,设为false关闭。

swap34=false # 第3轴与第4轴交换,建议设为false关闭,这选项可能对某些手柄或摇杆有用。

buttonwrap=false # 按钮交换,建议设为false关闭。

[serial] # 这以下部分是设置串口,暂时用不上,略过吧,以后将来有机会再研究吧。

serial1=dummy

serial2=dummy

serial3=disabled

serial4=disabled

[dos]

xms=true # XMS内存支持,设为true开启,设为false关闭。

ems=true # EMS内存支持,设为true开启,设为false关闭。

umb=true # UMB内存支持,设为true开启,设为false关闭。

# 有一些DOS游戏可能是需要关闭XMS或EMS、UMB才能运行。

keyboardlayout=auto # 键盘布局设置,设为auto即可。

[ipx]

ipx=false # IPX在UDP/IP上模拟,暂时用不上,设为false关闭吧,以后将来有机会尝试DOSBOX联机再研究吧。

[autoexec]
# 在这里输入DOSBOX自动加载命令。
# 各命令用法请在DOSBOX里输入intro或help /all查看。