Tyler Wilding
3f7df80a1c
Merge remote-tracking branch 'origin/master' into j2/progress
2022-10-08 21:09:35 -04:00
Tyler Wilding
1f3df0e69f
d/jak2: fix issues associated with loading text
2022-10-08 21:04:21 -04:00
water111
3d4dfb2077
[decomp] Decompile some time-of-day stuff, support new style Jak 2 time of day ( #1943 )
...
- Add "tfrag-water" tfrag tree support (may just be the same as Jak 1's
'dirt' for the settings)
- Add "tfrag-trans" tfrag tree support, reusing "trans-tfrag" from jak
1.
- Add a hack to `LinkedObjectFileCreation` to handle `oracle`, which is
accidentally multiply defined as a type leftover from jak 1 (an entity
in village1), and level info for jak 2.
- Add `VI1.DGO`
- add `time-of-day.gc`, and a few other stub functions so it works
- Set up some time of day stuff in GOAL for jak 2/PC renderers
- Clean up time of day in c++ renderers, support the more complicated
weight system used by jak 2 (backward compatible with jak 1, thankfully)
The mood functions now run, so this could cause problems if they rely on
stuff we don't have yet. But it seems fine for ctysluma and prison for
now.








2022-10-08 13:33:03 -04:00
water111
d52739226c
[decomp] decompile decomp.gc ( #1936 )
...
A few issues:
- lwidea's fr3 is getting loaded and unloaded all the time
- the debug line drawing clipping is wrong (doesn't seem wrong in pcsx2,
so I think this is on us)
- nothing actually using vis data yet
- at a large distance, our view frustum culling seems slightly too
aggressive (might be that viewport scissoring is wrong)
- in the city, things seem darker as you move away. unclear how this is
happening (fog?)
2022-10-01 13:39:56 -04:00
ManDude
9351bf782e
[decomp2] game-info, game-task and task-control ( #1884 )
...
And everything else needed for them!
A couple functions are bad currently.
- fixes #1929 - untested on linux
- fixes #1924 - now you need to type `,` before a lambda you want to put
in a pair.
- fix debugger symbol table in jak 2
- made the decompiler output `(meters 2)` instead of `(meters 2.0)`
- fixed a bug with the bitfield enum special -1 case
- made bad game text decomp not exit the decompiler
- added `editable-player` and `script`
2022-09-27 19:44:20 -04:00
water111
80cefb9575
[decomp] background and tfrag ( #1909 )
2022-09-24 14:30:44 -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
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
water111
2bead6db97
[decompile] Joint ( #1813 )
...
* temp
* decompile joints
* fix merge
2022-08-28 16:38:58 -04:00
water111
f8007cc84b
[decomp] Jak 2 mips2c, collide-func ( #1805 )
2022-08-26 18:03:48 -04:00
Tyler Wilding
dec7da2110
game: windowed mode related fixes ( #1778 )
...
* game: restore windowed mode settings properly
* game: use the game version for saving settings/saves
* game: prevent windowed mode from being auto-centered on initial init
* game: save and restore window coordinates
* lint: formatting
2022-08-21 18:13:27 -04:00
water111
da4ec008c3
Add a gltf level exporter ( #1719 )
...
* Add a gltf level exporter
* more fixes
* disable by default
* compile fixes for windows
* improve collide packer
* bug fix
* clang format
* fix texture bug
2022-08-05 12:25:35 -04:00
water111
5e23057ed1
[goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO ( #1625 )
...
[goalc] start can compile and run code for jak2 ckernel, set up dummy KERNEL.CGO
2022-07-08 19:23:49 -04:00
water111
cf35cac428
[ckernel] add remaining jak2 functions ( #1611 )
2022-07-05 13:58:09 -04:00
Tyler Wilding
0cefb366f6
config: change linux and windows config directories ( #1582 )
2022-06-30 18:05:26 -04:00
water111
e630b50690
[ckernel] split by game version ( #1559 )
...
* temp
* split up kprint, other than format
* start kmachine
* split kmachine
* split kscheme
* split klink
* split klisten
* split remaining
* jak2 ckernel gets to nokernel loop
2022-06-26 18:17:11 -04:00