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
water111
b96d865e2b
fix labmda defs ( #670 )
2021-07-02 12:27:46 -04:00
water111
4bea175140
[decompiler/compiler] Fixes for task-control
( #668 )
...
* fix decompiler for task control
* support in compiler
* changelog
* typo
2021-07-01 21:38:19 -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
10b00e57ae
[decomp] Fix flipped byte addressing add and support some VU ops in the parser ( #631 )
...
* fix flipped order
* format
* parser hack
* actually flip
2021-06-26 20:02:21 -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
ae2666a7c5
fix use def issues ( #629 )
2021-06-26 16:31:38 -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
409be41596
[decompiler] fix bad cast and crash on bad and/or recognition ( #626 )
...
* fix small bugs
* fix missing inlining of derefs
2021-06-25 20:13:22 -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
water111
83c5852465
allow terrible method hack to decompiler ( #623 )
2021-06-23 22:42:02 -04:00
water111
44f8ff6d25
[decompiler] bug fixes related to infinite loop CFGs, argument registers ( #622 )
...
* temp
* clean up
* more clean
2021-06-23 22:09:02 -04:00
ManDude
997d5b57db
[memdump] Make it work on fields of type (array basic)
( #620 )
...
* use `std::function` for this because that's what you're meant to do
* [memdump] Analyze fields of type `(array basic)`
* fix test
* Massively simplify things.
2021-06-23 22:07:17 -04:00
Tyler Wilding
fc105e1f55
decomp: collide-frag
( #618 )
...
* decomp: Good portion of `collide-frag`
* decomp: Remove redundant method declarations for drawable types
* decomp: Finish `collide-frag`
Co-authored-by: water111 <48171810+water111@users.noreply.github.com>
2021-06-21 20:18:27 -04:00
ManDude
a123f02c32
[decomp] prepare for some files, fill in some types ( #617 )
...
* [mips disasm] don't multiply `vcallms` parameter by 8
* [decomp] prep some game loop files
2021-06-21 19:47:39 -04:00
Tyler Wilding
87961bdb3b
decomp: generic
( #611 )
...
* decomp: Fix casting issue with uint64's from static data
* decomp: `generic`
* add forward declaration
Co-authored-by: water111 <48171810+water111@users.noreply.github.com>
2021-06-20 16:02:15 -04:00
water111
4f8403d8e6
support type-ref ( #613 )
2021-06-20 12:59:39 -04:00
ManDude
adcb9fad55
Fix console scrolling issues on windows ( #609 )
...
* Fix console scrolling issues on windows
* Add super extremely important spaces
2021-06-19 22:46:36 -04:00
water111
06ae38d464
[decomp] clean up type def formatting and remove all-forward-definitions.gc ( #608 )
...
* clean up
* fix test
2021-06-19 15:50:52 -04:00
ManDude
46b83bda2a
[decomp] debug
( #607 )
...
* [decomp] `debug`
* shut up
2021-06-19 14:24:55 -04:00
water111
bc87c4426f
[decompiler] Fix deref bug and add some more new type pass stuff ( #606 )
...
* add copy on write and clean up some register stuff
* fix bug in multiple field lookup
* format
2021-06-18 21:10:00 -04:00
water111
409c1f5a7d
[Decompiler] WIP new type analysis tools ( #601 )
...
* add multi-lookup
* use multi-lookup
2021-06-17 21:50:36 -04:00
water111
af49ac60cd
fix shl by 16 constant being mistaken for a dynamic bitfield construction ( #600 )
2021-06-16 22:15:22 -04:00
water111
d26de26d21
[decompiler] Small bitfield fixes ( #599 )
...
* fix a bunch of small bitfield related things
* fix up test
* format
2021-06-16 21:11:21 -04:00
Tyler Wilding
b209c9e1ba
Fixing organization error in all-types ( #553 )
...
* scripts: improve decomp-next script
* script: Make it possible to consistently cleanup `all-types`
* now use the actual parent type!
* adjust the symbol order for collectables
* re-organize
* manually fix this edge-case for now
2021-06-16 20:29:15 -04:00
water111
d79937fb62
Improve forward declaring types ( #596 )
...
* improve forward declare type
* display type differences
* make codacy happy
2021-06-15 21:03:55 -04:00
ManDude
928673cd13
[decomp] prepare joint
stuff ( #594 )
...
* [decomp] prepare `joint` stuff
* fix types
* fix a missing declaration
* update references
2021-06-14 23:45:21 -04:00
water111
0aa474f12b
[decomp] finish actor-link-h and a few more ( #592 )
...
* finish actor-link-h
* decompile files
* fix pp issue
2021-06-14 20:46:54 -04:00
water111
13b5695b63
[decompiler] Workaround for GOAL fpr -> gpr spill bug and fix >16-bit signed FP loads ( #587 )
...
* fix up broken stuff for collectables
* exception for stack spill float in gpr bug
2021-06-13 13:55:55 -04:00
Tyler Wilding
506b5d8ceb
Decompile: prototype
| video
| vol-h
| air-h
| nav-enemy-h
| rigid-body-h
( #575 )
...
* decomp: `prototype` done
* tests/ref: Update all reference tests
* decomp: `video` done
* decomp: Add `video` to src
* decomp: `vol-h` done
* tests/ref: Update reference tests again
* decomp: Add `vol-h` to ref tests, leave `entity` in process as a `basic` for now!
* decomp: `air-h` done, compiler issue though
* decomp: `nav-enemy-h` done, compiler issue though
* decomp: `rigid-body-h` done, compiler issue though
* Address feedback and fix the failing to compile files
* linting
* finish `video` off
2021-06-12 21:52:55 -04:00
water111
8faded6400
[decompiler] bitfield support for sound-name
( #582 )
...
* fix 64-bit fields in 128-bit bitfields
* support sound-name
* fix merge
* support some more sound stuff in overlord
2021-06-12 12:55:38 -04:00
ManDude
877e3d161c
[decomp] gsound
( #583 )
2021-06-12 10:48:38 -04:00
water111
50fbbc45aa
[decomp] start on actor-link-h
( #579 )
...
* wip
* fix tests
2021-06-11 19:04:47 -04:00
water111
92afd62e2c
[decompiler] fix missing casts issue ( #573 )
...
* fix casts issue
* fix bug
* one last small fix
2021-06-09 21:35:13 -04:00