DOSBox 可以运行经典的 DOS 游戏。EmuELEC 允许为每个游戏单独配置文件,以获得最佳体验。本文介绍如何为单个游戏配置 DOSBox。
DOSBox 配置存放位置
/storage/roms/pc/
└── 游戏名/
├── dosbox.conf # 游戏专用配置
├── 游戏名.exe # 游戏主程序
└── 其他游戏文件...
创建游戏专用配置
步骤一:创建游戏文件夹
mkdir -p /storage/roms/pc/游戏名
cd /storage/roms/pc/游戏名
步骤二:复制游戏文件
将 DOS 游戏的所有文件复制到该文件夹。
步骤三:创建 dosbox.conf
[sdl]
fullscreen=true
fulldouble=false
fullresolution=original
windowresolution=original
output=opengl
[dosbox]
machine=svga_s3
memsize=64
[cpu]
core=dynamic
cycles=auto
cycleup=1000
cycledown=1000
[render]
scaler=none
[autoexec]
# 挂载游戏目录
mount C .
C:
# 运行游戏
游戏名.exe
常用配置参数说明
| 参数 | 说明 | 常用值 |
|---|---|---|
| machine | 模拟的显卡类型 | svga_s3, vesa, hercules, cga |
| memsize | 分配内存 | 16-128 |
| cycles | CPU 模拟周期 | auto, 3000, 20000, 100000 |
| output | 渲染方式 | opengl, surface, ddraw |
常见游戏配置示例
仙剑奇侠传
[cpu]
cycles=30000
[sblaster]
sbtype=sb16
sbbase=220
irq=7
dma=1
[dosbox]
machine=svga_s3
波斯王子
[cpu]
cycles=15000
[render]
scaler=2x
三国志II
[cpu]
cycles=5000
[dosbox]
machine=hercules
按键映射
在游戏中按 Ctrl+F1 打开按键映射编辑器。
常见问题
- 游戏无声:检查声卡配置,确保 SB16 参数正确
- 游戏太卡:增加 cycles 值
- 游戏太快:减少 cycles 值
- 画面异常:尝试更换 machine 或 output 类型
© 版权声明
文章版权归作者所有,未经允许请勿转载。



暂无评论内容