Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

liuguang

> 编程语言
Open source

鎏光云游戏引擎

708 stars0 likes0 views
WebsiteGitHub

About

Regame - Cloud Gaming Engine

简体中文 | English

Regame - Cloud Gaming Engine is a set of technologies developed by Edge computing team of Ksyun to serve the cloud game scene.

Cloud gaming is a method of playing video games that is done using remote hardware. You don't have to download or install games locally, just begin playing the game immediately because it is being run on remote servers.

Cloud gaming engine is a core technology to host ordinary games on remote server and start cloud gaming service.

Regame means remote game. It's also the transliteration of 鎏光 in Chinese. We start with Chinese name, and then English name.

Regame is still under development. It would be great if you could help.

Download Regame v0.4 here (It will be updated from time to time!)

Demo videos (Chinese):

  • 01-Regame Cloud Gaming Demo - Street Fighter

    • Youtube

    • bilibili, ixigua, zhihu

  • 09-Regame WebRTC - Accelerate the cloud trip of enterprise business - English subtitle

    • Youtube

    • bilibili, ixigua , zhihu

1. Requirements

Server

Target Minimum Recommended
System Windows 7 and later Windows 10, 11
GPU NVIDIA GPU GTX 1080Ti, RTX 2070S tested
Software GeForce Experience latest GeForce Experience
Driver GeForce Game Ready Driver latest GeForce Game Ready Driver

Client

Target Minimum Recommended
System Windows 7 and later Windows 10, 11
CPU ANY amd64

2. Basic

  • cgh use Hook technology to capture image, support most of DirectX games, such as Cyberpunk 2077, Street Fighter.

  • cge use FFmpeg to encode audio and images cgh captured into streaming.

  • cgc use FFmpeg to decode audio and video frames, and use SDL2 to play audio and show images.

3. QuickStart

FAQ

cge

The Cloud Gaming Engine.

You can launch cge directly, which will apply default options.

Run cge --help to see all options:

…

You can press Ctrl+C to stop it gracefully.

regame-user-service

cge uses regame-user-service to to maintain user state, such as verify login.

regame-web-client

A simple web client of Regame. You can help us to improve it!

cgh

Some hook dlls for capturing pictures from D3D game.

cgi

A tool for injecting hook dll into game process.

Allowed options:
  -h [ --help ]              Produce help message
  -d [ --dynamic ] arg       Use dynamic injecting
  -e [ --exec ] arg          Path of the executable
  -a [ --arg ] arg           Arguments of the executable
  -c [ --cd ] arg            Current directory for the executable
  -i [ --imagename ] arg     Image name of the process being injected.
  -w [ --wait ] arg (=1,000) Wait before injecting. unit: ms
  --lx86 arg                 Path of x86 library to inject into process
  --lx64 arg                 Path of x64 library to inject into process

cgvhid

Cloud gaming Virtual HID driver. For replaying controller event on server.

cgvd (Enterprise version only)

Cloud gaming Virtual Display. It's an Indirect Display Driver for capturing screen on server. After installing cgvd, run cge -g to interact with cgvd.

video_source

A tool for testing. Just run it, and it will generate simple pictures and write them as video frames to shared memory, then notify cge to fetch. You can use cgc to see these pictures.

It also can be used to test latency.

Video Reference (Chinese):

  • 05-Regame Cloud Gaming Engine: Latency Test

    • Youtube

    • bilibili, ixigua

cgc

A simple client to work with cge.

…

cgs (Enterprise version only)

A WebRTC server works together with cge, to serve web clients.

4. Setting Up Your Build Environment

4.1 Visual Studio

4.1.1 VS2019

Only required by WDK.

4.1.2 VS2022

Reference .vsconfig

4.2 Boost

Install Boost and set BOOST_ROOT environment variable to install directory. Details

Boost compile command:

# For MTRelease configuration
.\b2 --address-model=64 runtime-link=static

Video Reference (Chinese):

  • 06-Regame Cloud Gaming Engine FAQ: Compile Boost

    • Youtube

    • bilibili, ixigua

4.3 FFmpeg

Set FFMPEG_ROOT environment variable to the path of your FFmpeg directory. LGPL shared is recommended.

The folder tree should be like:

├─bin
├─include
│  ├─libavcodec
│  ├─libavdevice
│  ├─libavfilter
│  ├─libavformat
│  ├─libavutil
│  ├─libpostproc
│  ├─libswresample
│  └─libswscale
└─lib
    ├─x64
    └─x86

Video Reference (Chinese):

  • 04-Regame Cloud Gaming Engine FAQ: FFmpeg configuration

    • Youtube

    • bilibili, ixigua

4.4 SDL

Set SDL2_ROOT environment variable to the path of your SDL2 directory.

The same as SDL_ttf 2.0.

The folder tree should be like:

├─bin
├─include
│  └─SDL2
└─lib
    ├─x64
    └─x86

4.5 WDK and VS2019

Required by cgvhid, cgvidd.

4.6 Extra

DbgView: Included in Sysinternals Suite

5. Building and Testing

bash
git clone https://github.com/ksyun-kenc/liuguang
cd liuguang
git submodule update --init

Open each solution file with VS, prefer to select MTRelease configuration, then build.

Test steps:

  • Run cge on server.

  • Run video_source on server.

  • Run cgc -r on anther PC as long as it can access the server over the network.

Test with games:

Assume you want to test USF4.

  • Install cgvhid on server. Details

  • If you prefer gamepad to keyboard, install ViGEmBus on server. Download

  • Run cge --keyboard-replay=cgvhid --gamepad-replay=vigem on server.

  • Run cgi -d true -e SSFIV.exe -i SSFIV.exe --lx86 .\captureyuv.dll on server.

  • Run cgc -r on anther PC as long as it can access the server over the network.

Note that only support D3D9, D3D11, D3D12 games now.

Video Reference (Chinese):

  • 02-Regame Cloud Gaming Engine Test Steps

    • Youtube

    • bilibili, ixigua, zhihu

6. Contact Us

WeChat: wxid_8521565209912

  • Please have "regame" or "liuguang" included in friend request.

  • Will be more efficient if you could tell me the name of your company.

  • Freelancers and independent develops are also welcome.

7. Known Users

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言