Skip to content

Instantly share code, notes, and snippets.

@Pokechu22
Pokechu22 / Major Minor 1.md
Last active May 17, 2022 20:10
Messy Major Minor's Majestic March notes

Major minor: at one point in the tutorial, the screen does get greyed out, even with Dolphin's broken rendering. That's a starting point to figure out why things broke.

EID 611 - the scissor region is over the screen in that case, but not in the others. Obj 232, which renders:

BP register BPMEM_SCISSOROFFSET
Scissor X offset: 171
Scissor Y offset: 171
@emoose
emoose / dllmain.cpp
Last active February 19, 2022 23:30
Bloodstained RotN dialogue/menu resolution fix
// This code requires some files from my Arise-SDK project:
// https://github.com/emoose/Arise-SDK/tree/b73c7ea9fceea2c494cbb8ebc74c6b3d1d35cbf6
#include "pch.h"
#include <cstdio>
#define SDK_VERSION "0.1.25"
HMODULE DllHModule;
HMODULE GameHModule;
@rlaphoenix
rlaphoenix / shr-build.md
Last active November 29, 2024 22:38
Simpsons Hit & Run SRC Compiling

Simpsons Hit & Run SRC Compiling

TODO: Cleanup, improve, support other platforms and such.

  • All information in this is a community effort and I do not take credit for any of it.
  • SHA256: EA72121D29CE40EBD9F6B5BA2E337CEE02B812BB07ED67797F37E382FE075A85
  • Ensure the full path of the src has absolutely no spaces or characters that would need escaping.

Compiling for PC with the original VS 2002 Solution

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

IRC friends, enemies and others,

Control of freenode has recently been seized by the proprietors of Freenode Limited, a holding company established by a previous head of freenode and a third party as part of a deal with a corporate sponsor. The terms of that deal were not disclosed, and remain unknown to me.

At the time, we, freenode's volunteer staff, were given informal guarantees that staff retained operational control of the network. The same guarantees were repeated after leadership was passed on to a new head of staff. I don't

@sleirsgoevy
sleirsgoevy / ipv6-df-2.c
Last active March 8, 2021 15:34
FreeBSD 9 PoC of kernel code execution using the new TheFlow vulnerability
#include <sys/types.h>
#include <sys/param.h>
#include <sys/cpuset.h>
#include <sys/socket.h>
#include <sys/mman.h>
#include <sys/sysctl.h>
#include <sys/vmmeter.h>
#include <netinet/in.h>
#include <string.h>
#include <unistd.h>
@iMoD1998
iMoD1998 / FixGPLR.py
Last active June 26, 2023 20:04
FixGPLR - Xbox 360 GPLR remover for IDA decompiler
import idautils
import ida_bytes
import ida_funcs
import ida_ida
import ida_kernwin
import ida_search
import ida_idp
import idaapi
import idc
import pprint
@WAUthethird
WAUthethird / Interacting_with_Jukebox_VastAI.ipynb
Last active February 13, 2024 07:10
Using vast.ai with OpenAI Jukebox
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psxdev
psxdev / gist:abcdc4eae361c993eea9ebc03dd21e90
Created November 18, 2020 18:34
Model CUH-ZEY1 initialization with camera adaptor
Nov 18 18:26:30 pi64 kernel: usb 2-1.2: USB disconnect, device number 9
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: new SuperSpeed Gen 1 USB device number 10 using xhci_hcd
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: New USB device found, idVendor=05a9, idProduct=058a, bcdDevice= 1.00
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: Product: USB Camera-OV580
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: Manufacturer: Omnivision Technologies, Inc.
Nov 18 18:26:31 pi64 kernel: uvcvideo: Found UVC 1.00 device USB Camera-OV580 (05a9:058a)
Nov 18 18:26:31 pi64 kernel: uvcvideo 2-1.2:1.0: Entity type for entity USB Camera-OV580 was not initialized!
Nov 18 18:26:31 pi64 kernel: uvcvideo 2-1.2:1.0: Entity type for entity Camera 1 was not initialized!
Nov 18 18:26:31 pi64 kernel: uvcvideo 2-1.2:1.0: Entity type for entity USB Camera-OV580 was not initialized!
@lrvick
lrvick / github-troll.md
Last active May 24, 2025 01:11
Trolling Github's DMCA repo with their own security flaws.