A second breath of life for Wolfenstein: Enemy Territory
Enemy Territory: Legacy is based on the raedwulf-etproject which in turn is based on the GPL'd source code of Wolfenstein: Enemy Territory.
The main goals of the project are fixing bugs, cleaning up the codebase and adding useful featureswhile remaining compatible with the ET 2.60b version.
The Legacy mod is the default mod shipped with ET: Legacy. It aims to add many useful features andimprovements, while staying close to the original gameplay, as well as being lightweight and extensiblethrough Lua scripts.
For more information consult our changelog.
ET: Legacy development is a collaborative effort done in an open, transparent and friendly manner.Anyone is welcome to join our efforts!
If you are interested to join us, ensure to read first our contribution guidelines:
Wolfenstein: Enemy Territory is a free release, and can be downloaded from Splash Damage.
This source release contains only the engine and mod code but not any game data,which is still covered by the original EULA and must be obeyed as usual.
In order to run ET: Legacy you will need to copy the original assets files(pak0.pk3, pak1.pk3 and pak2.pk3) to the etmain folder.
ET: Legacy remains compatible with the ET 2.60b version as much as possible.
Please note that ET: Legacy is not compatible with PunkBuster enabled servers.ET: Legacy clients also cannot connect to servers running the ETPro mod.
Please remember that 64 bit ET: Legacy clients can only connect to servers runningmods providing a 64 bit version. You will be able to play 32 bit-only mods only ifyou compile ET: Legacy on a 32 bit system or cross-compile it for 32 bit architectureon a 64 bit system.
At the moment, only the Legacy mod is available in 64 bit version, while all otherexisting mods are available in 32 bit only version.
In case you are a running a 64 bit system, you probably might want to use thebundled libraries which are located in a separate etlegacy-libs repository andcan be automatically downloaded using the git submodule
command. See the nextsection for more details.
Grab info about current lib versions from our wiki page ET: Legacy Libs_Changelog
To get the latest source code install git andclone our repository hosted at Github.com:
$ git clone git://github.com/etlegacy/etlegacy.git
If the required dependencies are not installed on your system run:
$ git submodule init
$ git submodule update
This downloads the essential dependencies into the libs/
directory. You can choosewhether to use bundled libraries instead of the system ones by changing theBUNDLED_LIBS
variable in the CMakeList.txt configuration file. You can then selectwhich bundled libraries to use by toggling the respective BUNDLED_XXX
variable.
To install the binaries system-wide, you need to compile ET: Legacy with hardcodedfs_basepath.
The following variables can be adjusted in CMake:
INSTALL_DEFAULT_BASEDIR: sets default fs_basepath, i.e. where etl and etldedexecutables look for data files. In most cases it is CMAKE_INSTALL_PREFIX+INSTALL_DEFAULT_MODDIR.Defaults to empty value, because we want fs_basepath to be the current working directorywhen not installing the game system-wide.
(optional) INSTALL_DEFAULT_BINDIR: Location for executables. Appended to CMAKE_INSTALL_PREFIX.Defaults to "bin".
(optional) INSTALL_DEFAULT_MODDIR: Location for libraries and paks. Appended toCMAKE_INSTALL_PREFIX. Defaults to "share/etlegacy" and then "legacy" is appended to it.
Install required dependencies.
In terminal, run:
$ ./easybuild.sh
ET: Legacy will be installed in ~/etlegacy
.
In terminal, run:
$ mkdir build && cd build && cmake ..
To compile, run:
$ make
If you wish to install ET: Legacy system-wide, run:
# make install
Be sure to set the CMake variables (see above) beforehand.
NOTES:
Even if you have a 64 bit linux distribution which provides 32 bit versions of allthe required libraries, you might also need the development libraries (-devel packages)installed on your system.
In order to compile the jpeg-turbo library properly you will need the nasm assembler.
In terminal, run:
$ mkdir build && cd build
$ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-cross-mingw-linux.cmake ..
$ make
By default, MinGW name is set to i686-w64-mingw32. You may have to change it incmake/Toolchain-cross-mingw-linux.cmake
depending on how it is called on your system.
Install:
option A: easybuild
ET: Legacy will be installed in My Documents\ETLegacy-Build
.
option B: Visual Studio
build
directory inside the directory which contains ET: Legacy sourcescd
to the newly created build directoryIn the command prompt, run:
cmake -G "NMake Makefiles" -DBUNDLED_LIBS=YES .. && nmake
or
cmake -G "Visual Studio 16" -DBUNDLED_LIBS=YES ..
and open the resulting project in Visual Studio.
NOTES:
If compilation of bundled libraries is aborted for any reason, you will probably need to clean thelibs directory and start over. This can be done by executing git clean -df && git reset --hard HEAD
inside libs/
directory.
If the build fails during libcurl compilation because of missing sed utility, download it fromGnuWin and place it into your system path orcopy it into MSVC/VC/bin
. It also comes with Git and can be placed into your system pathautomatically if you select that option during Git installation.
Install:
1. [Xcode](https://developer.apple.com/xcode/downloads/)
2. [Homebrew](http://brew.sh/)
3. [Homebrew Cask](http://caskroom.io/)
Then brew the following packages in the terminal app:
$ brew cask install xquartz
$ brew install --universal gnu-sed cmake glew sdl2 minizip jpeg-turbo curl lua libogg libvorbis theora freetype sqlite openal-soft
The --universal flag ensures both 32bit and 64bit libraries are installed. Although your system curl library supports both architectures, you also need to install its headers.
In Terminal, run:
$ ./easybuild.sh
This will put an 'etlegacy' folder into your user folder.
In terminal, run:
$ mkdir build && cd build && cmake ..
To compile, run:
$ make
If you wish to install ET: Legacy system-wide, run:
# make install
Be sure to set the CMake variables (see above) beforehand.
NOTES:
Wolfenstein: Enemy Territory GPL Source CodeCopyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
OpenWolf GPL Source CodeCopyright (C) 2011 Dusan Jocic
XreaL GPL Source Code (renderer2)Copyright (C) 2010-2011 Robert Beckebans
ET: LegacyCopyright (C) 2012-2020 ET:Legacy Team mail@etlegacy.com
ET: Legacy is free software: you can redistribute it and/or modify it underthe terms of the GNU General Public License as published by the Free SoftwareFoundation, either version 3 of the License, or (at your option) any laterversion.
ET: Legacy is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FORA PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along withET: Legacy (see COPYING.txt). If not, see http://www.gnu.org/licenses/.
ADDITIONAL TERMS: The Wolfenstein: Enemy Territory GPL Source Code is alsosubject to certain additional terms. You should have received a copy of theseadditional terms immediately following the terms and conditions of the GNU GPLwhich accompanied the Wolf ET Source Code. If not, please request a copy inwriting from id Software at id Software LLC, c/o ZeniMax Media Inc., Suite 120,Rockville, Maryland 20850 USA.
EXCLUDED CODE: The code described below and contained in the Wolfenstein:Enemy Territory GPL Source Code release is not part of the Program covered bythe GPL and is expressly excluded from its terms. You are solely responsiblefor obtaining from the copyright holder a license for such code and complyingwith the applicable license terms.
Copyright (C) 1991-1992, RSA Data Security, Inc. Created 1991. All rights reserved.
License to copy and use this software is granted provided that it is identifiedas the "RSA Data Security, Inc. MD4 Message-Digest Algorithm" in all material mentioning or referencing this software or this function.
License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD4 Message-DigestAlgorithm" in all material mentioning or referencing the derived work.
RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of anykind.
The MD5 algorithm was developed by Ron Rivest. The public domain C languageimplementation used in this program was written by Colin Plumb in 1993, no copyrightis claimed.
This software is in the public domain. Permission to use, copy, modify, anddistribute this software and its documentation for any purpose and without fee ishereby granted, without any conditions or restrictions. This software is provided"as is" without express or implied warranty.
ET: Legacy A second breath of life for Wolfenstein: Enemy Territory Website: https://www.etlegacy.com Downloads: https://www.etlegacy.com/download Wiki/FAQ: https://github.com/etlegacy/etlegacy/wiki D
在java 5版本中引入了注解。 使用注释的程序元素意味着它不应该用于以下任何原因 - 它的使用可能会导致错误。 它可能在未来版本中不兼容。 它可能在未来的版本中被删除。 一个更好和更高效的替代方案已经取代它。 每当使用不推荐使用的元素时,编译器会生成警告。 使用Java 9,对注释进行了两项新的增强。 - 指示注释的元素是否在将来的版本中被删除。 默认值是。 - 返回注释元素已过时的版本。 默认
Java 中 @Deprecated 可以用来注解类、接口、成员方法和成员变量等,用于表示某个元素(类、方法等)已过时。当其他程序使用已过时的元素时,编译器将会给出警告。 使用 @Deprecated 注解示例代码如下: 上述代码第 2 行类 Person、第 4 行的成员变量 name 和第 24 行的 setNameAndAge 方法都被 @Deprecated 注解。在 Eclipse 中这
问题内容: 假设我定义了一个名为的自定义注释。 我想提供一个注释处理器,它将检测 对 带有注释的方法的 引用并显示警告。 例如,给出此代码… …我希望编译器打印如下内容: 它在本质上与相似,但是我的注释传达的是不同的东西,所以我不能直接使用。有没有一种方法可以通过注释处理器来实现?注释处理器API似乎比 引用 注释成员的实体更侧重于 应用 注释的实体(在我的示例中)。 __ 这个问题提供了一种使用
This plugin is deprecated and will be removed in the next major release. Overview Quick setup Available options Live examples Overview The headerTooltips plugin allows adding tooltips to the table hea
检查Java JDK和Android SDK版本Android_SDK_ROOT=C:\users\rpwebapps\appdata\local\Android\SDK(推荐设置)Android_Home=C:\users\rpwebapps\appdata\local\Android\SDK(DEPRECATED)无法读取未定义的属性“length”[ERROR]运行子进程Cordova时发生