Update README.md

This commit is contained in:
Smashtika 2024-04-23 01:38:04 +03:00 committed by GitHub
parent d4577aac93
commit ab66c08ad3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
![Icon](/other/design/icon/icon.png) ![Icon](/other/design/icon/icon.png)
# 📜 GTA V Source Code Build Guide <h1 align=center>📜 -> GTA V Source Code Build Guide <- 📜</h1>
🖥️ **Working Status of Tools and Game:** [See Here](/workingstatus.md)<br> 🖥️ **Working Status of Tools and Game:** [See Here](/workingstatus.md)<br>
🔨 **Known Bugs, Errors and Issues:** [See Here](/knownissues.md) 🔨 **Known Bugs, Errors and Issues:** [See Here](/knownissues.md)
@ -41,6 +41,8 @@
- [DLL Patches](https://github.com/P0L3NARUBA/gtav-sourcecode-build-guide/files/14965810/dll_patches_x.zip) - [DLL Patches](https://github.com/P0L3NARUBA/gtav-sourcecode-build-guide/files/14965810/dll_patches_x.zip)
- (OPTIONAL) [3rdParty Folder](https://mega.nz/file/SqojFJZL#eYINo1pnspuTvdbocz4cA7NYZA8BN2H2nm7YEXuzlFw) - (OPTIONAL) [3rdParty Folder](https://mega.nz/file/SqojFJZL#eYINo1pnspuTvdbocz4cA7NYZA8BN2H2nm7YEXuzlFw)
- (OPTIONAL) [gIKgDXuVHNzIgXkiwpB.zip - Art Asset Leak](https://big.fileditchnew.ch/b9/gIKgDXuVHNzIgXkiwpB.zip) - (OPTIONAL) [gIKgDXuVHNzIgXkiwpB.zip - Art Asset Leak](https://big.fileditchnew.ch/b9/gIKgDXuVHNzIgXkiwpB.zip)
- (OPTIONAL & NOT STABLE) [Visual Studio 2022 Patches](https://small.fileditchstuff.me/s10/VBlSfKBylNQplMIPLL.zip)
- Presented by [@userTermzik](https://github.com/userTermzik), but i don't recommend this because it needs some fixes.
## Prebuilt Files ## Prebuilt Files
- [Shaders](https://github.com/WH0LEWHALE/gtav-sourcecode-build-guide/files/14649717/common.zip) ([You can build your own shaders and play with them without any problem.](#building-shaders)) - [Shaders](https://github.com/WH0LEWHALE/gtav-sourcecode-build-guide/files/14649717/common.zip) ([You can build your own shaders and play with them without any problem.](#building-shaders))
@ -95,13 +97,13 @@ setx /m RS_PROJECT gta5
``` ```
🖥️ X: 🖥️ X:
┗ 📂 gta5 ┗ 📂 gta5
┣ 📂 3rdParty (OPTIONAL) ┣ 📂 3rdParty - (OPTIONAL)
┣ 📂 src ┣ 📂 src
┣ 📂 script ┣ 📂 script
┗ 📂 tools_ng ┗ 📂 tools_ng
``` ```
## Building The Game Binary ## Building The Game Binary/Executable
1. Run `X:\gta5\src\dev_ng\game\VS_Project\load_sln_unity_2012.bat` 1. Run `X:\gta5\src\dev_ng\game\VS_Project\load_sln_unity_2012.bat`
- If prompted with "How do you want to open this file?", check "Always use this app to open .sln files" and Select **Visual Studio 2012** then click OK - If prompted with "How do you want to open this file?", check "Always use this app to open .sln files" and Select **Visual Studio 2012** then click OK
2. Once the solution loads, open the dropdown menu that says "Debug" at the top, select "Configuration Manager" 2. Once the solution loads, open the dropdown menu that says "Debug" at the top, select "Configuration Manager"
@ -111,10 +113,10 @@ setx /m RS_PROJECT gta5
6. Select `C/C++ > All options`, under "Look for options or switches", search "err" and set "Treat Warnings as Errors" to "No (/WX-)", then click "Apply" and "OK" 6. Select `C/C++ > All options`, under "Look for options or switches", search "err" and set "Treat Warnings as Errors" to "No (/WX-)", then click "Apply" and "OK"
- For faster compiles, search "mul" and set "Multiprocessor Compilation" to "Yes (/MP)" - For faster compiles, search "mul" and set "Multiprocessor Compilation" to "Yes (/MP)"
- If you get the error `C1060: Compiler is out of heap space` during build, come back to the above setting and turn it off - If you get the error `C1060: Compiler is out of heap space` during build, come back to the above setting and turn it off
7. Right-click the "game" project and select "Properties" and do step 5 again 7. Right-click the "game" project and select "Properties" and do step 5,6 again
8. Change build the type at the top of the window from "Debug" to "BankRelease" 8. Change build the type at the top of the window from "Debug" to "BankRelease"
9. At the top of the window, select `Build > Build Solution` and wait for build to finish 10. At the top of the window, select `Build > Build Solution` and wait for build to finish
10. Copy output binary to game folder. 11. Copy output binary to game folder.
> [!WARNING] > [!WARNING]
> Building shaders and scripts can be skipped using the [prebuilt files above](#prebuilt-files)<br> > Building shaders and scripts can be skipped using the [prebuilt files above](#prebuilt-files)<br>
@ -212,4 +214,8 @@ rag
[Almost Every Controls & Keys](/other/controls) [Almost Every Controls & Keys](/other/controls)
# Final Thoughts
Thanks for reading my precious tutorial, please consider starring or forking the repository if this helped u.
<!-- Made with ❤️ by Smashtika(@yungDoom) --> <!-- Made with ❤️ by Smashtika(@yungDoom) -->