Skip to content

Commit 986a98f

Browse files
committed
docs: explain rsrc.syso files in README.md
Because they essentially random binaries in the repo. The explanation is taken from Zusier's reply on #15
1 parent cbb8bca commit 986a98f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,14 @@ List may be expanded, for now only tested on 1803.
6060
2. Open sfc-fix
6161
3. Go to MOUNTPOINT\Windows\System32\config and select the COMPONENTS hive
6262
4. Done! sfc-fix will now process the registry entries
63+
64+
---
65+
66+
## On `rsrc.syso`
67+
68+
`gameutil/` and `multichoice/` both contain a binary file `rsrc.syso` that gets linked into the executable upon building.
69+
They were created with [rsrc](https://github.com/akavel/rsrc), a Go tool that embeds a Windows manifest to get a standalone executable.
70+
It is needed for the GUI module, [Walk](https://github.com/lxn/walk) to function.
71+
Walk's repository explains [why](https://github.com/lxn/walk/blob/c389da54e794a411ec9c9bfda01f2a0eb1b5a9b4/README.mdown#application-manifest-files)
72+
and [how to produce manifests/syso files](https://github.com/lxn/walk/blob/c389da54e794a411ec9c9bfda01f2a0eb1b5a9b4/README.mdown#create-manifest-testmanifest).
73+
The manifests embedded here are the exact XML from their example.

0 commit comments

Comments
 (0)