Jump to content

Daphne Singe question


C_Wilson009

Recommended Posts

Posted

I don't think you can I use xpadder for Daphne and Daphne Singe

i dont. I have an aimtrak for the games. I think insert coin is '5' and start is '1'. I wanna change those

Posted

i dont. I have an aimtrak for the games. I think insert coin is '5' and start is '1'. I wanna change those

Well for the other Daphne games just remapping them using Autohotkey works, so it might for the lightgun games too.

So under keymapper for the Daphne system you might try that.

Make a new profile for the specific game you want.

Then click on that game title in the list.

Then down below I believe you check the box that says "edit"

If you wanted to change the "1" button to "b" (for example), and the "5" button to 9 then type:

1::b

5::9

That's about as simple as AHK gets, but thankfully simple seems to work in Daphne & Daphne Singe.

Posted

I just tried to do what you said. I wanted the coin button "5" to be "h" instead. I tested it on crime patrol and the AHK change doesn't seem to affect it.

Posted

I just tried to do what you said. I wanted the coin button "5" to be "h" instead. I tested it on crime patrol and the AHK change doesn't seem to affect it.

So when you press your coin button (which is 5) you want it to send the H key instead?

You put it in like:

5::h

Mapped to the game and saved it? Did you try the test icon to make sure it's sending the right "H" output? What game are you trying this on... nevermind, I deleted every Singe game other than Time Gal and Hayate so I can't test it for you. You are using RocketLauncher (not HyperLaunch) right?

EDIT: I also can't remember if this works built in to RocketLauncher already or if you have to download and install AHK first... maybe someone else knows the answer to that.

Posted

So when you press your coin button (which is 5) you want it to send the H key instead?

You put it in like:

5::h

Mapped to the game and saved it? Did you try the test icon to make sure it's sending the right "H" output? What game are you trying this on... nevermind, I deleted every Singe game other than Time Gal and Hayate so I can't test it for you. You are using RocketLauncher (not HyperLaunch) right?

EDIT: I also can't remember if this works built in to RocketLauncher already or if you have to download and install AHK first... maybe someone else knows the answer to that.

yes, I mapped it to crime patrol and saved it. I test it in Rocketlauncher and it seems to work. In game however, nothing works. I'll try getting and installing AHK aswell

Posted

Well its possible that the game blocks it. Many games seem to block AHK from working although usually it's modern PC games. Most of the old or arcade stuff has worked for me.

Maybe someone with that game can take a minute to test theirs for you.

Posted

Another forum suggests that editing or creating a dainput.ini inside the Daphne Singe home directory will work. My Daphne install has this file but my Singe directory does not. I just use the default input controls. It might work to just copy the file from the Daphne directory over to your Daphne Singe directory and edit as needed. Please note that manually editing the file is not recommended, however since the file is not a default in the Singe modified version of Daphne, it might be your best option.

 

The modification of the file is not straight forward as it uses the controls format of the SDL Library. I would recommend you back your Singe directory before trying this. Or better yet, just use the default keys.

 

 

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:

[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

 

 

KeyList
From DaphneWiki
Jump to: navigation, search

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

These codes come from SDL.

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 */

Posted

That's good info if the other Singe Action Max & Wow games need it.

So far every Daphne game I've needed to remap has simply worked with my AHK/Keymapper method above though, even Hayate & Time Gal which are Singe games.

Posted

That's good info if the other Singe Action Max & Wow games need it.

So far every Daphne game I've needed to remap has simply worked with my AHK/Keymapper method above though, even Hayate & Time Gal which are Singe games.

Since your setup worked with ahk remapper, looks like his should also.

Is it a separate step to enable keymappers for Daphne Singe on a system level?

Posted

Same as any other system System>Keymapper>Autohotkey

Then the steps I showed above. Doesn't work with all games though, and it's possible you may need to install the full AHK program. Not sure on that though.

I just tested it with Cliffhanger. Remapped the P1 (1) and P2 (2) buttons to be X and S on my control panel for hands & feet.

Posted

im not sure if it matters but cliffhanger is daphne. I'm trying to get controls going for daphne singe, which is i think american laser games

Yeah like I said the only Singe games I run are Ninja Hayate and Time Gal and it works fine for both of those. I deleted all my other Singe games so I can't test them for you.

Some games simply block AHK remapping though (mostly PC games)

Posted

OK, I know my post above was long but did you try that as a solution? Metalzoic's method using AHK seems much easier and works for him, so I think you are missing a step.

 

However, the dainput.ini method from my earlier post works also and took about two minutes including testing. I just did it. And immediately reversed it to Daphne Singe defaults just by deleting the dainput.ini I had copied there from my Daphne folder.

 

This will be easier if you are already running Daphne (i.e.-Cliffhanger, Dragon's Lair, etc.) Just copy the dainput.ini file over to your Daphne Singe folder. Then open it in a text editor and change the keysym1 number to the key code as listed in the SDL library keylist in my post above. For example:

 

An example of a dapinput.ini file is:

[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

If you wanted to change "coin1" to "h", you would change only the number "53" (in bold) to "104", then save the text file and test. Do not use this dainput.ini- it is only an example. Your dainput.ini has to be generated by and is unique to your computer.

 

If you are not running Daphne, you will have to generate a dainput.ini file, as follows:

     -download the Daphne emulator zip file from http://www.daphne-emu.com/site3/index_hi.php and unzip it to a folder preferably not your HyperSpin folder (don't want to mess anything up). 

     -open the DaphneLoader.exe and click "Configure" (button).

     -move to "Input" (tab)

     -check the box at bottom "Use these input settings for all games" and click "OK" (button).

You should now have a "dainput.ini" file in the Daphne folder. Copy this file to your Daphne Singe install folder and edit the dainput.ini file as stated above.

 

Test this solution and post back here if it works.

Posted

OK, I know my post above was long but did you try that as a solution? Metalzoic's method using AHK seems much easier and works for him, so I think you are missing a step.

 

However, the dainput.ini method from my earlier post works also and took about two minutes including testing. I just did it. And immediately reversed it to Daphne Singe defaults just by deleting the dainput.ini I had copied there from my Daphne folder.

 

This will be easier if you are already running Daphne (i.e.-Cliffhanger, Dragon's Lair, etc.) Just copy the dainput.ini file over to your Daphne Singe folder. Then open it in a text editor and change the keysym1 number to the key code as listed in the SDL library keylist in my post above. For example:

If you wanted to change "coin1" to "h", you would change only the number "53" (in bold) to "104", then save the text file and test. Do not use this dainput.ini- it is only an example. Your dainput.ini has to be generated by and is unique to your computer.

 

If you are not running Daphne, you will have to generate a dainput.ini file, as follows:

     -download the Daphne emulator zip file from http://www.daphne-emu.com/site3/index_hi.php and unzip it to a folder preferably not your HyperSpin folder (don't want to mess anything up). 

     -open the DaphneLoader.exe and click "Configure" (button).

     -move to "Input" (tab)

     -check the box at bottom "Use these input settings for all games" and click "OK" (button).

You should now have a "dainput.ini" file in the Daphne folder. Copy this file to your Daphne Singe install folder and edit the dainput.ini file as stated above.

 

Test this solution and post back here if it works.

This seems to work!

sorry it took so long for me to respond, I was hesitant to try this because of all the troubles I've had with daphne and daphne singe. I didn't want to break what I had working lol...

 

Thanks wesfranks and Metalzoic for all your help!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...