Log in

View Full Version : gfDoom on K-JAM - how to configure for landscape and keyboard


MitchellO
11-18-2005, 09:45 AM
Download gfDoom here. Get the ARM version.

http://home.freeuk.com/gamefreaks/pql/gfDoom.htm

Here is a video I took of my K-JAM running the gfDoom port. Its excellent, running at over 30fps!

http://files.filefront.com/gfdoom_kjamavi/...;/fileinfo.html (http://files.filefront.com/gfdoom_kjamavi/;4367282;;/fileinfo.html)

I also reconfigured the skin file so that it would run in the same landscape as the keyboard (normally its the other way). The up/down/left/right keys on the keyboard control the guy, and the left softkey fires the weapon. right softkey opens doors, and messaging shows the menu. Tab shows the map.

I modified the default skin file so that it looks like this:

;Script file for default gfDoom skin.
;Many Thanks to 'Shapeshifter' for this skin.
;Modified by MitchellO for imate K-JAM keyboard
;To use landscape and keyboard, set the graphics quality to low. It will rotate the screen.

;make room for a titlebar
SCREEN_OFFSET 26

;postition the track-pad
TPAD 52 187 211 294

;set sensitivity 0-255
TPAD_SENSITIVITY 32

;on-screen buttons
BUTTON 48 80 0 26 SOUND
BUTTON 200 240 0 26 QUIT
BUTTON 0 50 188 212 WEAPON_1
BUTTON 0 24 214 240 WEAPON_2
BUTTON 26 51 214 240 WEAPON_3
BUTTON 0 24 241 266 WEAPON_4
BUTTON 24 51 241 266 WEAPON_5
BUTTON 0 24 268 292 WEAPON_6
BUTTON 24 51 268 292 WEAPON_7
BUTTON 53 186 187 210 FIRE
BUTTON 53 186 187 210 STRAFE
BUTTON 188 240 187 210 PAUSE
BUTTON 188 240 215 237 AUTOMAP
BUTTON 188 240 240 262 +SCREEN
BUTTON 188 240 267 290 -SCREEN
BUTTON 186 240 294 320 GAMMA
BUTTON 52 186 295 320 OPEN
BUTTON 0 51 294 320 RUN

;hardware buttons for K-JAM keyboard
GXHWBUTTON VK_UP RIGHT
GXHWBUTTON VK_DOWN LEFT
GXHWBUTTON VK_LEFT UP
GXHWBUTTON VK_RIGHT DOWN
GXHWBUTTON VK_A FIRE
GXHWBUTTON VK_B OPEN
GXHWBUTTON VK_B STRAFE

;key-code 13 = 'Return' key
GXHWBUTTON VK_A 13
GXHWBUTTON VK_C PAUSE

;Change landscape orientation to match K-JAM keyboard
LEFT_HANDED 1


http://img401.imageshack.us/img401/4981/cimg4485small4ot.jpg

Darren Behan
11-19-2005, 02:27 AM
Very well done. You're right about frame rates, plays very well. Do you know if there is some way to default the graphics detail to low? Alternately, I'll play it landscape on high detail. I'm lazy and I just want to kick it off and play it in landscape.

Finally (stupid question, I admit) how do you jump?

Thanks for your effort on this.

db