Skip to content

sector3studios/webhud

Repository files navigation

R3E


Preview

Web Hud

This is a sample showing how to create a web hud using the shared memory API for RaceRoom Racing Experience (R3E).

For discussions or support go here.

Quick start

  • Extract public/dash.zip
  • Run dash.exe
  • Add -webdev -webHudUrl=https://sector3studios.github.io/webhud/dist/ to the game launch arguments
  • Start the game

Development

  • Development requires node/npm
  • For this to work you need to be running public/dash.zip/dash.exe. It is the source of all the data being used.
  • Run npm install to install all dependencies
  • Start development by running npm start and opening http://localhost:4000/
  • Add -webdev -webHudUrl=http://localhost:4000/ to the game launch arguments
  • When you are happy with your changes run npm run build and the final files will be put in the dist/ folder.

Tips

  • Look at src/types/r3eTypes.ts to see what data is exposed
  • Press Shift+i to view the current game state (search takes regex)
  • Press Shift+Space to freeze the current game state
  • Press Shift+d to dump current game state as JSON into clipboard
  • Press Ctrl+v to insert dumped JSON game state into current session

License

See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages