English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 20 January 2013, 00:53   #1
olesio
Registered User
 
Join Date: Apr 2007
Location: Poland
Posts: 337
Control layout for 2-4 players in Anadune HD install of Dyna Blaster.

Hello. Can anyone test http://olesio.eu/and-dyna.lzx and tell me what should be config parameters for controls in Anadune HD install for Dyna Blaster from that link, for two to four players. I want be able to press LMB or RMB by first player. And I cannot set it. Only offline for one player work following config:
Code:
joystick_port_0_mode=mouse
joystick_port_1_mode=joystick
joystick_port_2_mode=joystick
joystick_port_3_mode=joystick
joystick_port_0=mouse
joystick_port_1=keyboard
joystick_port_2=nothing
joystick_port_3=nothing
In WHDLoad version config below works fine for 2-5 players. But in WHDLoad version we do not need mouse. And I want to version of something what works better than JST version and do not need WHDLoad.key. Here is the constant array of 1 to 5 item of command line parameters in my FS-UAE Dyna Blaster launcher made in Delphi and WinAPI:
Code:
  Controlers_Settings_Params : array[1..Max_Players] of string =
    (
    '--joystick_port_0_mode=joystick' + #32 +
    '--joystick_port_1_mode=joystick' + #32 +
    '--joystick_port_2_mode=joystick' + #32 +
    '--joystick_port_3_mode=joystick' + #32 +
    '--joystick_port_0=nothing' + #32 +
    '--joystick_port_1=keyboard' + #32 +
    '--joystick_port_2=nothing' + #32 +
    '--joystick_port_3=nothing',

    '--joystick_port_0_mode=joystick' + #32 +
    '--joystick_port_1_mode=joystick' + #32 +
    '--joystick_port_2_mode=joystick' + #32 +
    '--joystick_port_3_mode=joystick' + #32 +
    '--joystick_port_0=keyboard' + #32 +
    '--joystick_port_1=nothing' + #32 +
    '--joystick_port_2=nothing' + #32 +
    '--joystick_port_3=nothing',

    '--joystick_port_0_mode=joystick' + #32 +
    '--joystick_port_1_mode=joystick' + #32 +
    '--joystick_port_2_mode=joystick' + #32 +
    '--joystick_port_3_mode=joystick' + #32 +
    '--joystick_port_0=nothing' + #32 +
    '--joystick_port_1=nothing' + #32 +
    '--joystick_port_2=nothing' + #32 +
    '--joystick_port_3=nothing',

    '--joystick_port_0_mode=joystick' + #32 +
    '--joystick_port_1_mode=joystick' + #32 +
    '--joystick_port_2_mode=joystick' + #32 +
    '--joystick_port_3_mode=joystick' + #32 +
    '--joystick_port_0=nothing' + #32 +
    '--joystick_port_1=nothing' + #32 +
    '--joystick_port_2=keyboard' + #32 +
    '--joystick_port_3=nothing',

    '--joystick_port_0_mode=joystick' + #32 +
    '--joystick_port_1_mode=joystick' + #32 +
    '--joystick_port_2_mode=joystick' + #32 +
    '--joystick_port_3_mode=joystick' + #32 +
    '--joystick_port_0=nothing' + #32 +
    '--joystick_port_1=nothing' + #32 +
    '--joystick_port_2=nothing' + #32 +
    '--joystick_port_3=keyboard'
    );
Is is any way to adapt this to Anadunde version? Please test it and let me know, because I tried in two to four FS-UAE instanced and I had problems to get mouse to work without changing configuration manually under F12 key. And ofcourse I do not want combinations with adf version, adfs if HD versions exist - sux In my opinion. Sorry for my bad English.
olesio is offline  
Old 21 January 2013, 23:40   #2
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 37
Posts: 3,427
In your example (for 2-5 players), player number 2 has control of joystick port 0 (in joystick mode, using keyboard as joystick emulation). Player two should then be able to effectively press LMB by pressing the fire button.

If it is important that also player 1 can do this, you could map a key on the keyboard for player 1 to action_joy_0_fire_button (which is also the mouse button).
FrodeSolheim is offline  
Old 22 January 2013, 11:27   #3
olesio
Registered User
 
Join Date: Apr 2007
Location: Poland
Posts: 337
Ok, thanks for answer. But I would prefer mouse button remap for first player also for right mouse to select 4 player adapter. I tried offline with following entry in configuration file, but nothing happend when I press F2. How to map F1 for left mouse button and F2 for right mouse button if player have no mouse selected in online mode (in offline I have it). How should my entries looks like. I tried latest version of FS-UAE from zip file on FS-UAE web page with dev ver. Thanks in advice and once again sorry for my bad English.
Code:
keyboard_key_F2=action_joy_1_2nd_button
olesio is offline  
Old 22 January 2013, 13:15   #4
FrodeSolheim
FS-UAE Developer

FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 37
Posts: 3,427
Remember that the Amiga reads mouse input from joystick port 0, not joystick port 1, so you'll want to use the joy_0 actions like I said, not joy_1 actions:
Code:
keyboard_key_f1 = action_joy_0_fire_button
keyboard_key_f2 = action_joy_0_2nd_button
(the fact that in your setup, player one uses the joystick in joystick port 1, is irrelevant. The emulated Amiga still reads mouse input from Amiga joystick port 0...)
FrodeSolheim is offline  
Old 22 January 2013, 14:00   #5
olesio
Registered User
 
Join Date: Apr 2007
Location: Poland
Posts: 337
Ok, now works fine. Thank you.
olesio is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patch for "Dyna Blaster" in Anadune HD version. olesio support.Games 2 25 January 2013 17:50
EAB/Lemon Super League 2012: Round 8 - Dyna Blaster Biscuit EAB's competition 19 31 July 2012 23:18
[Found: Dyna Blaster] Bombmania type of game alkis21 Looking for a game name ? 4 03 November 2007 16:36
Problem with Dyna Blaster + Kaillera olesio project.WinUAE - Kaillera 1 01 October 2007 02:11
Just install a tiny push-button on my Amiga keyboard to control AGA/RTG ! keropi Hardware pics 38 25 November 2006 17:02

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06371 seconds with 13 queries