在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:MHeasell/rwe开源软件地址:https://github.com/MHeasell/rwe开源编程语言:C++ 82.8%开源软件介绍:Robot War EngineAn open-source real-time strategy game engine that is highly compatible with Total Annihilation data files. Build StatusDownloadThere is currently no stable release. If you would like try out the latest, bleeding edge version, the latest zip file and/or installer is available at: https://ci.appveyor.com/project/MHeasell/rwe/branch/master To find the files, click "Environment: RWE_COMPILER=MSYS; Configuration: Release", then "Artifacts". RWE is currently only available on Windows, however the code is also built and tested on Linux. Official Linux binaries will be available when the project reaches a stable version. Source code is hosted on Github: https://github.com/MHeasell/rwe How to Install
How to PlayGeneral:
Units:
Debugging:
Development StatusProgress updates are posted to a thread on the TAUniverse forums, usually once a week. See: http://www.tauniverse.com/forum/showthread.php?t=45555 How to BuildFirst fetch the source code:
Then follow the instructions for your platform. Windows with Visual StudioGet the RWE MSVC libraries bundle. A python 3 script is provided that will do this for you:
Alternatively you can double-click the script in Explorer and it should run that way. If the script completes successfully you should have a Now open Visual Studio 2017, go to Windows with MSYS2Download and install MSYS2 (http://www.msys2.org/) Install the required packages:
Open the Compile protobuf:
Generate and build the project:
Once built, launch RWE from the top-level directory:
UbuntuInstall the necessary packages:
Ensure you have a recent version of CMake (3.8+). The one provided by your package manager may not be new enough. Here's how you might install CMake:
Compile protobuf:
Now build the code:
Install some TA data files (.hpi, .ufo, .ccx, rev31.gp3, etc.) to your local data directory:
Alternatively you can symlink Finally, launch RWE from the top-level project directory:
The LauncherThe launcher application provides the multiplayer lobby for RWE. MotivationMultiplayer is implemented via a separate application rather than by recreating the original in-game multiplayer lobby for the following reasons. In the future, the goal is to improve the multiplayer lobby experience beyond what is supported by the orignal TA multiplayer lobby. The RWE launcher will eventually support managing installed mods, and will ensure that all players in a multiplayer game have the same mods enabled before RWE is launched. It is impractical to achieve this with an implementation of the original multiplayer lobby inside RWE because RWE is primarily driven by the supplied game data, and this data dictates the design and layout of screens, as well as what screens are even available. An interface that manages mods must exist and work independently of any individual mod's game data. In this context, original TA data is also a mod that may or may not be available. The engine codebase is already quite large and unwieldy. It is written in C++ for performance, but this does not provide a great development experience. The multiplayer lobby is not performance-critical, and given what we want to accomplish in future, it seems more practical to use a different platform that provides a better developer experience and is more suited to building traditional GUI applications. Technology ChoicesThe launcher is an Electron application written in TypeScript with React and Redux. How to Build and Run for DevelopmentFirst go to the launcher directory and install the required npm modules.
Then start the webpack dev server
The server will start up and stay running until interrupted. It serves the compiled application code during development and provides hot-reloading. Open another terminal session for the next step, launching the application itself. For development, you will need to set the
Now you can start the application.
The application window should now appear. The launcher expects to talk to a master server that manages the list of publicly available games. In development, the launcher will try to connect to a master server instance running on the local machine. To start a master server instance locally, open another terminal session and run the following:
The master server will start up and stay running until interrupted. Any running launcher instances should automatically connect to the master server. How To PackageFor releases, the launcher must be bundled up as a complete Electron application. To do this, run the following:
The built application will be written out to a subdirectory
whose name depends on the target platform.
For example, for 64-bit Windows the directory name is
|
2022-08-15
2022-08-17
2022-09-23
2023-10-27
2022-08-18
请发表评论