Dosbox 0.72 Pre-release Info


Trevor Bradley said:
A plea for a later version: Can we have some key combo quit dosbox (start+select?), even if we have to set it up in mapper.txt? It would make testing way easier if a bad config didn't mean resetting.
hand_shutdown "key 105 mod1"
 
Last edited by a moderator:
Trevor Bradley said:
They're really quite small... I really don't mind when there are only 10, 20 or 50 games, but there are literally thousands of games that could be emulated by dosbox, and I wouldn't want to see the archive stuffed with dosbox entries. :)
I agree that a single file can encompass ALL dosbox configs, but you still need a maintainer for organization. The WIKI could be an option if only diff data is used (i.e. data not default per version) to minimize the configuration.
 
Last edited by a moderator:
The next time you make a source release could you remove the .o files ?
(make clean does this this, (but it removes the dosbox exe as well))
 
Qbix said:
The next time you make a source release could you remove the .o files ?
(make clean does this this, (but it removes the dosbox exe as well))
Your right. I was in a rush I totally forgot those were still there. Thanks for letting me know.
 
Last edited by a moderator:
Hi guys, i'm having a bit of trouble getting this to run Keen 4. I've used the little application thingy to make the conf, mapper and gpe files, but now when I run the gpe it takes me to the dosbox screen and it says:

Z:\>SET BLASTER=A220 L7 V1 11
Z:\>SET ULTRASMD=210.3.3.5.5
Z:\>SET ULTRADCA C:\ULTRASMD


Or at least that's what I think it says, can anyone help with this?

Cheers, Bram
 
Bramrash said:
Hi guys, i'm having a bit of trouble getting this to run Keen 4. I've used the little application thingy to make the conf, mapper and gpe files, but now when I run the gpe it takes me to the dosbox screen and it says:

Z:\>SET BLASTER=A220 L7 V1 11
Z:\>SET ULTRASMD=210.3.3.5.5
Z:\>SET ULTRADCA C:\ULTRASMD
Or at least that's what I think it says, can anyone help with this?

Cheers, Bram


That looks like your running some batch file, maybe you can post your dosbox.conf
 
Last edited by a moderator:
erm, I can do yeah, but when I open it in notepad it's far from easy to read...

[sdl]
mapperfile=./mapper.txt

fulldouble=false
fullfixed=false
fullresolution=0x0

output=surface

[dosbox]
machine=vga
captures=capture
memsize=4

[render]
frameskip=3
aspect=true
scaler=none

[cpu]
core=dynamic
cycles=500
cycleup=10
cycledown=10

