water111
b5705bde96
[decomp] Partial implementation of tie ( #1916 )
...
Some stuff isn't working fully yet:
- fog color
- time of day
- draw order for multiple passes (currently all draws in the default tie
bucket)
- possibly settings for transparent stuff (untested, but might work)
- the "vanish" effect (we might not want this anyway?)
- environment mapping/etie completely not implemented.
![image](https://user-images.githubusercontent.com/48171810/192154314-2cc8ac51-9dad-474f-a84b-3a1d98973215.png )
![image](https://user-images.githubusercontent.com/48171810/192154316-457a7ee0-b5a4-4a40-b48e-8863114da735.png )
2022-09-25 12:50:51 -04:00
water111
edecac9f09
[decomp] add shrubbery renderer ( #1914 )
...
as with last time, fog and time of day are still garbage, but it still
works:
![image](https://user-images.githubusercontent.com/48171810/192119423-91b80500-a161-42ce-b734-0c528cc721cf.png )
The shrub near render is just falling back to generic again.
2022-09-24 17:46:13 -04:00
Tyler Wilding
123e7fd87b
d/jak2: some work in memory-usage
| nav-graph-h
and finish pov-camera
and aligner
( #1901 )
2022-09-24 14:47:03 -04:00
water111
80cefb9575
[decomp] background and tfrag ( #1909 )
2022-09-24 14:30:44 -04:00
water111
1b45aab3cc
[decompile] subdivide, wind-work, tie-work, bsp, focus ( #1897 )
...
- decompile `subdivide`, `wind-work`, `tie-work`, `bsp`, `focus`
- support `ppacb` in compiler
- don't assert when bitfield stuff fails due to constant propgataion
weirdness
- finish up history
- div/mod unsigned assert fix in decompiler
- empty assert fix in decompiler for failed `add` type prop
- make jak 1 performance counters "work" (just measure time)
- fix cast/typos on pcgtb/vftoi15
2022-09-17 14:58:25 -04:00
Tyler Wilding
4620f96574
d/jak2: mostly finish mysql-nav-graph
and fix docstring handling around with-pp/local-vars ( #1869 )
2022-09-13 18:15:02 -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!
![image](https://user-images.githubusercontent.com/48171810/189505469-941b4a3e-23c7-4740-aa1b-2e461ed19fa9.png )
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:
![image](https://user-images.githubusercontent.com/13153231/189508209-c8849672-fac5-47cb-9652-f1d4648f0af8.png )
2022-09-11 13:42:46 -04:00
Tyler Wilding
81b6d5fe08
d/jak2: finish find-nearest
| trajectory
| editable-h
and most of editable
and editable-player
( #1847 )
...
Also made a first-pass of their SQL schema in preparation for getting
that working.
2022-09-10 18:03:17 -04:00
Ethan Lafrenais
22982d2750
[decomp] jak2: debug, debug-sphere ( #1846 )
...
I wasn't able to 100% complete `debug` due to a bunch of level boundary
debug stuff I couldn't figure out. But, I added a ref test and
documented/copied over everything else into goal_src.
Most of the functions that existed in Jak 1 are identical, others got an
extra param or 2 and some now make copies of arguments instead of
modifying them. There's a bunch of new functions, including all of the
debug functions that used to be in `level-boundary` are now in `debug`.
At the very end of `debug` there's also some weird asm functions
checking for some EE memory controller bug (not sure what's up with
that)?
2022-09-07 18:14:34 -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
Tyler Wilding
80d0137dba
d/jak2: finish the majority of sparticle
and sparticle-launcher
( #1840 )
...
* sparticle-launcher
* d/jak2: large amount of `sparticle-launcher` done
* d/jak2: finish the majority of `sparticle`
* decomp: improve format code ignoring
* d/jak2: make bits unique in `sp-cpuinfo-flag`
* d/jak1: revert config change
2022-09-05 18:03:46 -04:00
ManDude
f1f18e7e05
[decomp2] joint-mod
, chain-physics
, loader
( #1816 )
...
* prep
* Update repo-settings-mark.bat
* Update repo-settings-unmark.bat
* decomp `joint-mod`
* add `joint-mod-ik-callback` to ref exceptions
* `chain-physics`
* Update jak2_ntsc_v1.jsonc
* update bat scripts
* `loader`
* pretty
* refs
* support `process->handle` (and `ppointer->handle`?)
* refs
* source and fixes
* fix `ja` detect
* `ja` macro implement
* fix a method
* update source
* merge fixes
* annoying fixes
* format
* arg
* hack
* fix test
2022-09-02 18:13:38 -04:00
Hat Kid
52bb1c4915
decomp: board-h
, board-util
, gun-util
, darkjak-h
( #1817 )
...
* decomp: `board-util`, `gun-util`, `darkjak-h`
* address changes and decompile `board-h`
* fix `board-util`
* remove `_type_` from `projectile` method
* fix `gun-h.gc`
* Update gun-h.gc
2022-09-01 18:25:42 -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
Ethan Lafrenais
e7b1a2d292
[decomp] jak2: sprite, sprite-distort, some of sprite-glow ( #1814 )
...
* Decompile sprite-distort
* Revert matrix, sprite-vec-data-2d changes
* Sprite distort ref test
* Sprite distort docs
* Better sprite-distort docs
* Jak2 sprite distort VU
* sprite decomp
* Some of sprite-glow
* Clean up
2022-08-29 19:04:54 -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
water111
2bead6db97
[decompile] Joint ( #1813 )
...
* temp
* decompile joints
* fix merge
2022-08-28 16:38:58 -04:00
Tyler Wilding
799e10a0ae
d/jak2: finish cylinder
| mech-h
| font-data
most of text
and history
and chip away at a bunch of other files ( #1802 )
...
* d/jak2: finish `cylinder`
* d/jak2: mostly finish `history`
* d/jak2: finish a bit of `ripple` and `sync-info`
* d/jak2: finish `font-data` and chip away at some other files
* d/jak2: most of `text` done, a bit of `script` - symbol arr issue in `level-info`
* d/jak2: finish `mech-h`
* lint: format
* tests: fix typeconsistency
* d/jak2: address feedback
2022-08-28 10:45:07 -04:00
water111
7443520e88
[decomp] load-dgo, ramdisk, gsound, transformq ( #1798 )
...
* temp
* cleanup after merge
* transformq too
2022-08-24 21:57:13 -04:00
water111
06ef52cd25
[decompiler] support for jak 2 ( #1781 )
...
* [decompiler] suppport jak 2
* cleanpu
* remove brief from gtest options
* fix test
2022-08-22 18:53:51 -04:00
water111
dc652d10c5
[jak2] decomp gkernel, setup offline tests ( #1638 )
...
* add comments
* oops
* format'
* spelling is hard
2022-07-12 18:50:18 -04:00
Tyler Wilding
8a18072d97
tests/jak2: Better prepare offline tests for multiple games ( #1591 )
...
* git: ignore vs build dir
* cmake: ditch `clang-cl` on windows in favor of actual `clang`
* build: suppress a significant number of warnings
* build: adjust workflows and vendor nasm
* docs: update docs to remove `clang-cl` mentions
* tests: move jak1 reference tests into their own folder
* tests: update offline tests to support multiple games
* tests: some additional fixes and multi-game handling
* tests: update reference tests
2022-07-06 18:10:38 -04:00