DosBox:Roketz

From wiki.gp2x.org

Contents

Download Game

Status

You must copy Roketz download contents to (mnt/sd)F:/dosbox/rocketzCD and install (run setup.exe from the "CD" in windows) to rocketz to /dosbox/rocketz The config files go into the install directory.

Controls

Special

dosbox.conf

[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=3
aspect=true
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=1000
#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

[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=false
pcrate=11025
tandy=auto
tandyrate=11025
disney=false

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

xms=true
ems=true
umb=false

#[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=none

[autoexec]
# lines of code to boot the dos program go here
#-t cdrom -ioctl for cd support
mount C "/mnt/sd/dosbox/roketz"
mount F "/mnt/sd/" -t cdrom -ioctl

c:
ROKETZ.EXE

mapper.txt

#Stick N     = A        = 97
key_up "key 97"
#Stick NW    = B        = 98
key_up "key 98"
key_left "key 98"
#Stick W     = C        = 99
key_left "key 99"
#Stick SW    = D        = 100
key_down "key 100"
key_left "key 100"
#Stick S     = E        = 101
key_down "key 101"
#Stick SE    = F        = 102
key_right "key 102"
key_down "key 102"
#Stick E     = G        = 103
key_right "key 103"
#Stick NE    = H        = 104
key_right "key 104"
key_up "key 104"
#Start       = I        = 105
key_enter "key 105"
#Select      = J        = 106
key_esc "key 106"
#L           = K        = 107
key_l "key 107"
#R           = L        = 108
key_r "key 108"
#A           = M        = 109
key_rctrl "key 109"
#B           = N        = 110
key_rshift "key 110"
#Y           = O        = 111
key_y "key 111"
#X           = P        = 112
key_space "key 112"
#Vol+        = Q        = 113
key_s "key 113"
#Vol-        = R        = 114
key_a "key 114"
#Stick In    = S        = 115
key_p "key 115"

roketz.gpe

#! /bin/sh

DIRROOT=/mnt/sd/dosbox
DIRGAME=${DIRROOT}/roketz
cd ${DIRGAME}
${DIRROOT}/dosbox -conf ${DIRGAME}/dosbox.conf

cd /usr/gp2x
exec /usr/gp2x/gp2xmenu
Personal tools