ManDude
0cdeed9be7
minor windows fixes ( #1311 )
...
* [pp2] put `define` dest on a single line
* update source!
* Update type_analysis.cpp
* update old credits & racer code
* change clang-cl args (REALLY force avx)
* Update credits_REF.gc
* comment small unused code
* add timer to decompiler
* fix unnecessary copy-constructors (no speed increase)
* fixes
* Update expression_build.cpp
* wtf is this thing anyway
* im bored.
* clang
* fix!
* Revert "fix!"
This reverts commit 5b1ce6c718 .
* Revert "clang"
This reverts commit 5e67d9ccd1 .
* Revert "im bored."
This reverts commit 070e957ce8 .
* Revert "Update expression_build.cpp"
This reverts commit b94d092fc5 .
* Revert "fixes"
This reverts commit f3d871f60a .
* Revert "fix unnecessary copy-constructors (no speed increase)"
This reverts commit 9100725802 .
* Keep the random inoffensive changes
* Revert "Update type_analysis.cpp"
This reverts commit d2456a5c75 .
* Update type_analysis.cpp
2022-04-17 21:11:09 -04:00
water111
a1480b5b6e
fix the slide ( #1188 )
2022-02-20 13:30:08 -05:00
ManDude
24578b64b9
proper support for hardcoded "time" types ( #1141 )
...
* hardcode `time-frame`things
* Update cam-states_REF.gc
* Update level-info_REF.gc
* update refs 1
* update refs 2
* update refs 3
* update refs 4
* update refs 5
* update detection and casting
* Update FormExpressionAnalysis.cpp
* update refs 6
* update mood decomp
* update refs 7
* update refs 8
* remove temp entity birth code
* update time-frame casts
* fix compiler
* hardcode stuff and fix some types
* fix some bitfield detection being wrong
* bug fixes
* detect seconds on adds with immediate
* update refs 9
* fix casts and rand-vu-int-range bugs (update refs 10)
* update refs 11
* update 12
* update 13
* update 14
* Update game-info_REF.gc
* improve cpad macros detection
* remove unused code
* update refs
* clang
* update source code
* Update cam-states.gc
* `lavatube-energy` finish
* update refs
* fix actor bank stuff
* Update navigate.gc
* reduce entity default stack size
* Update transformq-h.gc
* oops forgot these
* fix code and tests
* fix mood sound stuff
* Update load-dgo.gc
* Update README.md
2022-02-12 12:26:19 -05:00
water111
691c33f8d9
[goos] fix pretty printer bugs, update ref after pretty printer changes ( #1063 )
...
* update ref after pretty printer changes
* another try
2022-01-08 15:09:00 -05:00
Tyler Wilding
a75ecf176e
decomp: finish orbit-plat and sage-finalboss ( #1039 )
...
* decomp: finish `orbit-plat` and waiting on `sage-finalboss` inconsistency for gsrc
* decomp: finish `sage-finalboss` except the relocate method
* decomp: add fix to finish `sage-finalboss`
* update formatting in unrelated files
2022-01-04 23:10:53 -05:00
water111
dbc266c00b
New Pretty Printer ( #994 )
...
* begin work on improved pretty printer
* update ref
* finish pretty printer
* force line break for defstate
2021-12-04 16:06:01 -05:00
water111
3afd99a8e3
[graphics] partial tfrag implementation ( #958 )
...
* temp
* some decomp
* tfrag dma setup
* fix negative label bug
* tfrag dma setup
* tfrag, with pipeline tricks
* kinda works
* cleanup before trying some color stuff
* time of day works
* clean up
* temp before render changes
* a few more fixes
* fix up tests
* clean up
* fix
* fix alignment
* one more cleanup
2021-11-13 20:44:17 -05:00
water111
8846968963
[Debugger] windows debugger and process drawable ( #953 )
...
* Update assert.h
* stuff for `process-drawable` to work
* add windows code for debugger
* debugger attaches
* something works
* remove bad ideas
* `(:break)` works
* connection fixes
* fixes + update docs
* crates & `defskelgroup` macro
* clang
* update tests and a few types
* temp
* temp
* fix files
* game builds
* reverse TypeConsistency operation
* add eye stuff for merc art login
* add `(:sym-name)`
* oops
* add `--auto-dbg` option to gc args
* codacy
* improve robustness of dgo unpacker and objectfiledb reading
* `cavegeyserrock`
* hopefully fix linux
* windows FormatMessage weirdness?
* mutex fixes
* fix merge conflicts
Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com >
2021-10-31 11:01:15 -04:00
water111
49e3fa2963
fix decomp bugs and add ref tests ( #930 )
2021-10-23 10:41:11 -04:00
water111
b2052016e2
[decomp] sky/time of day ( #883 )
...
* time of day
* goal code seems to work
* stars at wrong spot
* stars and sun work
* debugging clouds
* fix texture correction
* sky works
* cleanup, add profiler
* clean up
* final clean up
* offline tests
* missing include
2021-10-10 20:07:03 -04:00
water111
d9f9e076af
[decompiler] automatically label things when possible ( #784 )
...
* improve label system
* clean up menu
* debug menu working, still need to fix tests
* fix tests and clean up
2021-08-29 11:13:06 -04:00
water111
403bb5f4de
[decomp] game-info ( #779 )
...
* support more process stuff
* more of game info
* add ref file
* progress on save
2021-08-22 20:12:47 -04:00
water111
97ab6a4e12
add support for non virtual states ( #764 )
...
* add support for non virtual states
* typecheck go
* start on virtual states
* more support for virtual states
* offline passes
* fix tests
* use behavior shortcut instead of lambda
* final cleanup of virtual go
* unused var warnings and fix inconsistent enum decompile order on win vs linux
* fix thread safety bug with goal symbol table and vif1 interrupt handler
* fix type mistake
2021-08-17 20:54:03 -04:00
ManDude
a83bae17a5
Merge branch 'master' into d/cpad-test
2021-08-16 15:46:06 +01:00
ManDude
ff3174f292
more cpad stuff + make font-flags
2021-08-16 03:50:36 +01:00
water
ee81b709a4
add merc
2021-08-14 23:31:17 -04:00
water
097ae07bb8
clean up font color
2021-08-14 13:06:43 -04:00
water
3fb5d71340
update offline test
2021-08-11 20:29:51 -04:00
water111
12446037bd
[decompiler] Make addition nicer ( #733 )
...
* temp
* update refs
* update reference
* fix tests
2021-08-01 18:24:58 -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
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
water111
4989470828
recognize +! and set-vector ( #706 )
...
"
2021-07-17 15:00:10 -04:00
water111
f6d5952498
[decompiler] handle nested conditionals and gotos better ( #693 )
...
* diff check
* try that again
* more small fixes
2021-07-11 21:59:27 -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
water111
1898c7c52a
[decomp] texture ( #684 )
...
* temp
* more cleanup
* fix merge issue
* handle no texture correctly
2021-07-09 22:20:37 -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
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
water111
409c1f5a7d
[Decompiler] WIP new type analysis tools ( #601 )
...
* add multi-lookup
* use multi-lookup
2021-06-17 21:50:36 -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
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
water111
c4f44e265f
[decompiler] Better support for non-virtual methods ( #543 )
...
* fix up nonvirtual method calls and stack new method calls
* look at final in compiler too
2021-05-30 22:52:40 -04:00
water111
3fbdd662dc
[decompiler] Support accessing 128-bit bitfields ( #514 )
...
* support some 128-bit bitfield stuff
* fix bug
* support type stuff correctly
2021-05-21 20:36:04 -04:00
water111
ec412c7777
[decomp] ramdisk, load-dgo and rpc-h ( #496 )
...
* decompile ramdisk load-dgo and rpc-h
* add a bunch of offline tests
* clang-format
2021-05-16 21:07:22 -04:00
water111
c95e501cec
handle zero case in enum comparison ( #484 )
2021-05-14 20:12:59 -04:00
water111
d9f9d36f37
[OpenGOAL] make multiplication/divsion like GOAL and support in decompiler ( #483 )
...
* support in compiler
* multiplication in the decompiler
* update divisions
2021-05-14 18:43:12 -04:00
water111
b3eb05e37f
[decompiler] fix (gpr->fpr when an integer arg is converted to float ( #482 )
...
* fix gpr fpr bug
* remove unused variable
2021-05-14 14:33:08 -04:00
Tyler Wilding
2a315419de
tests: Automate the offline reference tests better ( #427 )
...
* tests: Move all files to new directories
* scripts: Update decomp scripts
* tests: Remove hard-coded list for offline tests
* linting
2021-05-09 17:03:58 -04:00