mirror of
https://github.com/mleem97/gregWiki.git
synced 2026-04-11 03:29:19 +02:00
- Added new items to the sidebar for 'greg-hooks-and-events' and 'greg-hooks-registry' under the Framework and Reference categories, respectively. - Enhanced the documentation layout by including references to the greg hooks registry in various guides and topics, improving accessibility to hook-related information. - Updated descriptions in the documentation to clarify the purpose and usage of the greg hooks and their registry. This commit aims to improve the visibility and usability of the greg hooks registry within the documentation.
1.6 KiB
1.6 KiB
id, title, sidebar_label, description
| id | title | sidebar_label | description |
|---|---|---|---|
| reference-data-files | Binary reference exports | Reference data (.gz) | Large hook exports used by tooling (gzip archives under docs/reference). |
Binary reference exports
This section describes large reference exports used by hook analysis and build-time tooling. When present, they live next to this documentation tree under docs/reference/ (as .gz files).
Files (when committed)
assembly-hooks.txt.gzmodder-hooks.ffm.txt.gz
Decompress locally
gzip -dk assembly-hooks.txt.gz
gzip -dk modder-hooks.ffm.txt.gz
$inputPath = ".\\assembly-hooks.txt.gz"
$outputPath = ".\\assembly-hooks.txt"
$in = [System.IO.File]::OpenRead($inputPath)
$out = [System.IO.File]::Create($outputPath)
$gzip = New-Object System.IO.Compression.GzipStream($in, [System.IO.Compression.CompressionMode]::Decompress)
$gzip.CopyTo($out)
$gzip.Dispose(); $out.Dispose(); $in.Dispose()
JSON hook registry (gregFramework)
The gregFramework repo also ships a structured hook list for IL2CPP Harmony patches:
- Path:
greg_hooks.jsonat repo root (and a build-staged copy undergregCore/framework/gregFramework/). - Purpose: canonical
greg.<DOMAIN>.<Action>ids,patchTarget,payloadSchema, and optionallegacyaliases forGregCompatBridge. - Docs: greg hooks registry (IL2CPP).
This file is generated from Il2CppInterop sources; it is not one of the gzip archives above.
Pipeline usage
- Prefer reading
.gzdirectly from scripts when possible. - Avoid committing extracted
.txtblobs unless required for CI.