Skip to content

Instantly share code, notes, and snippets.

View notwa's full-sized avatar
🚲
bikeshedding

Connor notwa

🚲
bikeshedding
View GitHub Profile
@notwa
notwa / rng.md
Last active October 15, 2020 00:08
info dump on the RNG in OoT and MM

info dump on the RNG in OoT and MM

if you find any discrepancies, please leave a comment or tweet at @antiformant.

the function itself

the random number generator in both games is an LCG:

@notwa
notwa / wc3hash.c
Last active January 27, 2022 21:25
a string hashing function found in Warcraft III
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
typedef uint8_t u8;
typedef uint32_t u32;
typedef uint64_t u64;
@notwa
notwa / wc3hashes.md
Last active February 4, 2020 10:19

found hashes in Warcraft III (The Frozen Throne) 1.28c

known cheats

Synergy

F9CC37EF6A43F87B 938FCF94 0AD0048C 0AD008A8 0AD00854 0AD00428 00000000

RiseAndShine

3A307C034564F51C 7F54891F 0AB801E8 0AD00908 0AD00404 0AD00458 00000000

LightsOut

AB05DD8482042FDD 2901F259 0AB801A0 0AD00878 0AD00434 0AD00488 00000000

@notwa
notwa / use-debug-saves.md
Last active July 4, 2017 03:16
load debug saves in majora's mask

how to use:

these gameshark cheats will override the default save file with the debug save file. create a new file on the file select screen and it should create a debug save. note: this is probably the same as using map select.

MM (J) 1.0

D1142850 0C05
D1142852 053D