veket官方网站论坛

veket

 找回密码
 要注册
搜索
查看: 7719|回复: 9

dosbox配置文件翻译

[复制链接]
发表于 2008-12-17 00:21 | 显示全部楼层 |阅读模式
[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
 楼主| 发表于 2008-12-17 00:24 | 显示全部楼层

veket下dosbox的配置

安装

dosbox安装很简单.
生成配置文件

dosbox安装或自己make后并不会创建自己的配置文件,我这里给出两种生成配置文件的方法。
第一种方法是

    cd %切换到家目录
    cp /usr/share/doc/dosbox/dosbox.conf.example.gz ./
    gunzip dosbox.conf.example.gz
    mv dosbox.conf.example dosbox.conf

第二种方法是启动dosbox,在dosbox的提示符下输入:
config -writeconf dosbox.conf
注意,dosbox启动时自动读取家目录下的dosbox.conf,而不是.dosbox.conf,改成其它的名字,dosbox也不会自动读取。
如果你想隐藏dosbox.conf,即将它更名为.dosbox.conf,可以在启动dosbox时输入下面的命令让它生效。
dosbox -conf ~/.dosbox.conf

配置声音设备

你用dosbox玩某个游戏,可能会看到下面的提示:

    ALSA:Can't subscribe to MIDI port (65:0)

    MIDI:Opened device:oss

这说明默认的设备是alsa,但是alsa不支持midi,于是打开了oss。其实这时游戏是可以正常发声的,只是这报错信息让人看着烦,通过修改dosbox.conf消除它。
打开dosbox.conf,找到[MIDI]一节。

    mpu401=intelligent

    device=default

    config=

device=default就表示device=alsa,我们改为 device=oss,就没有那样的出错提示了。

游戏截图

焦点在dosbox上时,使用ctrl + F5可以进行游戏截图,不过之前你要设置自己的截图保存目录。
默认的是配置文件所在目录下的capture目录,如果你没有这个目录,截图就会报错。
也可以通过修改配置文件更改成别的目录,打开配置文件,找到
captures=capture
这里我要把目录设置为配置文件所在目录下的dosbox-capture目录,把上面一行改为captures=dosbox-capture即可,注意这里要使用相对路径,给出截图目录的绝对路径也会报错。
除了ctrl+F5是截图外,ctrl加F1-F12都有功能,在dosbox的提示符下,输入intro就能看到这些组合键的功能。
 楼主| 发表于 2008-12-17 00:40 | 显示全部楼层

在veket下用DOSBOX玩老仙剑没声音的解决办法

在veket下用DOSBOX,载入仙剑95竟然没声音。baidu也GO不出什么解决方法。于是上DOSBOX的老巢查查FAQ。发现veket的DOSBOX也是可以配置CONFIG文件的。
方法:dosbox -conf configfile


好了。进入WINDOWS分区,把WINDOWS版本DOSBOX的配置文件拷过来。命名为XJ.CONF

执行dosbox -conf xj.conf

进入游戏。熟悉的旋律就回来了。
 楼主| 发表于 2008-12-17 00:56 | 显示全部楼层

dosbox全屏dosbox 如何全屏

在dosbox的提示符下输入:
config -writeconf dosbox.conf
注意,dosbox启动时自动读取家目录下的dosbox.conf,而不是.dosbox.conf,改成其它的名字,dosbox也不会自动读取。
如果你想隐藏dosbox.conf,即将它更名为.dosbox.conf,可以在启动dosbox时输入下面的命令让它生效。
dosbox -conf ~/.dosbox.conf



# fullscreen -- Start dosbox directly in fullscreen.
#全屏启动dosbox
发表于 2010-11-18 12:04 | 显示全部楼层
好啊,这里有教程
您需要登录后才可以回帖 登录 | 要注册

本版积分规则

QQ|手机版|Archiver|veket官方网站论坛 ( 粤ICP备 11052856 )

GMT+8, 2024-4-26 08:01

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表