I created an A.I. to generate racing tracks in TrackMania

  Рет қаралды 9,373

donadigo

donadigo

Күн бұрын

Hello everyone. TrackMania mapping is an integral part of the game that provides endless possibilities for players to explore. But can it be automated? In this video I show how I created an A.I. track generator which is able to generate technical tracks that imitate the style of tracks built by humans.
Download the generator and play with it yourself: github.com/don...
Generated sample maps (TM2): tm.mania-excha...
Post about the generator (2018): donadigo.com/t...
GitHub page: github.com/don...
PayPal donation: www.paypal.com...
Additional footage by Spammiej:
/ spammiej
TTC Keissla Edition with generated maps: • True Talent Cup #129 |...
Music:
Mattashi - Tale Of A Knight
Waterflame - The Wanderer
Ooyy - Hemisphere
Lukhash - Proxima
Humbot - Wave Saver
Ooyy - Osaka 3AM
www.epidemicso...
/ waterflame89
/ mattashicomposer
Thanks for watching!

Пікірлер: 74
@PetaPelikan
@PetaPelikan 2 жыл бұрын
11:58 generation 9 be like: "S P E E D"
@RacetasClub
@RacetasClub 2 жыл бұрын
This was so epic, didn't even think that could be within reach. Funniest part was generation 9 but jokes aside, the 30th generation map is simply beautiful. Wonderful job!
@drapsag91
@drapsag91 2 жыл бұрын
G9 be like: car go zzzoop
@alphahawk325
@alphahawk325 Жыл бұрын
G9 it gained awareness and went I don't want to build tech I want to build lol
@yoshtm
@yoshtm 2 жыл бұрын
11:59 Did the AI put a big jump at the end of the boosts, to try to get the car out of the stadium? That's what all new players do the first time they try the map editor ahah, Nice video !
@Underdogger
@Underdogger 2 жыл бұрын
AI Gen 1-8: Learning... Learning... AI Gen 9: Fuck it, booster.
@VeritasGames
@VeritasGames 2 жыл бұрын
As a software engineer and TM fan - this is one of my favorite TM videos to date! GG
@Snymen
@Snymen 2 жыл бұрын
i love you for all the tarkov science!!! ❤❤❤❤
@rollintm
@rollintm 2 жыл бұрын
informative video, really enjoyed it! to give some feedback though, the section where you show the different generations is just way too long without any commentary over it, I would've expected to show maybe gen 1-3, then skip to 10, 20, and so on... to keep it shorter and to see more difference at once. Also I'm not sure what generation even means in this context, is there some way to judge a generated map with some fitness algorithm like I've seen in other neural network videos? I understood that you trained the network with all those tech tracks, and then it would spit out maps, so I don't know where generations come into play there...
@donadigotm
@donadigotm 2 жыл бұрын
Thanks! Yeah the generation section could be a lot shorter, or use a commentary, I agree. I named them "generations" here but in reality these are epochs of training in ML terms. Each epoch N tracks are randomly generated based on the current network weights. Those you see in the video were then picked by me. This is why there isn't a clear progression curve, because the randomness may skew the results. The process is still necessary, as training for longer means more stable results and quicker generation times (the build algorithm doesn't get stuck when networks are accurate). The "fitness" function is the loss so mean error across all tracks in the dataset.
@FrostKiwi
@FrostKiwi 2 жыл бұрын
awesome video! Now combine that with @Yosh 's TM driver AI to drive AI generated tracks. That way we have completely eliminated the human in the process and fully bowed down to our robot overlords.
@sunpuppetsofficial
@sunpuppetsofficial 3 ай бұрын
why have they not done that
@DetinuTrackmania
@DetinuTrackmania 2 жыл бұрын
I just now realized that the Cup of the day is kind of the new version of the TTC, only that you just play one map instead of 5 and have a long warmup. Great video and maps btw.
@nmatthes2927
@nmatthes2927 2 жыл бұрын
Man Detinu ich erinner mich noch an dich, du hast doch damals mit tmspeedy videos gemacht :D
@TmSpeedy0407
@TmSpeedy0407 2 жыл бұрын
@@nmatthes2927 :^)
@nmatthes2927
@nmatthes2927 2 жыл бұрын
@@TmSpeedy0407 Ich warte immernoch auf die TM Sunrise Lets Play Fortsetzung! AausrufezeichEN1!!elf!
@rumrumi7594
@rumrumi7594 2 жыл бұрын
LETS GO DONADIGO IM SO EXITED TO WATCH THIS
@danielkirchhoff7372
@danielkirchhoff7372 2 жыл бұрын
Well done! Very interesting to watch. Even though it would take much more computing time, wouldn't it make more sense, to get a probability by looking at segments of blocks? Like always 4 blocks at a time for example. Give it a start block. Now calculate a segment of 4 blocks, place the first of them. Now you have two blocks. Calculate first, second, and a theoretical third and fourth (judging by common 4 block patterns, with a start block attatched to the front of them). Place your third block. Now calculate your fourth block, by looking at common 4-block-combinations using the last 2 placed blocks. Place your 4th block. As far as I'm not missjudging it, the endresult should be smoother (even if you don't take the one with the highest probability, cause this would end in the same route every time).
@zawo
@zawo 2 жыл бұрын
Gen9 was everyone's first ever made track
@frauddiac
@frauddiac 2 жыл бұрын
This could be a fine addition to a duel 1v1 gamemode where you compete to be the fastest lap by 3 rounds race in a random generated map. Great work dude
@Herbert.
@Herbert. 2 жыл бұрын
We are moving into a universe where AI will generate maps in TM and will grind out runs with TAS, this cycle will go on for eternity, nothing but the AI playing its own maps until the end of time
@wicowan
@wicowan 2 жыл бұрын
first create an AI than can use tas ahahahaha, I think it's close to impossible, AI can hardly play trackmania so tas seems no-go
@Herbert.
@Herbert. 2 жыл бұрын
@@wicowan What? Have you any clue about the current state of machine learning? Or even that there is already an "AI" that has learnt to drive TM maps (albeit not very well)?
@wicowan
@wicowan 2 жыл бұрын
@@Herbert. Yosh did quite a lot of videos on trackmania ai.
@ericdanielski4802
@ericdanielski4802 2 жыл бұрын
Nice AI.
@par8678
@par8678 2 жыл бұрын
Crazy, u are like the engineer of the community, u are giving us a lot, thank you and keep up the work
@DomikTrackmania
@DomikTrackmania 2 жыл бұрын
Your going to make Trackmania a scientific playground for yourself... Wondering what's next
@racheltyrellcorp9694
@racheltyrellcorp9694 2 жыл бұрын
So so cool ! greatjob An idea : maybe you could provide your neural network with a sense of the driving flow by providing it with the trajectory of a player for each block of the track (or at least, player's entry point & speed and exit point & speed for each of the block) Maybe with this kind of training data, the network would learn the correlation between common sequences of blocks and the expected trajectory and speed on those sequences ?
@Mandarin9900
@Mandarin9900 2 жыл бұрын
How has this video not blown up yet :O
@spacenoodles5570
@spacenoodles5570 2 жыл бұрын
Wow, absolutely amazing. The finished track is even pretty good
@PetaPelikan
@PetaPelikan 2 жыл бұрын
Impressive my dude, you really took trackmania and created something worth its own game. You deserve way more reach than you have.
@eblignoi
@eblignoi 2 жыл бұрын
Omfg! Great work dude!
@getoffme3791
@getoffme3791 2 жыл бұрын
Pls do more of these type of videos! they are so fun to watch!
@logictm
@logictm 2 жыл бұрын
sehr gut adam
@2000Meilen
@2000Meilen 2 жыл бұрын
Nice Kacky map generator you've got there ;)
@hakkis1524
@hakkis1524 2 жыл бұрын
Sick!
@Arcsinx
@Arcsinx 2 жыл бұрын
Wooo lets gooo
@shminge7779
@shminge7779 2 жыл бұрын
Haha, finally people are finding my favorite Dona creation
@PugCuber
@PugCuber 2 жыл бұрын
you’re a legend
@ocinsimat6214
@ocinsimat6214 Жыл бұрын
It would be cool to implement this in a club on tm2020 maybe with someway of giving feedback on flow
@n00bphd84
@n00bphd84 2 жыл бұрын
Why are we not using reinforcement learning or particle swarm based algorithms to create theoretical speedruns with AI? I kept looking for it and there are some initial works on it but with a legend like Donadigo on board, we might come up with AI speedruns.
@Skycrafter_
@Skycrafter_ 2 жыл бұрын
This really deserved its own video. Nice one!
@BabaFroga
@BabaFroga 2 жыл бұрын
Nice project and nice video. Great job!
@urmelantonny
@urmelantonny 2 жыл бұрын
lessgo
@LuckAss10
@LuckAss10 2 жыл бұрын
sick performance !! but.. new kacky edition of those generations? give those to mig :D
@IuAdrien
@IuAdrien 2 жыл бұрын
Nice video! Made me wonder how you managed to handle giving all blocks as inputs, what type of NN worked for this?
@hagrod
@hagrod 2 жыл бұрын
Now you can associate with Yoshi and his AI trained car to race this track
@MasterDX420
@MasterDX420 2 жыл бұрын
Cool video. Although, it sounds like a class presentation since the pacing is kinda slow. Otherwise, nice job!
@vrbaaaa
@vrbaaaa 2 жыл бұрын
So this is how lolsport builds his maps...
@RyushoYosei
@RyushoYosei Жыл бұрын
You should try to do this using the new trackmania potentially.
@Jack-wl4vf
@Jack-wl4vf 2 жыл бұрын
I'm always interested in the coding behind ai as the formation of neural networks always seem so advanced and beyond comprehension when thinking that an computer has the potential to match the thinking of a human from data given to it. Anyways congrats on 1 year of TMinterface and may the future remain bright for this community @donadigo
@halbkorn
@halbkorn 2 жыл бұрын
Plottwist: every campaign and tmgl map is build using an ai
@ZeUbinator
@ZeUbinator 2 жыл бұрын
What's the rationale behind randomly choosing outputs (weighted by probability) rather than choosing the most probable output every time? I can imagine choosing randomly would give more "natural" results in some sense, but would expect overall higher quality tracks from choosing the most probable since results would resemble the training set more closely. Just guessing though, I have little experience working with NNs.
@donadigotm
@donadigotm 2 жыл бұрын
Choosing the most probable output every time generates you the same track, every single time. How conservative we are towards choosing the output is controlled by the "temperature" hyper-parameter. If it's lower, the output will be more conservative, if it's higher - more diverse. For example, setting the parameter to a very low value, will generate mostly straight line tracks with only the same one block repeating. Of course there are many strategies you can take e.g changing the temperature while generating the track.
@urionandon
@urionandon 2 жыл бұрын
wow
@LetsPlayCrazy
@LetsPlayCrazy Жыл бұрын
Who else is here because of wirtuals comments on Fall - 18???
@neoscho8790
@neoscho8790 2 жыл бұрын
wicked'
@krisigogo3743
@krisigogo3743 2 жыл бұрын
WOW
@zoraa3406
@zoraa3406 2 жыл бұрын
how does this work can we also run this within trackmania to generate our own maps?
@real_tm_
@real_tm_ Жыл бұрын
Can you make that for tm2020?
@mrle0719
@mrle0719 2 жыл бұрын
how did you iterate from generation to generation ? how do you give a score to a track ?
@mrle0719
@mrle0719 2 жыл бұрын
btw you might want to check your website, bitdefender flagged it as unsafe
@GelberDracheLP
@GelberDracheLP 2 жыл бұрын
could this not be a good start for creating a ai that can identify possible stolen tracks?
@KabirSingh-qp4ot
@KabirSingh-qp4ot 2 жыл бұрын
Some of you may know, I even held a cup with 30 AI generated maps two months back. Here are the results - kzbin.info/www/bejne/fXOvlWypp8trqJo
@poczta-krabow
@poczta-krabow 3 ай бұрын
Are you from poland? Czy jesteś z Polski?
@Eta_Bokas_slave
@Eta_Bokas_slave Жыл бұрын
Bro trackmania turbo did it in 2016
@rgr1001
@rgr1001 2 жыл бұрын
11:59 +++
@maritzjanssens2805
@maritzjanssens2805 Жыл бұрын
gen 9 was random
@krisigogo3743
@krisigogo3743 2 жыл бұрын
6th and 7th
@wikipavetm707
@wikipavetm707 2 жыл бұрын
Yeah A.I. creating a tech map is cool and all, but what about creating a trial with A.I., will it be possible to create a map harder than Final Enigma or creating a more transitionnal and longer fullspeed map. Will it be used for competitive maps and leaving the human mappers behind, or will it be used to push the robot and human limit of trackmania
@EvroCraft
@EvroCraft 2 жыл бұрын
Now make one that makes PF tracks 💀
@izimsi
@izimsi 2 жыл бұрын
Some of these generated maps look like kacky maps
@AlexanderB41
@AlexanderB41 2 жыл бұрын
First.
@ericdanielski4802
@ericdanielski4802 2 жыл бұрын
Absolutely.
I Trained an AI for 2 Years on Trackmania. It's Breaking Records.
27:50
How I Beat The Password Game
39:53
Bog
Рет қаралды 18 М.
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 6 МЛН
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 67 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 20 МЛН
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 48 МЛН
Trackmania TAS - What Now?
16:18
donadigo
Рет қаралды 96 М.
My game is 262,000 times faster than Minecraft. I'll show you how.
12:20
IGoByLotsOfNames
Рет қаралды 811 М.
Training an unbeatable AI in Trackmania
20:41
Yosh
Рет қаралды 13 МЛН
10 VS 10,000 Piece Lego Plane Crash IN POOL
15:42
supersnailboy
Рет қаралды 239 М.
Evolving Genetic Neural Network Optimizes Poly Bridge Problems
9:59
This vision-based A.I. runs on the TrackMania campaign
15:25
Yann Bouteiller
Рет қаралды 3,4 М.
AI beats multiple World Records in Trackmania
37:18
Yosh
Рет қаралды 3 МЛН
Electromagnetic Aircraft Launcher
15:09
Tom Stanton
Рет қаралды 1,1 МЛН
He said this AI is Unbeatable. I took it personally.
16:05
WirtualTV
Рет қаралды 449 М.
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 6 МЛН