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.0.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.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: launchroblox-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c3221a4e6064ca529668e568aa4533c01aba576780863a6c1719f82798e0d3cb
MD5 684a18b56ed9387f8f5f042f9e5a8a43
BLAKE2b-256 60dd8a184f6be9776cab79897756028c2f2e9db2c65e1aa9e053d36911730686

See more details on using hashes here.

File details

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

File metadata

  • Download URL: launchroblox-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0bb0f1271b51760a64c61b1329b4e6263f46606c8483671910249d5e056d4cb5
MD5 642a9eab84414688e9672ee0db1641b0
BLAKE2b-256 1bdd2f0f29a1ebe57c531866a69749e31af15b9af7442a8c02c09b88004d8713

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