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
/*
* Created by SharpDevelop.
* User: Wesley
* Date: 4/20/2022
* Time: 6:04 PM
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
@donnaken15
donnaken15 / RIPTex.bms
Last active April 22, 2022 05:46
quickbms script to extract a GH3 tex's texture files and their (non-DDS properties) and make it rebuildable with buildtex
endian big
get magic long # 0x00
get unk1 short # 0x04
get unk2 byte # 0x06
get count byte # 0x07, max 0x80 textures??
get moff long # 0x08
get unk3 long # 0x0C
get xFFFF long # 0x10
@donnaken15
donnaken15 / ytdl-clip.sh
Created January 10, 2022 07:25
clip YouTube videos with ffmpeg and youtube-dl (SLOW), i wonder how this can be done the same way as just clicking into a specific part of a video
#!/bin/sh
ffmpeg \
-i $(youtube-dl -g -f 299 $1) \
-i $(youtube-dl -g -f 251 $1) \
-ss $2 -t $3 $4 ${1:-foo}
@donnaken15
donnaken15 / buildtex.cs
Last active April 25, 2022 04:00
rough program to build guitar hero texs, made only for global_gfx, im not sure about anything else, main program/template here: https://cdn.discordapp.com/attachments/407427813117788161/871908227510595655/zzz_buildbase.zip
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
namespace buildtex
{
// lost muh code somehow
// whyyyyyyy
class Program
@donnaken15
donnaken15 / Generate SRT.gs
Last active April 22, 2021 12:38
Generate subtitles file in Drive from current (Excel) spreadsheet, formatted like https://docs.google.com/spreadsheets/d/1nzDgRlGuB6SY2cvfsJLH7u3_G0Ouucm-l8xsCzmfukw/edit?usp=sharing
function SRTstamp(_time) {
if (_time !== undefined)
{
if (_time.lastIndexOf(":") < 4)
_time = "00:"+_time
_time = _time.replace(".",",")+"0"
return _time
}
else throw("Invalid argument")
@donnaken15
donnaken15 / bytebeat.c
Created February 17, 2021 04:22
bytebeat sounds i might use
// cool sounding alternating notes
((t)/(bpm/60)*(4-(1*(((t)/(bpm))%(bpm)>(bpm/2)))));
bpm=167;
@donnaken15
donnaken15 / ignore.Designer.cs.gitattributes
Created February 10, 2021 14:15
disable C# from being your main repo language (if it isn't) if you have an interface
*.Designer.cs linguist-detectable=false
@donnaken15
donnaken15 / FILE.ASM
Last active February 23, 2021 16:15
Flat assembler: reading files, using fopen+fread
format PE GUI 3.1
use16
align 1
entry start
heap 0
stack 0
include 'win32a.inc'
@donnaken15
donnaken15 / CommandLineToArgvA.asm
Created January 19, 2021 00:49
I HATE COMPUTERS@Q#TVH*&T@$EY(WIOQV%T (NM@#QV%EJTN%CJR(YKN*TEQWTY(N%$R
; STILL NOT FINISHED YET
invoke GetCommandLineA
cmp BYTE PTR eax, '"'
je spacedpath
jne unspacedpath
spacedpath:
inc eax
cmp BYTE PTR EAX, '"'
jne spacedpath
@donnaken15
donnaken15 / !StreamlabLayout
Last active January 17, 2021 19:26
my code and settings for my streamlabs layout
chat box settings:
base theme: clean
badges: all enabled
extra emotes: bTTV, FFZ
back color: #010101
text color: #ffffff
font size: 20px
hide messages after: disabled
chat delay: 0
message animations: no