mtasa-blue

multitheftautoGPL-3.0活跃维护

把《侠盗猎车手:圣安地列斯》改造成支持联网多人对战的游戏引擎,让玩家能在原版地图上联机游玩和自制模组。

Multi Theft Auto is a game engine that turns Grand Theft Auto: San Andreas into networked multiplayer.

v1.6.0发布于 2023-06-16 20:33 UTC1,891star599fork同步于 2026-11-10 05:52 UTC

怎么上手

从 README 代码块原样提取,可能是其中一种安装方式
docker pull ghcr.io/multitheftauto/mtasa-blue-build:latest
硬件要求按 README 关键词推断
有 Docker 镜像
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v1.6.0
  1. v1.6.0最新正式版2023-06-16 · 2023-06-16 20:33 UTC

    After almost two years of feature development, bug fixing, and bug making; the MTA Team is delighted to announce the full release of MTA San Andreas 1.6.0! 🎉

    Thank you to all beta testers for the past couple of months of feedback and bug reports!

    Release highlights

    This update is meant to focus on fixes and changes, that were held back for a few releases in the past due to their compatibility-breaking nature, rather than new features, but there are already a lot of features planned for the next release!

    Here's a list of highlights for this release:

    • Many high FPS related inconsistency issues have been fixed by @Merlin
    • Script support for custom IMG containers, and ability to set model flags. Thanks to @TheNormalnij
    • A number of graphical effects
      • Added support for vehicle sun glare effect. Thanks to @gta191977649 and @TheNormalnij
      • Added corona rain reflections. Thanks to @lopezloo
      • Added big sun lens flare effect. Thanks to @gta191977649
      • Added dynamic ped shadows. Thanks to @lopezloo
      • Grass should now render correctly. Thanks to @TFP-dev
    • ARM support for MTA server is here! This should still be considered experimental. Thanks to @botder
    • Added new Default 2023, GWEN Blue and GWEN Orange GUI skins. Thanks to @Haxardous
    • Added missing GTA special character skins. Thanks to @Allerek
    • Pictures taken with the camera weapon are now saved in high quality. Thanks to @lopezloo
    • Many stability improvements
    • Many synchronization improvements
    • Many varying size fixes, quality of life improvements, updates and security enhancements to both core and resources!
    • Updates to all language translations from our Crowdin

    If you are a scripter, you really should wanna dig in to these improvements! Show off your creations on our #showroom channel on our Discord server and have a chance at getting your work featured on our social media pages.

    Read the news post on our forums and 1.6 release notes on Wiki for a complete set of changes and more information about the improvements listed above.

    Backwards compatibility

    1.6 is not compatible with the older MTA:SA versions (including the previous release - MTA:SA 1.5.9). This means that you need to install the 1.6 client if you wish to play on 1.6 servers. There were a bunch of technical reasons for this incompatibility and they were all necessary for us to continue improving the mod.

    This release includes 12 backwards incompatible changes and 5 deprecations which you should be aware of. Please check out our release notes on our Wiki site for more information.

    Important notice to Windows 7 and Windows 8.x users

    If you are using Windows 7 or 8.x, please upgrade your system to Windows 10 or 11 as soon as possible. Windows 7 and 8.x are no longer supported by Microsoft (since January 2020 and January 2023 respectively) and most software (including Google Chrome and Steam) which means you are running an insecure system. Multi Theft Auto will also eventually drop Windows 7 and 8.x support sometime in the future, so it would be a good idea to start looking at upgrade options right now. Thank you!

    CEF in MTA is no longer updated for Windows 7 or 8.x. This is because CEF no longer supports those versions of Windows. This bad for security, so please upgrade to Windows 10+ and MTA to 1.6+

    We currently provide two variants of the MTA client, one for Windows 10+ and one for Windows 7/8.x and you can find the download links also conveniently on our home page by pressing the Download button, which reveals a dropdown with the two options.

    Screenshot 2023-06-16 233125

    The Windows 7/8.x installer goes by the name of "maetro", which reflects the Aero theme of

  2. v1.5.92021-10-01 · 2021-10-01 16:17 UTC
    查看更新说明

    After a year of feature development, bug fixing, and bug making; the MTA Team is delighted to announce the release of MTA San Andreas 1.5.9! :tada:

    This update is loaded with new features for scripters to build even more immersive experiences with! Servers can now do the following (and much more):

    • allocate custom objects and vehicles
    • edit element bone behavior through 7 new bone functions
    • edit vehicle dummy positions per vehicle
    • use scalable vector graphics (SVG)
    • customize sound effects with effect parameters
    • new client download transfer box features
    • use peds and vehicles as the camera target
    • and much more!

    There have also been many synchronization improvements, varying size fixes, quality of life improvements, updates and security enhancements.

    Finally:

    A big thank you to all that donated, contributed and tested MTA 1.5.9, without all of you, this release would not have been possible. :heart:

    Please read our 1.5.9 release announcement for more information.

    You will receive an automatic update soon, but if you don't have MTA installed, you can get it from our home page at https://mtasa.com/.

    You can also find the latest binaries from nightly.mtasa.com and linux.mtasa.com.

    Don't forget to update your server resources! Latest resources can be found from https://mirror.multitheftauto.com/mtasa/resources/.

  3. v1.5.82020-10-11 · 2020-10-11 18:10 UTC
    查看更新说明

    This backwards-compatible release includes:

    Please refer to the release announcement for more information.

    Latest binaries can be found from nightly.mtasa.com and linux.mtasa.com.

  4. v1.5.72019-08-31 · 2019-08-31 23:50 UTC
    查看更新说明

    This backwards-compatible release includes:

    Please refer to the release announcement for more information.

    Latest binaries can be found from nightly.mtasa.com and linux.mtasa.com.

  5. v1.5.62018-09-07 · 2018-09-07 04:10 UTC
    查看更新说明

    This backwards-compatible release includes many changes and improvements across the board, with one big feature that stands out as being especially exciting: custom animations!

    Please refer to the release announcement for more information.

    Latest binaries can be found from nightly.mtasa.com.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Multi Theft Auto: San Andreas

    Build Status Unique servers online Unique players online Unique players last 24 hours Discord Crowdin

    Multi Theft Auto (MTA) is a software project that adds network play functionality to Rockstar North's Grand Theft Auto game series, in which this functionality is not originally found. It is a unique modification that incorporates an extendable network play element into a proprietary commercial single-player PC game.

    Introduction

    Multi Theft Auto is based on code injection and hooking techniques whereby the game is manipulated without altering any original files supplied with the game. The software functions as a game engine that installs itself as an extension of the original game, adding core functionality such as networking and GUI rendering while exposing the original game's engine functionality through a scripting language.

    Originally founded back in early 2003 as an experimental piece of C/C++ software, Multi Theft Auto has since grown into an advanced multiplayer platform for gamers and third-party developers. Our software provides a minimal sandbox style gameplay that can be extended through the Lua scripting language in many ways, allowing servers to run custom created game modes with custom content for up to hundreds of online players.

    Formerly a closed-source project, we have migrated to open-source to encourage other developers to contribute as well as showing insight into our project's source code and design for educational reasons.

    Multi Theft Auto is built upon the "Blue" concept that implements a game engine framework. Since the class design of our game framework is based upon Grand Theft Auto's design, we are able to insert our code into the original game. The game is then heavily extended by providing new game functionality (including tweaks and crash fixes) as well as a completely new graphical interface, networking and scripting component.

    Gameplay content

    By default, Multi Theft Auto provides the minimal sandbox style gameplay of Grand Theft Auto. The gameplay can be heavily extended through the use of the Lua scripting language that has been embedded in the client and server software. Both the server hosting the game, as well as the client playing the game are capable of running and synchronizing Lua scripts. These scripts are layered on top of Multi Theft Auto's game framework that consists of many classes and functions so that the game can be adjusted in virtually any possible way.

    All gameplay content such as Lua scripts, images, sounds, custom models or textures is grouped into a "resource". This resource is nothing more than an archive (containing the content) and a metadata file describing the content and any extra information (such as dependencies on other resources).

    Using a framework based on resources has a number of advantages. It allows content to be easily transferred to clients and servers. Another advantage is that we can provide a way to import and export scripting functionality in a resource. For example, different resources can import (often basic) functionality from one or more common resources. These will then be automatically downloaded and started. Another feature worth mentioning is that server administrators can control the access to specific resources by assigning a number of different user rights to them.

    Development

    Our project's code repository can be found on the multitheftauto/mtasa-blue Git repository at GitHub. We are always looking for new developers, so if you're interested, here are some useful links:

    Build Instructions

    Windows

    Prerequisites

    1. Execute win-create-projects.bat
    2. Open MTASA.sln in the Build directory
    3. Compile
    4. Execute: win-install-data.bat

    Visit the wiki article "Compiling MTASA" for additional information and error troubleshooting.

    GNU/Linux

    You can build the MTA:SA server on GNU/Linux distributions only for x86, x86_64, armhf and arm64 CPU architectures. ARM architectures are currently in experimental phase, which means they're unstable, untested and may crash randomly. Beware that we only officially support building from x86_64 and that includes cross-compiling for x86, arm and arm64.

    Build dependencies

    Please always read the utils/docker/Dockerfile for up-to-date build dependencies.

    • make
    • GNU GCC compiler (version 10 or newer)
    • libncurses-dev
    • libmysqlclient-dev

    Build instructions: Script

    Note: This script always deletes Build/ and Bin/ directories and does a clean build.

    $ ./linux-build.sh [--arch=x86|x64|arm|arm64] [--config=debug|release] [--cores=<n>]
    $ ./linux-install-data.sh  # optional step
    

    If build architecture --arch is not provided, then it's taken from the environment variable BUILD_ARCHITECTURE (defaults to: x64).

    If build configuration --config is not provided, then it's taken from the environment variable BUILD_CONFIG (defaults to: release).

    If the number of jobs --cores is not provided, then the build will default to the amount of CPU cores.

    If you are trying to cross-compile to another architecture, then set AR, CC, CXX, GCC_PREFIX environment variables accordingly (see utils/docker/Dockerfile for an example).

    Build instructions: Manual

    $ ./utils/premake5 gmake
    $ make -C Build/ config=release_x64 all
    $ ./linux-install-data.sh  # optional step
    

    If you don't want to build the release configuration for the x86_64 architecture, you can instead pick another build configuration from: {debug|release}_{x86|x64|arm|arm64}.

    GNU/Linux: Docker Build Environment

    If you have problems resolving the required dependencies or want maximum compatibility, you can use our dockerized build environment that ships all needed dependencies. We also use this environment to build the official binaries.

    Pulling the Docker image

    $ docker pull ghcr.io/multitheftauto/mtasa-blue-build:latest
    

    Building with Docker

    These examples assume that your current directory is the mtasa-blue checkout directory. You should also know that /build is the code directory required by our Docker image inside the container. After compiling, you will find the resulting binaries in ./Bin. To build the unoptimised debug build, add --config=debug to the docker run arguments.

    # x86_64
    docker run --rm -v `pwd`:/build ghcr.io/multitheftauto/mtasa-blue-build:latest --arch=x64
    
    # x86
    docker run --rm -v `pwd`:/build ghcr.io/multitheftauto/mtasa-blue-build:latest --arch=x86
    
    # arm
    docker run --rm -v `pwd`:/build ghcr.io/multitheftauto/mtasa-blue-build:latest --arch=arm
    
    # arm64
    docker run --rm -v `pwd`:/build ghcr.io/multitheftauto/mtasa-blue-build:latest --arch=arm64
    

    Premake FAQ

    How to add new C++ source files?

    Execute win-create-projects.bat

    License

    Unless otherwise specified, all source code hosted on this repository is licensed under the GPLv3 license. See the LICENSE file for more details.

    Grand Theft Auto and all related trademarks are © Rockstar North 1997–2026.