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

Question Getting motion values from games

Discussion in 'SimTools Plugins' started by SwissDeadCow, Feb 16, 2017.

  1. SwissDeadCow

    SwissDeadCow New Member

    Joined:
    Feb 12, 2017
    Messages:
    8
    Location:
    Schweiz
    Balance:
    811Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hi guys

    I tried to get some usable values for forces out of the game Vector 36.
    The game is really cool and it would be so crazy to get some motion out of it :)
    Unfortunately, the developer of this game wasn't very helpful, when I asked about some help.
    I asked, if there is a way to show debugging values as ingame overlay or even better, to code an output in "outsim"-protocol style. He only wants to, if he finds an easy plugin for unity. I think he don't want to code his own.

    So I looked myself to get the values from the game with "cheat engine".

    The only pointer I got, is "speed" as there is a display in the ingame cockpit.

    Does anyone know, if there is a tool to get the needed values "automatically"?
    Or is there another clever method to get it?

    Regards
    Tom
  2. SilentChill

    SilentChill Problem Maker

    Joined:
    Jul 19, 2014
    Messages:
    2,619
    Occupation:
    Railway Maintenance
    Location:
    Morecambe, Lancashire, England
    Balance:
    20,400Coins
    Ratings:
    +3,480 / 34 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF

    Find a number you want and search for it in cheat engine. Then search more and more until you narrow it down to a few results. Then find out the base address for that location and do a pointer scan for that address and remember any +- any offset. Then when you have your result you need to restart the game shut down the PC restart lots and lots of times and rescan everytime until the pointer list has a few results. You then use these results and put them into a plugin, the guides are here in the FAQ how to do that and how to find pointers.

    If its a Matrix you find need to do the calculations to create the values that we need for motion.

    Sounds simple and it is........................................ not lol :D

    p.s. Finding speed is a very simple scan finding matrx's and other values can be very tiresome especially when you have no idea what your looking for
    • Informative Informative x 1
  3. SwissDeadCow

    SwissDeadCow New Member

    Joined:
    Feb 12, 2017
    Messages:
    8
    Location:
    Schweiz
    Balance:
    811Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Thanks for your answer.
    And that's exactly the point, where I'm stuck...
    I already have found the correct pointer for the speed, as this was easy to find... :D
    But the other ones are really hard.

    What do you think about this method?

    What we can do, if there are NO displayed forces ?
    This is the hardest way to find some movement. Therefore the cheat engine and Artmoney can search for unknown values (drop boxes) or changed values. You then can drive your car hard left and pause the game. Now the cheat engine make a virtual backup of the memory. Unpause the game and drive hard right. Pause again and the cheat engine will compare the memory to find the changes. You have to do this very often. The found values will get less with each search you do. It is very difficult, because you have to insure, that you really drive HARD left or right, because if the force is not really defined you loose your search result with one bad search. You can find longitudinal and lateral forces with this procedure, vertical forces are not really to get.
  4. SilentChill

    SilentChill Problem Maker

    Joined:
    Jul 19, 2014
    Messages:
    2,619
    Occupation:
    Railway Maintenance
    Location:
    Morecambe, Lancashire, England
    Balance:
    20,400Coins
    Ratings:
    +3,480 / 34 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    Yep thats kinda what you need to do depends what type of game ;)
  5. SwissDeadCow

    SwissDeadCow New Member

    Joined:
    Feb 12, 2017
    Messages:
    8
    Location:
    Schweiz
    Balance:
    811Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    damn, this will be a lot of work :D
    • Agree Agree x 1
  6. SilentChill

    SilentChill Problem Maker

    Joined:
    Jul 19, 2014
    Messages:
    2,619
    Occupation:
    Railway Maintenance
    Location:
    Morecambe, Lancashire, England
    Balance:
    20,400Coins
    Ratings:
    +3,480 / 34 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    I have had a go getting the pointers in Vector36 I got what i wanted got the full 6DOF working but could not get a stable pointers at all for a rotation matrix and velocity. Good luck with trying to get them.

    If you manage to get stable pointers let me know them and i will see what I can do but I wasted 3 hours trying
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,539
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,052Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 1
    • Informative Informative x 1
  8. SilentChill

    SilentChill Problem Maker

    Joined:
    Jul 19, 2014
    Messages:
    2,619
    Occupation:
    Railway Maintenance
    Location:
    Morecambe, Lancashire, England
    Balance:
    20,400Coins
    Ratings:
    +3,480 / 34 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    • Like Like x 1
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,539
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,052Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    It is a pity the project did not proceed further, it would likely help a great deal in getting native motion support as VR has really boosted dev interest.
  10. SwissDeadCow

    SwissDeadCow New Member

    Joined:
    Feb 12, 2017
    Messages:
    8
    Location:
    Schweiz
    Balance:
    811Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Thanks, buddies.
    I looked in to the concept of the plugin. Unfortunately, I'm not yet an Unity programmer.
    Not yet :cool:

    But I sent the link to the game developer. Maybe he's able to extend it.
  11. ferslash

    ferslash Active Member

    Joined:
    Feb 8, 2011
    Messages:
    495
    Balance:
    4,798Coins
    Ratings:
    +181 / 2 / -0
    woow looks like a grate game, send a mail to the guy that makes the plugins in the forum (i forgot his name) :(
  12. SilentChill

    SilentChill Problem Maker

    Joined:
    Jul 19, 2014
    Messages:
    2,619
    Occupation:
    Railway Maintenance
    Location:
    Morecambe, Lancashire, England
    Balance:
    20,400Coins
    Ratings:
    +3,480 / 34 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 6DOF
    ?
    • Funny Funny x 2