Skip to content

Instantly share code, notes, and snippets.

View BigBang1112's full-sized avatar
🥵
NativeAOT

Petr Pivoňka BigBang1112

🥵
NativeAOT
View GitHub Profile
@BigBang1112
BigBang1112 / ChatHook.Script.txt
Created August 14, 2025 22:28
Most native way to resend TM2020/ManiaPlanet server chat messages to a Discord channel.
#RequireContext CServerPlugin
#Include "TextLib" as TextLib
#Setting S_DiscordWebhook ""
#Struct SDiscordWebhookExecute {
Text content;
Text username;
Text avatar_url;
@BigBang1112
BigBang1112 / Location.Script.txt
Created June 5, 2023 02:05
My ManiaScript library from 2020 that does something
#Include "MathLib" as MathLib
#Struct SBlockInfo {
Text Name;
Int3 Coord;
}
#Struct STriggerBlock {
Vec3 Position; // Centered
Vec3 Size;
@BigBang1112
BigBang1112 / MapSizes.yml
Created December 28, 2022 22:13
List of all possible vanilla map sizes in TMUF taken from .PAK files.
Rally:
- [10, 18, 150]
- [20, 18, 60]
- [30, 18, 30]
- [32, 12, 32]
- [45, 18, 45]
Island:
- [36, 36, 36]
- [45, 36, 45]
Speed:
@BigBang1112
BigBang1112 / ImportMapFileGhidra.md
Last active July 22, 2026 05:14
Quick tutorial how to connect .map file with .exe in Ghidra.
  1. Import your desired .EXE and open it
  2. Don't analyze the project just yet
  3. Go File -> Add To Program...
  4. Add the .map file, then click Ok. This will add the symbols.
  5. To demangle the symbols, go to Script Manager, search for DemangleAllScript.java and run it. This script also analyzes the project.
@BigBang1112
BigBang1112 / OfficialBlocksTMUF.yml
Last active December 9, 2022 18:18
List of all blocks in TMUF taken from .PAK files.
Rally:
- ForestToHills1
- ForestToLake
- Hills1ToHills2
- Hills2ToHills3
- HillsToHills
- Lake
- RallyAdvertising
- RallyBridgeHigh
- RallyBridgeHighPillar
@BigBang1112
BigBang1112 / CE.md
Last active February 4, 2023 22:09

CE_HelicoStart

321Go materials:

  • Canyon: StartSignGlow
    • Rotate UV to be horizontal, move top and bottom color UV by 0.0225 inwards
  • Stadium: StadiumStartSignGlow
    • Individual scale 0.8 then 0.9 on Z axis, UV scale 0.85 on X axis
  • Valley: StartSignGlow
  • Lagoon: StartSignGlow
This file has been truncated, but you can view the full file.
{
"DecoHillDeadendSlope2Curve1OutLeft": {
"Air": [
{
"Coord": { "X": 0, "Y": 0, "Z": 0 },
"NorthClip": 1,
"EastClip": 1,
"SouthClip": 1,
"WestClip": 1,
"BottomClip": 1
@BigBang1112
BigBang1112 / TrackmaniaCommandLineArgs.md
Last active July 5, 2026 22:49
List of all possible command line arguments across Trackmania games.

Command line arguments in Trackmania

Possible commands are listed in two functions:

  • CGbxGame::ApplyCommandLineArgs
  • CGbxApp::ApplyCommandLineArgs that is called inside CGbxGame::ApplyCommandLineArgs

TMS

Due to missing resources, this may not be exactly accurate.

@BigBang1112
BigBang1112 / UMPS.Script.txt
Last active October 2, 2020 14:35
Map editor plugin set by BigBang1112 for ManiaPlanet
#RequireContext CMapEditorPlugin
#Include "TextLib" as TextLib
#Include "MathLib" as MathLib
#Include "TimeLib" as TimeLib
#Const C_Plugin_Name "Universe Map Plugin Set"
#Const C_Plugin_Name_Short "UMPS"
#Const C_Plugin_Version "1.0.5"
#Const C_Plugin_Author "BigBang1112"