How I Cut GTA Online Loading Times By 70%

Sdílet
Vložit
  • čas přidán 5. 12. 2023
  • Recorded live on twitch, GET IN
    / theprimeagen
    Become a backend engineer. Its my favorite site
    boot.dev/?promo=PRIMEYT
    This is also the best way to support me is to support yourself becoming a better backend engineer.
    Reviewed article: nee.lv/2021/02/28/How-I-cut-G...
    MY MAIN YT CHANNEL: Has well edited engineering videos
    / theprimeagen
    Discord
    / discord
    Have something for me to read or react to?: / theprimeagenreact
    Kinesis Advantage 360: bit.ly/Prime-Kinesis
    Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
    turso.tech/deeznuts
  • Věda a technologie

Komentáře • 410

  • @ClaudioProductionsX
    @ClaudioProductionsX Před 6 měsíci +368

    btw, the reward he got of 10K was highly pushed by the GTA Online community world-wide because of how ground-breaking and game changing his fix was. I heard many people, even friends that this made them return to gta online. The pressure on rockstar was so much that they could have faced extremely high backlash if they didn't gave him at least that much, or hired him to work for the company.

    • @ALLSTARDECOURO2
      @ALLSTARDECOURO2 Před 6 měsíci +46

      10k is nothing tho

    • @ajj6287
      @ajj6287 Před 6 měsíci

      yeah when i read 10k i was astounded lol.@@ALLSTARDECOURO2

    • @katto1937
      @katto1937 Před 6 měsíci +20

      @@ALLSTARDECOURO2 10k is absolutely something, very naive to say.

    • @adisipunct9562
      @adisipunct9562 Před 6 měsíci +82

      @@katto1937for a problem that big 10k is nothing, especially for a company like Rockstar

    • @HurricaneSA
      @HurricaneSA Před 6 měsíci

      @@adisipunct9562 It's a lot more than their in-house developers who ended up redoing the bugged code would have got. It's all about perspective.

  • @MsHojat
    @MsHojat Před 7 měsíci +1158

    Imagine the carbon footprint of the guy that wrote that inefficient code. Probably like an entire year -or many years depending on the country- of some country's entire power consumption.

    • @lesliejohnrichardson
      @lesliejohnrichardson Před 7 měsíci +72

      This is hands down the best comment
      LMOA

    • @boristherin4104
      @boristherin4104 Před 7 měsíci +33

      "carbon footprint" ... -_-, cant understand why IT world can be so clever & dumb in the same time

    • @Bluepaccao
      @Bluepaccao Před 7 měsíci +170

      Gta slow, pc load for long time. PC uses power, most power comes from non-green energy sources. Not stupid.

    • @boristherin4104
      @boristherin4104 Před 7 měsíci +17

      @@Bluepaccaosure ! am just done with carbon footprint scam. their is no "green energy" but in green lantern movie

    • @DailyShit.
      @DailyShit. Před 7 měsíci +5

      Even more crazy how nobody fixed it even though it is obviously obnoxious and not as bad in RDR2

  • @velox__
    @velox__ Před 7 měsíci +379

    I bet 'investigate slow online load' was on the backlog forever but not considered important enough by PO

    • @techfan1017
      @techfan1017 Před 7 měsíci +13

      lmao fax

    • @phoenix-tt
      @phoenix-tt Před 7 měsíci +37

      You need a state-of-the-art profiler for that. Called Task Manager.

    • @arthurmoore9488
      @arthurmoore9488 Před 4 měsíci +1

      This hits way too hard.

  • @ununkwad5764
    @ununkwad5764 Před 7 měsíci +248

    During my internship i had to add new functionality to a simple java .jar files updater so that it will send just the files that have been changed between versions. it took about 20 minutes to process the new ~100MB package, I asked the guy that was working there for few years why is it so slow and he just told me it is like this and I shouldn't bother. During unit tests i couldn't wait so long so i used profiler to check why it's like this. It was so slow becouse during unpacking of the jar the files where copied byte by byte between file streams in a loop in which it also was creating an instance of some class, just simple addition of a 1024 bytes buffer sped it up to ~10s

    • @acters124
      @acters124 Před 7 měsíci +7

      That is so silly, IOPS for sequential 16 MB is fast but its literally doing 1 B. like 10 million times slower. lol
      Thankfully you bumped it up to 1 KB, but I wonder if it would be even faster at 1 MB buffer reads/writes.

    • @itsTyrion
      @itsTyrion Před 6 měsíci +5

      wait, they were reading every single fucking byte in a loop, writing it to disk unbuffered one by one!?

  • @pinatacolada7986
    @pinatacolada7986 Před 7 měsíci +510

    Allocate some dev time to shortening load times and making the game objectively better?
    Or allocate all dev time to microtransactions?
    Hummm, that's a tough one.

    • @iWhacko
      @iWhacko Před 7 měsíci +32

      nah, if they reduce loadtimes, people spent more time in-game. More time in-game is more time to spend on micro transactions ;)

    • @ProtossOP
      @ProtossOP Před 7 měsíci +10

      "Hummm, that's a tough one."
      Not for Rockstar lol

    • @FLevi-pi5vt
      @FLevi-pi5vt Před 7 měsíci +15

      @@iWhacko Prove it. -some exec who doesn't move a chair unless there's a 100% proven and significant profit margin in it

    • @xellestar
      @xellestar Před 7 měsíci +9

      Every time i've thought about playing some more gta5 over the years, it's always the memory of the loading times that kept the game uninstalled. Good game but not good enough to put up with all the waiting.

    • @pinatacolada7986
      @pinatacolada7986 Před 7 měsíci +1

      @@xellestar GTA IV loads much faster and still holds up today.

  • @noredine
    @noredine Před 7 měsíci +627

    This guy probably saved 10s of thousands of hours for people playing GTA

    • @hannessteffenhagen61
      @hannessteffenhagen61 Před 7 měsíci +78

      Given how popular the game is, he'd have saved 10s of thousand of hours within the first 24 hours of this going live.

    • @iWhacko
      @iWhacko Před 7 měsíci +49

      He made rockstar a lot of money too, since every minute not loading is time people playing their game.

    • @PoomulusRobsBanksOnTV
      @PoomulusRobsBanksOnTV Před 7 měsíci +15

      @@iWhacko True but the load time itself is also a hurdle. There's been plenty of times where I chose not to play gta online simply cause I didn't want to wait 5 minutes to load in

    • @iWhacko
      @iWhacko Před 7 měsíci +13

      @@PoomulusRobsBanksOnTV that's what I was saying, now that it's fixed, it doesn't put people off, so they play the game MORE, and thus make more money for Rockstar

    • @MsHojat
      @MsHojat Před 7 měsíci +1

      Not probably. Not 10s of thousands. Definitely millions of hours

  • @wrathop274
    @wrathop274 Před 7 měsíci +524

    prime wantewd the gta revenue

  • @HyperionStudiosDE
    @HyperionStudiosDE Před 7 měsíci +68

    How is this guy finding out all that from just memory addresses? I don't understand shit. He's truly on another level.

    • @techfan1017
      @techfan1017 Před 7 měsíci +23

      I am sure with some time dedicated to it, you would understand. It is like another language in itself, cannot expect to understand it without studying it.

    • @goesbypluto
      @goesbypluto Před 7 měsíci +11

      It takes a lot of time, lot of debugging bs and shi im ngl. Really a pain in the ass

    • @DailyShit.
      @DailyShit. Před 7 měsíci +12

      Patter recognition my man.

    • @GreatTaiwan
      @GreatTaiwan Před 6 měsíci +2

      study assembly that's literally it

    • @EricPlayZ132
      @EricPlayZ132 Před 6 měsíci +5

      those memory addresses were static because he dumped the running game's exe or dll or whatever it was, and those memory addresses point to a function, which in IDA when disassembled (and decompiled with hexrays) would give you a pretty good look at what it does

  • @JonasTisell
    @JonasTisell Před 6 měsíci +50

    Glad you linked the article, I couldn't bare skipping ten times waiting for you to finish yapping

    • @Harbor811
      @Harbor811 Před 6 měsíci +18

      on god sir yaps a lot

    • @PeaceKeepingMissile
      @PeaceKeepingMissile Před 6 měsíci +11

      Rips the title off like his own. I guess reading some content out for literal Twitch babies is easy money?

    • @ramimohamed4255
      @ramimohamed4255 Před 4 měsíci +1

      i like his yapping

  • @PedroHenrique-qh3bl
    @PedroHenrique-qh3bl Před 7 měsíci +449

    Nothing better than programming while listening to Prime speak truths

    • @vaisakhkm783
      @vaisakhkm783 Před 7 měsíci +22

      I think you have prime's split brain...

    • @BillClinton228
      @BillClinton228 Před 7 měsíci +2

      Why are we still talking about a 10 year old game? Are modern games that bad?

    • @nightspicer
      @nightspicer Před 7 měsíci +7

      @@BillClinton228 most them, yeah

    • @RobertSmith-lh6hg
      @RobertSmith-lh6hg Před 7 měsíci

      Yes@@BillClinton228

    • @BeholdTheLight23
      @BeholdTheLight23 Před 7 měsíci

      This guy is frkn irritating. His voice is just disturbing.

  • @Optimus6128
    @Optimus6128 Před 7 měsíci +40

    I am immediately thinking of Casey Muratori's suggestion that software might be running 10x slower or more than they theoritically should. Bugs like these could be one in many many at various places. Even dropping to 2 minutes loading after the improvement still seems too much to me. It only makes sense after this article pointed out what was the problem. Previously I would have seen the original code and wouldn't suspected anything. Most people make excuses and are like "it must be taking so much time for a good reason". I would also think "Have you seen how huge GTA5 is? Of course a virtual reality world is gonna take 5 minutes to load!". Yet,. it was a tiny bottleneck in some code having nothing to do with the enormity of this engine. Imagine if such bottleneck spots exist all over our modern software in random undiscovered places. It would make instantly sense why our modern PCs with billions of instructions per second still take time to open a simple application. We have to be suspicious when things run slow in PCs that are otherwise 1000 times faster than what we had in the 90s. But people have an aversion to caring for performance, they think it's something of the past and not a priority. Then they make assumptions when things get slow like it's normal and expected.

    • @AnataBakka
      @AnataBakka Před 6 měsíci +3

      this is kind of inevitable when people are taught not to look at performance.
      they argue, "oh, but safety and readability matters more than anything". true, a lot of performance changes likely have little impact, but if you get used to not think about performance, you also end up missing the higher gains ones

  • @awesomedavid2012
    @awesomedavid2012 Před 7 měsíci +238

    After reading a scientific study about fruit, I think what CS is missing is more science. When we benchmark programs to talk about performance (which we should do), we should treat it like a scientific case study about the program. Follow scientific processes, don't assume results before testing, etc.

    • @johnyewtube2286
      @johnyewtube2286 Před 7 měsíci +9

      It is not necessary.

    • @maciejglinski6564
      @maciejglinski6564 Před 7 měsíci +70

      broke: it came to me in a dream
      Woke: After reading a study about fruit

    • @ultimaxkom8728
      @ultimaxkom8728 Před 7 měsíci

      @@johnyewtube2286 It is better, and it being necessary is not a necessity. There's requirement, and there's improvement.

    • @Manker00
      @Manker00 Před 7 měsíci +22

      @@johnyewtube2286 You a Rock* dev?

    • @Stay_away_from_my_swamp_water
      @Stay_away_from_my_swamp_water Před 7 měsíci +10

      CS major here. Well that depends. Doing that for every single thing would be way to inefficient and expensive. Normally you only do that if you see a problem already there (or don't like in this case). That is for software development. In cs (like in r&d and academic studies) you absolutely do that.

  • @ARKSYN
    @ARKSYN Před 7 měsíci +3

    Love this channel, definitely sparked more inspiration to dig in to the technical stuff more. Your coverage on these types of articles is fantastic

  • @shedontlove8490
    @shedontlove8490 Před 7 měsíci +8

    *1000 developers at Rockstar:* "lol idk how to fix it ¯\_(ツ)_/¯"
    *1 guy from gtaforums:* "bring it on!"

  • @pinatacolada7986
    @pinatacolada7986 Před 7 měsíci +36

    GTA V was written in JDSL. Rockstar hired Tom and Tom. Is a genius.

  • @zine_eddinex24
    @zine_eddinex24 Před 7 měsíci +15

    Modders & developers doing better job than the game companies that's why i like guys like this good work !

  • @ESPViper100
    @ESPViper100 Před 7 měsíci +3

    My absolute favourite article about programming, and now I can listen to The Primeagen talking about it! 😍

  • @7heMech
    @7heMech Před 7 měsíci +14

    I'm honestly surprised how noone had found it, good job t0st!

  • @MikaelIsaksson
    @MikaelIsaksson Před 7 měsíci +3

    I love reversing! It's always nice to hear stories like this :)

  • @valhalla_dev
    @valhalla_dev Před 7 měsíci +81

    I need a t-shirt that's just Prime's mustache with the words "I forgot to disable Twitch alerts" below it

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  Před 7 měsíci +47

      it will happen

    • @EllipsesDots
      @EllipsesDots Před 7 měsíci

      Pro strat to record this a week or so ago but hold the release until the GTA6 trailer drops. I'd expect nothing less @@ThePrimeTimeagen

    • @alexandrep4913
      @alexandrep4913 Před 7 měsíci

      Person looks at your shirt and asks:
      "Is that a dr disrespect reference?"

  • @UNKNWN96
    @UNKNWN96 Před 7 měsíci +58

    Petition to get T0ST his own character in GTA6

  • @BadRobotXIII
    @BadRobotXIII Před 7 měsíci +33

    As a big fan of yours and the GTA franchise I'm glad to see you cover this. I'd gladly watch more GTA content from you.

  • @CottidaeSEA
    @CottidaeSEA Před 7 měsíci +24

    At work we have a system which can process 1GB of JSON in a very short amount of time using PHP. I am quite surprised that they managed to struggle that much with just 10MB, but with the given explanation it does make sense.

    • @CottidaeSEA
      @CottidaeSEA Před 7 měsíci +1

      @CesarLP96 We use JsonMachine, it uses a file stream instead of parsing the whole thing at once. It is really memory efficient and fast.

    • @human-ft3wk
      @human-ft3wk Před 7 měsíci +1

      I didn't fully get the explanation for the json optimization to be honest. From my understanding, is the entire 10mb json being parsed for every single element in the json file? And thus the strlen parses 10mb of data for every individual json element?
      I do understand the not a 'hash map list thing' part as that one's straightforward. Instead of iterating through the whole container to see if the element's already in it, just place it in since all elements are unique and the check was redundant to begin with.

    • @thegittubaba
      @thegittubaba Před 7 měsíci

      @@human-ft3wk yes, the sscanf %d to parse for number, sscanf calls strlen each time, and strlen searches for end of string each time. end of string is 10mb long.

    • @CottidaeSEA
      @CottidaeSEA Před 7 měsíci +5

      @@human-ft3wk That's pretty much it regarding the JSON, yes.
      The array looked like a hash map initially because all of the items had a hash value, which was unique per item. However, instead of just using a hash map which would deduplicate automatically, they also had that unnecessary duplicate check when all items were already unique.

    • @phoenix-tt
      @phoenix-tt Před 7 měsíci +2

      ​@@human-ft3wk Not the json, but the strlen call. Apparently, they were calculating the remaining json length after reading the next token. And they did so using a naive approach of searching for a NULL character. For every single token inside json

  • @neurosync_research
    @neurosync_research Před 7 měsíci +7

    I cut load times by 100% by finding better time investments

    • @rusi6219
      @rusi6219 Před 3 měsíci

      I think a project like this is a really good time investment since it shows a high level of skill and it's something you can actually show on your resume as it's not something like cracking denuvo

  • @marce3893
    @marce3893 Před 7 měsíci +4

    I found this article mentioned in CPP references just last week reading about file I/O functions from the C library. What a coincidence!

  • @MsHojat
    @MsHojat Před 7 měsíci +18

    Interesting coincidence how I was recently coding a script to parse JSON-like lists (except it was a Lua tables) and paste the data into a spreadsheet, and I noticed that if I was really lazy I could program major inefficiencies like this into it. But despite being an amateur programmer I definitely wanted to avoid looping multiple times (even over just a small section where it wouldn't have cost much to do), so I figured out a way to do it all in a single pass. It involved Regex though which is probably(?) a bit CPU heavy itself, but still it was definitely fast enough for my purpose (which wasn't even time-sensitive at all)

    • @LtdJorge
      @LtdJorge Před 7 měsíci +1

      Regex might be super fast, if it's optimized

    • @lamjeri
      @lamjeri Před 7 měsíci +4

      Regex has different issue than performance. If you write a little more advanced Regex, you slowly build it up one step at a time. If you then come back to the code after 2 weeks searching for a bug, you have no idea what the Regex does and you end up rewriting it, regardless of whether or not it was the issue.

  • @nexovec
    @nexovec Před 7 měsíci +6

    How did they debug the game when it took 6 minutes to even load up?

  • @kenneth.topp.
    @kenneth.topp. Před 7 měsíci +28

    Problem is most devs how no conception of how long things should take, given the raw CPU capability so they don't even notice if things are ten times slower then it could be. They will only notice if it's slower than it was the week prior.

    • @khangle6872
      @khangle6872 Před 7 měsíci +18

      Also the JSON was probably way less when the script first written

    • @poppers7317
      @poppers7317 Před 7 měsíci +1

      But if it takes 5+ minutes to load then they should get suspicious if they ever played an online game before.

    • @khangle6872
      @khangle6872 Před 7 měsíci

      @@poppers7317 they just dont care. They have blatant bugs in the game.
      Like, im not joking, one of the main heist of the game, in order to olay it you have to attempt it for like an hour to find a bug-less run.
      Yes, literally you sitting there doing the mission hopelessly again and again in order to find one that isnt glitched. And every section of the heist (there are like 10) there are multiple breaking glitches (soft lock, kick out of session, or outright crash the game) in each section.
      No one doing this anymore, only a few try to do achievement or trying things out.
      And that is just one of the heist.
      These bug existed for years. They just dont care.
      They are not incompetent, every single glitch that have anything to do with money was fixed faster than i could debug a function in my code. They are so efficient and so quick with the fix that you will feel ashamed for your dev skill.
      But bug that dont affect their shark card, good luck

    • @ForTheOmnissiah
      @ForTheOmnissiah Před 6 měsíci +2

      Jon Blow actually made a video discussing this exact thing. Programmers really don't fully grasp how insanely fast modern processing power is, and when something is awry we just miss it. On the other side of the coin, people making things like games overthink optimization and every last little line of code when the code they're anxious over is not even remotely going to be a bottleneck/problem on their performance.

  • @trignite
    @trignite Před 7 měsíci +65

    Don't put "I" in the title if you weren't the one to do it.

    • @zokisvasta
      @zokisvasta Před 7 měsíci +9

      Immediately closed the video after I saw who it was. I knew it wasn't him, don't know why I clicked in the first place.

    • @_juaem
      @_juaem Před 5 měsíci +1

      bro took it personally

    • @matthewrease2376
      @matthewrease2376 Před 4 měsíci

      Shut up nerd lol

    • @carchocolate93
      @carchocolate93 Před 8 dny

      That's the name of the article he reads in this video. It's literally the first few seconds of the video.
      It in NO WAY suggests he was the one to do it

  • @NithinJune
    @NithinJune Před 6 měsíci +3

    didn’t gta 5 source code just leak?

  • @itsJimpex
    @itsJimpex Před 6 měsíci +1

    It’s impressive that he did this but also surprising to me in all that time rockstar never found it by doing benchmarks themselves.

  • @xd_jamie3898
    @xd_jamie3898 Před 7 měsíci +2

    is there any way to see vods of your streams?

  • @vlodek69
    @vlodek69 Před 7 měsíci +3

    Online loading lime was the only time developers had for resting in the R* crunch factory

  • @mrmotomoto
    @mrmotomoto Před 7 měsíci +1

    Reading aloud to others was one of my biggest fears growing up. Here, ‘gen turned that into a quite the career. Amazing

  • @Iceman259
    @Iceman259 Před 7 měsíci +2

    Channel manager stroke of genius to hang onto this one for right after the GTA VI trailer drop

  • @KikoJuarez
    @KikoJuarez Před 7 měsíci +14

    I always find it very funny that you parse through code fairly easy, but that malignant prose obfuscates you, haha

  • @gigabit03
    @gigabit03 Před 7 měsíci +4

    Would it not be crazy if Tom wrote that crazy process and the JSON thing?

  • @bernardocout
    @bernardocout Před 7 měsíci +5

    Damn! I played online just a couple of times because it took years to load in my PS3. Amazing debugging.

  • @dinyox
    @dinyox Před 7 měsíci +4

    they should hire this man for gta 6. i mean theprimeagen

  • @asadanik5987
    @asadanik5987 Před 5 měsíci

    Subscribed you, bro. You are awesome

  • @frankiecostoya4591
    @frankiecostoya4591 Před 7 měsíci +1

    man saw gta 6 trailer and said REUPLOAD. i aint mad cause this one is sick.

  • @samosborne
    @samosborne Před 7 měsíci +10

    Playing 4d chess on the timings of publishing vids

  • @-_Nuke_-
    @-_Nuke_- Před 5 měsíci

    Ok can someone tell me like the tldr; meaning - is there something the average user can do or do I need to be a hecker?
    thanks

  • @arsenskavin130
    @arsenskavin130 Před 7 měsíci

    Reading with Prime is my new favorite thing.

  • @Veptis
    @Veptis Před 7 měsíci

    Language model inference on Intel Arc GPU with accelerate and ipex is really slow on the current driver (49xx). I am not sure what is wrong but looking at task manager shows that GPU usage is all memory, not even compute at all.

  • @bktp3726
    @bktp3726 Před 7 měsíci

    Where do you find all these random articles?

  • @mage3690
    @mage3690 Před 7 měsíci +1

    Ghidra is the decompiler made by the NSA. I downloaded it once, couldn't get it to run -- they wrote it in Java, on Windows, and I could not for the life of me get it to run in Fedora despite running "sudo dnf install java" (that is actually the limit of my technical expertise) despite trying for two days. It is FOSS, though -- maybe I'll try building it from source one day when I'm smarter than I am today.

  • @mannycalavera121
    @mannycalavera121 Před 7 měsíci +1

    Where did he fine the function names in the disassembly?

    • @mage3690
      @mage3690 Před 7 měsíci +1

      A lot of C's stdlib functions live in a static location, so you can just cross-reference the address used by compiling your own program and looking at the address. I'd bet that the reason he couldn't get sscanf's address is because it's file IO and supposed to be secure, so there's some ASLR going on in the kernel specifically to prevent attackers from abusing programs that call sscanf.

  • @okage_
    @okage_ Před 7 měsíci

    i remember reading this a while ago, pretty impressive

  • @rjmunt
    @rjmunt Před 7 měsíci +1

    Is Aviras scanner called Luke Filewalker?

  • @gulpdiator
    @gulpdiator Před 7 měsíci +2

    I've read about this a long time ago, is this still the case?
    I mean just imagine all the users from the very beginning, ever loading screen combined and calculate the wasted power consumption. Usually loading screens run on high frames as well, that's CPU and GPU.

    • @mage3690
      @mage3690 Před 7 měsíci

      Loading screens run on high FPS? As an Overwatch player, this is news to me. OW caps all menus and loading screens at 60 FPS no matter what hardware you're running it on.

    • @rinzhler6922
      @rinzhler6922 Před 7 měsíci

      @@mage3690 Also true for most other online pvp games. You can cap FPS in menus and background

    • @AmongUs-mb4qx
      @AmongUs-mb4qx Před 6 měsíci

      I just cap it using RivaTuner

  • @nerdError0XF
    @nerdError0XF Před 7 měsíci +7

    Gta 6 trailer reaction when, Reactiongen? 🧐

  • @hung8969
    @hung8969 Před 7 měsíci

    Big brain dropping this the day after gta6 trailer.

  • @TyrboCreed
    @TyrboCreed Před 7 měsíci

    This dude is legend.

  • @wartem
    @wartem Před 7 měsíci

    The loading time for the most profitable entertainment product in human history.

  • @fuzzy-02
    @fuzzy-02 Před 7 měsíci +1

    I approve-egean too.
    Articles like these rekindle my passion for coding.
    Wasn't expecting they'd fix it. And the bounty? Totally did not expect that from rockstar of all people. But then again, gta V online is their cash cow, so it makes sense

  • @BucifalulR
    @BucifalulR Před 7 měsíci

    This is only for GTA Online, right?

  • @TheKennyWorld
    @TheKennyWorld Před 7 měsíci

    No advent of code?

  • @jonathanprivitera9394
    @jonathanprivitera9394 Před 7 měsíci

    This is old news but cool nonetheless, sometimes I randomly think about it! Now prime reading it, nice

  • @abhispace4
    @abhispace4 Před 4 měsíci

    @15:13 "someone didn't watch the FEMDSA"?? what is that?

  • @yukoff
    @yukoff Před 7 měsíci +2

    BTW, that profiler's name reminded me Avira's Luke Filewalker (antivirus scanner)

  • @mofik26
    @mofik26 Před 6 měsíci +2

    7:15, well that aged just great

  • @IQuickscopeCA
    @IQuickscopeCA Před 6 měsíci

    where do you even start learning this stuff, im not tech illiterate but this is some deep programming

  • @marc_frank
    @marc_frank Před 6 měsíci

    there is some weird noise in the left audio channel

  • @ThinkscapeVideo
    @ThinkscapeVideo Před 7 měsíci

    Yay riding that wave 🌊

  • @SilentHillFetishist
    @SilentHillFetishist Před 7 měsíci +1

    Rockstar introduced a new bug. Many people can´t inject ENB+ReShade anymore without using Windows 7 or Windows 7 compability mode.

  • @MsHojat
    @MsHojat Před 7 měsíci +4

    If I played GTA Online I'd be my load time would be at least 11 minutes. loading some highly modded Project Zomboid servers takes over 5 minutes with a fast SSD. Seems like a CPU bottleneck in its case as well ( I notice high CPU usage when loading), but I'm surprised that loading uses so much CPU. CPU is like 13 years old now, so it's kind of understandable, but still I never thought of load time being CPU thing.
    I'm guessing PZ has some similar inefficiency with loading as well. I wonder if it too will ever be fixed. The game itself is great, but has a lot of jank code. One neat thing about the game is that since it's written in Java and Lua you can decompile the Java and read the Lua, making it somewhat easy to mod. Probably not worth the downsides of having a Java game though >:\

  • @void_star_void
    @void_star_void Před 7 měsíci

    Days until primeagen forgot to turn off the alerts: -1

  • @Endelin
    @Endelin Před 7 měsíci

    Thorston Ball is seething right now.

  • @godDIEmanLIVE
    @godDIEmanLIVE Před 7 měsíci

    What an awesome story.

  • @ambhaiji
    @ambhaiji Před 7 měsíci

    The first time I played GTA Online was after the free Epic games drop that was in 2020. might have to look into this again.

  • @ever-modern
    @ever-modern Před 7 měsíci

    Prime is living Michael Scott

  • @forsmanos
    @forsmanos Před 7 měsíci

    I feel like most big game companies have a deadline and after that point you're not allowed to touch anything, until the CEO's gives an OK for a major update, and some problems that still "works" just don't get looked at cause, they "work". Let's not dig up the foundation, just build on top.

  • @M0J0-RL236
    @M0J0-RL236 Před 7 měsíci

    Oh I remember this, good times

  • @apIthletIcc
    @apIthletIcc Před 6 měsíci

    hey man my load times even on non fiber connections have never been more than a minute for online or 30s for story mode. wtf is wrong with everyone else's pc is my biggest question from this... and i was running a ryzen 2600 oc to 4.2 Ghz with 1070ti also oc'd that had a vbios mod... oh and a little memory performance mod i made.
    hw accelerated resource/mem sheduling is pretty tight i even had the mod working in linux on nvidia gpus (1070ti and 1050ti tested) as well as multiple generations of amd/ati cards.
    I had cyberpunk 2077 running really nice even on a amd radeon 270x

  • @reginaldsmithe5879
    @reginaldsmithe5879 Před 5 měsíci

    On my last PC I was probably alt f4ing 2/3rds of the time because of the load. If I didnt exit It could be up to twenty minutes sometimes less.

  • @fuzzy-02
    @fuzzy-02 Před 7 měsíci

    This is like the gospel of coding with uncle prime.

  • @vikso89
    @vikso89 Před 5 měsíci +4

    so you aint do shit but read this thingy on your screen and titled the video as if you did it

  • @alpotato6531
    @alpotato6531 Před 6 měsíci

    scanf is relatively dangerous, so it is surprising to see it in the gta v code base

  • @markovcd
    @markovcd Před 7 měsíci

    Im slamming like for the remark about JSON parsing with optional trailing comma.

  • @Jessyco
    @Jessyco Před 7 měsíci

    hey, HEY, haaaaaaaaaaaaaaaaaaaaaaaaaay; Where is this JSON chart thing?

  • @kiloneie
    @kiloneie Před 6 měsíci

    I think it took me 30 minutes once if not more, i can't even remember on Ryzen 2700x and 1070Ti... i have never in my life experienced this kind of load times... it took so long that i did many things in the mean time and was losing my mind...

  • @ybvb
    @ybvb Před 7 měsíci +1

    4:30 Prime where is your alt ASMR channel?

  • @user-qv5jo3sl8m
    @user-qv5jo3sl8m Před 7 měsíci +2

    Time to do the same work on gta 6 😅😅

  • @SupremeMasterr
    @SupremeMasterr Před 7 měsíci

    Was this the article of the actual guy who got reported few years ago as ''modder solved gta loading times'' ? I basically started to play after this fix implemented. So thanks to him Rockstar just got a year of my time xd

  • @rem3dy_
    @rem3dy_ Před 7 měsíci

    Amazing, super, awesome, cool etc

  • @apIthletIcc
    @apIthletIcc Před 6 měsíci

    french toast is a great name for the tsunami warning app we have in the usa

  •  Před 7 měsíci

    +1 for the comma ;)
    And what about comments in JSON ??

  • @MineCraftFul
    @MineCraftFul Před 7 měsíci +2

    "Old but decent CPU" Bro that CPU was fucking garbage the day it came out 10 years ago

    • @rusi6219
      @rusi6219 Před 3 měsíci

      Appreciate what you have and you'll be a lot more content with your life

  • @RMBOYD81
    @RMBOYD81 Před 7 měsíci

    They really need to improve wait times. Every so often i pick up gta again but the delays are so numerous and they tune out the music. You listen to wind for nearly a minute. Staring at clouds. My beast of a pc is no faster than when running on my Xbox360

  • @someoneonyoutube181
    @someoneonyoutube181 Před 7 měsíci +6

    The title makes it sound like you did it. Stop with the clickbait.

  • @Alucard_Seven
    @Alucard_Seven Před 7 měsíci

    On my Current Computer it takes 30 min. It pains me XD.

  • @MrSandManGiveMeADream
    @MrSandManGiveMeADream Před 7 měsíci

    splendid! amzing job!!
    lil bit too late tho...

  • @Sigouss
    @Sigouss Před 7 měsíci

    Could someone find a challenge to do some work on ETS2 or ATS for that matter? Its a trucking game by a company called SCS that many people enjoy. Problem is we miss many features for heavy haul or special transport. I do mods myself but game engine is beyond my know-how.
    What we miss is: trailer axle steer remote control, entire trailer lift/lower, support for Schnabel trailer set up aka self-centering rear dolly, pendle axle support, ballast trailer axle support, proper front steering angle of wheels on dolly trailers (now its around 70deg should be 85.)
    Game engine is needing much more than above to be honest, but lets say this would be the start if someone could take a look at least.

  • @SoreBrain
    @SoreBrain Před 7 měsíci

    t0st updated the copyright note in the footer to 2021-2023 since the video came out, maybe he is Tom after all 🤔

    • @TosterCx
      @TosterCx Před 7 měsíci +2

      neah, had problems with the donation processor, had to remove the link ^^; my name does happen to be Tom tho

  • @yodawg
    @yodawg Před 5 měsíci

    first load into singleplayer, then load into online. its somehow always waaaay faster than straight jumping into online.

  • @user-lv6rn9cf8m
    @user-lv6rn9cf8m Před 7 měsíci

    You can also speed it up by alt tabbing out and pausing the gta exe for like 15 seconds, start it again and alt tab back. That's weird.

    • @rusi6219
      @rusi6219 Před 3 měsíci

      Lol it could be due to some telemetry

  • @LtdJorge
    @LtdJorge Před 7 měsíci

    Turns out, GTA V was written in JDSL!

  • @cassandrasinclair8722
    @cassandrasinclair8722 Před 7 měsíci

    Based R* for the bounty.

  • @Blezerker
    @Blezerker Před 6 měsíci +5

    great clickbait title