water111
5c7a3384e5
[jak2] static sound macro ( #1919 )
...
eg
```
(set! (-> obj sound-pre-open) (static-sound-spec "airlock-slider"))
```
it is the same as jak 1, but the `fo-curve` option is set to 1
sometimes.
2022-09-25 16:19:06 -04:00
water111
903450b878
[decompiler] recognize mfc nop ( #1911 )
...
Forgot to include in previous PR.
2022-09-24 14:56:22 -04:00
water111
6a1bde4168
[decomp] fix up debug menu rendering, add a few others ( #1892 )
...

actor vis boxes for PRI.DGO
2022-09-16 20:42:33 -04:00
water111
4eea31c3e9
[jak 2] texture ( #1866 )
...
- Decompile and patch `texture.gc` for PC
- Improve decompiler when offset doesn't fit in immediate (for types
larger than 8k and some scratchpad accesses)
- Fix symbol->string issues in both jak 1 and 2
- Fix bug with VIF interrupt used to profile VU code (hooked up to
OpenGLRenderer BucketRenderers in PC port)
- Support `~o` in `format`.
- Uncomment stuff in `merc.gc` that now works!

fixes https://github.com/open-goal/jak-project/issues/1850
2022-09-11 14:17:55 -04:00
Tyler Wilding
017070525a
d/jak2: finish vol | cam-layout | menu | default-menu and start working on nav code ( #1867 )
...
I also added font-color names since this PR adds quite a few:

2022-09-11 13:42:46 -04:00
ManDude
cfb6abb24d
[decompiler] rewrite set lets as just sets ( #1858 )
...
Rewrites specific kinds of lets where the return value of the `set!`
itself is meant to be used to just be `set!`s. Implemented at the let
rewrite level. Seems to work for Jak 2 so far.
Fixes #1854 .
2022-09-07 18:28:01 -04:00
Tyler Wilding
44d59e6b33
d/jak2: finish mood-funcs | mood-funcs2 | almost all of mood and airlock ( #1842 )
2022-09-06 20:35:00 -04:00
water111
b5d21be9c5
W/misc fixes ( #1838 )
...
* temp
* temp
* before cleaning up
* cleanup merge
* fix warnings
* merge fix
* clang format
2022-09-05 20:29:12 -04:00
Tyler Wilding
d264779173
d/jak2: finish glist | glist-h | camera | cam-interface | cam-states-dbg | cam-combiner | cam-debug | cam-start ( #1829 )
...
* d/jak2: finish `glist` and `glist-h` partially done `time-of-day`
* d/jak2: finish `camera` and `cam-interface`
* d/jak2: partially finish `cam-master` `cam-states`, and `cam-update` finish `cam-states-dbg` `cam-combiner` `cam-debug` and `cam-start`
* tests: update ref tests
* scripts: add scripts to automatically update gsrc files
* d/jak2: update gsrc
2022-08-31 19:22:47 -04:00
Tyler Wilding
d176b294b9
d/jak2: finish entity-table | sky-data | relocate | and the majority of default-menu ( #1812 )
...
* d/jak2: finish `entity-table`
* d/jak2: finish `sky-data`
* d/jak2: finish `relocate`
* d/jak2: halfway through `default-menu`
* d/jak2: 75% done `default-menu`....
* d/jak2: add `default-menu` to ref tests (partially)
* d/jak2: finish updating related code
* scripts: add tooling to automatically keep code from `all-types` up to date
* d/jak2: fixed vector types
2022-08-29 18:49:57 -04:00
Tyler Wilding
01abde35d8
d/jak2: First few files, mood-tables and vol-h ( #1796 )
...
* decomp: format jak1 cast files
* decomp: finish `mood-tables` and `mood-tables2`
* jak2: stop disasm'ing
* jak2: format jak2 cast files, start working on the rest of the `mood` files
* scripts: fix running pcsx2 watcher
* d/jak2: finish `vol-h`
* d/jak2: address feedback
2022-08-24 19:34:09 -04:00
water111
f7bd0752f8
[decomp] Decompile first batch of files in engine ( #1787 )
...
* wip
* getting stuff set up so we can actually run test cases
* better handle block entry stuff
* types2 working on gstring
* comments
* math ref working
* up to first stack stuff
* stack fixes
* bounding box
* math stuff is working
* float fixes
* temp debug for (method 9 profile-array)
* stupid stupid bug
* debugging
* everything is broken
* some amount of type stuff works
* bitfield
* texture bitfields not working
* temp
* types
* more stuff
* type check
* temp
* float related fixes for light and res problems
* revisit broken files, fix bugs
* more types
* vector debug
* bug fixes for decompiler crashes in harder functions
* update goal_src
2022-08-24 00:29:51 -04:00