Skip to main content
Module patch
supreme_
hook_
config
0.1.0
Module patch
Module Items
Structs
Enums
Functions
In crate supreme_
hook_
config
supreme_hook_config
Module
patch
Copy item path
Source
Structs
§
Bytes
Replacement
One
find
->
replace
byte pair.
String
Replacement
One
find
->
replace
text pair, expressed as ordinary UTF-8 Rust strings and transcoded to Windows-1252 at apply time.
Enums
§
Memory
Patch
A single content modification applied to a file’s bytes before the game reads it.
Script
Source
The source of a script patch. Explicitly tagged to avoid ambiguous filesystem probing.
Functions
§
apply_
all
Applies a whole list of patches in order, each operating on the previous one’s output.
rel_key
is forwarded to each patch’s
MemoryPatch::apply
– see there for what it’s used for.