Skip to content

Instantly share code, notes, and snippets.

View korewaChino's full-sized avatar
🦊
yip

Pornpipat Popum korewaChino

🦊
yip
View GitHub Profile

How to build re3 on Linux using CMake

re3/reVC is a re-implementation of Grand Theft Auto III and Vice City, using the librw RenderWare engine re-implementation.

While the original upstream has been taken down by Take 2 Interactve (smh), you can still download build a working version as long as you have the source code somewhere.

Requirements

@korewaChino
korewaChino / install.user.js
Last active April 3, 2022 08:46
Thai Overlay userscript
// ==UserScript==
// @name osu! Logo template
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the canvas!
// @author oralekin, LittleEndu, ekgame
// @match https://hot-potato.reddit.com/embed*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// ==/UserScript==
@korewaChino
korewaChino / Machine_Mania.js
Last active May 29, 2024 16:44
A malicious Discord token grabber, in all its glory
Object.defineProperty(exports, "__esModule", { value: true });
exports.restoreFs = exports.shimFs = void 0;
let originalFsMethods = null;
let lazyRestoreFs = () => { };
// optional Win32 file namespace prefix followed by drive letter and colon
const windowsFullPathRegex = /^(\\{2}\?\\)?([a-zA-Z]):/;
const upcaseDriveLetter = (s) => s.replace(windowsFullPathRegex, (_match, ns, drive) => `${ns || ''}${drive.toUpperCase()}:`);
function shimFs(binary, fs = require('fs')) {
if (originalFsMethods !== null) {
return;