Skip to content

handama/xna-cncnet-client-CN

 
 

Repository files navigation

CnCNet Client

The MonoGame / XNA CnCNet client, a platform for playing classic Command & Conquer games and their mods both online and offline. Supports setting up and launching both singleplayer and multiplayer games with a CnCNet game spawner. Includes an IRC-based chat client with advanced features like private messaging, a friend list, a configurable game lobby, flexible and moddable UI graphics, and extras like game setting configuration and keeping track of match statistics. And much more!

新功能

(待补全)

  • 大部分界面的汉化
  • 中文输入
  • 自定义IRC服务器
  • 载入根目录地图
  • 不限制地图拓展名
  • 自定义第三方地图目录名
  • (phobos)为ToolTipDescriptions提供选项
  • 每张地图可自定义是否使用客户端随机位置
  • 设置中自定义命令行参数
  • 自动为dev版phobos添加命令行参数
  • 自动选择隧道服务器
  • 自动选择cncnet IRC服务器
  • 根据地图玩家数量和作者筛选地图
  • 显示玩家延迟
  • 自定义游戏分辨率
  • 优化随机选择地图

Targets

The primary targets of the client project are

However, there is no limitation in the client that would prevent incorporating it into other projects. Any game or mod project that utilizes the CnCNet spawner for Tiberian Sun and Red Alert 2 can be supported. Several other projects also use the client or an unofficial fork of it, including Tiberian Sun Client, Project Phantom, YR Red-Resurrection, The Second Tiberium War and CnC: Final War.

Requirements

The client has 3 builds: Windows (DirectX11), OpenGL and XNA.

Building the solution for any platform requires Visual Studio 2017 or newer. A modern version of Visual Studio Code, MonoDevelop or Visual Studio for Mac could also work, but are not officially supported.

Compiling

  • Compiling itself is simple: assuming you have the prerequisites installed, you can just open the solution with Visual Studio and compile it right away; the repository includes MonoGame and other necessary DLLs for quick compiling.
  • The BuildScripts directory has automated build scripts that build the client for all platforms and copy the output files to a folder named Compiled in the project root. Note that by default the build scripts also build the XNA version of the client, which requires XNA Framework 4.0 Refresh to be installed. If you don't want to install XNA, then you need to modify BuildGame.bat to leave the XNAFramework build out.

Usage

For end-users running Vista or newer Windows, the MonoGame (DirectX11) build is preferred. The MonoGame build cannot be run on Windows XP, so the XNA build is intended for XP users and for those users whose GPUs do not properly support DX11.

The MonoGame WindowsGL / DesktopGL build is primarily meant for experimental Linux and Mac support.

Screenshots

Screenshot Screenshot

About

魔改的中文版客户端

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.3%
  • Other 0.7%