Skip to content

Instantly share code, notes, and snippets.

View Leayal's full-sized avatar
🎮
C# for hobby

Dramiel Leayal Leayal

🎮
C# for hobby
View GitHub Profile
@Leayal
Leayal / Sandboxie-OBS-GameCaptureCompat.md
Created February 4, 2023 11:26
Compatibility settings to allow unsandboxed OBS process performing game capture hook to sandboxed game processes.

WARNING: I'm not a pro at security matters. So this might be an unsafe approach, I'm not sure. And this is limited to game capture only.

You can configure this by each Sandbox's setting.

You need to open these IPC paths (in the image below) for the game capture hook (which is injected into the game's process, which is running inside the sandbox) to be allowed to send captured frame data (as well as other data necessary for sync ops) to the OBS process outside the sandbox.

sandboxie-obs-compat-png

[Sample of IPC paths in ini setting, for copypasta geeks]

@Leayal
Leayal / [ToF] Time Traveler 1.X questline.md
Last active September 29, 2022 09:31
Tower of Fantasy game. "Time Traveler 1.X" questline (Mysterious Letters' locations)

Youtube playlist: Link

Text decription:

  • Time Traveler 1.1 - Birthday Present
    • Map: Aesperia's Astra.
    • Trigger object: a book/diary.
    • Trigger object's location: There's a NPC (a young man named Braun) standing behind the foot Astra's Omnium Tower, the diary/book can be found on a rock near the NPC.
    • Video guide:
      • How to trigger quest: (Click on the image to watch the youtube video) Youtube
  • Walkthrough: Youtube Guide (Spoiler Alert)
@Leayal
Leayal / GenericDraft.md
Last active December 19, 2019 01:23
Some random drafts
@Leayal
Leayal / EnvironmentPath.cs
Last active June 14, 2019 07:36
Represents a collection of PATH environment (case-insensitive). Not thread-safe. The compact WHERE.exe
using System;
using System.Collections;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Reflection;
@Leayal
Leayal / SetSWFolder.bat
Last active July 6, 2019 11:54
WeMade's SoulWorker Set GameFolder (Windows Batch script)
@echo OFF
SETLOCAL
:: Check if the batch is in the game folder
IF NOT EXIST "%~dp0SoulWorker100.exe" (
echo/Please put this file next to the file "SoulWorker100.exe". I mean: Put this file in your game folder.
pause>nul
exit
)
@Leayal
Leayal / WeMade-SoulWorker-Manually-SetFolder.md
Last active November 26, 2017 03:06
A quick guide to show how to make the game launcher recognize where your game resides.

Requirements

  • You're using Administration user. Writing Registry Key in HKEY_LOCAL_MACHINE requires you Administrative elevation.
  • Make sure that WeMade's game launcher is not running while you're following this guide.

You need to obtain these infos before you can actually start:

For Windows x86 (32-bit)

@Leayal
Leayal / DantedConfig-ForPSO2JP.md
Last active September 5, 2021 16:17
Danted SOCKs Server's configuration file for PSO2.

Configuration documentation for Danted to setup for PSO2 JP.

Before starting, please note that:

  • All the IPs and network interfaces below are of sample, you may need to change accordingly to your environment setup. Specifically, the internal and external one.
  • All the comments in the sample below should explain the minimum information about why the configuration is needed. However, it's best to read the full documents coming from Danted here (For Danted version 1.4.x). I know it's very technical, but if you understand what you're doing, you won't get the security risks and misconfigurations.
  • The server configuration file should be located in /etc/sockd.conf (if Danted is built from source for Ubuntu). You might need to find the configuration file yourself if the danted server you're running is using another configuration file.

Full sample:

# listen on... can be an IP or an interface
# If it's an interface, Danted can query al
@Leayal
Leayal / InstallSocksServer.md
Last active February 19, 2024 03:07
Install SOCKs server for Debian/Ubuntu machine. (http://www.inet.no/dante/download.html)

Installation

0. Requirements:

  • make
  • gcc
  • g++

To install those two, you can run apt-get update && apt-get install make gcc g++.

If root privileges are required, sudo apt-get update && sudo apt-get install make gcc g++.

(Alternatively, you can install the package build-essential)