[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=11025
blocksize=64
prebuffer=1000

[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=none
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.
# oplrate -- Sample rate of OPL music emulation.

sbtype=none
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=11025

[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=false
gusrate=11025
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.

pcspeaker=false
pcrate=11025
tandy=auto
tandyrate=11025
disney=true

[bios]
# joysticktype -- Type of joystick to emulate: none, 2axis, 4axis,
# fcs (Thrustmaster) ,ch (CH Flightstick).
# none disables joystick emulation.
# 2axis is the default and supports two joysticks.

joysticktype=2axis

[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameters for all types are irq, startbps, bytesize,
# stopbits, parity (all optional).
# for directserial: realport (required).
# for modem: listenport (optional).

serial1=dummy
serial2=disabled
serial3=disabled
serial4=disabled

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).

xms=false
ems=false
umb=false

[autoexec]
mount C "/mnt/sd/dosbox/KEEN"
c:
cls
KEEN4E
exit


Oh, but for some reason it's easy to read when I paste it, lol. Im a right mong when it comes to this sort of stuff.

Anyway, cheers Pickle, hope you can help :D
 
Bramrash said:
[cpu]
core=dynamic

[bios]
# joysticktype -- Type of joystick to emulate: none, 2axis, 4axis,
# fcs (Thrustmaster) ,ch (CH Flightstick).
# none disables joystick emulation.
# 2axis is the default and supports two joysticks.

joysticktype=2axis

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).

xms=false
ems=false
umb=false

[autoexec]
mount C "/mnt/sd/dosbox/KEEN"
c:
cls
KEEN4E
exit



Ok here are some things that stuck out right away.
1. This doesnt support dynamic you should use simple. Dosbox probally catches the mistake, but im not sure if it falls back to simple,full,etc.
2. joysticktype should be none
3. This dos setting are always true for any dosbox.conf ive setup
4. What kind of kind is KENN4E, is that a exe/bat/com? If its a bat, try calling the main exe directly.
 
Last edited by a moderator:
Cheers Pickle, i've changed what you said but i'm still getting the same thing. KEEN4E is an exe, should i have KEEN4E.exe instead of KEEN4E in the conf file?

Thanks for the help, i think getting this to run may be a bit beyond my reach.

I also just edited youre example for duke1 and changed it to what i thought would work for keen4, it now stops on a black screen, dunno if that is progress or not. Before I got the screen i mentioned earlier, a mouse curser appeard in the top left corner, now it doesn't, that leads me to think i've taken a step backwards.
 
Bramrash said:
Cheers Pickle, i've changed what you said but i'm still getting the same thing. KEEN4E is an exe, should i have KEEN4E.exe instead of KEEN4E in the conf file?

Thanks for the help, i think getting this to run may be a bit beyond my reach.

I also just edited youre example for duke1 and changed it to what i thought would work for keen4, it now stops on a black screen, dunno if that is progress or not. Before I got the screen i mentioned earlier, a mouse curser appeard in the top left corner, now it doesn't, that leads me to think i've taken a step backwards.
typically you could put the exe, but i dont think it matters. The arrow should go away.
Do you ever see the blue dosbox window? Dont use the cls command, it might help show more of whats happening. Also give the game some time if it goes to a black screen maybe that the cycles are too low and its just taking time to load.
 
Last edited by a moderator:
Good news for you, I got the shareware to run. Seems playable too.

Heres the settings, I didnt tune it. Just made sure it ran and the game played.

EDIT: I did overclock to 240+mem timings. Ran with PC speaker. You could set the sample rates to 11025 too.

dosbox.conf
CODE

[sdl]
# fulldouble -- Use double buffering.
# output -- Can only be Surface for the gp2x.
# sensitivity -- Mouse sensitivity.
# mapperfile -- File used to load/save the key/event mappings from.

fulldouble=false
output=surface
sensitivity=100
mapperfile=mapper.txt

[dosbox]

# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# memsize -- Amount of memory dosbox has in megabytes.

machine=vga
memsize=8

[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=1
aspect=false
scaler=none

[cpu]
# core -- CPU Core used in emulation: simple,normal,full.
# Try simple first as this is the fastest, then normal and last full
# cycles -- Amount of instructions dosbox tries to emulate each millisecond.
# Too low and the game will crash randomly / not start up
# Too high and expect slowness
# Just right and you will get a nice speed boost
# 600-1200 ish seems to be about the sweet spot for the things I've tested. (older games)
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.

core=simple
cycles=700

[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=512
prebuffer=10

[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=none
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=false
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.

pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[joystick]
# joysticktype -- needs to be none, or else expect no input.

joysticktype=none

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).

xms=true
ems=true
umb=true

[autoexec]
# lines of code to boot the dos program go here
mount C "/mnt/sd/dosbox/keen4"
c:
KEEN4E.EXE
exit



gpe file:
CODE

#! /bin/sh
DIRROOT=/mnt/sd/dosbox
DIRGAME=${DIRROOT}/keen4
cd ${DIRGAME}
${DIRROOT}/dosbox -conf ${DIRGAME}/dosbox.conf
cd /usr/gp2x
exec /usr/gp2x/gp2xmenu



mapper.txt
CODE

key_up "key 97"
key_left "key 99"
key_down "key 101"
key_right "key 103"
key_left "key 98"
key_left "key 100"
key_right "key 102"
key_right "key 104"
key_space "key 112"
key_lalt "key 109"
key_lctrl "key 111"
key_y "key 112"
key_n "key 110"
key_1 "key 106"
key_F1 "key 105"
key_esc "key 107"
key_enter "key 108"
key_r "key 114"
key_s "key 113"
hand_cycleup "key 113 mod1"
hand_cycledown "key 114 mod1"
hand_decfskip "key 107 mod1"
hand_incfskip "key 108 mod1"
hand_g2debug "key 106 mod1"
mod_1 "key 115"
 
Ah, nice one Pickle, can't wait to give it a try. Thanks for all your help, and then doing it for me because im an idiot :p
 
Bramrash said:
erm, I can do yeah, but when I open it in notepad it's far from easy to read...
Just as a quick word of advice, it is much easier to edit the conf files and whatnot in Wordpad, not Notepad. The End.
 
Last edited by a moderator:
Pickle said:
BadAstronaut said:
Just as a quick word of advice, it is much easier to edit the conf files and whatnot in Wordpad, not Notepad. The End.
Huh?? :unsure:


Bramrash's statement about it being difficult to read in Notepad - second post on this page. I guess I should have just quoted it to avoid the confusion...
(Fixed now)
 
Last edited by a moderator:
Hi,

I am a gp2x noob as i just recived an f100 yesterday i have been trying to get this (dos box) to work but all it does is take me to a black screen and then back to the menu. I have been using the two programs on the archive to make my configs .ect but still nothing. I also downloaded Terminal virus simulator to see if it was the programs i used to make the configs .ect but again nothing :( . My firmware is v2.1.2. Can you help?

Regards, biltho
 
01biltho said:
Hi,

I am a gp2x noob as i just recived an f100 yesterday i have been trying to get this (dos box) to work but all it does is take me to a black screen and then back to the menu. I have been using the two programs on the archive to make my configs .ect but still nothing. I also downloaded Terminal virus simulator to see if it was the programs i used to make the configs .ect but again nothing :( . My firmware is v2.1.2. Can you help?

Regards, biltho
Are you using the latest version 0.72-2, if so the config creator will create the configs with the wrong mappings. You then have to use the converter that was supplied with 0.72-2 zip archive.

I would like if you try the default.gpe that should be in the same folder as dosbox. If this loads and the blue dosbox window and dosbox prompt show up the problem is most likely with your confg files.
 
Last edited by a moderator:
01biltho said:
I have been using this version: 0.72 http://www.gp2x.de/cgi-bin/cfiles.cgi?0,1,0,0,72,2534.

I tried using default.gpe but it still takes me back to the menu. I also use gmenu. When i tryed it on the standard gp2x menu it took me to gmenu???


Thats 0.72-1, there a newer version then that. I didnt orverwrite that version in case users wanted to use the od version with the old GP2X mappings.
Where on your sd did you put dosbox? Depening on where it is you need to update the gpe script. See the line #2 below:

CODE

#! /bin/sh
DIRROOT=/mnt/sd/dosbox
DIRGAME=${DIRROOT}/duke1
cd ${DIRGAME}
${DIRROOT}/dosbox -conf ${DIRGAME}/dosbox.conf
cd /usr/gp2x
exec /usr/gp2x/gp2xmenu
 
Last edited by a moderator:
Back
Top