Skip to content

Instantly share code, notes, and snippets.

@jfmherokiller
jfmherokiller / FixHashes.ps1
Last active December 25, 2018 04:26
function that can fix those hashes in wd2
function FixHashes($XMLFilePath) {
function HexToString($i) {
$r = ""
for ($n = 0; $n -lt $i.Length; $n += 2)
{$r += [char][int]("0x" + $i.Substring($n,2))}
return $r
}
function ProduceHashTable() {
#Get a fresh version of the list
$TehContent = ((Invoke-WebRequest "https://gist.githubusercontent.com/wasdennnoch/17ae986e1960b9723a476e0d424fb036/raw/c4794191cdfef3ff7347aec80cc8f638fa3212af/merged_wd_crc32_dump.txt").Content).Split([Environment]::NewLine)
@jfmherokiller
jfmherokiller / Renaton.pas
Created January 14, 2019 00:48
Renaton Possible POC script for xedit
unit Unit3;
interface
implementation
{
New script template, only shows processed records
Assigning any nonzero value to Result will terminate script
}
// ==UserScript==
// @name BlackenPage
// @version 1.0.3
// @match http://*/*
// @match https://*/*
// @grant GM_xmlhttpRequest
// @run-at document-start
// ==/UserScript==
javascript:(function(fontUrl,font,style){if(location.protocol==='https:'){fontUrl='https://cdn.jsdelivr.net/gh/RoelN/SansBullshitSans/SansBullshitSans.ttf'}else{fontUrl='http://cdn.jsdelivr.net/gh/RoelN/SansBullshitSans/SansBullshitSans.ttf';}font='@font-face{font-family:SansBullshitSans;src:url('+fontUrl+');font-weight:normal}';style=document.createElement('style');style.innerHTML=font+'*{font-family:SansBullshitSans;font-feature-settings:\'liga\',\'dlig\';font-variant-ligatures:common-ligatures;}';document.head.appendChild(style);}());
/* ==UserStyle==
@name Bepis
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
@preprocessor less
==/UserStyle== */
@-moz-document regexp(.*) {
@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;
@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 / 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 / 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 / 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("\","/")