p0l3naruba / gtav-sourcecode-build-guide Goto Github PK
View Code? Open in Web Editor NEWGTA V Source Code Build Tutorial with an extra additions!
GTA V Source Code Build Tutorial with an extra additions!
i cant find Active Solution Platform in the configuration window
i cant open the app cus its saying its a virus but its not so i cant open it
-note i have virus and threat protection off
When i try to compiled the game thares nothing in titleupdate\dev_ng Thare should be game_win64_bankrealease.
How do i do that?
I already successfully built application but cannot build shaders..
I launched VS2012 via X:\gta5\src\dev_ng\game\VS_Project\load_sln_unity_2012.bat
SETTING SPECIFIC ENVIRONMENT VALUES TO OVERRIDE SETENV.BAT
OVERRIDES:
RS_BUILDBRANCH: x:\gta5\build\dev_ng
RS_CODEBRANCH: x:\gta5\src\dev_ng
RS_PROJECT: gta5
RS_PROJROOT: x:\gta5
RS_SCRIPTBRANCH: x:\gta5\script\dev_ng
RS_TOOLSROOT: X:\gta5\tools_ng
RAGE_DIR: X:\gta5\src\dev_ng\rage
RS_TITLE_UPDATE_NG: x:\gta5\titleupdate\dev_ng
ENVIRONMENT
RS_PROJECT: gta5
RS_PROJROOT: x:\gta5
RS_BUILDROOT: x:\gta5\build
RS_BUILDBRANCH: x:\gta5\build\dev_ng
RS_CODEBRANCH: x:\gta5\src\dev_ng
RS_SCRIPTBRANCH: x:\gta5\script\dev_ng
RS_ASSETS: x:\gta5\assets_ng
RS_EXPORT: x:\gta5\assets_ng\export
RS_PROCESSED: x:\gta5\assets_ng\processed
RS_TOOLSROOT: X:\gta5\tools_ng
RS_TOOLSBIN: X:\gta5\tools_ng\bin
RS_TOOLSDCC: X:\gta5\tools_ng\dcc
RS_TOOLSCONFIG: X:\gta5\tools_ng\etc
RS_TOOLSLIB: X:\gta5\tools_ng\lib
RS_TOOLSSRC: x:\gta5\src\dev_ng\rage\framework\tools\src
RS_TOOLSRUBY: X:\gta5\tools_ng\bin\ruby\bin\ruby.exe
RS_TOOLSIR: X:\gta5\tools_ng\bin\ironruby\bin\ir64.exe
RS_TOOLSPYTHON: X:\gta5\tools_ng\bin\python\App\python.exe
RS_TOOLSCONVERT: X:\gta5\tools_ng\ironlib\lib\RSG.Pipeline.Convert.exe
RAGE_DIR: X:\gta5\src\dev_ng\rage
RAGE_3RDPARTY: X:\3rdparty\dev
RAGE_CRASHDUMP_DIR: x:\gta5\build\dev_ng
RS_TITLE_UPDATE: x:\gta5\titleupdate\dev
END ENVIRONMENT
I get errors:
1>------ Build started: Project: shaders_rc, Configuration: Release Win32 4.0 Win32 ------
1> Setting platform to: win32_40
1>EXEC : error : Cannot find shader dependency file: %RAGE_DIR%/base/src/shaderlib/rage_common.fxh
1>EXEC : error : Cannot find shader dependency file: %RAGE_DIR%/base/src/grcore/config_switches.h
1>EXEC : error : Cannot find shader dependency file: %RAGE_DIR%/base/src/grcore/config_switches.h
1>EXEC : error : Cannot find shader dependency file: %RAGE_DIR%/base/src/shaderlib/rage_diffuse_sampler.fxh
...
1>EXEC : error : Cannot find shader dependency file: %RAGE_DIR%/base/src/grcore/config_switches.h
1> Building Incredibuild XML File: C:\Users\sotlef\AppData\Local\Temp\XGEShaderBuild.xml
1> Please Wait...
1>
1> Shader Build: win32_40
1>
1>
1> -----------------------------------------------------------------
1> Xoreax Grid Engine Console 4.0 (build 1281)
1> Copyright (C) 2001-2012 Xoreax Software Ltd. All rights reserved.
1> -----------------------------------------------------------------
1>
1>
1> Initializing...
1> --------------------Project: FX Shader Compiling-------------------------------
1> Compiling Shaders
1> | X:\gta5\tools_ng\bin\RageShaderManager\RAGEShaderManager.exe -shader=X:\gta5\src\dev_ng\game\shader_source\Custom\blend_2lyr.fx -config=X:\gta5\tools_ng\etc\RageShaderManager\shaderbuild_tu_dev_ng.xml -action cleanbuild -noDependencies -platform win32_40 -platformConfig final
1> Compiling blend_2lyr.fx (0:00.21 at +0:00)
1> Setting platform to: win32_40
1> Setting platform config: final
1> Building: X:\gta5\src\dev_ng\game\shader_source\Custom\blend_2lyr.fx
1>EXEC : error : %RAGE_DIR% -> Could not resolve this variable. Please check your configuration file.
1>EXEC : error : Error in preprocessor on shader: X:\gta5\src\dev_ng\game\shader_source\Custom\blend_2lyr.fx
1> Exit Code: 1
1>EXEC : error : Shader Build Failed
I think you have to add more info about Prebuilt Files(Shaders & Scripts).
Example where should we move to shaders?
Game folder or X:\gta5\titleupdate\dev_ng\common?
Same for scripts etc.
Thank you for this repo.
Game is actually compiling and works fine with prebuilt shaders but when i try to make shaders myself i get an error in Visual Studio
Project(s): shaders_rc, shaders_dependency
Here's my log for some information:
shaders_dependency:
------ Build started: Project: shaders_dependency, Configuration: Release Win32 ------
1> Configuration File Added to Registry: X:\gta5\tools_ng\etc\RageShaderManager\shaderbuild_tu_dev_ng.xml
1>EXEC : error : Unspecified action type. Actions available are 'rebuild', 'cleanbuild', 'clean' or 'createDependencySupportFile'
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "%RS_TOOLSROOT%\bin\RageShaderManager\RageShaderManager.exe -platform psn -platformConfig dev -action builddependency -buildFromDirectory -regConfig=%RS_TOOLSROOT%\etc\RageShaderManager\shaderbuild_tu_dev_ng.xml" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
shaders_rc
1>------ Build started: Project: shaders_rc, Configuration: Release Win32 4.0 Win32 ------
1>EXEC : error : Unspecified action type. Actions available are 'rebuild', 'cleanbuild', 'clean' or 'createDependencySupportFile'
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "X:\gta5\src\dev_ng\game\shader_source\VS_Project\batch\rsm_build_win32_40.bat dev" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Informational:
First I tried with Epic Games version of the game, I can't make it work.
Then I tried with Steam version, it worked without any problem.
(Both versions are original, not torrent)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.