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 / 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 December 12, 2022 00:45
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 September 27, 2022 21:57
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"
@BigBang1112
BigBang1112 / LeaderboardRefresher.bat
Last active December 24, 2019 11:19
The first step for the first automated world record tracking
@echo off
SET login=[your_maniaplanet_login]
SET password=[your_maniaplanet_password]
SET maniaplanet_exe_location=C:\Program Files\ManiaPlanet
SET title=TMStadium@nadeo
SET loop=true
SET /A loop_interval=60
SET /A close_interval=60
@BigBang1112
BigBang1112 / Leaderboards.xml
Last active November 29, 2023 23:22
Manialink for simple leaderboard data extraction
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<manialink version="3">
<!--
LEADERBOARDS 2020-05-10a
- Added a zone button
- Shows a window where you can select any zone of your wish to see the leaderboards of
- Collapse button collapses all of the zones and autoselects World
- Locate button find your exact zone and opens every zone section it goes through
- Behaviour is still really buggy but should be crashless
- Added a new "PB" mode