Skip to content

Instantly share code, notes, and snippets.

View dtzxporter's full-sized avatar
🎮
Reversing all the things

Nick dtzxporter

🎮
Reversing all the things
View GitHub Profile
@dtzxporter
dtzxporter / SEModel.h
Last active January 31, 2018 00:24
SEModel Spec Proposal 1/27/2018
#include <cstdint>
//
// NEW SEModel specification proposal, v 0.5.0 1/22/2018 (DTZxPorter)
//
//
// vec and quat types are used in this document to describe vertex and bone data, for this reason, we don't support high precision, due to the size that it would impose on the buffers with little to no benifit
//
typedef float vec2[2];
@dtzxporter
dtzxporter / WiiSoundPak.cs
Created January 5, 2018 05:17
Reads a BO Wii Sound Pak (DSP)
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReadWiiPak
{
static class Extensions
@dtzxporter
dtzxporter / CheckSpeculationWin.ps1
Last active January 4, 2018 19:34
Check for SpeculationControl patches w/ cleanup.
#
# Checks for the present of Meltdown related patches on a Windows 7+ pc (DTZxPorter)
#
# Get the ID and security principal of the current user account
$myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent()
$myWindowsPrincipal=new-object System.Security.Principal.WindowsPrincipal($myWindowsID)
# Get the security principal for the Administrator role
$adminRole=[System.Security.Principal.WindowsBuiltInRole]::Administrator
@dtzxporter
dtzxporter / DiscordRpc.cs
Last active September 21, 2019 14:21
Discord Rpc .NET
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
//
// Discord Rpc Wrapper for .NET Framework (DTZxPorter) 12/26/2017
// Wrapper created using the open-source discord-rpc extension at: