GTA 5 source code leaks online

by rand0mx1on 12/25/2023, 2:58 AMwith 235 comments

by senectus1on 12/25/2023, 4:47 AM

https://archive.md/BE9zX

by TheAceOfHeartson 12/25/2023, 4:15 AM

For anyone that is curious, according to 4chan (i.e. take it with a mountain of salt):

> Apparently there are 3 leaks in circulation:

> 3.3 gigs, src only

> 17 gigs, src + partial assets

> 1 TB, src + full assets

I really wish more games shared the source, even if it's under a restrictive license. It's just interesting to get a peak under the hood.

It makes me wish that copyright lasted less time and that submitting source code was a requirement for software projects to receive protection. Then once copyright expires the source can be in the public domain, and we don't have to waste time reverse engineering to reconstruct what was already done. Admittedly, it's a pipe dream. But it makes me sad how much software is destined to be lost to time because of copyright law.

A lot of people love GTA5 online, and hopefully this leak contains everything needed to create a private server should Rockstar decide to take down the service.

by serfon 12/25/2023, 7:27 AM

next weeks headline: "GTA5 performance up 40% due to fan-submitted patches."

[0]: https://www.pcgamer.com/rockstar-thanks-gta-online-player-wh...

by albeebe1on 12/25/2023, 4:17 AM

Maybe the Mt. Chiliad Mystery will be finally solved

https://gta-myths.fandom.com/wiki/Mount_Chiliad_Mystery

by Retr0idon 12/25/2023, 5:31 AM

I'm always wishing there were more AAA games I could play natively on aarch64 linux. Porting it might not be the easiest thing in the world, but a source leak opens the door for it.

by sureglymopon 12/25/2023, 5:40 AM

Would be nice to have a completely open source reimplementation that works with the assets of the legitimately purchased game but without their launcher crapware.

by epolanskion 12/25/2023, 7:04 PM

Serious, why would anybody care besides modding community, and maybe GTA Online hackers?

No competitor can think there's anything there worth their money and effort.

by tamimioon 12/25/2023, 4:44 PM

Rock star is getting a lot of hits recently, and I’m not entirely sure if it’s an inside job, bad management, poor hires, or mix of all or something completely different, I would imagine they should have increased their measures when GTA6 got leaked..

by dukodkon 12/25/2023, 4:17 AM

Maybe the load times can be improved even further now…

by renegade-otteron 12/25/2023, 7:04 PM

"Out on bail for allegedly hacking the hardware company Nvidia, Kurtaj, prosecutors say, pulled off the GTA heist while staying under police protection at a Travelodge hotel. Without his computer, he somehow managed to hack into Rockstar using his smartphone, an Amazon Firestick, and the TV in his hotel room."

Oh? I will allow it.

https://nymag.com/intelligencer/2023/12/teen-hacked-grand-th...

by BoardsOfCanadaon 12/25/2023, 3:52 AM

I assume rockstar didn't pay, so they leaked the source code. Not sure why anything would be delayed because of this.

by htkon 12/25/2023, 5:18 AM

Would be interesting to see a native ARM version coming out of this.

by IYashaon 12/25/2023, 9:41 AM

Rockstar, being major deeks to open-source projects, deserve this to the fullest.

by jackphilsonon 12/25/2023, 5:00 AM

It's interesting how much a community can improve performance. It's hard to imagine him doing all of this without a hacking community to motivate him.

by i_am_a_peasanton 12/25/2023, 9:24 PM

Funny thing the whole ordeal but completely useless for anyone who writes code for money. I ain't touching that with a 10ft foot pole.

by ZoomerCretinon 12/25/2023, 7:31 PM

I'm surprised to see so much Ruby used in a video game. Excluding libraries and gems, there exist 627 *.rb files!

Granted, it is all for utilities and automation external to the game itself, but it's definitely not a common language in 2023.

by mkl95on 12/25/2023, 8:15 PM

If GTA5 Online on PC is still going to be a thing, the smartest move is probably to open source the code and let the community report and fix vulnerabilities.

by cepackedon 12/25/2023, 10:31 AM

Does this mean more and more developers could easily make GTA like games now that they have access to this source code ?

by jpeteron 12/25/2023, 12:49 PM

I hope Somebody figures out the reason for the horrible loading times

by cedwson 12/25/2023, 7:57 AM

It's quite scary when video game source code leaks. No doubt people will start finding RCEs to exploit.

by nottorpon 12/25/2023, 1:42 PM

I don’t see how the source code of a game being public is a problem; the game will be as enjoyable (or as crap) with or without the source code public.

Oh wait, Rockstar are going the multiplayer plus gacha route. A leak may hurt because the players may not need the gacha.

For single player games, I see no problem.

And for those hoping more games release source code, I don’t think the source for commercial games is in a state where you can learn from it :)

by Animatson 12/25/2023, 7:10 PM

Did he leak GTA V (2013) or GTA VI (2024)? The story is inconsistent.

by comexon 12/25/2023, 3:52 AM

> Fans are requested to appreciate the hard work the developers put into their video games and avoid spreading the leaked source code further.

Alternately, appreciate the hard work by making interesting mods for the game. GTA5 has already had an extensive modding scene for the 10 years it’s been out, but now I assume mods will become easier to make and more powerful, benefiting Rockstar’s customers who paid for the game. And who is hurt? Not pirates, who could obtain the game starting shortly after release. Potentially people playing against cheaters online, except I’ve heard they’ve had free rein for a long time.

Companies should release their own games’ source code. Other software too.

by vivzkestrelon 12/25/2023, 4:05 AM

ubisoft deserves to get the source code for all their old games leaked. One by one they have shut the servers down (quite understandable because of server costs) but offered no ways or means whatsoever to play them alienating the old fans really hard. Some of us have memories of playing the older games which we can never relive again. It should be illegal for a game company to shut an online only game down without offering a LAN patch. Developers should bake in LAN functionality from day 1 but keep it hidden which the patch must fix at EOL for games

by Trung0246on 12/25/2023, 4:56 AM

SHA256 hash for anyone got the file:

46ffb7f65944d4aaf97fd1eb8718be2dcd1ede71d38228bf126d25cf4f100e7b 3.31GB no_pass_gtav_source.zip

76f50dd98da88ec574b6c2800193f3579e588073fd05f18190313af2cfbb6bf3 4.33GB GTAVSP.7z (Pass: Mi76#b>9mRed)

by 0xDEADFED5on 12/25/2023, 6:46 AM

haha, grepping for curse words for a laugh. multiples of:

    // DON'T FUCK WITH THIS UNLESS YOU KNOW WHAT YOU'RE DOING!
in main.cpp =)

by seydoron 12/25/2023, 5:59 AM

rockstar should be proud that hackers are applying what they learned from their games

by deeloweon 12/25/2023, 3:49 AM

God the web has gone to total crap outside of just a few sites. This site is unbearable on mobile.