06-27-2007, 06:48 PM
|
#1 | |
|
Member
|
Post rating: rate
Like many others, lured by "DDR dancing controller is compatible" information in what they call it "features", I thought I'm another victim of Dilong Pu203 PS pad convertor.
Day of testing with different drivers and other stuff with no result and then I found something, what is already posted here: http://www.stepmania.com/boards/view...ighlight=pu203 So values were different if both opposite arrows were pressed Quote:
And then I have written simple code in AutoHotkey thingy. It converts dance mat arrows to keyboard arrows, so all you have to do is launch program before you run stepmania, and set stepmania to use keyboard arrows. -------------------------Old version---------------------------- Here is compiled script: http://www.geocities.com/lunaqix/Stepmania/RunSM.zip (If your dance mat isn't properly detected, you have to use .ahk script file below and edit joystick number before run) And here is .ahk file with script if you want to edit something (you need free AutoHotkey program to use it) : http://www.geocities.com/lunaqix/Ste...AxisScript.zip I hope it will also work with some other unsupported convertors. Even if not, I think with some it may be possible with little script modifications. ------------------------- Nevest Version----------------------- http://www.stepmania.com/boards/view...?p=30931#30931 ----------------- So far we know fix supports---------------- -Dilong pu203 -Radioshack Playstation to USB adapter (the 26-304 version) |
|
|
|
07-03-2007, 12:11 AM
|
#4 |
|
Member
|
Post rating: rate
It also works with both platforms :D ! I added to the script, so it fakes the other joystick controller using the keys 1, 2, 3, 4. Works great ! Here are the files : www.mikbox.com/arcade/SMHotKeys
One thing about the whole 127 vs 128 solution: You will have to calibrate your joysticks in the control panel first, otherwise the center might not be 127/127. |
|
|
07-06-2007, 08:03 PM
|
#5 |
|
Member
|
Post rating: rate
i tried both fixes, but each time i run the script it begins flooding the system with the up command. when i open firefox or the start menu, the search box fills with 1's and 3's. i realize this means the problem has probably been fixed, but i cant choose a song like this...
help!!! also, just checked to make sure it wasnt my pad and its not. the adapter goes crazy regardless of anything being plugged into it |
|
|
07-06-2007, 08:55 PM
|
#6 | |
|
Member
|
Post rating: rate
Quote:
Script still need some fixes. Too bad problems mostly depend on system and drivers, becouse it works pretty good on my 2 computers so it may be hard to find bugs. But I have some new ideas for improvements so we will see :) |
|
|
|
07-07-2007, 07:26 AM
|
#7 |
|
Member
|
Post rating: rate
i cant calibrate while the script is running, it keeps constantly switching to the first tab in the game controllers window. calibration without the script does nothing :(
im lazy! i dont wanna have to order another adapter... btw (if it matters) im running vista ultimate 32bit |
|
|
07-08-2007, 08:38 PM
|
#8 | |
|
Member
|
Post rating: rate
Quote:
Anyway new version of script is ready, now it should not send anything while there is nothing pressed and it supports second joypad remaped as w,a,s,d, buttons. Only problem is with second joypad auto detection, I wasn't sure if it works so it's tuned off for now, and if your second dance mat isn't on 2nd port then you have to change it manually in script file. It's also possible to autorun Stepmania while script beign launched, and script may auto turn off after you exit stepmania. Its possible by deleting some ";" (comments) in script file (Must be in same directory with StepMania.exe). Files: exe http://www.geocities.com/lunaqix/Ste.../SMAxisEXE.zip script http://www.geocities.com/lunaqix/Ste...MAxisRemap.zip ------------------------------------------------------- Thanks mik, I have completly forgot about 2nd dance mat while was working on first version of script. |
|
|
|
07-10-2007, 09:16 AM
|
#9 |
|
Member
|
Post rating: rate
still not working :(
now it floods with a's and w's. also constantly goes up, like when im in a window with several items it will persistently head toward the top item, and when im scrolling thru the songs in SM it will try to go left, but slowly enough so that i can tap right much faster than it scrolls (an improvement over the last script, in which i could only keep it on a song) i thought that it might just be the 2nd controller that was messed up so i edited out that section of code, but that changed lots of nothing (i did have fun looking at the code tho :D) and yes, it seems to be calibrated fine. 127 127 and whatnot |
|
|
07-10-2007, 02:48 PM
|
#10 |
|
Member
|
Post rating: rate
Seems it may be vista what is making problems here. Probably it's something with Send, SendInput command but I'm not sure becouse it looks like it's ignoring every "if" condition.
Did some really small fixes in last script, but i doubt it will help. You can try this script http://www.geocities.com/lunaqix/Ste...JoyKeyTest.zip to check values sent by adapter and compare them with conditions simmilar to Code:
if joyx<49.999 Code:
;ToolTip, %JoyNo% `n %joyx% `n %joyy% Also try to remove Code:
if joyxP != %joyx% Code:
if joyx >= 0 And last thing, maybe turning on XP compatibility will help. |
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|