Skip to main content

A lightweight utility to programmatically authenticate and launch the Roblox client.

Project description

LaunchRoblox

A lightweight, cross-platform Python utility to programmatically authenticate and launch the Roblox client using a .ROBLOSECURITY cookie and a specific Place ID.

Features

  • Automated Auth Flow: Seamlessly exchanges a .ROBLOSECURITY cookie for an official rbx-authentication-ticket using the secure Roblox authentication endpoints.
  • Cross-Platform Support: Native client launching support across Windows (os.startfile), macOS (open), and Linux (xdg-open).
  • Defensive Error Handling: Built-in validation checks to catch expired, missing, or invalid authentication tokens before launching.
  • Zero Disk Overhead: Clean, direct execution without bloating your local environment.

Installation

Install the package directly from PyPI:

pip install LaunchRoblox

Quick Start

from roblox_launcher import launchRoblox, AuthenticationError

# Replace with your actual .ROBLOSECURITY cookie
cookie = "_|WARNING:-DO-NOT-SHARE-THIS..."
# The Place ID you want to join (e.g., 2753915549 for Blox Fruits)
placeId = 2753915549 

try:
    print("Authenticating and launching client...")
    launchRoblox(placeId, cookie)
    print("Success! Roblox protocol handler triggered.")
except AuthenticationError as e:
    print(f"Authentication failed: {e}")
except Exception as e:
    print(f"An unexpected error occurred: {e}")

API Reference

launchRoblox(placeId, cookie)

Generates an authentication ticket and fires the platform's native URI scheme (roblox-player:1+...) to open the game client.

  • placeId (int): The unique ID of the Roblox place/experience.
  • cookie (str): The full .ROBLOSECURITY token for the target account.

fetchAuthTicket(cookie)

Handles the underlying backend API handshake to retrieve a valid launch token. This involves retrieving a client assertion, obtaining a valid CSRF token, and exchanging them for the final authentication ticket.

  • cookie (str): The target account's cookie.
  • Returns: (str) A valid rbx-authentication-ticket.
  • Raises: AuthenticationError if the cookie is invalid, missing, or if the API communication fails.

Requirements

  • Python >= 3.7
  • requests library

License

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

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

launchroblox-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

launchroblox-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file launchroblox-0.1.1.tar.gz.

File metadata

  • Download URL: launchroblox-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for launchroblox-0.1.1.tar.gz
Algorithm Hash digest
SHA256 041054044c232931a8ebe2a192e3bd7ccaaf7f1c65bbcf0b361eb0463e7d8df4
MD5 48395f1737a8cac59325f255b8f0df31
BLAKE2b-256 423591136a61ec51b4d9712265098cc7b2b39d6ffb12492f405cca04988ed333

See more details on using hashes here.

File details

Details for the file launchroblox-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: launchroblox-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for launchroblox-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ad839caf6928a5be969db9b4e31df7de6b7b005d6e57b607d16b0d896503161
MD5 24ad2519a027407dcf0d8afa747a8761
BLAKE2b-256 fbd2e247660d6f1992740d2f9cd2e1320caf54fa40e78e3b3c0b6c57e220cd42

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