Skip to content

Instantly share code, notes, and snippets.

View TheCurle's full-sized avatar
😉
Did somebody say "new project"?

Curle TheCurle

😉
Did somebody say "new project"?
View GitHub Profile
@TheCurle
TheCurle / constructors.py
Last active December 18, 2020 22:08
RetroGradle scripts
###############
# RETROGRADLE #
# BY CURLE #
# 2020 #
###############
# This file allows you to split an MCP joined.exc file up to the MCPConfig files
# constructors.txt, access.txt and exceptions.txt.
# Part seven of eight in the RetroGradle series.
X Double chests not updating comparators on both sides:
Issue: https://github.com/MinecraftForge/MinecraftForge/issues/6873
PR: https://github.com/MinecraftForge/MinecraftForge/pull/6875
-> Patch error in ItemEntity
Issue: https://github.com/MinecraftForge/MinecraftForge/issues/6854
-> canSustainPlant allows any crop on any ground (notably saplings on Mycelium)
Draft PR: https://github.com/MinecraftForge/MinecraftForge/pull/6868
Tags and datagen.
Known issue so i won't bother you with that
@TheCurle
TheCurle / 1.s
Last active September 9, 2020 19:38
Weird Erythro Things
.text
.LC0:
.string "%d\n"
PrintInteger:
pushq %rbp
movq %rsp, %rbp
subq $16, %rsp
leaq .LC0(%rip), %rcx
movq $0, %rax
call printf
@TheCurle
TheCurle / fg.txt
Last active October 20, 2020 19:57
Legacy Forge MCP Versions
version = "1.11.2-13.20.1.2588"
FG 2.2
net.minecraftforge:fernflower:2.0-SNAPSHOT
mappings = "snapshot_20161220"
version = "1.10.2-12.18.3.2511"
FG 2.2
net.minecraftforge:fernflower:2.0-SNAPSHOT
mappings = "snapshot_20161111"
@TheCurle
TheCurle / Elisa v3.5.txt
Last active December 21, 2020 22:21
Elisa Specification
WELCOME CURLE ARMY
Specification Draft v3.5
Elisa is a VM language to be run on top of a VM alike the JVM and/or CSR
It is to serve as a well constructed IL for Erythro and Minerva, and any other language that may want to share the Elisa backend.
The VM uses a (as of yet) minimal instruction set:
- ADD
@TheCurle
TheCurle / plans.md
Created February 6, 2021 04:04
[O-M Planning 1] #OrbisMedeis #Plans

Overview

Orbis Medeis has four main gameplay elements: Study, Spellcrafting, Spellcasting, and Practice.
Each element can be played up to three ways, and as per most things, a naturally adept player will have more luck than others.

Study

In order for a player to be able to craft spells, they need sufficient knowledge in doing what they want to do.
Ergo, if the user wants to make a spell that can mine blocks, they need to mine a LOT of blocks.
If they want to make a spell that can harm entities, they need to harm a LOT of entities.

Likewise for moving, swimming, absorbing (bucketing) water, shooting arrows, alighting things on fire, lighting up blocks with torches/glowstone...

@TheCurle
TheCurle / c.js
Last active March 12, 2021 21:01
[BS plugin for CXX] #BS
const child = require("child_process");
const fs = require("fs");
let defaultCompiler = "gcc";
let tempDir;
let defaultLinkFlags = "%.o"
let defaultOutput = "$name"
let linkCache = "";
@TheCurle
TheCurle / compile.log
Created March 12, 2021 21:15
[BS First Chroma Compile] #BS #Chroma
$ node bs/Entry.js
Parsing file tree C:/Users/Owner/Desktop/Codings/BS/Chroma/chroma/inc/ from $root/Chroma/chroma/inc/
Appending absolute file C:/Users/Owner/Desktop/Codings/BS/Chroma/chroma/inc/ to source set inc
Parsing file tree C:/Users/Owner/Desktop/Codings/BS/Chroma/font.o from $root/Chroma/font.o
Appending absolute file C:/Users/Owner/Desktop/Codings/BS/Chroma/font.o to source set font
Parsing file tree C:/Users/Owner/Desktop/Codings/BS/Chroma/linker.ld from $root/Chroma/linker.ld
Appending absolute file C:/Users/Owner/Desktop/Codings/BS/Chroma/linker.ld to source set linkerscript
Parsing file tree C:/Users/Owner/Desktop/Codings/BS/Chroma/global/crt0.o from $root/Chroma/global/crt0.o
Appending absolute file C:/Users/Owner/Desktop/Codings/BS/Chroma/global/crt0.o to source set preamble
Parsing file tree C:/Users/Owner/Desktop/Codings/BS/Chroma/global/crti.o from $root/Chroma/global/crti.o
@TheCurle
TheCurle / a.txt
Created March 27, 2021 21:51
[gdb log]
34 ObjectMap.emplace((size_t) object.Heap, (size_t) ClassObj);
(gdb) s
std::map<unsigned long long, unsigned long long, std::less<unsigned long long>, std::allocator<std::pair<unsigned long long const, unsigned long long> > >::emplace<unsigned long long, unsigned long long> (this=0x6efcb8, __args#0=@0x6efa28: 3,
__args#1=@0x6efa20: 14778624) at C:/bin/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/stl_map.h:575
575 { return _M_t._M_emplace_unique(std::forward<_Args>(__args)...); }
(gdb) s
std::forward<unsigned long long> (__t=@0x6efa20: 14778624)
at C:/bin/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/move.h:75
75 { return static_cast<_Tp&&>(__t); }
(gdb) s
@TheCurle
TheCurle / 1.txt
Created March 27, 2021 21:56
[purpuri logs]
****************
Starting Execution
*****************
Execution frame 0, stack begins 0
Executing TestCaseFinalFieldInterface::EntryPoint