Welcome to the Gamebase 64 forums.                 An attempt to document ALL Commodore 64 gameware before it's too late!

Daphne Gamebase - anyone ?

Discuss any other databases that use the GameBase Frontend, whether in pre development, development or publically released.

Moderator: Jimbo

joe21121
New Member
Posts: 9
Joined: Wed Apr 07, 2010 4:51 am

Mon Aug 22, 2011 6:06 am

its ok
can you upload the main gamebase separate
dax
Ice Cool Member
Ice Cool Member
Location: Poland
Posts: 810
Joined: Tue Sep 04, 2007 1:45 pm

Mon Aug 22, 2011 7:17 am

If You say this because of "law" (to separate emulator & games), it's too late. I've uploaded complete GB Laserbase (with roms / mpegs).

But I can upload it except games, if some ppl want it, when I back home later or tomorrow.

Of course I won't re-upload only games (means except emulator) - too much of data to upload.
I love Gamebase's creators and compilations
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2256
Joined: Sun Jun 19, 2005 3:30 pm

Sat Aug 27, 2011 8:54 am

Hello!
I have some issues to redefine the keys in Laserbase.
I wish to change the LEFT-ALT key because when I press it, it cause either a command and a pause.
For example, in mach3, the fire works very bad ... I obtain a shot and a pause together .. the result is a game start and stop ;(((
I have tried to redefine the keys from Daphne menu, but the file
"dapinput.ini" rest the same, do not change in any way!
I may try to change manually the parameters inside the file, but I don't know the right keynumber map .. any ideas?

Richard.
Found this info on DaphneWiki.
*posting it here as it reported as an "Attack Site" in Firefox 6.

Daphne Default Input.

Most of the DAPHNE games use common set of controls.
For the most up to date information on the current controls, run DaphneLoader,
select a game, click Configure, and click on the 'Input' tab.

The default DAPHNE keyboard controls are:

ESC Quit the game
5 and 6 Insert Coin (coin chutes)
1 Player 1 Start (and "FEET" in Cliffhanger)
2 Player 2 Start (and "FEET" in Cliffhanger)
Arrow Keys Directional Movement
CTRL or Space Bar Button #1 (Primary fire and/or Sword)
Left ALT Button #2 (Alternate fire, used in Bega's Battle, Cobra Command, etc)
Left Shift Button #3 (used in a few games like Road Blaster, if memory serves)
/ (keypad) Cadet skill level (Space Ace)
* (keypad) Captain skill level (Space Ace)
-(keypad) Space Ace skill level (Space Ace)
P Pause game (laserdisc player must be playing)
T Tilt game (just a gimmick, only works in a few games)
9 Go into service mode (used in Dragon's Lair 2)
F2 Go into test mode (similar to service mode, used in Cliff Hanger)
F3 Reset/reboot game
F12 Take screenshot (VLDP only)


Space Ace

Note that Space Ace uses the /, *, and - keys on the numeric keypad to select the skill level.
When you insert coins and then press 1 or 2 to start a 1 or 2 player games,
it will beep for a few seconds at which time you can select your skill level.
If you don't press anything, it will default to easy level.

Cliff Hanger

Note that Cliff Hanger shares the 1 and 2 player buttons with the 'feet' button.
Changing Keyboard Input

DaphneLoader

DaphneLoader is the easiest way to change which keys do what in Daphne.

dapinput.ini

If you want to change Daphne's keyboard input without using DaphneLoader (which is not recommended),
then you will need to either edit or create a file called dapinput.ini inside Daphne's home directory.

The format of each line the file is as follows:

key name = keysym1 keysym2 buttonID

The "keysyms" refer to keyboard codes that are defined by the SDL library. The buttonID refers to buttons on a joystick where 0 means no button and 1 is the first button (at least, as far as I can remember haha). A full list of "keysyms" can be found in the KeyList section.

An example of a dapinput.ini file is:

Code: Select all

[KEYBOARD]
KEY_UP = 273 114 0
KEY_DOWN = 274 102 0
KEY_LEFT = 276 100 0
KEY_RIGHT = 275 103 0
KEY_BUTTON1 = 306 97 0
KEY_BUTTON2 = 308 115 0
KEY_BUTTON3 = 32 113 0
KEY_START1 = 49 0 0
KEY_START2 = 50 0 0
KEY_COIN1 = 53 0 0
KEY_COIN2 = 54 0 0
KEY_SKILL1 = 304 119 0
KEY_SKILL2 = 122 105 0
KEY_SKILL3 = 120 107 0
KEY_SERVICE = 57 0 0
KEY_TEST = 283 0 0
KEY_RESET = 284 0 0
KEY_SCREENSHOT = 293 0 0
KEY_QUIT = 27 0 0
END
Thayer's Quest Input

Thayer's Quest is different from other arcade games in that it used a keyboard instead of a usual joystick and buttons.

Thayer's Quest keys cannot be changed as of the time of this writing.

The keys are as follows:
F1 Choice #1 (triangle) / Clear
F2 Choice #2 (circle)
F3 Choice #3 (square) / Enter (NOTE : the regular Enter key on the keyboard does nothing)
F4 Choice #4 (pentagon) / Space (NOTE : the regular spacebar on the keyboard does nothing)
F5 Insert Coin
F6 Insert Coin
1 Yes
2 Items
3 Drop Item
4 Give Score
5 Replay
6 Combine Action
7 Save Game (NOTE : saving games is not supported at the time of this writing)
8 Update
9 Hint
0 No

The rest of the keyboard is the same as it is on a Thayer's Quest keyboard, which is shown below:

Image

Joystick
Daphne has basic support for a joystick.

Daphne will automatically use the first installed joystick that it can detect. The direction of the joystick is fixed and cannot be changed (ie you cannot flip the up and down direction).

You can change what the joystick buttons do. Use DaphneLoader to do this.



These are a list of key codes for use in the dapinput.ini file.

These codes come from SDL http://www.libsdl.org/.


NOTE : Keys that require shift to be pressed (like !, @, #, and $ on a US keyboard)
cannot be mapped for Daphne because Daphne interprets 'shift' as a its own key rather than a key modifier.
These keys are still listed below in case some keyboard out there can do keys like !, @, and # without holding down shift.

BACKSPACE = 8
TAB = 9
CLEAR = 12
RETURN = 13
PAUSE = 19
ESCAPE = 27
SPACE = 32
EXCLAIM = 33
QUOTEDBL = 34
HASH = 35
DOLLAR = 36
AMPERSAND = 38
QUOTE = 39
LEFTPAREN = 40
RIGHTPAREN = 41
ASTERISK = 42
PLUS = 43
COMMA = 44
MINUS = 45
PERIOD = 46
SLASH = 47
0 = 48
1 = 49
2 = 50
3 = 51
4 = 52
5 = 53
6 = 54
7 = 55
8 = 56
9 = 57
COLON = 58
SEMICOLON = 59
LESS = 60
EQUALS = 61
GREATER = 62
QUESTION = 63
AT = 64
LEFTBRACKET = 91
BACKSLASH = 92
RIGHTBRACKET = 93
CARET = 94
UNDERSCORE = 95
BACKQUOTE = 96
a = 97
b = 98
c = 99
d = 100
e = 101
f = 102
g = 103
h = 104
i = 105
j = 106
k = 107
l = 108
m = 109
n = 110
o = 111
p = 112
q = 113
r = 114
s = 115
t = 116
u = 117
v = 118
w = 119
x = 120
y = 121
z = 122
DELETE = 127
KP0 = 256
KP1 = 257
KP2 = 258
KP3 = 259
KP4 = 260
KP5 = 261
KP6 = 262
KP7 = 263
KP8 = 264
KP9 = 265
KP_PERIOD = 266
KP_DIVIDE = 267
KP_MULTIPLY = 268
KP_MINUS = 269
KP_PLUS = 270
KP_ENTER = 271
KP_EQUALS = 272
UP = 273
DOWN = 274
RIGHT = 275
LEFT = 276
INSERT = 277
HOME = 278
END = 279
PAGEUP = 280
PAGEDOWN = 281
F1 = 282
F2 = 283
F3 = 284
F4 = 285
F5 = 286
F6 = 287
F7 = 288
F8 = 289
F9 = 290
F10 = 291
F11 = 292
F12 = 293
F13 = 294
F14 = 295
F15 = 296
NUMLOCK = 300
CAPSLOCK = 301
SCROLLOCK = 302
RSHIFT = 303
LSHIFT = 304
RCTRL = 305
LCTRL = 306
RALT = 307
LALT = 308
RMETA = 309
LMETA = 310
LSUPER = 311 /* Left "Windows" key */
RSUPER = 312 /* Right "Windows" key */
MODE = 313 /* "Alt Gr" key */
COMPOSE = 314 /* Multi-key compose key */

/* Miscellaneous function keys */
HELP = 315
PRINT = 316
SYSREQ = 317
BREAK = 318
MENU = 319
POWER = 320 /* Power Macintosh power key */
EURO = 321 /* Some european keyboards */

Return to “Other GameBase Projects”

Who is online

Users browsing this forum: No registered users and 52 guests