DosBox:Dragon Strike

From wiki.gp2x.org

Contents

Download Game

Installation

  • See DosBox for general details on setting up DosBox programs
  • When starting the game, choose VGA from the graphics menu (option 4) by pressing Select.

Status

The game is set to overclock 266mhz, frameskip 2, and runs pretty good.

Controls

Controls are as follows:

Start  
Enter
A  
Weapon 1
B  
Weapon 2
Y  
Fly faster
X  
Fly slower
L + Y  
View forward
L + A  
View left
L + B  
View right
L + X  
View rear
R + Y  
Esc (menu)
R + A  
Ointment rider
R + B  
Ointment dragon
Stick In  
Center dragon

Files

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=true
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=4

[render]
# frameskip -- How many frames DOSBox skips before drawing one.
frameskip=2
aspect=true
scaler=none

[cpu]
# core -- CPU Core used in emulation: simple,normal,full,dynamic.
# 			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
#			Too high and expect slowness
# cycleup   -- Amount of cycles to increase/decrease with keycombo.
# cycledown    Setting it lower than 100 will be a percentage.

core=simple
cycles=750

[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=true
rate=22050
blocksize=4096
prebuffer=500

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

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

xms=true
ems=true
umb=true

[autoexec]
mount C "/mnt/sd/dosbox/dragon_strike"
c:
DSTRIKE.EXE
exit

mapper.txt

# Keys for Dragon Strike

# Speedup/slowdown dragon (Y / X)
key_a "key 111"
key_s "key 112"

# Dragon movement
key_kp_7 "key 98" 
key_kp_8 "key 97" 
key_kp_9 "key 104" 
key_kp_4 "key 99" 
key_kp_6 "key 103" 
key_kp_1 "key 100" 
key_kp_2 "key 101" 
key_kp_3 "key 102" 

# Rider views
#   Forward (L + Y)
#   Left (L + A)
#   Right (L + B)
#   Rear (L + X)
key_f1 "key 111 mod1"
key_f2 "key 109 mod1"
key_f3 "key 112 mod1"
key_f4 "key 110 mod1"

# Stabilize dragon (click stick)
key_kp_5 "key 115"

# Fire weapons (A / B)
key_kp_0 "key 109" 
key_kp_period "key 110" 

# Ointment (rider = R + A, dragon = R + B)
key_1 "key 109 mod2"
key_2 "key 110 mod2"

# Menu (R + Y)
key_esc "key 111 mod2"

# Enter (start)
key_enter "key 105"

# Startup -- press 4 to select VGA mode (select)
key_4 "key 106"

# Mod keys (mod1 = L, mod2 = R)
mod_1 "key 108"
mod_2 "key 107"

start.gpe

#! /bin/sh

/mnt/sd/cpu_speed.gpe 1 -20 266

DIRROOT=/mnt/sd/dosbox
DIRGAME=${DIRROOT}/dragon_strike

cd ${DIRGAME}
${DIRROOT}/dosbox -conf ${DIRGAME}/dosbox.conf

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