GGPO

”好游戏和平结束“回滚网络 SDK。(Good Game, Peace Out Rollback Network SDK)

  • Owner: pond3r/ggpo
  • Platform: Windows
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

  _Appveyor build status_

(日本語ドキュメントはこちら)

What's GGPO?

Traditional techniques account for network transmission time by adding delay to a players input, resulting in a sluggish, laggy game-feel. Rollback networking uses input prediction and speculative execution to send player inputs to the game immediately, providing the illusion of a zero-latency network. Using rollback, the same timings, reactions, visual and audio queues, and muscle memory your players build up playing offline will translate directly online. The GGPO networking SDK is designed to make incorporating rollback networking into new and existing games as easy as possible.

For more information about the history of GGPO, check out http://ggpo.net/

This repository contains the code, documentation, and sample applications for the SDK.

Building

Building GGPO is currently only available on Windows, however efforts are being made to port it to other platforms.

Windows

Windows builds requires both Visual Studio 2019 and CMake. Make sure you've installed both before starting. Make sure to add CMake to your path when installing.

  • Run the build_windows.cmd in the root directory of the SDK to generate the Visual Studio 2019 solution files.
  • Open build/GGPO.sln solution for Visual Studio 2019 to compile.

You can also run the cmake-gui tool if you prefer.

Sample Application

The Vector War application in the source directory contains a simple application which uses GGPO to synchronize the two clients. The command line arguments are:

vectorwar.exe  <localport>  <num players> ('local'

Main metrics

Overview
Name With Ownerpond3r/ggpo
Primary LanguageC++
Program languageBatchfile (Language Count: 4)
PlatformWindows
License:MIT License
所有者活动
Created At2019-10-03 15:56:50
Pushed At2024-06-26 13:59:55
Last Commit At2019-11-07 09:39:58
Release Count0
用户参与
Stargazers Count3.4k
Watchers Count102
Fork Count382
Commits Count115
Has Issues Enabled
Issues Count24
Issue Open Count17
Pull Requests Count30
Pull Requests Open Count11
Pull Requests Close Count12
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private