Skip to content

Instantly share code, notes, and snippets.

View Tonetfal's full-sized avatar

Antonio Sidenko Tonetfal

View GitHub Profile
@intaxwashere
intaxwashere / customthunkexample.md
Last active October 20, 2025 13:47
Custom Thunks Unreal Engine TL;DR

Custom thunks TL;DR

This smol post assumes you worked on a custom thunk implementation before but no idea how it works, why you're using cursed macros from 1990s etc. If you don't have any programming experience or relatively new to Unreal world, it's likely you might not understand anything from this post, not because concepts are too difficult to grasp, but rather because this post is written for the people who has an understanding of how Unreal works since a while and want to expand their knowledge of custom thunks implementation.

Part 1:

  • A thunk is a function that you can save and call later, so if you had an array of TFunction<void()>s, you would have an array of custom thunks that you can bind/unbind new function pointers to existing TFunctions.
  • Custom thunks of Blueprints are the same, they're a fancy array/list of function pointers. Imagine for each node you placed to graph, Blueprints have a place for that node in it's list of custom thunks. For example the + node in Blueprints that
@regner
regner / BuildProject.xml
Last active October 5, 2025 03:14
A sample BuildGraph script for building, cooking, and packaging an Unreal project.
<?xml version='1.0' ?>
<!--
Why is this one giant script instead of a bunch of smaller scripts?
Mostly this comes down to BuildGraph and personal preference. As the language BuildGraph isn't
really much of a programming language there is no easy way to use an IDE and jump between
includes, find usages of variables, and just generally quickly search things. It was found to
be easier to have a single large file that a developer can quickly jump up and down in when
trying to understand what the BuildGraph script is doing.
@JonnyMuff
JonnyMuff / install-arch-linux-using-efi-and-grub-dual-boot-win.md
Last active December 8, 2024 22:27 — forked from chriscandy/install-arch-linux-using-efi-and-grub.md
Install Arch Linux using EFI and GRUB (dual-boot with Windows)

Installing Arch linux with EFI (dual-boot with Windows)

Just skip steps 22, 23 and 25 if dual-boot isn't your use case scenario

  1. Change keyboard layout (if needed, default is 'us')

    • to see all avaliable layouts: ls /usr/share/kbd/keymaps/**/*.map.gz
    • loadkeys us
  2. Verify boot mode:

  • ls /sys/firmware/efi/efivars (If the directory exist your computer supports EFI)
@chillpert
chillpert / vim-unreal.md
Last active May 30, 2025 13:54
Debugging and autocompletion for Unreal Engine 4 and 5 projects in (Neo)vim

Debugging and autocompletion for Unreal Engine 4 and 5 projects in (Neo)Vim

+++ Updated for UE 5.1 (see bottom)

Autocompletion

For autocompletion there are two options:

  1. coc (Vim, Neovim)
  2. LSP (Neovim only)
@Tonetfal
Tonetfal / JKPS-Config-explanation.md
Last active August 13, 2021 09:25
JKPS-Config-explanation

Main info

The program: JKPS

My Discord: Jeki the Monkey from München#3932

How to write parameters in the config in a correct way

To make the program read the written value correctly you have to put a space between colon and the rest of the data.

@jmoyers
jmoyers / 1. README.md
Last active June 23, 2023 17:00
Get up and running with a terminal, vim, and c++
  • color scheme
  • terminal
  • z proj, takes you to /some/deep/directory/project
@NoobsArePeople2
NoobsArePeople2 / install_sfml_deps.sh
Last active April 6, 2022 09:08
Install SFML dependencies on Ubuntu Linux
#!/usr/bin/bash
# Install CMake GUI
sudo apt-get install cmake-gui
# SFML Dependencies
sudo apt-get install libpthread-stubs0-dev
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libx11-dev
sudo apt-get install libxrandr-dev