1. Hello Guest! Did you know that we're also on Discord? You can join us here: https://discord.gg/vxqdaG4.
    Dismiss Notice

Project diva homemade controllers

Discussion in 'Tutorial Area - By users for users!' started by nofutur, Jul 20, 2016.

  1. N10248

    N10248 Newbie Player

    Joined:
    Jul 27, 2019
    Messages:
    32
    Likes Received:
    50
    Trophy Points:
    85
    Gender:
    Male
    Location:
    Essex, UK
    #141 N10248, Jul 29, 2019
    Last edited: Jul 29, 2019
    Good because that's what happened.

    It's this cable... (amazon item B0753HBT12)


    And this will go inside the controller to make the wiring easy and allow for it to be disconnected...
    https://www.ebay.co.uk/itm/262896398938

    Does anyone know the pin-out for the serial? the cable on the slider has 3 pins, red, white and black
     
  2. Doctopus

    Doctopus I bought MEGA69 and I regret

    Joined:
    Dec 22, 2017
    Messages:
    203
    Likes Received:
    86
    Trophy Points:
    220
    Location:
    Planet Earth
    #142 Doctopus, Jul 29, 2019
    Last edited: Jul 29, 2019
    Yup this is fine.

    White should be the slider's RX and red should be TX. Black is ground.

    I'm aware of this. The information seems to be mostly legit and it should be easy to implement similar thing but with an arduino and targets brook PS4 fighting board. I could give this a shot although I'm currently focusing more on making my own version of the slider and also an updated version of my controller so this probably needs to wait a bit.
     
  3. N10248

    N10248 Newbie Player

    Joined:
    Jul 27, 2019
    Messages:
    32
    Likes Received:
    50
    Trophy Points:
    85
    Gender:
    Male
    Location:
    Essex, UK
    Great, thanks, once all the parts arive this should be up and running. I was expecting this to take weeks of experimenting and buying an arduino or something.
     
  4. N10248

    N10248 Newbie Player

    Joined:
    Jul 27, 2019
    Messages:
    32
    Likes Received:
    50
    Trophy Points:
    85
    Gender:
    Male
    Location:
    Essex, UK
    #144 N10248, Aug 4, 2019
    Last edited: Nov 9, 2020
    It's alive....

    I'm using PD-loader and had to hex edit the Patches.dva file to remove the slider emulation (as it's done on the fly unlike TLAC which permanantly patches the exe, otherwise it lit up but was ignored by the game.

    [​IMG]

    [​IMG]

    I've made a lower case for it out of a black floating shelf...
    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    The back, 2 extra 24mm sanwas for the 2 service buttons.
    [​IMG]

    USB port for PS360 board, Molex for 12v power from PC and Serial for the slider's data connection...
    [​IMG]
     
  5. v3g4n

    v3g4n Welcome to DIVA!

    Joined:
    Aug 5, 2019
    Messages:
    6
    Likes Received:
    5
    Trophy Points:
    45
    Gender:
    Male
    Location:
    MD, USA
    Are there any detailed instructions for adding Sanwa OBS-M-1 switches (or any other switches) to the Hori Diva X Mini controller?
     
  6. steelpuxnastik

    steelpuxnastik ShinSanwaSwitch is near completement

    Joined:
    Aug 2, 2019
    Messages:
    81
    Likes Received:
    31
    Trophy Points:
    125
    Gender:
    Male
    Occupation:
    useless piece of shit
    Location:
    Mykolaiv, Ukraine
    Home Page:
    https://www.instagram.com/jandevalua/
    Hi! Sorry for my English – I’m from Ukrainian village. I think that I’m a big Project Diva fan, because I play it nearly 10 years on PSP, PS3 and Vita now, but some time ago I found that Project Diva Arcade was leaked from Japanese arcade machines (and I waited for it exactly from that moment I found out what arcade machines are and that games can be merged from them and played on PC, so it’s nearly 10 years too). And at this moment I decided that I need to make arcade controller for Project DIVA Arcade to play it on PC, due to the features of the arcade version of the game and the general interest in playing just like that, and because on dualshock 4 it’s not really comfortable to play, but I was really amazed that game is totally responsive and it’s incredible pleasure that did not get from any version.

    And at first everything looked like pretty easy, because I planned to disassemble USB-keyboard and using matrix keyboard principle simply to solder big buttons (like obsa-100umq, but replica from aliexpress :)) to calculated places on the board of USB-keyboard. But this was only at first, because this was for Project Diva Arcade and at that moment I didn’t know that Future Tone Arcade was leaked too and this radically changes everything (I think so). Radically changes because of new features of Future Tone - slides (or how it’s can be called? because I never played Future Tone on PS4, do not know terminology)

    And why I write all this? I want to ask you about limitations of resources that emulating arcade machine. I want to make everything like on original controller, because I see some people here made an touch panel and I really interested in making of something like this. As I see higher, user N10248 reached result in connecting Original Touch Panel to the game using RS232 and removing the slider emulation. That means that principally touch panel can be used on regular PC. But next question about using not original touch panel, like user phailyoor or like japanese guy did here http://pol.dip.jp/diva/ using PSoC. Can be PSoC 4 that used in that projects connected to the game too and what it needs to it? Can someone approximately feel something about it? Thank you very much
     
  7. Doctopus

    Doctopus I bought MEGA69 and I regret

    Joined:
    Dec 22, 2017
    Messages:
    203
    Likes Received:
    86
    Trophy Points:
    220
    Location:
    Planet Earth
    #147 Doctopus, Aug 10, 2019
    Last edited: Aug 10, 2019
    As long as you have the correct signal type and code it should be possible to use it to control the game.

    (tbh looking from my perspective it's a lot easier to set up a proper slider for AFT than for PS4FT. Making a functional slider that reports back data is just the beginning of getting a very close replica of the arcade slider on PS4 and it's likely impossible to get a true 1:1 replica unless SEGA decided to do something on their side.)
     
  8. steelpuxnastik

    steelpuxnastik ShinSanwaSwitch is near completement

    Joined:
    Aug 2, 2019
    Messages:
    81
    Likes Received:
    31
    Trophy Points:
    125
    Gender:
    Male
    Occupation:
    useless piece of shit
    Location:
    Mykolaiv, Ukraine
    Home Page:
    https://www.instagram.com/jandevalua/
    Yeah, that's understandable. And as I can see and what user N10248 said to me that hackers that making possible to play PDAFT on PC added support for a hardware slider in last unstable versions of PD-loader. And it's already tested by N10248 and everything works. But it official slider, and interesting will work custom slider with it's own code (I want to use projects that people posted before in this thread for PS4, because I really weak in programming, but I hope there is enough mental ability to understand the hardware and assemble it all by myself on the basis of available materials)? It seems that supposedly it should work, but if you don’t try, you don’t recognize, because as you said before "it's likely impossible to get a true 1:1 replica"..
     
  9. WOOSH

    WOOSH Welcome to DIVA!

    Joined:
    Mar 30, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    25
    Hi,
    After reading this thread lots of times I started to make my own controller and I have some question.
    What type of microswitch(not the sanwa photoswitch one) you guys recomend the most??
    I've seen people recomendig the Omron D2MV's but also the Omron V-10-1A4.
    For the slider implementation I decided to go with an arduino and a couple of mpr121. Is there any diffrence in performance when using a cap1188? Since I don't think I need to have the exact same experience as the arcade on a ps4 I'll go with a button based one and not touchpad. However for AFT in keyconfig.ini there is a parameter for the slider speed. Maybe we can play with that and make the arduino report to TLAC the speed that we slide our hand across the slider and make it feel more like the original. Also if we can get the Arduino to communicate with TLAC, it may be possible to implement the same LED patterns and behaviour of the arcade.
     
  10. steelpuxnastik

    steelpuxnastik ShinSanwaSwitch is near completement

    Joined:
    Aug 2, 2019
    Messages:
    81
    Likes Received:
    31
    Trophy Points:
    125
    Gender:
    Male
    Occupation:
    useless piece of shit
    Location:
    Mykolaiv, Ukraine
    Home Page:
    https://www.instagram.com/jandevalua/
    I have some little progress in making arcade controller for PDAFT for PC.
    I fully using project of this japanese guy http://pol.dip.jp/diva/ and if on start I had some doubts about it's connection to PC, but now it's looks very perspective.
    Program for a CY8CKIT-049-42XX used without any changes.
    But program for a Arduino Pro Micro (Leonardo) needed much changes to be used with PC as gamepad, because at start it didn't work at all, with some changes on some pins on code it began to work, but somehow "Circle", "Square", "Triangle" and "Cross" was pressed. I made some changes to get rid of it, but one button always stays pressed in system, because does not fall into the condition, whose logic I do not understand, so I simply cheated and hooked there a button that does not even appear in the system.
    So for now it's ready to assemble, but like a bonus improvement I want to make slider work like a original slider, when you press L / R in song-list - song-list can be scrolled without hand movement, only pressing. Now it works only by moving, if I do not achieve a result in this - i'll simply install physical 45mm buttons for L/R function :))
    To connect slider to a game I used x360ce with such settings and it works, recognizes the touch of one hand and two (but on video I used another settings and another settings in arduino, so it works not fully correct on video, but soon I understand logic of original settings of japanese guy in his arduino program and understand how to apply it to x360ce, so now everything works fine).
    upload_2019-8-30_15-24-29.png
     
    kmidst likes this.
  11. steelpuxnastik

    steelpuxnastik ShinSanwaSwitch is near completement

    Joined:
    Aug 2, 2019
    Messages:
    81
    Likes Received:
    31
    Trophy Points:
    125
    Gender:
    Male
    Occupation:
    useless piece of shit
    Location:
    Mykolaiv, Ukraine
    Home Page:
    https://www.instagram.com/jandevalua/
    I do not know why, but those slider emulation works pretty fine and always it use the necessary speed to be finished just in time when it's needed, so i do not think that's need to be changed especially considering that by default it is a constant. But if you'll figure how - why not?
    But in implementing LED patterns (if I understand you right) no need in connection to TLAC at all - it's all hardware functions (I think even on original slider).
     
  12. WOOSH

    WOOSH Welcome to DIVA!

    Joined:
    Mar 30, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    25
    What I meant was like: when it's loading a song it shines blue; when in song select it's rainbow but the right and left corners shine white...
    I will see if i can get some footage of it.

    Also it seems that SEGA finally decided to make sometinhg serious:

    https://hori.jp/topics/miku_pjd_controller/
    Project DIVA official controller with slider incomming. 5b35fc1718efe4dfa7fd1211e081e482.jpg
     
  13. steelpuxnastik

    steelpuxnastik ShinSanwaSwitch is near completement

    Joined:
    Aug 2, 2019
    Messages:
    81
    Likes Received:
    31
    Trophy Points:
    125
    Gender:
    Male
    Occupation:
    useless piece of shit
    Location:
    Mykolaiv, Ukraine
    Home Page:
    https://www.instagram.com/jandevalua/
    Wow. I think it's real, but very difficult. It's not about TLAC, but PD-loader is more actual now and it's supports hardware slider (especially official slider from official arcade machines) and it needs to monitor COM11-port to see what game sends to slider. But I think, unfortunately, this information can be useless without original source code..

    Yes, only $400$ :)))
     
  14. WOOSH

    WOOSH Welcome to DIVA!

    Joined:
    Mar 30, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    25
    Here in the beginning you can see what I meant


    This is going to be a challange :)
     
  15. N10248

    N10248 Newbie Player

    Joined:
    Jul 27, 2019
    Messages:
    32
    Likes Received:
    50
    Trophy Points:
    85
    Gender:
    Male
    Location:
    Essex, UK
    The game controls all of the lights including the main buttons and light strips at the side of the cabinet, all can be tested via the service menu's output options - even the slider can be forced to show certain colours from here.

    The slider changes colour depending which character is the in selected song, yellow for rin, many colours for a song with more than one person etc..

    Here's a video of mine doing it (1:48) using just pd-loader...



    All of these colour signals are sent by the game all the time (com11 for the slider, maybe other com ports for the buttons and cabinet lights) it's just a matter of identifying them.
     
  16. LanDi

    LanDi Big Debut

    Joined:
    May 15, 2018
    Messages:
    16
    Likes Received:
    4
    Trophy Points:
    40
    #156 LanDi, Aug 31, 2019
    Last edited: Sep 1, 2019
    Exciting news for Diva controller fans this week.

    With the big info dump on MegaMeeks they announced a Hori PS4 and Switch full sized arcade pad with slider bar and everything.
    [​IMG]
    According to the Hori site the slider can either be mapped to Left/Right bumpers like most controllers do or a "dedicated" arcade mode that should emulate the arcade slider bar.

    Info links
    https://hori.jp/topics/miku_pjd_controller/
    https://hori.jp/products/p4/FTDX_con/
    https://hori.jp/products/nsw/PDM39_controller/

    Purchase links with more info
    https://www.horistore.com/index.php/products/detail/12 PS4
    https://www.horistore.com/index.php/products/detail/11 Switch

    Price is high nearly $400 USD and Hori's site does not ship outside Japan so you need to use a proxy service. Also, Hori says they're made to order so presumably there were be very few or no additional units sold past the pre-order phase meaning they'll be relisted for insane amounts of money. Releases early 2020.

    Yuancon Project Diva updates:
    None. It seems it has not started on it or is only barely begun.

    Gamo2 on the same day release a teaser image of the Divaller
    [​IMG]
    There will be multiple customizing options when you order including using Sanwa components like the LSHXF switches etc.
    Price point is "Over $500"
    More info soon. Pre orders start in September, units ship November of this year.
     
  17. steelpuxnastik

    steelpuxnastik ShinSanwaSwitch is near completement

    Joined:
    Aug 2, 2019
    Messages:
    81
    Likes Received:
    31
    Trophy Points:
    125
    Gender:
    Male
    Occupation:
    useless piece of shit
    Location:
    Mykolaiv, Ukraine
    Home Page:
    https://www.instagram.com/jandevalua/
    That's what I said before, that it needs to be monitored through COM11 and signal from it implemented to react with your own code, so it's needed to know all signals or nearly all.

    But in result it's all can be pointless, because now when you activating hardware slider to use COM11 with game - slider emulation do not work. So may be, again, to implement LED-reactions with game through COM11 and your own slider (because it will be not original and most likely will not be able to work with the game like original through COM11) - it's needed to ask creators of PD-loader to implement function of hardware slider and slider emulator work together, but as I know before it had some internal conflicts, that is why when "hardware slider" option activated, even if "slider emulator" activated too - slider emulation do not work.
     
  18. N10248

    N10248 Newbie Player

    Joined:
    Jul 27, 2019
    Messages:
    32
    Likes Received:
    50
    Trophy Points:
    85
    Gender:
    Male
    Location:
    Essex, UK
    The lights work even with the hardware slider option off. the hardware setting in PD-loader is only to send your Inputs to the game. Output signals like the lights are always present so can be captured regardless of the loader settings.

    So "slider emulation" can be used and stil have light signals.
     
  19. Doctopus

    Doctopus I bought MEGA69 and I regret

    Joined:
    Dec 22, 2017
    Messages:
    203
    Likes Received:
    86
    Trophy Points:
    220
    Location:
    Planet Earth
    #159 Doctopus, Aug 31, 2019
    Last edited: Sep 1, 2019
    The protocol is out in the wild, so no need to roll your own slider on top of the emulator.

    http://ryun.halfmoon.jp/touchslider/slider_protocol.html

    I did a "revision" of this in English and fixed some bugs in the original writeup. Will post it soon if anyone is interested.

    Also here is the circuit board design for my version of the slider based on PSoC 4200M. Despite some design rule violations, initial test shows some promising results with and without gloves when finger capacitance is set to a sane value. With some simple programming it's possible to use it to sense the fingers, control NeoPixel-compatible LEDs or even emulating the official slider.

    Nice. The wait is finally over x2 :P

    NO WAY! @Zac Wood didn't get the multiplayer mode he wants but I got native slider mode that I've been waiting for for years?
     
  20. nofutur

    nofutur IYA IYA!!

    Joined:
    May 18, 2016
    Messages:
    212
    Likes Received:
    24
    Trophy Points:
    425
    Location:
    Furansu
    Home Page:
    https://nofutnoheya.wordpress.com/one-day-one-pic/
    Yes that's exciting Gamo2 and now Hori but I think we have to wait to have more informations about the touch slider (it looks thin compared to arcade controller). In fact let's wait for real pictures from every angle (not raw prototype or drawing).
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice