Skip to content

Instantly share code, notes, and snippets.

View donnaken15's full-sized avatar
🌲
PINE GANG 2⃣1⃣⛷💨😝😱😭💾💾😉📠♿️😇😬😄🔥🔥🔥🙌🌚

Wesley donnaken15

🌲
PINE GANG 2⃣1⃣⛷💨😝😱😭💾💾😉📠♿️😇😬😄🔥🔥🔥🙌🌚
View GitHub Profile
@donnaken15
donnaken15 / GH3_Declare_QbScripts_(Memory).idc
Last active June 20, 2023 06:54
Decompile bytecode from GH3 scripts in memory (put cursor on an instruction byte when running) / Declare QbScript list from static pointer, with names and decompiling all bytecode in use
// I NEED INCLUDE
static main()
{
PauseProcess();
Refresh();
RefreshDebuggerMemory();
auto ea, i = 0;
auto autoid;
@donnaken15
donnaken15 / boss_lou.ini
Last active October 30, 2022 22:09
Example boss config
; Example file based on Lou props
[boss]
; Enable song as a boss battle
; (default: 0)
enable=1
; Allowed powerups in the battle
; (default: Lightning,DifficultyUp,DoubleNotes,LeftyNotes,BrokenString,WhammyAttack,PowerUpSteal)
items=Lightning,DifficultyUp,DoubleNotes,LeftyNotes,BrokenString,WhammyAttack,PowerUpSteal
; Time for death marker to reach the skull
@donnaken15
donnaken15 / FAST_ITOA_ASM.ASM
Last active November 8, 2022 18:21
fast itoa in assembly (radix 10), first is compiled in FASM, second is ran in https://kobzol.github.io/davis/
format PE console 3.1
entry main
include 'win32a.inc'
section 'WESNT' import code data readable writeable executable
library msvcrt,'msvcrt.dll',\
kernel,'kernel32.dll'
// or download from Drive link
// supports folders and archive files
// use https://script.google.com/macros/s/AKfycbzdUJB_KiUDSlCchIF13hXhwHs1ObagXJ_WSmToL7RzTUb7H_npEBiYmj3k4VKPW3Wr/dev?id=XXXXXXX
// or now: https://tinyurl.com/FGH3g?id=XXXXXXX
function runExample() {
doGet({
"parameter": {
"id": "1fh7KiIhbFhikP04JHkltwJ5Dnpw1KK-P" //1Ediig76MdWu_bXoAvWahmWdlqOxC56K8" //"1rwUD1rT4Pq6wTCNJ17E-3hRWouclDLtg" <--TOO BIG 1fh7KiIhbFhikP04JHkltwJ5Dnpw1KK-P
@donnaken15
donnaken15 / scripts\wes.q
Last active September 17, 2022 08:32
THUG1 TAS toolkit
// wesley_payload runs from the overriden debug menu button "TOGGLE PROFILER"
// requires manual QB patch to execute these
// compiled with neverscript
script printf #00000000="*no message" {
if ScreenElementExists id=wes_ui {
if (wesleyishere = 1) {
FormatText textname=text <#00000000> <...> // does this actually do anything
create_console_message text=<text>
}
@donnaken15
donnaken15 / BMFONT4NS.cs
Created July 27, 2022 03:11
BMFont to GH3 Font converter
using System;
using System.Drawing;
using System.IO;
// BRO JUST USE QUICKBMS
class BMF {
public class INF {
public ushort fontSize;
public byte flags;
@donnaken15
donnaken15 / fgh3_17.12.14.cs
Last active July 24, 2022 07:40
fastgh3 launcher; my original retired note parsing code
/////////////////////////////// ORIGINAL FASTGH3 LAUNCHER CODE
///////////////////////////////
/////////////////////////////// December 14th, 2017
//// = future wes, stupid github
Console.WriteLine("FASTGH3 by donnaken15");
Console.WriteLine("Checking file extension...");
if (Path.GetFileName(parameters[1]).Contains(".chart") && !Path.GetFileName(parameters[1]).Contains(".mid"))
@donnaken15
donnaken15 / qbuild.sh
Last active July 1, 2022 07:35
ease process of creating paks. not complete yet
#!/bin/sh
# built for cygwin sh-4.4
#
# create pak from folder that
# contains q files, textures
# (png/jpg/dds), etc
#
# usage:
# ./qbuild.sh folder
@donnaken15
donnaken15 / pakdir.cs
Last active July 5, 2022 00:06
compile folder to PAK (single PAK only rn) quickly written tool https://cdn.discordapp.com/attachments/856787555348774922/993669027379564614/pakdir.exe
using System;
using System.Collections.Generic;
using System.IO;
namespace pakdir
{
class Program
{
// PC PAK ONLY
@donnaken15
donnaken15 / deimg.cs
Last active April 27, 2022 01:52
remove img header
/*
* Created by SharpDevelop.
* User: Wesley
* Date: 4/25/2022
* Time: 12:17 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.IO;