|
|
|||||||
| Home | Register | Downloads | FAQ | Members List | Calendar | Arcade | Mark Forums Read |
» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
Open the champagne !!! I've here a new pad plugin I wrote. It's MegaPad and it uses DirectInput. (the older versions use SDL) This plugin offers, as LilyPad, a complete pad support and many possibilities, but is much simpler than LilyPad. THE OLD VERSIONS (1.3.3 and older) AREN'T SUPPORTED ANYMORE !!! Launch PCSX2, open the plugin config dialog, and select MegaPad in the two Pad plugin lists. Click Configure under one of these lists, to open the GUI. Because you need to configure MegaPad. Here is the description of the GUI: - Pad 1 / Pad 2 tabs: allow to select which pad you want to configure. - Enable pad: uncheck it to disable the pad. It'll behave like the corresponding slot is empty. (Currently unsupported) - Enable force feedback (DualShock II): by unchecking it, you make the corresponding pad behave like a PSX DualShock pad (without force feedback). (Currently unsupported) - Logging: for debugging purposes only. The plugin writes all the events to a file. The 25 buttons in the frame labeled "Buttons" are for button mapping. Basically, you click one of these buttons, then: - if you want to bind it to a key, you press that key - if you want to bind it to a joystick button, you press that button - if you want to bind it to a joystick POV, you press that POV in the desired direction - if you want to bind it to a joystick axis, you move that axis in the desired direction (when doing so, the axis behaves like a pressure-sensitive button, to simulate the pressure stuff) The stuff in the frames labeled "Force feedback - Big/Small motor" isn't supported yet. Version 2.0.0 beta - Complete rewrite - SDL dropped; this version uses DirectInput instead - too much things to tell here... FAQ - I've downloaded version 1.x.x and it doesn't work/crashes/whatever THE LATEST VERSION IS 2.0.0 BETA THE OLDER VERSIONS ARE NOT SUPPORTED ANYMORE BECAUSE THEY ARE CRAP Did I say it loud enough? - I've downloaded version 2.x.x and it doesn't work/crashes/whatever If it crashes, tell me. If it doesn't recognize your joystick at all, try another joystick... If it recognizes your joystick but you can't use it ingame, try another pad plugin. - Where can I get a version for Linux? Nowhere. I don't know if there will ever be one. The version 2.0.0 beta is, as you already know, a beta. If you experience any problems using it, feel free to report them in this thread! But beta doesn't mean crashy or dangerous! Don't be afraid! It won't blow your computer! You can download the plugin in the attachments. Last edited by Luigi__; March 12th, 2010 at 16:17.. Reason: Some clarifications. |
|
|
|
| Advertisement | [Remove Advertisement] | ||
|
|
|
#2 |
|
PCSX2 Coder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2004
Location: Plymouth, UK
Posts: 10,037
|
stickied good job
__________________
http://www.pcsx2.net Intel i7 920 @ 3.4Ghz, POV GTX 570 1.3Gb, 1.8Tb HD space, 6Gb OCZ Reaper PC3-14400 Triple Channel Dont PM me for help, use the forums, thats what its for! My Chip16 Emulator RefChip16 http://code.google.com/p/refchip16/
|
|
|
|
|
|
#3 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
thanks a lot
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jan 2006
Location: Croatia
Posts: 29
|
I have no clue on how to make the plugin work..i put the sdl in the root...but I'm not sure what to do next...
__________________
*Signature pic over size limits of 500x130 and no larger than 25K in size* |
|
|
|
|
|
#5 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
Simply launch pcsx2, run Config and select MegaPad in the pad plugin lists.
|
|
|
|
|
|
#6 |
|
PCSX2 & O/C Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2006
Location: My Computer
Posts: 2,841
|
A new plugin cool. ![]() Unfortunately it's not showing up in the config for me and in console it seems to complain something about line 126 in the MegaPad dll file. It's probably me missing some dll file.
__________________
Intel® Core™2 Duo E8400 @ 4.0GHz «-» Gigabyte P35-DS4 «-» CellShock 2x1GB @ DDR2-1200 5-5-4-10 «-» JetWay 8800GT 512 MB @ 705/1750/1015 MHz «-» Thermaltake ToughPower 750W «-» Sony Multiscan G400 19" CRT «-» OCZ Vendetta 2 «-» Creative SoundBlaster Audigy «-» Logitech X-530 5.1 «-» Sennheiser HD 212 Pro «-» Logitech MX™518 Gaming-Grade «-» Razer Mantis Speed «-» Windows XP Pro SP3 «-» Windows Server 2k8 XSOS 3.0 BETA
|
|
|
|
|
|
#7 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
rpgwizard : put sdl.dll in the pcsx2 root folder. if it does not work put it in the "plugins" folder.
|
|
|
|
|
|
#8 |
|
and why shouldn't I
![]() ![]() ![]() Join Date: Jul 2002
Location: wisconsin
Posts: 305
|
is this windows only?
__________________
windows xp 1.8 gig p4 20 gig hd 40 gig hd 256 mb of ram tnt2 m64 "they can beat us but they can't eat us" |
|
|
|
|
|
#9 | |
|
PCSX2 & O/C Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2006
Location: My Computer
Posts: 2,841
|
Quote:
When I choose configure it shows up a small window with title "PadwinKeyb Msg" and only says "-1 buttons" and this simplified SSSPSX pad plugin gui shows up as in screenshot below.
__________________
Intel® Core™2 Duo E8400 @ 4.0GHz «-» Gigabyte P35-DS4 «-» CellShock 2x1GB @ DDR2-1200 5-5-4-10 «-» JetWay 8800GT 512 MB @ 705/1750/1015 MHz «-» Thermaltake ToughPower 750W «-» Sony Multiscan G400 19" CRT «-» OCZ Vendetta 2 «-» Creative SoundBlaster Audigy «-» Logitech X-530 5.1 «-» Sennheiser HD 212 Pro «-» Logitech MX™518 Gaming-Grade «-» Razer Mantis Speed «-» Windows XP Pro SP3 «-» Windows Server 2k8 XSOS 3.0 BETA
Last edited by RPGW1ZaRD; September 27th, 2007 at 11:30.. |
|
|
|
|
|
|
#10 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
paulsy : yes it is windows only for the moment. Maybe it will be for linux later, I don't have linux. rpgwizard : i'm sorry i surely put one of my first builds. The dll in the zip was 27 kb heavy whereas the good dll is 632 kb heavy. I changed the attachments of the first post. Last edited by Luigi__; September 27th, 2007 at 18:15.. |
|
|
|
|
|
#11 |
|
Moving into the beat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2004
Location: Perpetual Hawaii
Posts: 11,269
|
Way to go, Ngry ![]() Putting fixed DLL and new versions in first post would give it more visibility. For Linux, trying with Ubuntu seems a fine idea. Free CD's+Free shipping too
|
|
|
|
|
|
#12 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
hard core rikki : I put the good dll in the first post. I remember why I provided a wrong dll : I took the dll which was in the release folder, but I configured visual studio to build the dll directly in the plugins folder of pcsx2 a long time ago, so the dll in this folder was an old dll. I forgot to tell you the first time you launch the gui, you must select the axis sensitivity (blank because the ini file does not exist yet), click ok, close the plugin selection window and then re-launch the gui. I will work to solve this in the next version. I want to wait having at least 3-4 bugs in my bug report. I won't release a new version each time somebody tell me there is a bug, because Megapad is relatively young and could have many bugs I haven't noticed. Last edited by Luigi__; September 27th, 2007 at 19:28.. Reason: Automerged Doublepost |
|
|
|
|
|
#13 | |
|
PCSX2 Coder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2004
Location: Plymouth, UK
Posts: 10,037
|
Quote:
if you wanna be doubly sure, stick it in your windows\system32 directory.
__________________
http://www.pcsx2.net Intel i7 920 @ 3.4Ghz, POV GTX 570 1.3Gb, 1.8Tb HD space, 6Gb OCZ Reaper PC3-14400 Triple Channel Dont PM me for help, use the forums, thats what its for! My Chip16 Emulator RefChip16 http://code.google.com/p/refchip16/
|
|
|
|
|
|
|
#14 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
Here is a new version of megapad with 2 little fixes : version 1.1.0 The 2 problems were on the first launch of the plugin. -Axis sensitivity list was blank, now it is set on the default value "normal". -On the first launch config was not saved, now it is, you don't need anymore to re-launch the gui to get config saved. If you are interested by technical details, see bugreport.txt in the zip. For visibility reasons I put the attachment in the first post. Last edited by Luigi__; September 29th, 2007 at 09:13.. Reason: visibility |
|
|
|
|
|
#15 |
|
Registered User
Join Date: Sep 2007
Location: USA
Posts: 10
|
Would this be the plug-in to use with a game pad?
Thanks for the plug-in. I just want to make sure I understand the purpose of it: would it be the sort of plug-in one would use to configure, say, a game pad like this one for use with PCXS2? Thank you, Michael |
|
|
|
|
|
#16 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
Yes, I have myself a Logitech Cordless Rumblepad 2. My plugin supports up to 5 gamepads and, for each gamepad, all its buttons, 4 of its povs and all of its axes. This plugin supports mouse, keyboard and 5 gamepads !!! ps : my plugin does not support vibration yet, but the sdl does not support vibration yet too... When it will support vibration, I will try to implement it in my plugin. This plugin is here to make some rivalry to ssspsxpad. As I said in the first post, this plugin offers, as ssspsxpad, a complete pad support, except it has more options. As with ssspsxpad, you can : -use gamepads. -bind axes to buttons (i've implemented a feature : if you do this, this axis will be considered as a pressure-sensitive button, the axis value will be the pressure). -bind buttons to buttons. -bind axes to axes. -bind keys to buttons. Now i've implemented some features : -As said upper, the feature of axes and pressure-sensitive buttons. -Mouse support (based on the GS window, works better than padwinkeyb mouse support, but could not work very well, it's experimental and it was quite hard to implement), ssspsxpad does not allow you to map another thing than axes to axes, so if you want to use the analogs with ssspsxpad you must have a gamepad, with padwinkeyb you can only use joystick buttons. With my plugin press any key while mapping an axis and the mouse will be bound to the selected axis. -Some options: -Axis sensitivity for the joystick axes. -Logging (for debugging purposes) -Always show cursor, so you can see the cursor with ZeroGS. -Low-visibility cross cursor, so you don't have to see the arrow cursor. Last edited by Luigi__; September 29th, 2007 at 21:33.. Reason: Automerged Doublepost |
|
|
|
|
|
#17 |
|
PCSX2 & O/C Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2006
Location: My Computer
Posts: 2,841
|
Found a problem, it's only allowing 1 direction key at the moment to be pressed so you can't get those smooth movements which is crucial for enjoyable gaming. So you cannot first press down and then press down and right after and then release down button to move in right direction for example. With this plugin it won't work. Also I noticed switching save states would switch it 2 steps when both pad1 and pad2 are selected as megapad, an option to "disable pad2" within the plugin would be good.
__________________
Intel® Core™2 Duo E8400 @ 4.0GHz «-» Gigabyte P35-DS4 «-» CellShock 2x1GB @ DDR2-1200 5-5-4-10 «-» JetWay 8800GT 512 MB @ 705/1750/1015 MHz «-» Thermaltake ToughPower 750W «-» Sony Multiscan G400 19" CRT «-» OCZ Vendetta 2 «-» Creative SoundBlaster Audigy «-» Logitech X-530 5.1 «-» Sennheiser HD 212 Pro «-» Logitech MX™518 Gaming-Grade «-» Razer Mantis Speed «-» Windows XP Pro SP3 «-» Windows Server 2k8 XSOS 3.0 BETA
|
|
|
|
|
|
#18 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
Okay, if you really want to bind directional keys or numpad to analogs, i will implement it in the next version. If you want to disable pad 2 in megapad, simply select another plugin for pad 2. I think it will be implemented in the next version too. ps : your "problem" is not a problem : there are 2 direction per axis : X : horizontal Y : vertical You can bind them to the Mouse or to a joystick axis.
__________________
Luigi__'s website - now open! -- If you're wondering where Mario__ is, he is currently saving Peach__ once again. Last edited by Luigi__; September 30th, 2007 at 18:41.. Reason: Automerged Doublepost |
|
|
|
|
|
#19 | |
|
PCSX2 & O/C Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2006
Location: My Computer
Posts: 2,841
|
Quote:
But I thought at least D-pad movement would have to behave in that way as even the ps2 controller on a real ps2 controller would be able to do that what I specified as a problem.But it's up to you of course how "univeral" you want to make this plugin, there are already TwinPad and Lilypad which are excellent for us keyboard users. Lilypad also has pad/joystick support if I'm not mistaken but TwinPad is purely made only for keyboard users. So of course you can choose this plugin to be targeted for pad users, it's just matter of which aproach you decide to go and how much time you want to spend onto it.
__________________
Intel® Core™2 Duo E8400 @ 4.0GHz «-» Gigabyte P35-DS4 «-» CellShock 2x1GB @ DDR2-1200 5-5-4-10 «-» JetWay 8800GT 512 MB @ 705/1750/1015 MHz «-» Thermaltake ToughPower 750W «-» Sony Multiscan G400 19" CRT «-» OCZ Vendetta 2 «-» Creative SoundBlaster Audigy «-» Logitech X-530 5.1 «-» Sennheiser HD 212 Pro «-» Logitech MX™518 Gaming-Grade «-» Razer Mantis Speed «-» Windows XP Pro SP3 «-» Windows Server 2k8 XSOS 3.0 BETA
Last edited by RPGW1ZaRD; September 30th, 2007 at 19:06.. |
|
|
|
|
|
|
#20 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
Okay, it will be implemented in the next version. Also, I always though play PS2 games with a keyboard would be masochism. I prefer play with a gamepad. Everyone play as he wants !
__________________
Luigi__'s website - now open! -- If you're wondering where Mario__ is, he is currently saving Peach__ once again. Last edited by Luigi__; September 30th, 2007 at 19:07.. Reason: Automerged Doublepost |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|