Skip to content

Instantly share code, notes, and snippets.

View NAEL2XD's full-sized avatar
🦿
m

4235264 NAEL2XD

🦿
m
  • 12:39 (UTC +01:00)
View GitHub Profile
@NAEL2XD
NAEL2XD / normal-support.py
Last active July 16, 2025 14:07
FNF Utils: No -normal prefix to with -normal prefix.
"""
## ## ### ######## ## ####### ## ## ########
### ## ## ## ## ## ## ## ## ## ## ##
#### ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ###### ## ####### ### ## ##
## #### ######### ## ## ## ## ## ## ##
## ### ## ## ## ## ## ## ## ## ##
## ## ## ## ######## ######## ######### ## ## ########
Required Libraries:
@NAEL2XD
NAEL2XD / main.py
Last active July 4, 2025 16:34
FNF Utils: FNF Chart to TJA Converter
"""
Converts FNF's Psych Engine JSON to TJA (Taiko no Tatsujin's Chart)
Doesn't require any pip modules, you can launch it like normal!
"""
import json
from tkinter import filedialog
file = json.load(open(filedialog.askopenfilename(filetypes=[("Psych Engine Chart Compatible JSON", "*.json")]), "r"))
@NAEL2XD
NAEL2XD / main.py
Last active July 4, 2025 10:53
FNF Utils: Convert fnf .json files to add Duet/Dual mode support!
"""
Python script that makes both bf and dad's section be in duet/dual mode!!
Does NOT require any library and you can launch it and it'll do the work.
Tested with a 1.5mb JSON, works fine.
"""
import json
import os.path as path
from tkinter import filedialog
@NAEL2XD
NAEL2XD / sound.c
Last active May 11, 2025 22:48
3DS: Sounds Utils
#include "sound.h"
#include <tremor/ivorbisfile.h>
#include <string.h>
#include <stdio.h>
#define MAX_CHANNELS 24 // Maximum NDSP channels
#define MAX_SOUNDS 24 // Maximum number of pre-cached sounds
#define THREAD_STACK_SZ (32 * 1024)
#define THREAD_AFFINITY -1
@NAEL2XD
NAEL2XD / utils.c
Last active May 20, 2025 18:30
3DS: Cool Utils!
#include <3ds.h>
#include <citro2d.h>
// Prework those things.
// Text Functions
C2D_Text renderText;
C2D_Font defaultFont;
C2D_TextBuf g_staticBuf;
u32 borderColor;
u32 textColor;
@NAEL2XD
NAEL2XD / main.c
Created May 9, 2025 00:10
3DS: Epileptic Staring
#include <stdio.h>
#include <stdlib.h>
#include <citro2d.h>
#include <math.h>
#include <3ds.h>
// Prework those things.
C2D_Text renderText;
C2D_Font defaultFont;
C2D_TextBuf g_staticBuf;
@NAEL2XD
NAEL2XD / Virtual Streaming.lua
Last active April 22, 2025 20:05
Psych Engine: Virtual Streaming w/ Chat Reaction.
--[[
A Psych Engine Script that acts like you are streaming but in real time it's actually virtual.
The users and messages you are seeing are from text files, specifically messages.txt and users.txt
users.txt is where the users will act like, a lone viewer.
messages.txt is where you can type your whole message and then place in there like it's a Twitch live stream.
MAKE SURE BOTH FILES THAT ENDS WITH .TXT MUST BE IN scripts/ OR ELSE YOU'LL GET A SCRIPT ERROR.
]]
@NAEL2XD
NAEL2XD / MIDI Generator.py
Created April 21, 2025 21:29
MIDI Creation: Generates a MIDI with sorts of settings you can choose.
"""
Randomly Generates a MIDI for you and you can set it up!
It's very simple and easy to do!
REQUIRES TQDM AND PRETTY_MIDI: pip install tqdm, pretty_midi
"""
from pretty_midi import PrettyMIDI, Instrument, Note
from random import randint
from tqdm import tqdm
@NAEL2XD
NAEL2XD / MIDI to FNF Chart.py
Last active May 16, 2025 20:53
FNF: MIDI to FNF Psych Engine Compatible chart.
"""
Converts a single midi to a fnf chart for psych engine <0.7.3
Odd Instruments are DAD section and Even Instruments are BF notes.
REQUIRES pretty_midi and tqdm: pip install pretty_midi, tqdm
You need "import.mid" next to the py file or else you'll get an error!
"""
import pretty_midi
@NAEL2XD
NAEL2XD / FNFC2AYS.hx
Last active May 16, 2025 20:53
FNF Utils: FNF Chart to AYS converter.
package;
/*
FNF CHART TO AYS CONVERTER!
If you need the executable then link is in below.
https://drive.google.com/file/d/1CjXfIDQ0OF_f2TNKPokAsa57Vwc2kVcj/view?usp=sharing
*/
import flixel.util.FlxSort;