Skip to content

Instantly share code, notes, and snippets.

@jfmherokiller
jfmherokiller / Guide.md
Created October 12, 2024 14:18
Perchance Guide

Xarja's guide in 2024/Jan/30

: Chapter 0 - Introduction Heyo! Welcome to Xarja's Ultimate Guide to Furry AI on Perchance! perchance.org/furry-ai Here you will learn all about using this AI, so you to can be a master prompter! You will learn all of this, in the following lessons:

Chapter 1 – AI Basics 1.1 Description (AKA Prompts) 1.2 Anti-Description (AKA Anti-Prompts AKA negative prompts) 1.3 Styles, Shapes, and Count

@jfmherokiller
jfmherokiller / cheats.js
Created September 28, 2024 08:27
a set of cheats for Cyberpunk Life
//Copy this stuff into the dev console
//I chose the localstorage reload method because save file is hashed and the code makes use of react.
var gamestateS = JSON.parse(localStorage.gameState);
gamestateS.money.MoneyTotal *= 10000000;
gamestateS.karma.thisLoop *= 100000;
gamestateS.netInfluence *= 1000000;
gamestateS.politicalInfluence.total *=10000000;
localStorage.gameState = JSON.stringify(gamestateS);
window.location.reload();
@jfmherokiller
jfmherokiller / rtx.conf
Created September 22, 2024 02:34
Silent hill 2 rtx attempt
rtx.dlfg.enable = False
rtx.uiTextures = 0x82F3D659F6B665AB, 0xB4DD997FDC2617BA
rtx.restirGI.virtualSampleMaxDistanceRatio = 0.5
rtx.captureInstanceStageName = capture_2024-09-21_03-47-48.usd
rtx.isShaderExecutionReorderingSupported = False
rtx.graphicsPreset = 3
rtx.demodulate.enableDirectLightBoilingFilter = False
rtx.dlssPreset = 2
rtx.fallbackLightRadiance = 2, 2, 2
rtx.di.stealBoundaryPixelSamplesWhenOutsideOfScreen = False
@jfmherokiller
jfmherokiller / get_function_names.py
Created October 19, 2023 00:42
add the function names from uruexplorer.map to ida
import idc
import idautils
import idaapi
def loadmap():
specialdelimiter = " f "
#change this path so its appropreate
with open("D:\\Games\\Myst Online Uru Live(again)\\UruExplorer.map") as file:
lines = [line.rstrip() for line in file]
@jfmherokiller
jfmherokiller / somefunct.c
Created December 12, 2021 01:27
an unholy beast
const char *__stdcall sub_6B11D0(int a1)
{
const char *result; // eax
if ( a1 > -2146881278 )
{
if ( a1 <= CRYPT_E_ASN1_PDU_TYPE )
{
if ( a1 == CRYPT_E_ASN1_PDU_TYPE )
return "CRYPT_E_ASN1_PDU_TYPE";
@jfmherokiller
jfmherokiller / index.js
Created September 6, 2021 19:25
frida Outer Worlds pdb usage examples
DebugSymbol.load("D:\\SteamLibrary\\steamapps\\common\\TheOuterWorlds\\Indiana\\Binaries\\Win64\\Indiana-Win64-Shipping.exe");
// Get engine Version
var FEngineVersion = DebugSymbol.findFunctionsMatching("FEngineVersion::Current")[0];
var FEngineVersionFunc = new NativeFunction(FEngineVersion, 'uint64', []);
var VersionLocation = new NativePointer(FEngineVersionFunc.call());
var versionBytes = VersionLocation.readByteArray(6);
hexdump(versionBytes);
// getgobjectsSunbeam
var GObjectsLocatedFunc = DebugSymbol.findFunctionsMatching("IncrementalPurgeGarbage")[0];
var DesiredLEAInst = Instruction.parse(Instruction.parse(Instruction.parse(Instruction.parse(Instruction.parse(Instruction.parse(Instruction.parse(GObjectsLocatedFunc).next).next).next).next).next).next).next;
@jfmherokiller
jfmherokiller / Readme.md
Last active May 17, 2021 16:15
conformant ntverp.h
@jfmherokiller
jfmherokiller / DialogToXsynth.ps1
Created April 20, 2021 21:06
oblivion dialog export csv to xvaSynth csv
$DialogPieces = Import-Csv .\exportDialog.txt -Delimiter "`t"
$xVASynthSample = Import-Csv D:\Modding\xVASynth-win32-x64\resources\app\batch\sample.csv -Delimiter ","
$fakeString = ""
$fakeString.R
$DialogPieces | ForEach-Object {
$filePath = $_.File
$Textstring = $_.Text
if(($null -ne $Textstring) -and ("" -ne $Textstring)) {
$filePath = $filePath.Replace("\","/")
@jfmherokiller
jfmherokiller / satisfactoryInstall.js
Created June 16, 2020 18:30
steam patched satisfactory modmanager
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
@jfmherokiller
jfmherokiller / Laying.lsl
Last active October 29, 2019 08:02
Egg Laying script
LayingOptions(string message) {
//this gets the last charater of the string so you arent having layx-8
string value = llGetSubString(message,-1,-1);
switch (value)
{
case "2":
{
llPlaySound("df8dbc1c-158d-ec26-5182-2cfe418b3de4", 1);
llOwnerSay("A strange, warming, blissful feeling ripples from deep within, and slowly works its way to your outer extremities, moving to even your finger tips.");