BAFelton
Well-Known Member
Thanx to sdm, we can use Dosbox on the Caanoo.
Here's how it works for me, example with Tetris (included) :
- downloaded dosbox Caanoo here : http://www.gp32x.de/board/index.php?app=core&module=attach§ion=attach&attach_id=599
- uncompressed the archive in "game"
so you have :
sd/game/ + dosbox + tts.gpe
and sd/game/games/tts
- create a tts.ini pointing to "tts.gpe" using this tuto : http://www.gp32x.de/board/index.php?/topic/60320-tuto-making-ini-files/
The tts.gpe should be like this :
- launch Tetris and it should work.
For other games :
- got Ultima 1 to work, got it from a Wiz DosBox Pack 1.9.
- created a Ultima1.ini
- put all files from the original Ultima 1 in /sd/game/games/Ultima1/
- edit "dosbox.conf" to this :
- edited Ultima1.gpe :
And it works. But I have to remap the buttons using this :
Sometimes I have to reboot the Caanoo when I create these files, don't know why they don't appear in the "game" menu.
Launched Alone in the Dark, but only sound worked for now.
Many other games to test...
Here's how it works for me, example with Tetris (included) :
- downloaded dosbox Caanoo here : http://www.gp32x.de/board/index.php?app=core&module=attach§ion=attach&attach_id=599
- uncompressed the archive in "game"
so you have :
sd/game/ + dosbox + tts.gpe
and sd/game/games/tts
- create a tts.ini pointing to "tts.gpe" using this tuto : http://www.gp32x.de/board/index.php?/topic/60320-tuto-making-ini-files/
Code:
[info]
name="Tetris"
path="/tts.gpe"
The tts.gpe should be like this :
Code:
#! /bin/sh
./dosbox -conf ./games/tts/dosbox.conf
cd /usr/gp2x/
./gp2xmenu
- launch Tetris and it should work.
For other games :
- got Ultima 1 to work, got it from a Wiz DosBox Pack 1.9.
- created a Ultima1.ini
Code:
[info]
name="Ultima1"
path="/Ultima1.gpe"
- put all files from the original Ultima 1 in /sd/game/games/Ultima1/
- edit "dosbox.conf" to this :
[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
fontcolor_front=3
fontcolor_back=15
fontcolor_frontsel=1
fontcolor_backsel=5
[dosbox]
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# memsize -- Amount of memory dosbox has in megabytes.
machine=ega
memsize=4
[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=0
aspect=false
scaler=none
[cpu]
# core -- CPU Core used in emulation: dynamic,simple,normal,full.
# Try dynamic first as this is the fastest, then simple,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=dynamic
cycles=900
[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=false
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=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=true
pcrate=22050
tandy=off
tandyrate=11025
disney=false
[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 "./games/Ultima1"
c:
ultima.EXE
exit
# 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
fontcolor_front=3
fontcolor_back=15
fontcolor_frontsel=1
fontcolor_backsel=5
[dosbox]
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# memsize -- Amount of memory dosbox has in megabytes.
machine=ega
memsize=4
[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=0
aspect=false
scaler=none
[cpu]
# core -- CPU Core used in emulation: dynamic,simple,normal,full.
# Try dynamic first as this is the fastest, then simple,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=dynamic
cycles=900
[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=false
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=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=true
pcrate=22050
tandy=off
tandyrate=11025
disney=false
[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 "./games/Ultima1"
c:
ultima.EXE
exit
- edited Ultima1.gpe :
Code:
#! /bin/sh
./dosbox -conf ./games/Ultima1/dosbox.conf
cd /usr/gp2x/
./gp2xmenu
And it works. But I have to remap the buttons using this :
Key codes for mapper.txt:
A = 97
X = 98
B = 99
Y = 100
L = 101
R = 102
HOME = 103
HOLD = 104
HELP1 = 105
HELP2 = 106
TACT = 107
UP = 108
RIGHT = 109
DOWN = 110
LEFT = 111
Sometimes I have to reboot the Caanoo when I create these files, don't know why they don't appear in the "game" menu.
Launched Alone in the Dark, but only sound worked for now.
Many other games to test...
Last edited by a moderator: