Skip to content
forked from MoeMod/CSMoE

Cross-platform Counter-Strike mod based on Xash3D (previously named CSBTE-Mobile)

License

Notifications You must be signed in to change notification settings

dragonxash/CSMoE

 
 

Repository files navigation

Build Status Build status
English | 中文(简体)

Counter-Strike Mobile-oriented Edition

CSMoE is a project that based on Xash3D Engine and CS1.6 Mods to restore like Counter-Strike Online (CSO) or Counter-Strike Nexon: Studio (CSN:S known as CSN:Z)

What makes this special, Because CSMoE are cross-platform designed. Here are some supported platforms and archs matrix

x86 x64 armv7 arm64
Windows Desktop ? ?
Windows 10 UWP ? ?
macOS ? × ×
Linux ? ?
Android
iOS
√ - confirmed to run
? - may builds
× - not supported

This project includes CSMoE's Engine, Server and Client. Android, iOS, Windows UWP apps are also bundled.

Current Features

  • New HUD elements (ScoreBoard, KillerEffects, C4 follow icons, Custom Crosshair)
  • GameMode : Team Deathmatch (TDM)
  • GameMode : Deathmatch (DM) with BOT support
  • GameMode : Zombie Mod 1
  • GameMode : Zombie Mod 2
  • GameMode : Zombie United
  • GameMode : Zombie Mod 3 (Classic)
  • GameMode : Zombie Scenario (Classic) with BOT support
  • GameMode : GunDeath
  • GameMode : Zombie Mod 4

Differ with other CSO-like mods

  • No dominating weapons and immortal player classes
  • Simplified gameplay
  • Without AMXX, all C/C++ native code instead
  • Lightweight implement, VGUI2-less
  • English only
  • Support low-end system
  • Cross-platform
  • Fully open-source under GPLv3 licence

Tested systems

Windows 10 UWP (1809) - Surface Book 2 (2017)

  • Specs : Intel Core i5-8650U, NVIDIA GTX 1050, 8 GB
  • Input : Mouse, Keyboard, Touchpad, Touchscreen
  • Output : Display(3000 x 2000), Sound
  • Result : 60 fps

Windows 10 Desktop (1703) - Surface Pro 5 (2017)

  • Specs : Intel Core i5-7300U, Intel HD620, 8 GB
  • Input : Mouse, Keyboard, Touchpad, Touchscreen
  • Output : Display(2736 x 1824 PixelSense), Sound
  • Result : 80+ fps

Linux ( Ubuntu 19.04 ) - Google Pixelbook (2017)

  • CPU : Intel Core i5-7Y57, Intel HD615, 8GB
  • Input : Mouse, Keyboard, Touchpad, Touchscreen
  • Output : Display(2400 x 1600), Sound
  • Result : 80+ fps

Android (8.1) - Google Pixel C (2015)

  • Specs : nVIDIA Tegra X1, 4 GB
  • Input : Touchscreen
  • Output : Display(2560 x 1800), Sound, Vibration(not available on Pixel C)
  • Result : ~90 fps

iOS (11.2) - Apple iPhone X (2017)

  • Specs : A11 Fusion
  • Input : Touchscreen, 3D Touch
  • Output : Display(2436 x 1125 Super-Retina), Sound, Vibration(Tapic-Engine)
  • Result : ~60 fps

macOS (10.14) - MacBook Pro (2018)

  • Specs : Intel Core i5-8259U, Intel Iris Plus 655, 8GB
  • Input : Mouse, Keyboard, Touchpad, Multi-touch Bar
  • Output : Display(2560 x 1600 Retina), Sound
  • Result : 80+ fps

Installation

Windows

  1. Download ***-win32-i386 and ***-GameDir and extract them together
  2. Purchase and download Counter-Strike on Steam
  3. Copy cstrike and valve directory to where the csmoe locates
  4. Run csmoe_win32.exe
    Note : If you get errors about MSVCR140.dll and so on, install Microsoft VC++ Redist on
    https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

Linux

  1. Download ***-linux-i386 and ***-GameDir and extract them together
  2. Purchase and download Counter-Strike on Steam
  3. Copy cstrike and valve directory to where the csmoe locates
  4. Launch terminal, cd to the dir, type sudo chmod +x xash3d
  5. type the cmd below to run the game bash csmoe_linux.sh
    Note : You may need to install libSDL2 and other dependencies.

Android

  1. Download ***-GameDir and extract it into an empty folder on your phone
  2. Purchase and download Counter-Strike on Steam
  3. Copy cstrike and valve directory to where the csmoe locates
  4. Download and install ***-Android.apk
  5. Run the game and follow the instructions

iOS

  1. Download and install the ipa using Impactor
  • armv7 for iPhone 5, iPad 4, iPod Touch 5 or earlier
  • arm64 for iPhone 5s, iPad Air 1, iPod Touch 6 or newer
  • universal for both armv7 and arm64
  1. Download ***-GameDir and extract it
  2. Purchase and download Counter-Strike on Steam
  3. Find cstrike and valve directory in steamapps
  4. Launch iTunes and select the APP in file sharing
  5. Drag csmoe, cstrike, valve into iTunes
  6. Run the app on the SpringBoard
    Note : Thanks to the fxxking App Store limitations, you must reinstall it every week or it will crash (no need to recopy resources).

macOS

  1. Download ***-macos-x64 and ***-GameDir and extract them together
  2. Purchase and download Counter-Strike on Steam
  3. Copy cstrike and valve directory to where the csmoe locates
  4. Run csmoe_macos.sh with Terminal
    Note : If it results in a black window, try to drag it and then the menu will appear.

Building

Generic

  • This project uses C++14 standard, and please ensure that your compiler supports it.
  • Tested compilers : MSVC 19.10, AppleClang 10, ICC 19, GCC 8.1

Windows

  • Requirement:
    • Visual Studio 2017 or above
    • Universal Windows Platform Deployment (UWP)
    • C++ Deployment
    • Windows SDK (10.0.18362.0 as known as 1803) (Maybe require VS2019 to download and install it?)
  • Now Windows project will building UWP application instead of normal application, so make sure you are Windows 10 and installed UWP Developing in Visual Studio
  • If you still want building normal application, please use CMAKE to create project file.
  • Visual Studio 2017 projects can be found in msvc/csmoe.sln
  • Download SDL2-2.0.10.zip from http://www.libsdl.org/download-2.0.php and rename folder to SDL2/
  • It should be OK to build with both x86 and x64. Note : You can also use cmake to build with mingw, etc.

macOS & Linux

  • Build with CMake
  • Install packages : libfontconfig1-dev libsdl2-dev
  • It should be OK to build with both x86 and x64.

Android

  • Android Studio project is in the Android folder
  • Build APK with Android Studio, tested with Android SDK level 28 and Android NDK r20

iOS

License

This repo is licensed under GPLv3 license, check LICENSE file for details.

Contributing

  • Feel free to star/fork this project.
  • Explain what's wrong and solution
  • Commit and push a possible solution
  • Make pull request if there are fixed something that we have not fix yet

For non-developers, join QQ group 3266216 for more information.

关于本项目

本项目提供了 Counter-Strike Mobile-oriented Edition(下称'CSMoE')的 引擎, 服务端, 以及客户端的源代码(仅Windows及Linux).
关于 Android 系统或 iOs 系统的 CSMoE 启动器, 请查看其他项目.
CSMoE 是一个基于 Xash3D 引擎的 CS1.6 Mod 合集,
旨在让其还原 CSO (又名 CS:NZ), 在 2009 年初期兴起的一款在线CS游戏.
CSMoE 可以跨平台运行, 支持的平台包括: Windows(x86,x64), Linux(x86), macOS(x64), Android(ARMv7,x86), iOS(ARMv7,ARM64).

功能

  • 全新的 Hud 元素 (计分板, 击杀效果, 可跟随的C4 TGA, 个性化准星)
  • 游戏模式 : 团队竞技 (TDM)
  • 游戏模式 : 支持 BOT 的 个人竞技 (DM)
  • 游戏模式 : 生化模式 1
  • 游戏模式 : 生化模式 2
  • 游戏模式 : 生化盟约
  • 游戏模式 : 生化模式 3 (经典)
  • 游戏模式 : 支持 BOT 的 大灾变 (经典)
  • 游戏模式 : 枪王之王
  • 游戏模式 : 生化模式 4

与其他仿 CSO 模组的差别

  • 没有神器和牛逼的人物
  • 简单粗暴的游戏模式
  • 不再使用外置 AMXX 插件, 所有功能由内置 C/C++ 代码实现
  • 无 VGUI2 支持, 仅支持英语
  • 终端最低配置需求较低
  • 跨平台可用
  • 遵循 GPL v3 协议完全开源

已测试平台

Windows 10 (1809) - Surface Book 2 (2017)

  • Specs : Intel Core i5-8650U, NVIDIA GTX 1050, 8 GB
  • Input : Mouse, Keyboard, Touchpad, Touchscreen
  • Output : Display(3000 x 2000), Sound
  • Result : 60 fps

Windows 10 (1703) - Surface Pro 5 (2017)

  • Specs : Intel Core i5-7300U, Intel HD620, 8 GB
  • Input : Mouse, Keyboard, Touchpad, Touchscreen
  • Output : Display(2736 x 1824 PixelSense), Sound
  • Result : 80+ fps

Linux ( Ubuntu 19.04 ) - Google Pixelbook (2017)

  • CPU : Intel Core i5-7Y57, Intel HD615, 8GB
  • Input : Mouse, Keyboard, Touchpad, Touchscreen
  • Output : Display(2400 x 1600), Sound
  • Result : 80+ fps

Android (8.1) - Google Pixel C (2015)

  • Specs : nVIDIA Tegra X1, 4 GB
  • Input : Touchscreen
  • Output : Display(2560 x 1800), Sound, Vibration(not available on Pixel C)
  • Result : ~90 fps

iOS (11.2) - Apple iPhone X (2017)

  • Specs : A11 Fusion
  • Input : Touchscreen, 3D Touch
  • Output : Display(2436 x 1125 Super-Retina), Sound, Vibration(Tapic-Engine)
  • Result : ~60 fps

macOS (10.14) - MacBook Pro (2018)

  • Specs : Intel Core i5-8259U, Intel Iris Plus 655, 8GB
  • Input : Mouse, Keyboard, Touchpad, Multi-touch Bar
  • Output : Display(2560 x 1600 Retina), Sound
  • Result : 80+ fps

安装

Windows

  1. 下载 ***-win32-i386 和 ***-GameDir 并将他们解压到一起
  2. 在 Steam 上购买并下载 Counter-Strike (请支持正版!)
  3. 复制 'cstrike' 和 'valve' 目录至 CSMoE 目录下
  4. 运行 csmoe_win32.exe
    Note : 如果有关于 MSVCR140.dll 或有类似的错误, 点击下面链接安装 Microsoft VC++ Redist 即可
    https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

Linux

  1. 下载 ***-linux-i386 和 ***-GameDir and 并将他们解压到一起
  2. 在 Steam 上购买并下载 Counter-Strike (请支持正版!)
  3. 复制 'cstrike' 和 'valve' 目录至 CSMoE 目录下
  4. 运行命令号, cd 到 CSMoE 目录, 输入 sudo chmod +x xash3d
  5. 输入以下命令即可运行游戏 bash csmoe_linux.sh
    Note : 你可能需要安装 libSDL2 以及其他需求插件

Android

  1. 下载 ***-GameDir 并将它解压到手机内的一个空文件夹内
  2. 在 Steam 上购买并下载 Counter-Strike (请支持正版!)
  3. 复制 'cstrike' 和 'valve' 目录至 CSMoE 目录下
  4. 下载并安装 ***-Android.apk
  5. 跟随说明运行游戏

iOS

  1. 使用 Impactor 下载并安装 ipa
  • armv7 <- iPhone 5, iPad 4, iPod Touch 5 及更早的平台
  • arm64 <- iPhone 5s, iPad Air 1, iPod Touch 6 及更早的平台
  • universal <- armv7与arm64通用
  1. 下载并解压 ***-GameDir
  2. 在 Steam 上购买并下载 Counter-Strike (请支持正版!)
  3. 在 'steamapps' 目录下找到 'cstrike' 和 'valve' 目录
  4. 运行 iTunes 并在分享文件内选择 APP
  5. 将 csmoe, cstrike, valve 拉到 iTunes 内
  6. 在桌面运行 CSMoE
    Note : 由于傻逼 AppStore 的限制, 你必须每周安装一次 CSMoE , 否则它会崩溃 (不需要重新复制资源).

macOS

  1. 下载 ***-macos-x64 和 ***-GameDir 并将他们解压到一起
  2. 在 Steam 上购买并下载 Counter-Strike (请支持正版!)
  3. 复制 'cstrike' 和 'valve' 目录至 CSMoE 目录下
  4. 以管理员权限运行 csmoe_macos.sh
    Note : 如果运行后黑屏, 试试看拖拉窗口, 之后菜单应该就出来了.

工程

通常

  • 本项目使用 C++14 标准, 请确保你的编译器支持它.
  • 已测试的编译器 : MSVC 19.10, AppleClang 10, ICC 19, GCC 8.1

Windows 10 UWP

  • 由于PR #133缘故, 以后的Windows项目会编译成UWP以代替Win32, 请确保你是Windows 10用户以及安装了UWP开发
  • Visual Studio 2017 项目的路径为 msvc/csmoe.sln
  • 下载 SDL2-2.0.10.zip (http://www.libsdl.org/download-2.0.php) 并将它们放到 SDL2/
  • 一般来说这样就可以在 x86 和 x64 环境下正常运行了.
    Note : 你也可以通过 cmake 来构建 Win32 桌面版.

macOS & Linux

  • 通过 CMake 载入工程
  • 安装包 : libfontconfig1-dev libsdl2-dev
  • 一般来说这样就可以在 x86 和 x64 环境下正常运行了.

Android

  • 安卓 APP 项目在 Android 文件夹内
  • 通过 Android Studio 来构建 App, 建议使用 Android SDK level 28 和 Android NDK r20 测试.

iOS

  • iOS APP 项目在 Xcode-iOS 文件夹内
  • 通过 Xcode 打开项目并编译、部署、调试
  • 支持 armv7, arm64.

协议

本项目遵循 GPLv3 协议, 您可以点击目录下的 'LICENSE' 文件获取更多信息.

参与合作

  • star / fork
  • 说明哪里有问题 & 什么需要被添加
  • commit 可行方案 \

如果您不是开发者或无法读懂此说明, 可以添加我们的QQ群: 3266216 获取更多信息.

About

Cross-platform Counter-Strike mod based on Xash3D (previously named CSBTE-Mobile)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 66.5%
  • C 31.5%
  • Objective-C 0.6%
  • Java 0.6%
  • CMake 0.6%
  • Objective-C++ 0.1%
  • Other 0.1%