water
097ae07bb8
clean up font color
2021-08-14 13:06:43 -04:00
Tyler Wilding
b3dc755f06
address _almost_ all feedback
2021-08-14 12:45:25 -04:00
Tyler Wilding
9f36419e37
fix goal_src
2021-08-13 22:16:33 -04:00
Tyler Wilding
dda8756a35
Merge remote-tracking branch 'water111/master' into decomp/nav-enemy
2021-08-13 22:00:18 -04:00
Tyler Wilding
05f25e60f8
decomp: finalize nav-enemy
2021-08-13 21:57:58 -04:00
water
23748dfeef
start on debug graphics
2021-08-13 21:48:56 -04:00
water
5aa15afe29
decompile sprite-distort without vu1 stuff
2021-08-13 18:50:29 -04:00
water
d5f05f723e
Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font
2021-08-12 20:31:51 -04:00
water
ee71b52b27
Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font
2021-08-12 19:27:51 -04:00
Tyler Wilding
266ce07fd4
Merge remote-tracking branch 'water111/master' into decomp/sunken-elevator
2021-08-12 19:23:19 -04:00
water
ebc580822e
clean up
2021-08-12 19:03:33 -04:00
Tyler Wilding
59a15bd6a9
decomp: fix goal_src
2021-08-11 22:54:27 -04:00
Tyler Wilding
f2e072cff0
fix method name
2021-08-11 22:33:31 -04:00
Tyler Wilding
ca1d540849
Merge remote-tracking branch 'water111/master' into decomp/wateranim-rigid-body
2021-08-11 20:57:05 -04:00
Tyler Wilding
409721018b
Merge remote-tracking branch 'water111/master' into decomp/misty-teetertotter
2021-08-11 20:24:55 -04:00
water
71f0a71c4c
Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font
2021-08-11 20:24:50 -04:00
Tyler Wilding
2f2ad69a0c
remove unneeded casts, switch to :allow-misaligned
2021-08-11 19:54:03 -04:00
water
3bba86ce18
support mt4hh texture for japanese fonts
2021-08-11 19:36:15 -04:00
Tyler Wilding
11efc31e5c
Merge remote-tracking branch 'water111/master' into decomp/twister
2021-08-10 20:44:22 -04:00
Tyler Wilding
38d2b2d02e
fix dynamic element
2021-08-10 20:43:25 -04:00
water
0abc311eb2
actually add the text
2021-08-09 22:11:46 -04:00
water
843c3a899c
Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font
2021-08-09 22:08:48 -04:00
Tyler Wilding
bcae0d0b5f
decomp: finish wobbler
( #745 )
...
Co-authored-by: water <awaterford111445@gmail.com>
2021-08-09 22:07:39 -04:00
Tyler Wilding
3cfd50b618
decomp: finish ticky
( #744 )
...
Co-authored-by: water <awaterford111445@gmail.com>
2021-08-09 21:55:05 -04:00
water
9495e91259
online tests pass
2021-08-09 21:54:40 -04:00
water
40ecd92272
Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font
2021-08-09 21:41:25 -04:00
Tyler Wilding
42e73f64d9
decomp: finish tippy
( #742 )
...
Co-authored-by: water <awaterford111445@gmail.com>
2021-08-09 21:09:59 -04:00
ManDude
946284c05d
add goal enum utils to standard libs ( #740 )
...
* add goal enum utils to standard libs
* Update .gitattributes
2021-08-09 19:18:53 -04:00
Tyler Wilding
2495066453
Merge remote-tracking branch 'water111/master' into decomp/wateranim-rigid-body
2021-08-09 19:11:46 -04:00
Tyler Wilding
f438ba4e84
decomp: shadow
( #681 )
...
* decomp: Almost finish `shadow` blocked on static inline-array
* decomp: Add support for `sparticle-launcher` static data
* decomp: finalize `shadow`
* add definitions for sparticle related symbols
* actually fix the crash
2021-08-09 19:07:11 -04:00
water
b4846f0491
hook up profiler
2021-08-08 21:50:34 -04:00
water
0dfe6a169d
fonts and stuff work
2021-08-08 20:46:14 -04:00
Tyler Wilding
72194ef243
decomp: finish misty-warehouse
2021-08-08 20:15:12 -04:00
Tyler Wilding
8ed6650ec6
decomp: finish sunken-elevator
2021-08-08 19:32:54 -04:00
Tyler Wilding
a9816f9d28
decomp: finish misty-teetertotter
2021-08-08 17:00:51 -04:00
Tyler Wilding
f29e9cb8ce
decomp: finish mud
2021-08-08 16:07:21 -04:00
water
124003f5f2
store texture in pool
2021-08-08 15:46:34 -04:00
Tyler Wilding
0d0442eeb4
decomp: finish twister
2021-08-08 13:28:47 -04:00
water
54301a36be
texture decoding
2021-08-08 13:12:44 -04:00
water
66f95d3c8a
text working with no textures
2021-08-07 21:16:44 -04:00
Tyler Wilding
924abfb329
decomp: comment out problematic top-level-lets
2021-08-07 20:05:06 -04:00
Tyler Wilding
4f331b5f79
decomp: finalize rigid-body
2021-08-07 18:29:44 -04:00
Tyler Wilding
20196852f5
decomp: finallize water-anim
2021-08-07 16:15:41 -04:00
water
d1674ea9b6
wip
2021-08-06 22:30:02 -04:00
water
21684bd104
misc bug fixes, now draw string generates dma data
2021-08-05 20:29:36 -04:00
water
821c2ab42a
display loop runs
2021-08-04 21:30:08 -04:00
water
0c7f9e1850
work on getting font stuff working
2021-08-03 22:40:07 -04:00
ManDude
8946119f19
forgot something in main
( #738 )
2021-08-03 18:26:00 -04:00
water111
5293f583a8
[decomp] clean up sync info ( #735 )
...
* clean up sync info
* clean up trajectory
2021-08-02 21:49:05 -04:00
water111
aa58d146c2
[goalc] register allocator v2 ( #731 )
...
* clean up allocator interface to be simpler
* working on functions without spills
* working for all
* fix missing includes for windows
* more windows includes
* initialize regs to zero so printing value unintiailized by game code is repeatable
2021-08-01 17:46:55 -04:00
Tyler Wilding
75f7609baa
decomp: ocean-transition
( #616 )
...
* some work on `ocean-transition`
* decomp: finished non-blocked `ocean-transition` functions
* decompiler: Support <0 unsigned comparison
* decompiler/goalc: Support half-word and byte parallel extend ops
* attempt to add support for byte stack spills, assertion errors
`Assertion failed: idx < n_src, file ..\..\..\decompiler\Disasm\Instruction.cpp, line 353`
* decomp: fix byte stack spills, only 1 issue remains in `draw-ocean-transition`
* almost there...
* closer, but unknowns about `dma-buffer` blocking
* dealing with dma-buffer issues
* some more fixes, only an obscure xmm issue remains
* add two problematic functions to blacklists, avoid goal_src additions for now
* fix building/compilation but TypeConsistency hits an assertion error
the `ocean-mid-masks`'s `data` field is none of the types
* decomp: finalize `ocean-transition`
* address feedback - 1 issue remains
* decomp: finalize `ocean-transition`
2021-08-01 17:42:40 -04:00
ManDude
26c3fb65e9
make some macros for DMA stuff ( #725 )
...
* [compiler] allow infinite args for `logior`
* make some dma macros and use them on `display`
* [goos] add `string->symbol`
* make a sketchy macro
* fix tests
* `with-dma-bucket` and `dma-buffer-add-vector4w-2`
* cleanup `debug`
* cleanup `menu`
* go thru `texture` pt 1
* finish `texture`
* `sprite` pt 1
* `sprite` pt 2
* `generic`
* `gs` and `main`
2021-08-01 17:11:32 -04:00
Tyler Wilding
d400ec3b2d
decomp: mood
( #672 )
...
* decomp: Almost finished `mood`, but confused over the `mood-context` type!
* only function that remains involves vftoi / ppach instructions
* stash
* decomp: fix inline array access issue
* decomp: finalize `mood`
* linting
2021-08-01 16:11:22 -04:00
Tyler Wilding
d37e6c548e
decomp: camera
| cam-combiner
| cam-start
| cam-update
( #621 )
...
* started process on `camera`
* the bulk of `camera` is finished, with the exception of a few
* decomp: Confirmed function ret value
* decomp: `cam-combiner` dead code issue
* stash
* decomp: finish `cam-combiner`
* decomp: finish `cam-start`
* decomp: mostly finish `cam-update`, just needs polish now
* `cam-standard-event-handler` still causing issues
* `cam-combiner` issues with top-level `s6` usage
* decomp: update reference tests
* decomp: finalize `cam-start`
* decomp: `cam-update` cleaned up everything except the array of planes issue
* label correction
* still blocked in cam-combiner over casting issues
* decomp: resolve issues in `cam-start`
* decomp: finalize `cam-update`
* stash
* decomp: finalize `cam-combiner`
* decomp: finalize `camera`
* decomp: address feedback
2021-07-30 22:18:35 -04:00
Tyler Wilding
d317497c64
decomp: main-collide
and support a bunch of new inline-asm operations ( #673 )
...
* decomp/goal-lib: Implement all fixed point macros
* decompiler/goalc: Support half-word and byte parallel extend ops
* decompiler/goalc: Support all parallel compare instructions
* decompiler/goalc: Wire up PPACH and parallel bitwise operations
* goalc: Add emitter tests
* decomp: finalize `main-collide`
* codacy lint
2021-07-27 19:57:14 -04:00
water111
eee8390ec0
support inline arrays on stack ( #726 )
2021-07-26 21:39:05 -04:00
water111
bd9f550d82
add ref test for sprite and support nested bitfields in static data ( #723 )
2021-07-26 20:02:16 -04:00
water111
92a5d84a5b
fix sc when the block after the delay slot is optimized out ( #721 )
2021-07-25 16:42:37 -04:00
ManDude
af52341050
[decomp] make anim-tester
decompilable ( #719 )
...
* make `anim-tester` decompile
* add the anon behaviors
* fix tests
2021-07-25 16:28:57 -04:00
water111
2b6684aa5c
[decompiler] Working toward bsp
( #717 )
...
* clean up
* before int to float stuff
* before trying to eliminate the separate read and write maps
* partial fix for register issues
* add missing include
2021-07-25 15:30:37 -04:00
ManDude
8ef73ee457
give defstate
a parent type and allow anonymous behaviors inside ( #715 )
...
* give `defstate` a parent type and allow anonymous behaviors inside
* add defstate type stack leak detection+correction, remove debug print
2021-07-25 00:23:30 -04:00
water111
95366d21df
Get started on collide-func and clean up log
forms in decompiler ( #713 )
...
* wip
* temp
* temp2
* first part of log macros
* more log macros
* logtest
* clean up
* dont initialize game info because we are missing stuff
2021-07-23 20:51:26 -04:00
ManDude
03ffb97176
define every skeleton-group, name every inherited virtual state ( #712 )
...
* define every skeleton-group, name every inherited virtual state
* typo!
2021-07-23 20:38:05 -04:00
ManDude
1e11a588f5
[decomp] loader
prelim work + some cleanup ( #697 )
...
* [decomp] `loader` prelim work + some cleanup
* more things
* more
* even more
* yet even more
* minor fixes
* decompiler fix + use behaviors for two funcs
* last functions
* Create loader_REF.gc
* more work
* change vag tool config format + unrelated farmer and yakow stuff
* update some things
* fix some decomp
* cleanup things i came across + make dgo compileable
* fix consistency test
* update refs
* offline test: skip buggy `external-art-buffer` method
* fix test
2021-07-23 18:30:49 -04:00
water111
c76b51d805
clean up to gsound! ( #709 )
2021-07-19 20:49:33 -04:00
water111
b70fcb2f7a
support non-virtual gos in decompiler ( #707 )
2021-07-17 18:07:21 -04:00
water111
4989470828
recognize +! and set-vector ( #706 )
...
"
2021-07-17 15:00:10 -04:00
water111
2754a8f2c4
get res decompiling ( #705 )
2021-07-17 13:41:05 -04:00
water111
ef011f4fe8
[goalc] add a build system ( #704 )
...
* add first attempt at build system
* fix stupid bug
* try again
2021-07-15 21:37:15 -04:00
water111
73330302ba
fix bug in field lookup ( #700 )
2021-07-12 19:29:56 -04:00
water111
f6d5952498
[decompiler] handle nested conditionals and goto
s better ( #693 )
...
* diff check
* try that again
* more small fixes
2021-07-11 21:59:27 -04:00
water111
0a9cc68a27
[decompiler] Use meters, degrees, and seconds ( #689 )
...
* use meters degrees and seconds
* update changelog
2021-07-11 18:19:41 -04:00
water111
656489e942
[decomp] Clean up - part 2 ( #687 )
...
* temp
* temp2
* basic case support
* working for or without else
* support more cases
* clean up to drawable headers
* ocean
* format json
2021-07-11 16:35:25 -04:00
Tyler Wilding
1b5c5239b1
decomp: mostly finish aligner
( #686 )
...
* decomp: mostly finish `aligner`
Issues in aligner/aligner-h that require hand-editing after decompilation
* linting
2021-07-11 16:19:03 -04:00
Tyler Wilding
0e4a9d2679
decomp: finish path
( #685 )
...
* decomp: finish `path`
* address feedback
2021-07-10 10:18:48 -04:00
water111
1898c7c52a
[decomp] texture ( #684 )
...
* temp
* more cleanup
* fix merge issue
* handle no texture correctly
2021-07-09 22:20:37 -04:00
Tyler Wilding
3219180e60
decomp: finish air
( #683 )
2021-07-09 21:44:48 -04:00
water111
551a9c4955
[decompiler] ASM Branching Support ( #677 )
...
* basic example working in geometry
* before updating offline'
* clean up
* temp
* progress
2021-07-05 16:07:07 -04:00
Tyler Wilding
17aedd894d
decomp: hint-control
| menu
| default-menu
(as much as possible) ( #632 )
...
* decomp: mostly done `hint-control`
* decomp: Started and decent chunk of `menu` done
* temp stash
* decomp: escape from `menu` hell
* decomp: starting on `default-menu`
* decomp: As much as i can do in `default-menu` at this time
* decomp: clean up `hint-control`
* decomp: fix reference tests
* temp stash
* decomp: finalize `menu`
* decomp: add `menu` to goal_src
* decomp: finalize `hint-control`
* decomp: Resolve TypeConsistency issues
* and fix reference tests
* address feedback
* format and lint
* fix tests
2021-07-04 18:25:08 -04:00
water111
e251f8b2d9
Support Behaviors ( #678 )
...
* temp
* working, but type pass got really slow
* clean up
* changelog and flip order
* clean up and add tests
* fix zero size array
* handle lambdas correctly
* another windows fix
2021-07-04 16:54:07 -04:00
Tyler Wilding
833ca06618
decomp: finish tfrag-work
( #679 )
2021-07-04 16:19:20 -04:00
water111
784cd5debb
[decomp] get started on game info ( #674 )
...
* temp
* menu text
* wip
* recognize handle to process
* more
2021-07-03 16:18:41 -04:00
Tyler Wilding
bc41241234
decomp: task-control
( #654 )
...
* stash
* decompiler: support symbols in arrays
* decomp: a ton of lambda casts
* finish task control?
* add lambda label casts
* decomp: resolve some issues, add enums
* decomp: One last decompiler issue remains
* decomp: finalize `task-control`
* linting
* revert change to test change, didn't mean to commit
* decomp: comment out function call for now
2021-07-02 15:11:28 -04:00
water111
6366068bc0
Support dir tpages ( #671 )
...
* support dir tpages
* fix warnings and bad return
* one more try
* revive the offline test script
* fix this null bug
2021-07-02 14:50:58 -04:00
Tyler Wilding
39c2b90628
decomp: finish drawable-inline-array
just a bunch of stubs ( #665 )
2021-07-02 01:10:33 -04:00
Tyler Wilding
2556284293
decomp: decompile shrub-work
| tie-work
( #657 )
...
* decomp: finish `shrub-work`
* decomp: update reference tests
* decomp: update `goal_src` entries
* decomp: finish `tie-work`
* decomp: add to `goal_src`
2021-06-30 21:57:13 -04:00
water111
a81aef889a
Level load test ( #656 )
...
* tweaks for loading VI1
* temp
* clean up
2021-06-30 19:20:31 -04:00
water111
322a4ed9b2
Fix compiler crashes and improve return statements. ( #652 )
...
* fix a few small bugs
* fi
* fix merge conflict
2021-06-30 00:11:46 -04:00
ManDude
1af0f4a1a7
[decomp] most of level
and some game loop functions + couple decomp… ( #651 )
...
* [decomp] most of `level` and some game loop functions + couple decompiler fixes
* add ART.CGO to fake-iso
2021-06-29 20:30:52 -04:00
Tyler Wilding
385b8b5785
decomp: settings
( #641 )
...
* decomp: finalize `settings`
* decomp: cleanup
2021-06-28 00:32:29 -04:00
water111
2506325f30
fix cast bug ( #640 )
2021-06-27 22:23:27 -04:00
water111
a6d5c4eda3
[decompiler] clean up vector detection and add vector float product detection ( #638 )
...
* change
* recognize vector float product and update tests
2021-06-27 17:24:35 -04:00
water111
bfb1fbe1fc
[decompiler] recognize more inlined vector functions ( #637 )
...
* detect vector+
* recognize reset
2021-06-27 12:11:30 -04:00
water111
b19a2c82f0
[decomp] detect vector-! inlined. ( #633 )
...
* fix flipped order
* format
* parser hack
* actually flip
* detect
2021-06-26 22:52:52 -04:00
water111
69e24ae577
recognize vector, matrix, quaternion constructors in a better way ( #630 )
...
* recognize vector, matrix, quaternion constructors in a better way
* fix bad bug
2021-06-26 18:30:35 -04:00
water111
1ffd42e090
[decomp] clean up and make level-update-after-load
work ( #628 )
...
* temp
* make level-update-after-load work
* add missing const
2021-06-26 13:03:31 -04:00
water111
490633d434
add countdown ( #627 )
2021-06-25 20:51:25 -04:00
water111
bfc1173ed5
Clean up files in kernel ( #625 )
...
* clean up gcommon
* cleanup kernel
2021-06-25 17:55:50 -04:00
water111
9e6dec9829
[decomp] make bg decompile ( #624 )
...
* make bg decopmile
* fix parent method call
2021-06-24 20:06:12 -04:00
Tyler Wilding
d54eb0b98d
decomp: entity-table
( #614 )
...
* decomp: `entity-table` done but problem with the label cast
* decomp: `entity-table`
* decomp: finalize `entity-table`
2021-06-23 23:29:24 -04:00