Skip to content

jnackmclain/Xbox360_presence

Repository files navigation

RGH Xbox 360 Discord Rich Presence Script

example

Please note this script as well as this readme was written by ChatGPT.

Tested and checked by a human.

This script updates your Discord Rich Presence with the currently playing game on your modded Xbox 360 running the Aurora dashboard with the Nova plugin.

Features

  • Displays the current game being played.
  • Shows the elapsed playtime in a human-readable format.
  • Updates every 15 seconds.
  • Handles special cases for unknown games and the Aurora dashboard.
  • Uses custom images for games when available.

Requirements

  • A modded Xbox 360 running the Aurora dashboard with the Nova plugin active.
  • Your own Discord Application Client ID.
  • Python 3.x installed on your computer.
  • requests and pypresence Python libraries.

Installation

  1. Clone the repository:

    git clone https://github.com/jnackmclain/Xbox360_presence.git
    cd Xbox360_presence
  2. Install the required Python libraries:

    pip install requests pypresence

Discord Application Client ID

Sign into the Discord Developer Portal.

Create a new Application and name it. The name will show up in the rich presence. I like using Xbox 360 Hardware.

client_id_general

Copy your application client id.

client_id

Configuration

  1. Rename config_default.ini to config.ini which will have the following content:

    [discord]
    client_id = YOUR_CLIENT_ID_HERE
    
    [xbox]
    ip_address = YOUR_XBOX_IP_HERE
  2. Update the client id with the application id we got earlier

  3. Update the ip_address with the IP address of your Xbox 360

   [discord]
   client_id = 12345678910

   [xbox]
   ip_address = 192.168.0.36

Usage

You can run the script with or without providing the IP address of your Xbox as an argument.

Option 1: Run the script with no arguments and the IP address in the config.ini will be used

Option 2: Override the config.ini IP address as a command-line argument

python rich_presence.py 192.168.0.69

Notes

  • Ensure your Xbox 360 is powered on and connected to the same network as your computer.
  • The Nova Web UI must be running on the Xbox for the script to work correctly.

Example Output

When running, the script will update your Discord status to show the game you're playing along with the elapsed time:

example

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

About

RGH Xbox 360 Discord Rich Presence Script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages