pond3r/ggpo
pond3r/ggpo has 3,622 GitHub stars and 416 forks. GitHot measured +1 stars in 24 hours and +5 in 7 days. Last checked 2026-11-09 15:28 UTC. Last push 2024-06-26.
Good Game, Peace Out Rollback Network SDK
Measured star growth
- in 24h
- +1
- in 7 days
- +5
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
(日本語ドキュメントはこちら)
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.cmdin the root directory of the SDK to generate the Visual Studio 2019 solution files. - Open
build/GGPO.slnsolution 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' | <remote ip>:<remote port>) for each player
See the .cmd files in the bin directory for examples on how to start 2, 3, and 4 player games.
Licensing
GGPO is available under The MIT License. This means GGPO is free for commercial and non-commercial use. Attribution is not required, but appreciated.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,398 starspublic-apis/public-apis
A collective list of free APIs
497,679 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,495 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,261 stars