Skip to content

Instantly share code, notes, and snippets.

View Scrivener07's full-sized avatar

Scrivener07

  • Florida, United States
View GitHub Profile
@reg2k
reg2k / Fallout 4 All Console Commands.txt
Created March 4, 2018 16:29
Dump of all Fallout 4 console commands (with description)
-----------------------------------------------------------------------------------------
ID Full Name Short Name Description
-----------------------------------------------------------------------------------------
256: Show TST Show global scripts and variables.
257: ShowVars SV Show variables on object. You can optionally specified a papyrus variable or script to filter with [player->sv]
258: ShowGlobalVars SGLV Show all global variables.
259: ShowQuestVars SQV Show quest variables. You can optionally specified a papyrus variable or script to filter with [svq QuestID]
260: ShowQuests SQ List quests.
261: ShowQuestAliases Show quest aliases. [ShowQuestAliases QuestID]
262:
@reg2k
reg2k / GlobalEvents.txt
Created March 4, 2018 11:29
Fallout 4 Global Events Dump
Event: BlockPipboyOpeningEvent@@@BSTGlobalEvent@@
Event: BlurEvent@@@BSTGlobalEvent@@
Event: UIAdvanceMenusFunctionCompleteEvent@@@BSTGlobalEvent@@
Event: QuickContainerStateEvent@@@BSTGlobalEvent@@
Event: SaveLoadMessageStringEvent@@@BSTGlobalEvent@@
Event: FaderMenuDisplayState@@@BSTGlobalEvent@@
Event: SaveLoadMessageTypeEvent@@@BSTGlobalEvent@@
Event: DoBeforeNewOrLoadCompletedEvent@@@BSTGlobalEvent@@
Event: RevertPlayerCharacterEvent@@@BSTGlobalEvent@@
Event: ColorUpdateEvent@@@BSTGlobalEvent@@
@philipjewell
philipjewell / photobucket_bulk_download.md
Last active March 29, 2023 00:23
Download all your photobucket images in bulk via CLI

backstory

On Jul 4, 2017 theverge.com posted an article about photobucket (silently) no longer allowing their users to source their images on 3rd party websites for free, thus leaving websites all over the web broken displaying the following image in replace:

Me being one of those individual, I attempted to go into my photobucket account and download my content as I now have my own hosting I am able to store those images on; however, the only ways to bulk download (on desktop) is by downloading albums through their interface. Doing so, gave me the following error message: "Hmmm. Something didn't click. Want to give it another shot? Try again now."

Doing this serveral times, in different browsers (chrome, firefox and safari), after disabling all my addons and extensions (including ad blockers), it still didn't work.

At this point, doing anything on their website w

@pardeike
pardeike / SimpleHarmonyTranspilerTutorial.md
Last active May 22, 2023 04:43
Simple Harmony Transpiler Tutorial

About
A hopefully easy tutorial on how to make a Transpiler with Harmony
Based on patching a method in the game RimWorld

Introduction

Writing transpilers is like writing a book about how to rewrite a cookbook to make it work for the age of microwave even if that cookbook was written before microwave ovens were invented. It requires good knowledge about the language the cookbook is written in and the topics and information models the cookbook author uses.

As such, writing a transpiler is way more complex and low level than writing a simple method that prefixes, postfixes or replaces an existing method. It is required to have good understanding in general C# programming and how to manipulate abstract data structures with respect to references and relative positioning. It also requires to know the language, in this case CIL, so you can manipulate the instructions without it to get into an illegal state.

@ianpatt
ianpatt / gist:7f3c870cbca04d0adb69
Created November 12, 2015 04:56
fallout class hierarchy
This file has been truncated, but you can view the full file.
0000000000000000 <lambda_007754d0d8df13a0d5be87c4da608bd4>
0000000000000000 <lambda_0128411b0e3e3d25a5a73c47b6e22b76>
0000000000000000 <lambda_03176bf0238bc1990c01e9a8d7e30740>
0000000000000000 <lambda_054c0f92026acdc3af737f9060c8d16c>
0000000000000000 <lambda_099db76688b3e7d9a1ba0689b7c86b3f>
0000000000000000 <lambda_0fbe6c20cb848d3946f7eb3dad25598a>
0000000000000000 <lambda_10a9a02b0a42abae558918086ec73866>
0000000000000000 <lambda_147c78853d5cc7006fac33c5b18ba02d>
0000000000000000 <lambda_17b34bb506d4c85028a5a3d52c6539fd>
0000000000000000 <lambda_1b292629a6f13ca0f49dea454f1d1fad>