Shared Memory API

Discussion in 'Community Workshop' started by Mikael Hermansson, Jun 7, 2015.

  1. Andy Blade

    Andy Blade Well-Known Member

    Joined:
    Feb 21, 2016
    Ratings:
    +302 / 0 / -0
    Dont forget he has donate button boys !!! ;)
     
    • Like Like x 1
  2. silvanob2

    silvanob2 Active Member

    Joined:
    Nov 2, 2015
    Ratings:
    +25 / 0 / -0
    @mr_belowski
    Well i just did 10 min driving and so far everything seems fine, i dindt notice the 10ms lag but after some time i can tell you more.
    and no i wasent throwed out the window :D
    Nice work indeed, you just saved R3E for a few of us,
    a big thank you Mr B :)
     
  3. silvanob2

    silvanob2 Active Member

    Joined:
    Nov 2, 2015
    Ratings:
    +25 / 0 / -0
    I didnt forgot that ;)
     
  4. Andi Goodwin

    Andi Goodwin Moderator Beta tester

    Joined:
    Jan 16, 2015
    Ratings:
    +790 / 0 / -0
    dont forget guys to email/cotact your hardware suppliers so that they also do it ...

    Andi
     
  5. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Now it's confirmed that it works, I'll add the timing data tomorrow, and some other bits and bobs and upload it all to github, time permitting. Andi - I know this is just a temporary hack that really shouldn't be necessary. It's annoying and very disappointing that some of these premium hardware vendors seem reluctant to support their expensive hardware in a timely fashion.
     
    • Agree Agree x 3
    • Like Like x 2
  6. Gopher04

    Gopher04 Well-Known Member

    Joined:
    Mar 6, 2015
    Ratings:
    +237 / 0 / -0
    Any screens of the App please?
     
  7. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Screens of what? My little workaround app? It's just a black command window
     
  8. Gopher04

    Gopher04 Well-Known Member

    Joined:
    Mar 6, 2015
    Ratings:
    +237 / 0 / -0
    Ok.
     
  9. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    OK, uploaded my baaad code ti Github here:

    https://github.com/mrbelowski/R3EMemoryTranslator

    There's a Builds folder with the latest build - I added mappings for "LapTimePreviousSelf", "LapTimeCurrentSelf", "LapTimeBestSelf", "TimeDeltaFront", "TimeDeltaBehind" and "CutTrackWarnings"
     
    • Like Like x 1
  10. Sascha Reynders

    Sascha Reynders Well-Known Member

    Joined:
    Feb 18, 2016
    Ratings:
    +109 / 0 / -0
    You almost make me want to get out of my comfy couch, leave my glass of red wine on the table and go try it out...but alas: it'll be for another day :D But seriously, thanks again for all the time and effort you put into all of this, it's much appreciated !
     
  11. silvanob2

    silvanob2 Active Member

    Joined:
    Nov 2, 2015
    Ratings:
    +25 / 0 / -0
    @mr_belowski
    great addition really, thanks for all this your doing.
    there is something strange tho, when i use your trick-app, i cant use crewchief V3 at same time, it doesent work and crash everytime.
    got any ideas why?
     
  12. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Yeah, the hack just populates part of the 'old' shared memory, so any apps expecting to find sensible values in, for example, the opponent-data area or track-name area are going to see nulls or garbage. Unless these apps are defensively coded to not barf when presented with broken / missing data, they'll just fall in a big heap. Which is exactly what CrewChief V3 is doing.

    Why are you using V3?
     
  13. silvanob2

    silvanob2 Active Member

    Joined:
    Nov 2, 2015
    Ratings:
    +25 / 0 / -0
    I see....well i am using V3 because it was allways working, dindt know there is a new version.
    and i tryed just now without the trick-app and no it isent working either so it doesent seem to be a incompatibility problem.
    What should i do?
     
  14. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
  15. silvanob2

    silvanob2 Active Member

    Joined:
    Nov 2, 2015
    Ratings:
    +25 / 0 / -0
  16. silvanob2

    silvanob2 Active Member

    Joined:
    Nov 2, 2015
    Ratings:
    +25 / 0 / -0
    @mr_belowski
    Wow your crewchief has developped so good, he became smarter ;) and now we can have it for numerous titles, this is great.
    the auto-update is a genius idea and works flawlessly.
    Everything works perfectly now, thanks Mr B !
     
    Last edited: Nov 22, 2016
  17. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Heh, welcome to 2015 Silvano ;)
     
  18. PECHOUX

    PECHOUX New Member

    Joined:
    Sep 24, 2015
    Ratings:
    +4 / 0 / -0
    Hi everyone,

    I have (had) a problem with GS-105 dynamic seat. It didn't worked since the last update. I posted on another topic, and was send on this one. Now it's working fine, (thanks to Mr Belowski). So I already made a donation. Thank you again.

    Just a question, the .exe is copying some data. Is it necessary to clean some file time to time? I don't know the amount of copied data, and where. Maybe it's not necessary (and yes, I don't know anything on programing software :))
     
    • Like Like x 1
  19. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Thanks for the donations fellas, I'll pass them on to the missus who looked after the kids while I built this (much to her annoyance :))

    The app doesn't write anything to the file system - it just copies data from one memory location to another so there's no need to clear any temporary files or anything
     
    • Love it! Love it! x 2
    • Like Like x 1
  20. PECHOUX

    PECHOUX New Member

    Joined:
    Sep 24, 2015
    Ratings:
    +4 / 0 / -0
    Perfect, Thank you again.....now i can enjoy playing!