一个逆向工程版本的GTA3源代码
Go to file
Sergeanur 33abd1b4e7 Merge branch 'miami' into lcs
# Conflicts:
#	src/audio/AudioLogic.cpp
#	src/audio/sampman.h
#	src/audio/sampman_miles.cpp
#	src/audio/sampman_oal.cpp
2021-09-02 21:00:15 +03:00
.github disable switch workflow for now 2021-08-19 17:31:27 +02:00
.vscode Switch PR & remove X11 part from CMakeLists 2021-08-16 20:02:40 +03:00
autoconf Auto-detect X11 dependency 2021-08-16 21:06:52 +03:00
cmake Switch PR & remove X11 part from CMakeLists 2021-08-14 18:09:07 +03:00
codewarrior Fix CW build 2021-08-16 09:57:40 +03:00
gamefiles Merge branch 'miami' into lcs 2021-08-16 10:09:39 +03:00
res/images Nintendo Switch support 2021-07-13 01:18:49 +02:00
src Merge branch 'miami' into lcs 2021-09-02 21:00:15 +03:00
utils/gxt Update GXT 2021-07-15 00:50:41 +03:00
vendor update librw 2021-08-19 17:03:57 +02:00
.clang-format Add basic clang format file 2020-12-08 18:38:22 +01:00
.gitattributes Add .gitattributes for better language stats 2020-09-23 16:08:35 +03:00
.gitignore swap out codewarrior reVC.mcp with xml export 2021-06-26 03:43:40 +02:00
.gitmodules Move stuff to vendor 2020-08-14 14:22:50 +03:00
CMakeLists.txt Merge branch 'miami' into lcs 2021-08-16 10:09:39 +03:00
CODING_STYLE.md Separate Coding Style out into its own Document, and mention it from the Readme. 2020-09-30 06:54:57 -04:00
conanfile.py Fixes for lcs conan 2021-01-16 01:51:48 +01:00
premake5.exe premake: add startrpoject; add lto option; fix copying of binary to gamedir; update premake5.exe 2021-01-12 12:43:42 +02:00
premake5.lua Merge branch 'miami' into lcs 2021-08-25 09:07:41 +03:00
premake5Linux premake: add startrpoject; add lto option; fix copying of binary to gamedir; update premake5.exe 2021-01-12 12:43:42 +02:00
premake-vs2015.cmd improvements (?) to premakefile 2020-04-29 11:44:26 +02:00
premake-vs2017.cmd improvements (?) to premakefile 2020-04-29 11:44:26 +02:00
premake-vs2019.cmd improvements (?) to premakefile 2020-04-29 11:44:26 +02:00
printHash.bat Remove version text, add toggleable debug info(with commit hash!) 2021-02-12 21:09:23 +03:00
printHash.sh fix: printHash.sh; replace echo -n, check if $1 is set. 2021-07-05 22:40:30 +02:00
README.md Nintendo Switch support 2021-07-13 01:18:49 +02:00

reLCS

Build Status

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

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