1. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Download Package Now!
  2. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  3. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant here. Do not following these rules will lead to permanent exclusion from this website: Read the forum rules.

Help to create plugin for FURIDASHI: Drift Cyber Sport

Discussion in 'SimTools Plugins' started by AntonGTR, Mar 12, 2018.

  1. Daguru

    Daguru Rally drivers do it in the mud

    Joined:
    Sep 4, 2013
    Messages:
    526
    Occupation:
    window cleaner
    Location:
    Wales uk
    Balance:
    450Coins
    Ratings:
    +499 / 0 / -0
    My Motion Simulator:
    2DOF
    Screenshot_20180315-054910.png
    • Informative Informative x 1
  2. AntonGTR

    AntonGTR New Member

    Joined:
    Feb 24, 2018
    Messages:
    14
    Location:
    Moscow Russia
    Balance:
    163Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    3DOF
    Hey,

    Thanks to yobuddy for Professional License!
    I have tried the plugin and test with Output Testing>Virtual Axis.
    It seems that everything works OK. But I do not have the equipment to check in action.
    Can someone test and leave a review?

    We can add the necessary data such as speed, RPM, gear and the position of the four suspensions. But let's define their format.

    struct
    {
    uint32_t signature; // allways 0xA394143F
    uint32_t game_id; // allways 0x0F
    float pitch; // forward-backward angle in radians
    float roll; // left-right angle in radians
    float headings; // angle of rotation around the vertical axis in radians
    float acc_longitude; // acceleration along the longitudinal axis, in g
    float acc_latitude; // acceleration along the latitude axis, in g
    float acc_vertical; // acceleration along the vertical axis, in g
    //the new_begin
    float traction_loss; // 0..1 - IS THIS AN ANALOG OF TYRES SKID SOUND VOLUME?
    float suspension_0_height; //front right wheel // 0..1, 0 is minimum height, 1 is maximum height - IS THIS OK???
    float suspension_1_height; //front left wheel // 0..1, 0 is minimum height, 1 is maximum height - IS THIS OK???
    float suspension_2_height; //rear right wheel // 0..1, 0 is minimum height, 1 is maximum height - IS THIS OK???
    float suspension_3_height; //rear left wheel // 0..1, 0 is minimum height, 1 is maximum height - IS THIS OK???
    float speed; // >=0 in kmh or mph (in game settings) - IS THIS OK???
    float RPM; // 0..1 OR 0..8650 - ???
    int32_t gear; //1-6 gear = 1..6; N gear = 0; R gear = -1 - IS THIS OK???
    //the new_end
    } MotionData;
  3. noorbeast

    noorbeast VR - The Next Generation Staff Member Moderator

    Joined:
    Jul 13, 2014
    Messages:
    13,459
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    101,626Coins
    Ratings:
    +8,466 / 41 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  4. AntonGTR

    AntonGTR New Member

    Joined:
    Feb 24, 2018
    Messages:
    14
    Location:
    Moscow Russia
    Balance:
    163Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    3DOF
  5. AntonGTR

    AntonGTR New Member

    Joined:
    Feb 24, 2018
    Messages:
    14
    Location:
    Moscow Russia
    Balance:
    163Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    3DOF
    • Like Like x 2
  6. noorbeast

    noorbeast VR - The Next Generation Staff Member Moderator

    Joined:
    Jul 13, 2014
    Messages:
    13,459
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    101,626Coins
    Ratings:
    +8,466 / 41 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Sorry about that, I have updated the FAQ direct download link.
    • Like Like x 1
  7. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    3,647
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    29,482Coins
    Ratings:
    +3,687 / 10 / -0
    Hi @AntonGTR,
    One really cool thing about SimTools is it was built to wrap around the game.
    Instead of the game having to wrap around SimTools.

    Meaning "float suspension_0_height; //front right wheel // 0..1, 0 is minimum height, 1 is maximum height" would be fine, as we can scale the input to anything SimTools requires in the plugin itself.

    With that said thou I do see a couple of observations that may make it easier for a plugin to be made.

    Traction loss technically is the difference in the way the vehicle is heading the the direction it is traveling.
    Most likely this is how you drive the skidding sound?
    Let me let @value1 chime in here as his math skills are > than mine.
    I'm not quite sure what he was looking for here and I don't want to tell you the wrong value.

    float suspension_FL (-1000 to 1000 would be perfect.)
    float suspension_FR (but anything is useable)
    float suspension_RR
    float suspension_RL

    Yes.
    GameDash has the ability to use 'Edit Commands' to translate it to anything the user wants for output.
    For instance, if the output was in kmh, then we would use this Edit Command:
    MATH * 0.621371 (and we would get Mph.)

    The same value shown on the dashboard of the car.
    0..8650 or wherever the vehicle tops out.

    Yes, either is fine as GameDash can make Edit Commands to replace the R with a -1 and the N with a 0. And GameVibe sees the R as a -1 and the N as a 0.
    (but N gear = 0; R gear = -1 probably makes thing easier for the user overall)

    Hope this helps buddy!
    yobuddy
    • Like Like x 1
    • Informative Informative x 1
    Last edited: Mar 15, 2018
  8. AntonGTR

    AntonGTR New Member

    Joined:
    Feb 24, 2018
    Messages:
    14
    Location:
    Moscow Russia
    Balance:
    163Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    3DOF
    Hey!

    We have updater version on Steam!
    Now available 2 formats of telemetry data. Please see below.

    struct
    {
    uint32_t signature; // allways 0xA394143F
    uint32_t game_id; // allways 0x0F
    float pitch; // forward-backward angle in radians
    float roll; // left-right angle in radians
    float headings; // angle of rotation around the vertical axis in radians
    float acc_longitude; // acceleration along the longitudinal axis, in g
    float acc_latitude; // acceleration along the latitude axis, in g
    float acc_vertical; // acceleration along the vertical axis, in g
    } MotionDataFormatA;

    struct
    {
    uint32_t signature; // allways 0xA394143F
    uint32_t game_id; // allways 0x0F
    float pitch; // forward-backward angle in radians
    float roll; // left-right angle in radians
    float headings; // angle of rotation around the vertical axis in radians
    float acc_longitude; // acceleration along the longitudinal axis, in g
    float acc_latitude; // acceleration along the latitude axis, in g
    float acc_vertical; // acceleration along the vertical axis, in g

    float traction_loss; // 0..1 - this is an analog of tyres skid sound volume
    float suspension_FR; //front right wheel // 0..1, 0 is minimum height, 1 is maximum height
    float suspension_FL; //front left wheel // 0..1, 0 is minimum height, 1 is maximum height
    float suspension_RR; //rear right wheel // 0..1, 0 is minimum height, 1 is maximum height
    float suspension_RL; //rear left wheel // 0..1, 0 is minimum height, 1 is maximum height
    float speed; // >=0 in kmh or mph (in game settings - Gameplay>Units)
    float RPM; // 0..1 // 0 - engine min RPM, 1 - engine max RPM
    int32_t gear; //1-6 gear = 1..6; N gear = 0; R gear = -1
    } MotionDataFormatB;

    Please modify the plugin and test it. Is everything OK?
    Can someone record a video of how the game works on the simulator - we would be happy to add this video as a trailer to Steam.

    Big Thanks to SimTools community!

    Additional giveaways of Steam keys.
    FURIDASHI: Drift Cyber Sport Steam keys:
    ZFDER-TVXJR-0QEA5
    DCT54-ZDN7P-AGPXL
    7ERLH-MF3TP-BG4R6
    LAWDD-5N22N-3JC2K
    CY046-AIEZ0-TPJCY

    Premium cars pack#2
    NV3CK-74VA5-K38G3
    DWMCN-2AJT4-CHX9I
    93BFH-7GEKV-VREHX
    C0BDT-RHEMQ-H8NZC
    RAXBI-KG39G-7HCI9
    FQEYK-9L8CE-TLJLQ
    7LRVF-QIELH-IAQ6H
    A4ILV-6TMNZ-T2TF5
    T7NGI-I60HL-FD2G5
    Z6IHY-40ZQ7-HFW4H
    • Winner Winner x 5
    • Like Like x 1
  9. Daguru

    Daguru Rally drivers do it in the mud

    Joined:
    Sep 4, 2013
    Messages:
    526
    Occupation:
    window cleaner
    Location:
    Wales uk
    Balance:
    450Coins
    Ratings:
    +499 / 0 / -0
    My Motion Simulator:
    2DOF
    Awesome !!!
    • Agree Agree x 1
  10. insanegr

    insanegr !N$@n€

    Joined:
    Jan 14, 2014
    Messages:
    510
    Location:
    Athens
    Balance:
    16,574Coins
    Ratings:
    +491 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    thanks for the steam keys giveaways:thumbs
    i used
    7ERLH-MF3TP-BG4R6 and
    93BFH-7GEKV-VREHX
    MPFVC-ZX47H-3B3FW
    • Winner Winner x 1
  11. value1

    value1 Nerd Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,136
    Location:
    Zug, Switzerland
    Balance:
    7,083Coins
    Ratings:
    +3,105 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Here we go: Updated with the additional data structure.
    The plugin works with Format A and B.
    Feedback welcome!

    Attached Files:

    • Like Like x 1
  12. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    3,647
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    29,482Coins
    Ratings:
    +3,687 / 10 / -0
    Thanks for the keys @AntonGTR! :thumbs
    I used: Z6IHY-40ZQ7-HFW4H
    yobuddy
    • Like Like x 1
  13. AntonGTR

    AntonGTR New Member

    Joined:
    Feb 24, 2018
    Messages:
    14
    Location:
    Moscow Russia
    Balance:
    163Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    3DOF
    Thank You all!
    Please add FURIDASHI: Drift Cyber Sport to plugin list.

    Can I get plugin source for internal testing?
    And can I get SimTools logo to use it in the game to show our players that FURIDASHI supports by SimTools?
  14. value1

    value1 Nerd Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,136
    Location:
    Zug, Switzerland
    Balance:
    7,083Coins
    Ratings:
    +3,105 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Hi Anton
    I've added the plugin to the resources and in the plugin thread.
    Attached you also find the source for the plugin.

    Thank you so much for your support. A pleasure working with you :cheers

    Attached Files:

    • Like Like x 1
    • Winner Winner x 1
  15. prodigy

    prodigy Burning revs

    Joined:
    Oct 27, 2013
    Messages:
    436
    Location:
    Croatia
    Balance:
    6,427Coins
    Ratings:
    +379 / 4 / -0
    My Motion Simulator:
    2DOF, SCN5
    Wow, thanks @AntonGTR for the keys :thumbs

    I have used:
    T4NDR-YFYEE-WRP48
    CCNVB-NXNZ3-6EEDG
  16. Blame73

    Blame73 Yet it moves!

    Joined:
    Nov 6, 2014
    Messages:
    1,137
    Location:
    Italy
    Balance:
    8,055Coins
    Ratings:
    +995 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Thank you very much!
    I used CY046-AIEZ0-TPJCY and T7NGI-I60HL-FD2G5

    Installing right now (and waiting for VR support)!
    • Like Like x 1
  17. Historiker

    Historiker Dramamine Adict Staff Member Moderator Gold Contributor

    Joined:
    Dec 16, 2010
    Messages:
    1,872
    Occupation:
    Teacher/Cabinet Maker
    Location:
    Michigan USA
    Balance:
    9,549Coins
    Ratings:
    +1,755 / 12 / -1
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    I cannot comment on the game (yet) but I do want to mention that this is the best game dev/motion community outreach that I have seen. Thank you very much for talking directly to the community to help develop your game.

    I wish all game developers were this forward thinking.

    @AntonGTR, well done! :thumbs
    • Agree Agree x 3
    • Friendly Friendly x 1
  18. AntonGTR

    AntonGTR New Member

    Joined:
    Feb 24, 2018
    Messages:
    14
    Location:
    Moscow Russia
    Balance:
    163Coins
    Ratings:
    +19 / 0 / -0
    My Motion Simulator:
    3DOF
    Thank You all guys!
  19. PiaMan

    PiaMan Active Member

    Joined:
    Aug 2, 2015
    Messages:
    196
    Location:
    Saskatchewan, CANADA
    Balance:
    514Coins
    Ratings:
    +129 / 2 / -0
    My Motion Simulator:
    3DOF, DC motor, SCN5, Arduino
    thank you.

    i used W007Y-VKT7P-YMF3D
    and
    8TYZL-V0X7P-WQKA7

    cheers!
    • Like Like x 1
  20. dr.feelgood

    dr.feelgood Member Gold Contributor

    Joined:
    Apr 17, 2017
    Messages:
    80
    Location:
    FINLAND
    Balance:
    369Coins
    Ratings:
    +41 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hi!
    Great handout from a game developer... I snached code WR768-E5HL2-T0A2H

    Thank You!

    Addition: used also code: 7LRVF-QIELH-IAQ6H
    • Agree Agree x 1
    Last edited: Mar 26, 2018