There were a few things going on here. Jak 2's menu wheel is zoomed in at 16:9 but zoomed out at 4:3. However, the custom aspects use the scaling from the 4:3 mode, this makes sense as you'd want the zoomed out wheel. However I noticed HUD elements scaled correctly on PS2 16:9 but not PC 16:9, which was a hint. The hardcoded values for every individual HUD element for 16:9 and 4:3 are in pixels, normalized across 480 being the stretch of the screen. To fix the HUD alignment I scaled those offsets, scaling them inside `set-hud-piece-position` meant both textures and merc models got scaled at the same time. Note that you can get (very tiny) snapping into different integer values as you scale to different aspects. This is simply the result of scaling integer offsets which is what the game uses. <img width="1704" height="639" alt="2" src="https://github.com/user-attachments/assets/81e75f7c-04ba-4c9a-8a50-215d13bd4089" /> |
||
|---|---|---|
| .. | ||
| build | ||
| dgos | ||
| engine | ||
| examples | ||
| kernel | ||
| levels | ||
| lib | ||
| pc | ||
| tools | ||
| compiler-setup.gc | ||
| game.gp | ||
| kernel-defs.gc | ||