DosBox:Colonization
From wiki.gp2x.org
Contents |
Installation
- See DosBox for general details on setting up DosBox programs
Status
- With some overclocking and frameskip the game runs at decent speed without sound.
- Controls are difficult due to lack of mouse emulation. Editing trade routes and accessing the Custom House menu is impossible without mouse.
- Starting a new game takes about 5 minutes.(loading/saving is fast though)
Controls
Game controls:
- Start
- Menu / toggle production numbers on/off
- Select
- ESC
- B
- Enter
- Y
- construction menu/ recruit (Colony/Europe screen)
- A
- buy/ purchase (Colony/Europe screen)
- X
- units present/ train/ move pieces (Colony/Europe/World map)
- L
- Tab/ 0
- R
- R + Stick : numbers according to layout of the numeric keypad, except 5 and 0
- R + Y : 5
- R + A : activate unit
- R + X : go to
- R + vol- : Space
- R + vol+ : Info screen / change options
- vol-
- unload cargo/ move pieces (Colony/World map)
- vol+
- load cargo/ view pieces(Colony/World map)
- Stick In
- Backspace
DosBox controls:
- L + Start
- quit DosBox
- L + vol-
- decrease cycles
- L + vol+
- increase cycles
- R + Start
- capture/release mouse
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=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=4 [render] 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=2100 cycleup=50 cycledown=100 [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=11025 blocksize=256 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=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=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=22050 tandy=off tandyrate=22050 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=false ems=false umb=true [autoexec] mount C "/mnt/sd/dosbox/colonize" c: OPENING.EXE -g %1 %2 %3 %4 %5 %6 %7 %8 %9
mapper.txt
#DosBox controls hand_shutdown "key 105 mod1" hand_capmouse "key 105 mod2" hand_cycledown "key 114 mod1" hand_cycleup "key 113 mod1" #Game controls #SELECT key_esc "key 106" #B key_enter "key 110" #stick in key_bspace "key 115" #L key_0 "key 108" key_tab "key 108" #R key_1 "key 100 mod2" key_2 "key 101 mod2" key_3 "key 102 mod2" key_4 "key 99 mod2" key_6 "key 103 mod2" key_7 "key 98 mod2" key_8 "key 97 mod2" key_9 "key 104 mod2" key_5 "key 111 mod2" key_F1 "key 113 mod2" key_space "key 114 mod2" key_a "key 109 mod2" key_g "key 112 mod2" #Y key_r "key 111" key_c "key 111" #A key_p "key 109" key_b "key 109" #X key_t "key 112" key_m "key 112" #START key_n "key 105" key_ralt "key 105" key_o "key 105" #VOL- key_m "key 114" key_kp_minus "key 114" #VOL+ key_v "key 113" key_kp_plus "key 113" #Stick key_kp_1 "key 100" key_kp_2 "key 101" key_kp_3 "key 102" key_kp_4 "key 99" key_kp_6 "key 103" key_kp_7 "key 98" key_kp_8 "key 97" key_kp_9 "key 104" # Mod keys (mod1 = L, mod2 = R) mod_1 "key 108" "key 305" mod_2 "key 107" "key 307"
start.gpe
#! /bin/sh /mnt/sd/cpu_speed.gpe 1 1 250 DIRROOT=/mnt/sd/dosbox DIRGAME=${DIRROOT}/colonize cd ${DIRGAME} ${DIRROOT}/dosbox -conf ${DIRGAME}/dosbox.conf sync cd /usr/gp2x exec /usr/gp2x/gp2xmenu