App Adaptive AI primer/database tool

Discussion in 'Community Workshop' started by pixeljetstream, Jun 4, 2016.

  1. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    Well, you can do it manually.
    Your best time is, as you said, in the results file. The AI laptimes are in the XML.
    All you have to do is compare the two to figure out whether the AI needs a nudge up or down.
    Personally, I've got a pretty good idea of what level I'm at so by now I can 'program' the AI pretty quickly.
    Start at the approx. AI level and then run a series of one-lap races until it starts to outrun you.
    And that's it. :)
     
    • Informative Informative x 1
  2. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    Given the new AI changes, it is very likely that the current database values are now not really usable anymore.

    I'd suggest people train their own datasets, and not use the data from the web
     
    • Like Like x 1
  3. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    Actually, I disagree (though with one exception).
    The data-set for the Audi TTs is more or less useless since the physics have changed.
    The rest is.....well, from the brief testing I've done it's okayish.
    And if you (like me) already have a well-padded AI file, you're far better off letting the AI adapt from that than starting from scratch.
    Though I would advise that the first few races are run with one or two opponents to avoid collisions that are almost inevitable when the skill-levels vary too much. Just until the AI has made whatever adjustments it may need.
     
    • Like Like x 1
  4. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    @pixeljetstream something just occurred to me.
    Any chance you can whip up a script that deletes the AI entries from the xml-file, but keeps the player lap-times?
    That would save a lot of time when there are AI changes.
     
  5. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    pushed a new version that has a button for that. Although you will not see the effect directly, need to restart program. Program will then show all tracks/classes that have either player best or ai entries.
     
    • Like Like x 1
    • Winner Winner x 1
  6. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    • Wonderful Wonderful x 1
  7. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    new version to allow "Reset all AI times", as researched by @CheerfullyInsane this is useful whenever R3E's AI's algorithm change a good deal. Doing a reset means your own laptimes are preserved for the AI to use for its adaptation and the old AI levels are also around as starting point for the adaptation, even as they get corrected with new AI levels and times etc.
     
    • Like Like x 1
    • Love it! Love it! x 1
    • Useful Useful x 1
  8. jimortality

    jimortality Active Member

    Joined:
    Jun 11, 2015
    Ratings:
    +39 / 0 / -0
    Will the primer update automatically when I load it up?
     
  9. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    You just gotta love the service around here. :)

    No, the AI tool is completely un-intrusive, and doesn't even install.
    Just download, unzip to a folder and run it from there.
     
  10. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    @pixeljetstream Did you remember to upload it? :D
    Github is still showing the old version.
     
    • Agree Agree x 1
  11. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    d'oh
    fixed
     
    • Like Like x 1
  12. jimortality

    jimortality Active Member

    Joined:
    Jun 11, 2015
    Ratings:
    +39 / 0 / -0
    I don't understand, do I have to reinstall the primer with every update?
     
  13. Supermini

    Supermini Member

    Joined:
    Mar 31, 2016
    Ratings:
    +21 / 0 / -0
    You have to redownload it with every update, yes. There's no install though, just unzip and run it.
     
    • Informative Informative x 1
  14. jimortality

    jimortality Active Member

    Joined:
    Jun 11, 2015
    Ratings:
    +39 / 0 / -0
    Why can't I just delete the primer ai?
     
  15. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    I don't understand the question, to be honest.
    You mean, why can't you just delete the AI lap-times generated by the primer tool?
    Well, you can, but that would mean having to re-train the lot.
     
  16. jimortality

    jimortality Active Member

    Joined:
    Jun 11, 2015
    Ratings:
    +39 / 0 / -0
    My original question was, do I have to redownload the primer after every update?
     
  17. Supermini

    Supermini Member

    Joined:
    Mar 31, 2016
    Ratings:
    +21 / 0 / -0
    Delete the old folder.
    Download the new .zip file.
    Unzip it.
    Run r3e-adaptive-ai-primer.exe
     
    • Agree Agree x 1
  18. keanos

    keanos Well-Known Member

    Joined:
    Oct 29, 2015
    Ratings:
    +136 / 0 / -0
    I created a new assets file with the c-class DTM 1995.

    Not guaranteed that is 100% right.
     

    Attached Files:

    • Like Like x 1
  19. fl0wf1r3

    fl0wf1r3 Well-Known Member

    Joined:
    Apr 24, 2016
    Ratings:
    +235 / 0 / -0
    yesterday I tried the DTM car at the Norisring against the AI. The brake somehow strange. Extreme late and then super hard. They always bumb into me. A bit annoying. Does the tool help with that as well? or is only about the lab times of the AI?
     
  20. keanos

    keanos Well-Known Member

    Joined:
    Oct 29, 2015
    Ratings:
    +136 / 0 / -0
    No this tool doesn't directly help with, that, what I noticed is, that the basic setup is absolutely crap and the car isn't an easy to drive car like most of the GT(R)3 you have to "work" with the car to get it fast and also try to find a good setup for your driving skills.

    Drive races against the ai with different strength setting or with adaptive AI. I prefer to start in the back for the first races, especially if I don't know the car/track combination.
    After a few races the tool will calculate times for each AI strenght setting, after that choose a time that is slightly better than yours, mark it and click the button " apply selected modification".
     
    • Like Like x 1
    Last edited: Jun 22, 2018