Commit Graph

2979 Commits

Author SHA1 Message Date
Hat Kid 223f8f0b9d regression 2026-04-18 23:39:12 +02:00
Hat Kid e4667607f9 regressions 2026-04-18 23:22:41 +02:00
Hat Kid bf42802763 regressions 2026-04-18 20:57:09 +02:00
Hat Kid 46a4b9d0ad increase stack for tpl-holo-eye 2026-04-18 15:04:47 +02:00
Hat Kid 687b3aa858 Merge remote-tracking branch 'upstream/master' into w/stack-vars 2026-04-16 16:48:52 +02:00
Matt Dallmeyer 3e3542cb10 [jak3] Prevent NaN-induced infinite loop in ff-squad-control bubble sort (#4225)
This bit of ff-squad-control code is trying to sort guards based on
their distance from some shared target. In some cases the
`vector-vector-distance` returns NaN. In the bubble sort below this
change, the < operation always returns #t when NaN is involved, so the
NaN guard gets swapped back and forth endlessly, causing an infinite
loop.
2026-04-16 13:52:51 +01:00
Hat Kid f5f2fbdb08 regressions 2026-04-15 21:28:33 +02:00
Hat Kid 44cfd6ea8c trim whitespace 2026-04-15 20:36:06 +02:00
Hat Kid 77f5631792 jak3 gsrc 2026-04-15 20:34:09 +02:00
Hat Kid 44888c752f jak3 ref 2026-04-15 20:33:35 +02:00
Hat Kid 850141d112 types 2026-04-15 20:32:55 +02:00
Hat Kid 43b32867d0 types 2026-04-15 03:44:22 +02:00
Hat Kid 494e64e9c2 regressions and casts 2026-04-15 02:52:03 +02:00
Hat Kid f1fd4ded5a trim whitespace 2026-04-15 02:41:23 +02:00
Hat Kid cf14f46ed2 maybe fix tests 2026-04-15 02:39:14 +02:00
Hat Kid c0b0f35b05 jak2 gsrc 2026-04-15 02:33:12 +02:00
Hat Kid 9f66a69859 always set vu function length to 0 2026-04-15 02:31:17 +02:00
Hat Kid c8653b2d51 jak2 ref 2026-04-15 02:29:58 +02:00
Hat Kid 21a148f9ea regressions 2026-04-14 09:34:28 +02:00
Hat Kid c7783d5272 jak1 gsrc 2026-04-14 09:23:20 +02:00
Hat Kid 2ef5f8313a jak1 ref 2026-04-14 09:23:08 +02:00
Matt Dallmeyer 2f51e355dd [jak3] Implement trick display text secret (#4208)
ported the implementation from jak 2 into jak3 pretty much exactly.
added a new color for L2 tricks, and shrunk the text/width a bit so it
wouldn't end up covered by the minimap.

also fixed small bug in jak 2 (and 3) where dismounting jetboard
wouldn't reset the trick display, so displayed score wouldn't match the
granted score

---------

Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
2026-04-14 01:40:27 -04:00
Hat Kid 7145890eee jak3: high fps fix for mech carry drop (#4223)
Closes #4205
2026-04-14 01:26:44 -04:00
Aloqas 0e6c93efd8 jak2/jak3: Flags for custom languages (#4209)
<img width="224" height="39" alt="Näyttökuva 2026-04-12 013017"
src="https://github.com/user-attachments/assets/fbfc8e6d-83f7-496c-bbfd-d1d1df955359"
/>
<img width="185" height="39" alt="Näyttökuva 2026-04-12 013027"
src="https://github.com/user-attachments/assets/8ba826e3-8268-4e37-bef5-4404acef1f53"
/>
<img width="181" height="35" alt="Näyttökuva 2026-04-12 143327"
src="https://github.com/user-attachments/assets/bbd4da10-2ead-4f7f-a5ca-9bdf4f5f2c1a"
/>
<img width="286" height="35" alt="Näyttökuva 2026-04-12 143339"
src="https://github.com/user-attachments/assets/60fc2581-b92e-42a4-9a13-6f51587112a1"
/>
<img width="405" height="38" alt="Näyttökuva 2026-04-12 013059"
src="https://github.com/user-attachments/assets/a641f6c3-ba8f-473f-a680-0828a9fd1bcf"
/>
<img width="210" height="37" alt="Näyttökuva 2026-04-12 143351"
src="https://github.com/user-attachments/assets/d0ce1da8-2fe6-4fdb-b943-01b595606dbb"
/>
<img width="203" height="37" alt="Näyttökuva 2026-04-12 143400"
src="https://github.com/user-attachments/assets/a8f81b2d-2a96-46a5-bebb-6839ef8fc18e"
/>
<img width="220" height="37" alt="Näyttökuva 2026-04-12 143410"
src="https://github.com/user-attachments/assets/fe9a12b9-ea23-48bb-ba0a-e310eb5e13e2"
/>
<img width="179" height="38" alt="Näyttökuva 2026-04-12 143418"
src="https://github.com/user-attachments/assets/d10926e2-81f9-479f-8df5-078f823db8f0"
/>
<img width="338" height="38" alt="Näyttökuva 2026-04-12 143427"
src="https://github.com/user-attachments/assets/4bc9edc0-d914-4e2d-9b9d-c662e2a6bd80"
/>
<img width="220" height="39" alt="Näyttökuva 2026-04-12 143439"
src="https://github.com/user-attachments/assets/ca8134e2-aa37-4e51-b23e-87a816514b5f"
/>
<img width="231" height="37" alt="Näyttökuva 2026-04-12 013158"
src="https://github.com/user-attachments/assets/69af6c29-699c-41c8-a93d-033497c1ba18"
/>
<img width="210" height="37" alt="Näyttökuva 2026-04-12 013205"
src="https://github.com/user-attachments/assets/1cd8cf1c-2ff0-4b3a-becc-902302466180"
/>

Needs testing, I was having issues with Visual Studio so I couldn't
fully test

---------

Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
2026-04-14 01:15:18 -04:00
Matt Dallmeyer 480fdaa282 [jak3] Fix some things relating to resetting speedruns (#4216)
addresses:
- starting new game from title screen with speedrun mode on -> shows
intro cutscene, doesn't start autosplitter, verification text not shown
- resetting run during intro cutscene leaves weird desert state across
training course (not an issue if we fix^)
- reset in hero mode after completing training course -> verification
text not shown
- resetting during tentacle grab leaves the water bubble sound playing
forever
2026-04-14 00:52:22 -04:00
water111 0da265f87b more fixes 2026-04-13 19:47:54 -04:00
Matt Dallmeyer d961e793ee [jak3] Make surround sound not the default (#4217) 2026-04-13 19:27:21 -04:00
water111 5670fce5bd more fixes 2026-04-13 17:20:08 -04:00
water111 3cfa4e3745 more fixes 2026-04-13 16:08:59 -04:00
water111 873fd90e46 update jak1 all_objs paths 2026-04-13 15:26:34 -04:00
water111 06814108a4 add stack var support 2026-04-13 15:26:20 -04:00
OpenGOAL Bot 5acb70ab4d CI: Periodic Controller Database Update (#4218)
Updating Controller Database

Co-authored-by: OpenGOALBot <OpenGOALBot@users.noreply.github.com>
2026-04-13 13:28:14 -04:00
Grateful Forest a18d74c6fd jak3: map fixes for pc port (#4199)
Three fixes for fullscreen map screens:

**1. Expand scanlines to cover whole screen**
Instead of just the 4:3 square, scales dynamically without overshooting.

**2. Fix map icon stretching**
On a real PS2, map icons squash incorrectly at 16:9, gets worse with
custom aspects. Fixed but preserves original game bug at PS2 16:9.

**3. Stop fast map scrolling at high FPS**
Same map scroll speed regardless of framerate.

Fixes #4195
2026-04-12 19:45:05 -04:00
Alex fedd27ebfd Adjust projectile focus fix to also work on semi-solid targets + fix tracking issues with dm-tentacles (#4207)
Fixes #4177 

Also additionally fixes the setting not doing anything to the
terraformer tentacles. Tentacles are no longer considered 'solid' when
dead while the setting is on.
2026-04-12 00:57:55 +01:00
RoyalForgotten 89468c11de Jak 3 french subtitles (#4197)
Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
2026-04-09 20:28:39 -04:00
Matt Dallmeyer c31662ef89 [jak3] Fix secrets option on title screen (#4194)
Fixes 2 things:
- secrets option on title screen not hidden if no secrets unlocked
(missing check, we just always drew it)
- off-by-one bug in the "skip over secrets option" logic


https://github.com/user-attachments/assets/0f94f310-ca23-4ba8-91d5-7c2c10793c33

This approach mirrors what we did in Jak 2, but feels a bit hacky... I
have another branch
[here](https://github.com/open-goal/jak-project/compare/master...dallmeyer:jak-project:b/title-secrets?expand=1)
which takes the ND approach of just switching between 2 static menus
like:
```lisp
     (if (memcard-unlocked-secrets? #f #f)
      (set! (-> this current-options) *title-secrets-pc*)
      (set! (-> this current-options) *title-pc*))
```
2026-04-09 20:14:43 -04:00
Hat Kid cfe3ec9229 decomp3: cam-debug, hover-nav-edit, pilot-recorder (#4203)
Should be the last remaining files aside from `anim-tester` which we
already have a better replacement for.
2026-04-09 06:27:00 +02:00
Tyler Wilding ec4ccf05b2 deps/game: Update SDL to 3.4.4 and fix mouse cursor handling (#4201) 2026-04-08 18:54:23 -04:00
Matt Dallmeyer d2e9e6ea45 [jak2/jak3] Check target state != target-continue, instead of = target-stance, for speedrun post-init things (#4193)
Without this change, in hero mode speedruns you aren't given jetboard,
guns, etc if you are immediately moving when the game starts

(left side has these changes, right side does not)


https://github.com/user-attachments/assets/d581ca13-3734-4389-9986-0f815c76e906
2026-04-08 18:36:22 +02:00
Hat Kid 3f686854e6 decomp3: vivsol-edit, editable and nav mesh editor files (#4200)
- `visvol-edit`
- `editable`
- `editable-player`
- `mysql-nav-graph`
- `nav-graph-editor`
- `nav-mesh-editor-h`
- `nav-mesh-editor`

The SQL data is not filled in yet.
2026-04-08 17:42:13 +02:00
OpenGOAL Bot b5269a80ee CI: Periodic Controller Database Update (#4188)
Updating Controller Database

Co-authored-by: OpenGOALBot <OpenGOALBot@users.noreply.github.com>
2026-04-06 19:13:38 -04:00
Tyler Wilding bd5bfe837b jak3: remove -debug from critical load-game logging function (#4187)
Closes #4183

Jak 2 didn't have this logging call so its fine, but jak 3 added this
which is a nice idea. TLDR - there's some settings we stopped loading
from the memcard as the source of truth, this function (`load-game...`)
skips said portions of the save file and in jak 3, includes a helpful
log message.

It constructed that log message by calling a `defun-debug` function,
which means that in retail mode, that function is gone, instead of that
being a straight forward crash, it returns garbage, which is passed to
`format`, which causes the crash. Fix is simple, make it a non-debug
function so it's always available.

Feels like something that could be improved about `goalc` but,
be-careful with debug only functions is the take away.

This would seem to impact any save file that wrote these related tags
(and thus, triggered the logging code) but it might also be semi-random
with how unlucky you get with the returned garbage addr
v0.3.1
2026-04-06 01:10:49 -04:00
Matt Dallmeyer 147765fa23 [jak3] Update progress code to use DPROCESS_STACK_SIZE (#4186)
Mirroring [changes from
jak2](https://github.com/open-goal/jak-project/commit/ba12d804f7a6bed6e3c3dd7b6928bce5c02edb86#diff-a2dfc3363ae440ca32fdf57325fdbcd942fc0155877df70f12c447b9924d54a4),
this was actually causing crashes when opening Mission menu in modbase
2026-04-06 03:04:07 +02:00
Tyler Wilding a183d0cfff crowdin: reference jak 3 files (#4185)
Hopefully the excluded languages are correct, it's a bit hard to tell
without testing since there seems to be some languages/localization in
the original game that was abandoned / not complete.

So some of these (depending on the version you use as well) may only be
partially done in the final games and will require translation -- which
is a perfect job for a translator to investigate.
2026-04-05 18:18:34 -04:00
Tyler Wilding c012005084 jak3: add unlock debug menu options (#4184)
Same as https://github.com/open-goal/jak-project/pull/3539
2026-04-05 18:18:17 -04:00
Tyler Wilding 1f1fdf834b jak3: support mirror mode (#4170)
Similar changes as have been done in the previous two games. Test the
following things:
- normal gameplay
- defend spargus turret
- satellite
- that desert mission where you shoot the gun
- that turret mission in haven forest

At a glance, i think that's everything...?

~~Didn't debug the crash yet either, hoping this is sufficient~~ (fixed,
thanks hatkid, needed to disable some blit related code)

Closes #4160
2026-04-05 17:52:15 -04:00
Hat Kid dc203502fc jak3: fix potential wascity-defend softlock, stick sens setting, fix freeze-screen regression (#4182)
There was some bad manual decomp in `wasdef-manager` that caused the
mission to sometimes softlock, preventing Jak from exiting the turret
after destroying all Makers.

Also adds stick sensitivity setting from Jak 2 and fixes a regression
with the Light Jak freeze screen overlay on PC aspect ratios.

Closes #4179 
Closes #4154
2026-04-05 16:58:19 +02:00
Tyler Wilding c3cc91c9ba jak2/3: update enemy method name related to playing sound effects (#4176)
Was investigating https://github.com/open-goal/jak-project/issues/3012
and found out it's no longer an issue, fixed at some point.

Updated the method name, it actually looks like quite a few methods were
nicely named / documented in jak 3, so i might automate backporting that
documentation (likely a bunch that can go all the way back to jak 1 as
well).

Closes #3012
2026-04-05 01:14:14 -04:00
Hat Kid c2dd821bd3 jak3: add sidekick feature to hero mode for runs (#4173) 2026-04-04 15:28:35 +02:00
Matt Dallmeyer 8aa9fb0afd Fix language settings not saving in jak 2/3, fix autosave from title screen new game in jak 3 (#4172)
fixes #4167 and #4164
2026-04-04 08:33:53 +02:00