Skip to content

Instantly share code, notes, and snippets.

View break-core's full-sized avatar
🍎
sauce

riall break-core

🍎
sauce
View GitHub Profile
@break-core
break-core / 241_242_code_changes.md
Created June 27, 2026 08:05
What code changed exactly between Deltarune 0.0.241 and 0.0.242?

These are all of the code changes in the 0.0.242 patch for Deltarune. It also helps explain what exactly got changed and why.

Bug fix numbers are used to make things easier to comprehend:

  1. Fixed a crash towards the end of the game in an area with a yellow guy in the background
  2. Fixed a crash involving a small glove
  3. Fixed a crash when encountering a leaf enemy while leaving a room
  4. Opening a pink door at a precise location no longer makes the screen go black
  5. Magical glass was placed over a wall you're not supposed to go over
  6. Using Rudebuster in the final phase of a pink enemy no longer crashes the game
  7. Fixed a crash if you put Ralsei in your party before sleeping in bed to skip the intro
@break-core
break-core / PingPongCheat.lua
Created March 25, 2026 05:26
stupid shit i made very quickly
--[Obfuscated by Hercules v1.6.2 | hercules-obfuscator.xyz/discord | hercules-obfuscator.xyz/source]
return (function(...) local PNbBCipOkAe,iqcMZUGV,IFyTTflA,YsFLwmGl,UPBRHrVxWcqf,setMyAcp,ACivrNdGAIg,pxYKVovCVk,YeHqDbpu,ieguYrhIVE,sfMSAKstMfeT,mXpsdHcd PNbBCipOkAe=ipairs;iqcMZUGV=pairs;IFyTTflA=tonumber;YsFLwmGl=tostring;UPBRHrVxWcqf=type;setMyAcp=math.abs;ACivrNdGAIg=math.floor;pxYKVovCVk=math.ldexp;YeHqDbpu=string.char;ieguYrhIVE=string.format;sfMSAKstMfeT=table.concat;mXpsdHcd=table.unpack;local tLwZvihvXh=62 if true then local OrAHmTclDl=26 end while false do local OrAHmTclDl=63 break end local function nylLuelki(EdZMbsOQc)local OrAHmTclDl=91 end local function dgflkWqsYL(kXHrwjWzpzbv)local OrAHmTclDl=51 end local RawfoqWllHR=5 local function OrDXXaKVByon(pLZCAoRWhIm)local OrAHmTclDl=67 end if false then local OrAHmTclDl=29 end if true then local OrAHmTclDl=83 end if false then local OrAHmTclDl=5 end if true then local OrAHmTclDl=58 end if true then local OrAHmTclDl=11 end local akJNPBIChDBA=12 while fa
@break-core
break-core / VisualSource Docs.md
Last active July 8, 2025 13:42
Documentation of the VisualSource V3/V4 format for RetroStudio

Preface

VisualSource is an encoded and compressed source code format which takes information of a script and turns it into condensed executable information.

This documentation documents how VisualSource 3.0 works in detail.

VisualSource V4 Changes

The encryption and data format is pretty much the same. However, the version was bumped to 0000000000000004 and a change was made to add extra data for blocks attached as an else block. It's stored in a new Property that comes after ChildBlocks called ElseChildBlock. What is stored is average block data (see Block data structure for information on that) and if one is not stored, the value stored is nil.

Data concepts

VisualSource uses 3 different data concepts within it's code:

Ghidra BSim Basics Tutorial

This is a basic tutorial for using BSim in Ghidra. The main thing it will go over is how to compare matches of functions across binaries and how to navigate the BSim interface.

BEFORE CONTINUING

Your Ghidra version MUST be on 11 or higher to use BSim features.

Enabling BSim

To enable BSim, go into CodeBrowser. Then, click the File tab, then click the Configure button. Then, click the checkbox on the BSim tool. This enables the BSim tab in CodeBrowser.

Creating a BSim Database