gitwtfhub

wtf is newshoes?

agusx1211/newshoes — explained in plain English

Analysis updated 2026-05-18

13C++Audience · developerComplexity · 5/5Setup · hard

TL;DR

The real Command and Conquer: Generals Zero Hour game engine, ported to run in a web browser via WebAssembly, using your own copy of the game.

Mindmap

mindmap
  root((NewShoes))
    What it does
      Ports Zero Hour engine
      Runs in browser
      Uses original game code
    Tech stack
      C++
      WebAssembly
      WebGL2
      WebRTC
    Use cases
      Play skirmish in browser
      Import owned game data
      Study engine porting
      Experimental multiplayer
    Requirements
      Own the game
      Modern browser
      Cross-origin headers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Play the original Zero Hour skirmish mode against the real AI directly in a browser.

REASON 2

Import an owned copy of Generals and Zero Hour into the browser launcher to install the game locally.

REASON 3

Study how an old Windows-only DirectX 8 game engine can be ported to WebGL2 and WebAssembly.

REASON 4

Try experimental short multiplayer matches over WebRTC with a few players.

What's in the stack?

C++WebAssemblyEmscriptenWebGL2WebRTC

How it stacks up

agusx1211/newshoes0x1-1/revivalatc1441/hinkeinkdisplaylibrary
Stars131313
LanguageC++C++C++
Last pushed2020-04-13
MaintenanceDormant
Setup difficultyhardhardmoderate
Complexity5/55/52/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1h+

Requires a modern browser with WebGL2, SharedArrayBuffer, and cross-origin isolation headers, plus your own legally owned copy of the game data.

Wtf does this do

Project New Shoes takes the actual, original C++ source code of the game Command and Conquer: Generals Zero Hour and compiles it to run in a web browser, using a technology called WebAssembly. It is not a remake or a new engine built to look similar. It is the real game engine, with its Windows-specific parts swapped out for browser equivalents, so it can boot, render, and run the original simulation code directly on a web page. The project is independent and is not affiliated with or endorsed by Electronic Arts, the game's publisher. It does not include any of the actual game data. To play, a person needs to already own a copy of Generals and Zero Hour, either as an installed digital copy or as original disc images, and the browser-based launcher imports those files locally in the browser's own private storage, without uploading anything anywhere. Most core systems already work: skirmish matches against the original AI, the original menus and mouse and keyboard controls, rendering through WebGL2, and audio through the Web Audio API. Basic multiplayer over the browser also works experimentally for short matches. Saving and loading a game is currently broken, and the single-player campaign is still being tested for full reliability. Chrome and Chromium-based browsers are the best supported so far. Under the hood, the original engine code that handles simulation, AI, and game logic stays untouched, while a new layer translates its old Windows graphics, audio, input, and networking calls into modern browser equivalents such as WebGL2, Web Audio, and WebRTC. The engine runs on a background browser thread so the page stays responsive, and it reads game files directly from local browser storage instead of loading the entire game into memory at once. This project is aimed at people comfortable with technical setup: it requires a modern desktop browser with specific web platform features enabled, and it only works if you already own the original game files.

Yoink these prompts

Prompt 1
Explain how Project New Shoes ports a Windows DirectX 8 game engine to run in a browser.
Prompt 2
Help me set up the required browser headers so I can run Project New Shoes locally.
Prompt 3
Walk me through importing my owned copy of Zero Hour into the Project New Shoes launcher.
Prompt 4
Explain the difference between the enhanced and classic rendering modes in Project New Shoes.

Frequently asked questions

wtf is newshoes?

The real Command and Conquer: Generals Zero Hour game engine, ported to run in a web browser via WebAssembly, using your own copy of the game.

What language is newshoes written in?

Mainly C++. The stack also includes C++, WebAssembly, Emscripten.

How hard is newshoes to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is newshoes for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.