Skip to content

Instantly share code, notes, and snippets.

@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.");
@jfmherokiller
jfmherokiller / PossiblePissParticleEffect.lsl
Last active October 25, 2019 18:07
PuddlePantsProjectArrousalAddon
//: This script was generated by the Master Particle Studio HUD v11.6 on 2019-10-25.
ParticleEngine(string xTexture)
{
//: Particle Mask
integer flags = 0 | PSYS_PART_INTERP_COLOR_MASK | PSYS_PART_INTERP_SCALE_MASK;
//: Particle Engine
llParticleSystem([
@jfmherokiller
jfmherokiller / BabyTalk.lsl
Last active October 20, 2019 23:15
open collar/rlv scripts
key g_kWearer;
integer g_iGarbleChan;
integer g_iGarbleListen;
string g_sPrefix;
integer bOn;
key g_kBinder;
/* ==UserStyle==
@name Bepis
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
@preprocessor less
==/UserStyle== */
@-moz-document regexp(.*) {