e0601296a9
Changes were made to be compliant with the coding style: - All floats should be explicit by specifying "f" suffix so compiler doesn't use double as default - Changed the conditional order to be more clear about what the "if" chain trying to achieve Thanks Nick007J |
3 years ago | |
---|---|---|
.github | 3 years ago | |
.vscode | 3 years ago | |
cmake | 4 years ago | |
codewarrior | 3 years ago | |
gamefiles | 3 years ago | |
src | 3 years ago | |
utils/gxt | 3 years ago | |
vendor | 3 years ago | |
.clang-format | 4 years ago | |
.gitattributes | 4 years ago | |
.gitignore | 3 years ago | |
.gitmodules | 4 years ago | |
CMakeLists.txt | 4 years ago | |
CODING_STYLE.md | 4 years ago | |
README.md | 3 years ago | |
conanfile.py | 4 years ago | |
logo.png | 4 years ago | |
logo.svg | 4 years ago | |
premake-vs2015.cmd | 5 years ago | |
premake-vs2017.cmd | 5 years ago | |
premake-vs2019.cmd | 5 years ago | |
premake5.exe | 4 years ago | |
premake5.lua | 3 years ago | |
premake5Linux | 4 years ago | |
printHash.bat | 4 years ago | |
printHash.sh | 3 years ago |
README.md
reLCS
Intro
The aim of this project is to reverse GTA Liberty City Stories.
How can I try it?
- reLCS requires game assets to work.
- Build reLCS or download it from one of the above links (Debug or Release).
- (Optional) If you want to use optional features, copy the files in /gamefiles folder to your game root folder.
- Move reLCS.exe to GTA LCS directory and run it.
Preparing the environment for building
You may want to point GTA_LCS_RE_DIR environment variable to GTA LCS root folder if you want executable to be moved there via post-build script.
- For Linux, proceed: Building on Linux
- For FreeBSD, proceed: Building on FreeBSD
- For Windows, assuming you have Visual Studio:
- Clone the repo using the argument
--recursive
. - Run one of the
premake-vsXXXX.cmd
variants on root folder. - Open the project via Visual Studio
- Clone the repo using the argument
If you use 64-bit D3D9: We don't ship 64-bit Dx9 SDK. You need to download it from Microsoft if you don't have it(although it should come pre-installed after some Windows version)
There are various settings at the very bottom of config.h, you may want to take a look there. i.e. FIX_BUGS define fixes the bugs we've come across.
ℹ️ If you choose OpenAL on Windows You must read Running OpenAL build on Windows.
ℹ️ Did you notice librw? reLCS uses completely homebrew RenderWare-replacement rendering engine; librw. librw comes as submodule of reLCS, but you also can use LIBRW enviorenment variable to specify path to your own librw.
Contributing
Please read the Coding Style Document