Skip to main content

No project description provided

Project description

RLSDK Python

This is reverse engineered python SDK package aiming to read data from RocketLeague.exe.

How does it works

This SDK uses PyMem to read game memory and frida to hook game functions.

Installation

pip install rlsdk_python

Or

poetry add rlsdk_python

Usage

from rlsdk_python import RLSDK, EventTypes
import sys

rlsdk = RLSDK(hook_player_tick=True)


def on_tick(event):
    game_event = rlsdk.get_game_event()

    if game_event:
        cars = game_event.get_cars()
        
        for car in cars:
            pri = car.get_pri()
            player_name = pri.get_player_name()

            # Display car position

            x,y,z = car.get_location().get_xyz()

            print(f"{player_name} is at {x},{y},{z}")

rlsdk.event.subscribe(EventTypes.ON_PLAYER_TICK, on_tick)

sys.stdin.read()

Events

You can attach a callback function to an event like this:

from rlsdk_python import RLSDK, EventTypes
sdk = RLSDK()
sdk.event.subscribe(EventTypes.ON_KEY_PRESSED, on_key_pressed)

def on_key_pressed(event):
    print("Key pressed:", event.key)

More examples and documentation will be added if users ask for it.

Project using RLSDK Python

  • RLMarlbot - Nexto bot based on my python SDK

Help needed

I need a way to find GObjects and GNames base offsets, because this offsets changes frequently (on each uptates) and are differents for Epic and Steam

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rlsdk_python-0.5.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rlsdk_python-0.5.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file rlsdk_python-0.5.0.tar.gz.

File metadata

  • Download URL: rlsdk_python-0.5.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.0 Windows/10

File hashes

Hashes for rlsdk_python-0.5.0.tar.gz
Algorithm Hash digest
SHA256 98ef840f4242d5ba8e683e776523d6b36b99b900b79fbba54f3b890b0befe7bd
MD5 0e3a887e9012be6e27c2d30b3671eea8
BLAKE2b-256 e3842e032fd5a98571fd4f66045056cdb5bdd20584e67fe54b0e5e0a208764bd

See more details on using hashes here.

File details

Details for the file rlsdk_python-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: rlsdk_python-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.0 Windows/10

File hashes

Hashes for rlsdk_python-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ea4fc4d538d0b79855685a1ff2bc811052bd48e9bbe21b3bed4fde91ce4f1a2
MD5 7662345f1eda97b1961c15ef2afa8a5b
BLAKE2b-256 2405b5f8b14d6eba0398ae4226137da44a130abe2d1aefef290d21db709aaef2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page