Skip to content

Instantly share code, notes, and snippets.

View mishl-dev's full-sized avatar
๐Ÿ˜ช
eepy

M mishl-dev

๐Ÿ˜ช
eepy
View GitHub Profile

Quick Guide: Running OnlineFix Games on Linux via Heroic Launcher

This guide provides a universal template for running sideloaded OnlineFix multiplayer games in Heroic Games Launcher using GE-Proton, while preserving Steam integration and multiplayer functionality.


Step 1: One-Time SpaceWar Setup

Before configuring any game in Heroic, initialize a working SpaceWar (AppID 480) environment.

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
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
MTEzOTQzMDU2NDYyMTk3OTY1OA.GKf9Zv.rE45Bj2msT6U9V0gRiOeXwCYu01UUWVpgGso1Y
{
"OPENAI_API_KEY_1": "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",
"OPENAI_API_KEY_2": "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",
"OPENAI_API_KEY_3": "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",
"OPENAI_API_KEY_4": "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",
"OPENAI_API_KEY_5": "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",
"OPENAI_API_KEY_6": "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",
"OPENAI_API_KEY_7": "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",
"OPENAI_API_KEY_8": "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",
"OPENAI_API_KEY_9": "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",
@mishl-dev
mishl-dev / responses.json
Last active August 21, 2023 04:08
Random response
{
"responses": [
"Hey there! Remember to smile today. ๐Ÿ˜„",
"Welcome! Don't forget to stay hydrated! ๐Ÿšฐ",
"Happy day! Take a deep breath and enjoy the moment. ๐ŸŒž",
"Life's a journey, not a destination. Enjoy the ride! ๐ŸŒˆ",
"Here's your daily dose of positivity: You're amazing!",
"A cup of tea and a positive thought can make any day better. โ˜•",
"You're capable of great things. Keep believing in yourself!",
"Hey you, yes, you! You're awesome just the way you are. ๐ŸŒŸ",
import logging
import asyncio
import sqlite3
import random
import math
import re
from discord.ext import commands
logging.basicConfig(level=logging.INFO)
import aiohttp
import asyncio
@bot.hybrid_command(name="imagine", description="Generate image using an endpoint")
async def images(ctx, *, prompt):
api_endpoint = "https://api.salad.com/api/beta/organizations/erisws/inference-endpoints/stable-diffusion-2-1"
headers = {
"Content-Type": "application/json",
"Salad-Api-Key": "MY-API-KEY"
}