About GTA V Source Code

In this post, i will talk about Grand Theft V Source Code. If you want the tutorial and the source code, check out this repository: https://github.com/yungDoom/gtav-sourcecode-build-guide


Where this first appeared

All leaks started with this image:

By the way, its an image from gta5\scripts\ folder. Everybody thinked that is the source code but no its just the scripts folder.
The real source code root looks like this:
image
Ignore “titleupdate”, i compiled the game, game scripts and shaders so thats why its here.

Directories

src\dev_ng\ Directory:

image

Here it is, all the game and engine source code!

tools_ng Directory:

image

Here is the all the tools that you need.

And other folders include a lot of stuff but i will not cover this in this blog.

Videos about GTA V Source Code

ErickHatesBMC

This guy that finished the debug build that compiled by himself, he has 60+ hours playtime on his own compiled GTA 5.
Here is all the video links that guy played and finished the whole game with debug build:

https://www.youtube.com/watch?v=bndLvZIuXHg
https://www.youtube.com/watch?v=Nlp60Xhkgbk
https://www.youtube.com/watch?v=QQS0-32voms

Not gonna lie this guy looks like Matt Stonie XD

ItsJiUi Extra

Nothing to say about it, This video covers the debug menu and stuff.

https://www.youtube.com/watch?v=TPWWho1cW2Y

My Videos

I recorded some stuff, here you can check out:

https://www.youtube.com/watch?v=-RHmcVH4bGQ
https://www.youtube.com/watch?v=I37ZHqyX8Cs
https://www.youtube.com/watch?v=RswuDm-ZPWs

And you can search the web for more videos.

My Building Experience

When i first see this type of shit on Telegram, i ignored it because i dont thinked that this was not easy. But after some time i tried to compile the game but i failed because when it first leaked, there was no tutorial about compiling the game.

But after some time i’ve seen a video about the leaked source code, and that guy was posted a tutorial, i ignored again but after the time has come, i readed the tutorial that made in rentry.co, a pastebin-copy site.

I created a virtual virtual machine and installed every dependencies, Virtual Machine crashed 5+ times, after some getting some hysterics, i finally compiled the game and ready to open. I opened the game and it gave me unknown symbol error…

AND I GOT ANOTHER HYSTERICS! but after i realized it was the rpf encrypt problem, i dragged modified update.rpf and update2.rpf to the ArchiveFix.exe and the game worked.

I put all the game files to my Real PC and tested it

I played the game for like 1 hours and it was really good and okay.

I didn’t compiled the game on Debug, i compiled this game in BankRelease because i need performance. The game runs like real GTA5(because its real XD)

It was not easy but atleast its a good thing, but it was easier than compiling CS:GO Source Code.

You can see some screenshots at the bottom about the game.

Screenshots

image image image image

Epilogue

Okay thats all im gonna say, just goodbye then.
It’s been 2 month since i published a blog, Sorry about that :P

Written on March 25, 2024