Something I'm not quite sure how to word on the page. I posted this in the PCGW discord in #articles, but I'll also crosspost it here in case it gets buried.
Click here to see a screenshot of the original posts, including images of the relevant hex locations
So I'm updating the page for PotC: At World's End (as I picked up the retail version from a used book store earlier today), and when trying out WSGF's method of hex editing the executable to get custom resolutions, I learned of a slightly better way of doing it, but I'm not sure how to word it on the wiki. (more posts, elaboration, and pictures follow)
There are three instances of 66 C7 40 02 in the executable; each one corresponds to a resolution (640x480, 800x600, and 1024x768 in vanilla).
The two bytes to the left of this value are a little-endian 16-bit integer representing the screen width.
Likewise, the two bytes to the right of 66 C7 40 02 represent the screen height.
The WSGF page (and the automated tool that it provides for download) say to modify the first resolution (640x480), which results in text and various iconography being too small at 1080p. Modifying the third and highest resolution instead (1024x768) results the same text and whatnot being a much more sane size at 1080p (and it would probably be as legible at 2160p as using modified 640x480 would at 1080p). I'm not sure quite how I should word this in wiki fixbox instruction format, though.