ManDude
71f08fbd8c
janim-status enum (#1190 )
2022-02-20 16:05:20 -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
bcbd1159dd
Continue cleanup of source files ( #1138 )
...
* more cleanup
* tests
2022-02-06 18:53:43 -05:00
Tyler Wilding
142961a747
decomp: the majority of navigate and rolling-lightning-mole ( #741 )
...
* decomp: Add texture-upload to ref tests
* maybe 50% done?
* 5 functions to go!
* decomp: stuck in `navigate`
* work-around fp issue
* some cleanup and label casts
* working on supporting asm instructions -- this is currently WRONG
* support ASM operations
* fixes for asm op support
* decomp: finish the vast majority of `navigate`
* format
* update test though i think this suggests a regression!
* decomp: cleanup some more of navigate
* decomp: finish `rolling-lightning-mole`
* revert `r0` handling for `pcpyud` and `pextuw`
* update ref tests
* lint
* fix a failing test
* help
* navigate mostly works now, with some potential bugs
* remove my debugging logs
* update ref tests
* review feedback cleanup
* these are all likely fine
* can't get the crab to chase me anymore
* the crab is back
2022-01-18 01:14:47 -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
ManDude
9ff71412e5
[runtime] pckernel implementation ( #1032 )
...
* toggle for ripping level models
* Create pckernel.gc
* builds and works
* fix defs
* resolution info works
* native letterboxing
* menu
* Fullscreen buttons
* Update glfw
* fix fullscreen taking over everything for some reason
* fix screenshots and add more menu options
* Cleanup DMA mess in load boundary render code (first try!!)
* Update default-menu.gc
* clang
* fix accidental macros in pairs
* refs
* fix null reference bugs
* add lavatube
* custom aspect ratios work (3D only)
* custom aspect ratios work (3D only)
* fix aspect ratio and non-4x3 debug text
* change `sceOpen`
* deadzone setting
* merge fixes
* check out `debug-pad-display`
* update readme imgs
* settings save works
* oops
* settings read/load (incomplete)
* add `:stop` to debugger and fix detach on Windows
* settings load works
* fullscreen and aspect ratio setting fixes
* swap menu options for convenience
* settings loads automatically properly
* fix panic and font hack edge case
* add rolling, ogre, snow, swamp, sunken b, jungle b
* Fixed borderless on windows please work
* Update fake_iso.txt
* remove error from opengl debug filter
* update refs
* minor tfrag tod palette lookup change
* accidentally nuked all opengl errors
2021-12-30 18:48:37 -05:00
Tyler Wilding
c6f0c5cd29
decomp: merge all s6-* remappings and finish training-obs | villagep-obs | lavatube-obs | rolling-robber | snow-obs ( #1018 )
...
* decompiler: merge all `s6-*` usages
* decomp: finish `training-obs`
* decomp: finish `rolling-robber`
* decomp: finish `villagep-obs`
* decomp: finish `lavatube-obs`
* skip function in `lavatube-obs` over #1029
* closes #1029
* kick nasm
* merge s6 and sp in variable naming pass
* revert my fix
* fix mistakes and a bad method signature
Co-authored-by: water111 <awaterford111445@gmail.com >
2021-12-28 23:16:42 -05:00
water111
798356802b
[game] make visibility work ( #1031 )
...
* make vis work
* update comments
2021-12-28 15:13:46 -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
9225d28444
clean up casts around conds with elses ( #904 )
2021-10-16 12:02:49 -04:00
water111
845802ca45
memory cards (in progress) ( #868 )
...
* c++ memory card stuff
* saving kinda works
* load working
* more progress
* clean up
2021-10-01 23:12:34 -04:00
water111
7ebbe812b1
Cleanup sparticle, add ref tests, name a few methods ( #863 )
...
* temp
* add reference tests
2021-09-28 21:17:38 -04:00
water111
5683f04046
[decomp] handle handle->process inside an and ( #851 )
...
* fix the loader example
* improve compiler error message
* fix missing cast issue
2021-09-21 00:12:37 -04:00
water111
6d120c1ac8
fix self issue ( #808 )
2021-09-01 16:42:24 -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
Tyler Wilding
253d7996e8
decomp: almost all of the NPCs! ( #748 )
...
* all-types: add all missing `:heap-base`s
* decomp: error encountered when compiling `mayor`
`IR_StoreConstOffset::do_codegen can't handle this` for method `play-anim!`
* decomp: finalize `mayor`
* decomp: finish `bird-lady`
* decomp: finish `bird-lady-beach`
* decomp: finish `sculptor`
* decomp: finish `geologist`
* decomp: finish `oracle`
* decomp: finish `farmer` | `explorer` | almost `assistant`
blocked on sparticle-launch-group
* decomp: finish `sage`
* decomp: finish `gambler`
* decomp: finish `warrior`
* decomp: mostly finish `miners`, blocked by sp-launch-group
* fix issue in `sage`
* fix all the reference tests to use the new state stuff
* fix all of goal_src
* address feedback
* re-gen with `until` fixes
2021-08-18 21:33:31 -04:00
water111
1f0c2e0e71
[decomp] Split condition and body of until after building expressions ( #768 )
...
* improve until decomp
* fix tests
2021-08-18 19:36:52 -04:00
water
ee81b709a4
add merc
2021-08-14 23:31:17 -04:00
water
885d7c1eea
add ref
2021-08-14 18:21:24 -04:00
water111
12446037bd
[decompiler] Make addition nicer ( #733 )
...
* temp
* update refs
* update reference
* fix tests
2021-08-01 18:24:58 -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
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
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
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
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
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
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
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
92afd62e2c
[decompiler] fix missing casts issue ( #573 )
...
* fix casts issue
* fix bug
* one last small fix
2021-06-09 21:35:13 -04:00
ManDude
784119188c
[decomp] even more res ( #529 )
...
* [decomp] even more `res`
* [decompiler] make `logand` with pointers and constants return pointer
* [decomp] more work
* update offline tests
* fix tests(?)
* `*res-static-buf*`
* fixes
* fix reference
* [opengoal] make `logand` work directly with pointers
* [decomp] `inspect res-lump`
* use the inline methods
* don't use a math mode for pointers
* [compiler] allow optionally setting disassembly output file
* [x86 disasm] Keep casing consistent between instructions and offsets
2021-06-01 16:07:45 -04:00
water111
b1a76b2291
[decomp] Small fixes ( #541 )
...
* fix a few bugs
* fix local vars missing in top level
* more small fixes
* support missing inline array access case
* one more fix
2021-05-30 19:57:11 -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
129ab54fd4
[decompiler] clean up if/when/cond and recognize define-perm ( #472 )
...
* clean up if and when and cond decisions
* recognize define perm
2021-05-12 19:46:17 -04:00
water111
433993074a
Clean up some errors/crashes in decompiler ( #452 )
...
* fix offline tests, clean up some warnings
* clean up warnings during decomp
* fix remaining crash issues
2021-05-11 16:43:13 -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