1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. 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 Now a Download Plan!
  3. 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
  4. 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. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Resolved pb gtr2 no data sent

Discussion in 'SimTools DIY Version' started by Oms, Apr 3, 2018.

  1. Oms

    Oms known as "Doc6dof"

    Joined:
    May 30, 2017
    Messages:
    93
    Location:
    France Colomiers
    Balance:
    - 173Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, Arduino, Motion platform
    Hello all, pb wit GTR2, GameEngine do not send data, COULD YOU HELP ME... THANK YOU IN ADVANCE...

    1) I am currently writing arduino code for my Xdof simulator ( https://www.xsimulator.net/community/threads/launching-of-my-6dof-low-cost-dynamic-simulator.11594/ )

    2) As the code is not finished, I check the data sent by GameEngine with an oscilloscope connected to the pin 0 of arduino board = RX (for information I synchronize the packets with specific 5 bytes: 000,FF,85,FF,00, following by the 2 16 bits axis).

    3) When I test the output with the GameEngine, I can see the 4 last bytes change (see the 2 oscilloscope photos, with surge at 0% then surge at 20%), so game engine configuration seems good (see the 3 screen shots: axis assignement, limiting, and interface setting).

    4) Then I have patched GameManager with GTR2 (GTR2_Plugin_2.0.0.2) doing a drag and drop in the PluginAdapter (no error),

    5) But when I play GTR2, GameEngine seems to send nothing (I can see it with the oscilloscope, the 2 axis surge and sway are stucked to 0% !!). Yet all other things seem OK ( "Game running", background blue, written in GameManager, and "Game On", background blue, written in GameEngine... (see the 2 screen shoots)

    What did I forget to configure ??

    surge 0%.jpg

    02 surge 20%.jpg

    03 gtr2 axis assignement.jpg

    04 gtr2 axis limiting.jpg

    05 gtr2 interface setting.jpg

    06 patch gtr2.jpg

    07 game patched.jpg

    08 gtr2 pb part 2.jpg

    09 gtr2 pb.jpg

    099 gtr2 pb.jpg

    Attached Files:

  2. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,214Coins
    Ratings:
    +5,038 / 16 / -0
    Please open the tuning center for Game Engine to see if you have any game data coming in.
    yobuddy
  3. Oms

    Oms known as "Doc6dof"

    Joined:
    May 30, 2017
    Messages:
    93
    Location:
    France Colomiers
    Balance:
    - 173Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, Arduino, Motion platform
    thank you yobuddy, I try that this evening, but as all the applications gtr2, game manager, and game engine) run on the same pc, I need to stop the game to enter in the tuning center, so will I see data in this case ? Or do I have necessarily to use 2 pc connected by ethernet ?
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,551
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,124Coins
    Ratings:
    +10,779 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    You don't need to stop the game while running the Tuning Center to observe if it is registering data, you will want to pause the game if you want to edit Tuning Center values.
  5. Oms

    Oms known as "Doc6dof"

    Joined:
    May 30, 2017
    Messages:
    93
    Location:
    France Colomiers
    Balance:
    - 173Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, Arduino, Motion platform
    ok thank Noorbeast I will pause the game and have a look to tuning center (i have never tried to open it until now)
  6. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,508Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Have you checked this?
  7. Oms

    Oms known as "Doc6dof"

    Joined:
    May 30, 2017
    Messages:
    93
    Location:
    France Colomiers
    Balance:
    - 173Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, Arduino, Motion platform
    Hello Yobuddy and Noorbeast, I have opened the tunining center values -> no datas received, that confirms what I can see on my oscilloscope.
    N.B: I have tried with rFactor, and it is ok with this game, I can see the data received, in the center tuning and also on my oscilloscope.
    So far, do not understand this bug !!
  8. Oms

    Oms known as "Doc6dof"

    Joined:
    May 30, 2017
    Messages:
    93
    Location:
    France Colomiers
    Balance:
    - 173Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, Arduino, Motion platform
    Hello, thanks, I tried, but I did not see an answer to my problem...
  9. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,508Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Well, do you have a line in the file
    …\Steam\SteamApps\common\GTR 2 - FIA GT Racing Game\UserData\<yourname>\<yourname>.PLR reading
    Write Shared Memory="1" // Write game data to shared memory area
  10. Oms

    Oms known as "Doc6dof"

    Joined:
    May 30, 2017
    Messages:
    93
    Location:
    France Colomiers
    Balance:
    - 173Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, Arduino, Motion platform
    I am using a dvd game

    gtr2 directory.jpg
  11. Oms

    Oms known as "Doc6dof"

    Joined:
    May 30, 2017
    Messages:
    93
    Location:
    France Colomiers
    Balance:
    - 173Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, Arduino, Motion platform
    but I have found my name.plr, i will try
  12. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,508Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Well, then check in the fiel C:\GTR2\UserData\<yourname>\<yourname>.PLR
  13. Oms

    Oms known as "Doc6dof"

    Joined:
    May 30, 2017
    Messages:
    93
    Location:
    France Colomiers
    Balance:
    - 173Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, Arduino, Motion platform
    You are a champion Nerd, THAT IS RUNNING !!!!! thanks thanks thanks

    2,21 GIGAWATT available !!!! GREAT SCOTT !!!
    • Like Like x 2
    • Winner Winner x 1