Document development rules, patch formats, and PR review checks. Include reusable patch and PR templates, and correct the README development commands. Verified Markdown links, all three patch template types, root and launcher type checks, and exe and GUI checks on client 2.61.0.37.
27 lines
823 B
JSON
27 lines
823 B
JSON
// Describe the values a fictional native module reads for the local copy.
|
|
// This example locates a settings marker in read-only data and captures its mode byte.
|
|
// The module would otherwise lack the value required for its example behavior.
|
|
{
|
|
"module": "local_mp_example",
|
|
"features": ["Replace with an existing feature tag"],
|
|
"requires": [],
|
|
"sites": {
|
|
"example_label_mode": {
|
|
"variants": [
|
|
// The fictional WTO_EXAMPLE marker ends before the one-byte mode.
|
|
{
|
|
"written_for": "0.0.0.0",
|
|
"locate": {
|
|
"method": "signature",
|
|
"section": ".rdata",
|
|
"pattern": "57 54 4f 5f 45 58 41 4d 50 4c 45 00 ??",
|
|
"captures": {
|
|
"mode": { "offset": 12, "type": "u8" }
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|