jak-project/scripts
Tyler Wilding 92c4390f0a
Some checks are pending
Build / 🖥️ Windows (push) Waiting to run
Build / 🐧 Linux (push) Waiting to run
Build / 🍎 MacOS (push) Waiting to run
Inform Pages Repo / Generate Documentation (push) Waiting to run
Lint / 📝 Formatting (push) Waiting to run
Lint / 📝 Required Checks (push) Waiting to run
Lint / 📝 Optional Checks (push) Waiting to run
jak1: Adjust sprite positioning or hide them where appropriate when using non-standard aspect ratios (#3596)
This attempts to do a best-effort quick fix for the sprite alignment in
the menus and first person views on higher aspect ratios. This:
- Hides the binocular borders completely when using a non-standard ratio
![Screenshot 2024-07-20
021430](https://github.com/user-attachments/assets/c56d3a6c-13b0-43e1-b99b-83292993728c)
- Hides the borders in jak's first person view when using a non-standard
ratio
![Screenshot 2024-07-20
021310](https://github.com/user-attachments/assets/fefca993-960b-4741-87b7-6d7c17efe89d)
- Uses a combination of manual alignment and approximation to get the
pause menu closer.
![Screenshot 2024-07-20
151725](https://github.com/user-attachments/assets/2c8aa759-b33a-4fbe-abc6-b5861fc33208)
> 32:9 screenshot.

I accomplished the last one by manually aligning all of the core sprites
and text for the most popular aspect ratios. This means that from a
practical standpoint, things should align "perfectly". However, I then
used all of those values to derive a polynomial for each adjustment
based on the aspect ratio. This allows the game to do a half-decent
approximation/interpolation for every aspect ratio in-between the common
ones. It won't be perfect, but it will be better than this:

![image](https://github.com/user-attachments/assets/420b1e38-6f88-436a-8e8c-21df6b49428e)
2024-07-26 23:15:51 -04:00
..
batch [jak3] implement pckernel (#3472) 2024-04-15 19:26:48 +01:00
ci New Crowdin updates (#3547) 2024-06-03 01:01:58 -04:00
cpp formatter: add tree-sitter dependency and commit early draft work on a proper code formatter (#2536) 2023-04-24 23:46:55 -04:00
emacs [goalc] add a build system (#704) 2021-07-15 21:37:15 -04:00
examples REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
gsrc jak1: Adjust sprite positioning or hide them where appropriate when using non-standard aspect ratios (#3596) 2024-07-26 23:15:51 -04:00
shell decompiler: some hacks to allow running decompiler on jak 3 v5 code files, improve all-types generation (#2526) 2023-10-07 22:14:12 +02:00
sublime_text [decomp] load boundaries (#922) 2021-10-20 19:49:32 -04:00
tasks formatter: Format deftype correctly (#3391) 2024-02-27 20:12:44 -05:00
analyze_build_time.py Try to speed up the build (#106) 2020-10-29 21:27:52 -04:00
combine_all_imports.py [jak2] use art constants (#2097) 2023-01-07 10:32:03 -05:00
decomp_progress.py decomp3: some engine files (#3319) 2024-01-20 10:42:51 -05:00
gen-dgo-txt.py jak2: add .gd files and level info for some ps3 test levels (#2776) 2023-06-27 23:52:19 +02:00
gen-test-cases.py Improved test namings for multi-operations, added new ones, still a few failures (#190) 2021-01-10 15:46:46 -05:00
memory-dump-p2s.py random fixes + support clang-cl on visual studio (#1129) 2022-02-07 19:15:37 -05:00
setup_art_group_imports.py [decomp] add import statements for art groups (#1372) 2022-05-23 18:53:02 -04:00
subtitle2_gen.py Jak 2 pc subtitle support (#2672) 2023-06-08 01:04:16 +01:00
update_decomp_reference.py [decomp] fix up debug menu rendering, add a few others (#1892) 2022-09-16 20:42:33 -04:00