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
ManDude
80a002f8c0
[decomp] entity birth ( #964 )
...
* make birthing work
* fix float representation on defskelgroup
* test
* update
* debugger improvements & dont upload aux sprites
* ?
* fix progress
* fixes
* fixes
* Create bea.gd
* fix test
* fix xmm reg clobbering in kernel (water)
* cleanup cam-start
* clear gamepad state every frame
* allow controller connects and disconnects while running
2021-11-15 19:05:28 -05:00
ManDude
2ea2d6a58a
[decompiler] implement defskelgroup
( #955 )
...
* implement `defskelgroup` in decompiler
0 lines removed!
* clang
* fix matcher code
* it was fine actually
* update all files (pt 1)
* update all files
* remaining fixes!
* null deref
* use METER_LENGTH
* move max lod warning
* clang
* math error
* fix macros too
* fix bug in a print
2021-11-04 19:10:39 -04: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
b7fe8447e2
[decomp] improve types around enter-state
( #923 )
...
* clean up
* restore hack
2021-10-20 20:55:25 -04:00
water111
993f348c93
[decomp] recognize most cases send-event macro ( #906 )
...
* recognize send-event macro
* missing forward def
* resolve merge conflicts
2021-10-16 15:12:01 -04:00
ManDude
caac740aff
[decomp] fisher
and FIN.DGO
(finalboss) level ( #899 )
...
* decomp `fisher`, `robotboss`, `light-eco`, `green-eco-lurker`, `sage-finalboss`, `robotboss-weapon`, `robotboss-misc`
* fixes
* add files
* add `:states` list to `deftype` and fix files
* test state forward decl's on a few more types
* also the refs
* add light-eco
* whatever
2021-10-16 14:06:33 -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
Tyler Wilding
fbcc1542f3
decomp: decompile remaining particle files ( #865 )
...
* decomp: finish `beach-part`
* decomp: finish `citadel-part`
* decomp: finish `robotboss-part`
* decomp: finish `sage-finalboss-part`
* decomp: finish `jungle-part`
* decomp: finish `flut-part`
* decomp: finish `firecanyon-part`
* decomp: finish `village2-part2`
* decomp: finish `swamp-part`
* decomp: finish `maincave-part`
* decomp: finish `sunken-part0-5`
* decomp: finish `ogre-part`
* decomp: finish `robocave-part` and `snow-part`
* decomp: finish `collectables-part`
* decomp: finish `village1-part`
* decomp: finish `village1-part2
* decomp: finish `training-part`
* decomp: finish `misty-part`
* decomp: finish `village2-part`
* decomp: finish `village3-part`
* decomp: finish `lavatube-part`
* decomp: finish `hud-h`, `target-racer-h`, `racer-part`
* address feedback
2021-09-29 20:33:40 -04:00
Tyler Wilding
dd959d0d0d
decomp: Continuing full pass of gameplay code ( #839 )
...
* decomp: finish `babak` - :code is called in `(code nav-enemy-patrol babak)`
* decomp: almost finish `process-taskable`
* blocked: mistycannon / pelican
* decomp: finish `babak-with-cannon` write a script to fix gsrc
* decomp: finish `process-taskable`
* decomp: finish `flutflut` and `yakow`
* decomp: finish `fishermans-boat`
* blocked: state decomp `training-obs`
* decomp: finish `muse`
* decomp: finish `bonelurker`
* blocked: state decomp in `quicksandlurker`| `balloonlurker`
* decomp: finish `assistant-village2`
* scripts: script to help updating goal_src
* starting to update goal_src
* tests: update ref tests
* src: more src updating
* src: waiting on `process-taskable` and `muse`
* blocked: `citb-plat` state decomp
* decomp: finish `square-platform`
* blocked: `orbit-plat` due to overlays + static data
* decomp: finish `qbert-plat`
* blocked: almost finish `misty-conveyor`, sparticle-callback
* blocked: jungle-mirrors
* blocked: state decomp in `swamp-blimp`
* decomp: finish `swamp-bat`
* decomp: finish `swamp-rat`
* decomp: finish `swamp-rat-nest`
* blocked: state decomp `kermit`
* decomp: finish `cavecrystal-light`
* decomp: finish `spiderwebs`
* blocked: state decomp `dark-crystal`
* decomp: finish `baby-spider`
* decomp: finish `mother-spider-h`
* decomp: finish `mother-spider-proj`
* blocked: state decomp in `gnawer`
* blocked: state decomp in `driller-lurker`
* blocked: `sun-exit-chamber` breaks when adding handle cast
* decomp: finish `sunken-water`
* blocked: `target-tube` ShortCircuitElement::push_to_stack
* decomp: finish `sunken-fish`
* blocked: `minecart` decomp crash when adding stack cast
* decomp: finish `assistant-village3`
* decomp: finish `sage-village3`
* blocked: `cave-trap` done but ran into `go` issue
* blocked: `spider-egg` state decomp
* decomp: finish `target-snowball`
* blocked/stuck: `target-ice` decomp issue around cpad
* pausing: ice-cube has some weird collide-shape-prim handling
* blocked: `snow-ball` state decomp
* blocked: `snow-bumper` state decomp
* decomp: finish `snow-ram-h`
* decomp: finish `yeti`
* decomp: finish `assistant-lavatube`
* re-enable the float cast log
* decomp: updating to new sparticle definitions
* decomp: address feedback up to `swamp-rat-nest`
* address remaining feedback
* all-types: move the `pointer` def
* add back temporary `hud-hidden?`
2021-09-28 20:42:00 -04:00
water111
f0ceea8b2e
[sparticle] 2d hud particles ( #849 )
...
* wip, taking a break to work on asm stuff first
* the goal code for sparticle
* mips2c the first sparticle asm function
* temp
* particle processing no longer crashing
* temp
* working texture cache for vi1 and hud textures
* sprites
* cleanup 1
* temp
* temp
* add zstd library
* temp
* working
* tests
* include fix
* uncomment
* better decomp of sparticle stuff, part 1
* update references
2021-09-26 11:41:58 -04:00
water111
9fdbc2d974
[goalc] fix static array length ( #836 )
...
* fix static array length
* add some more small fixes
2021-09-08 18:49:49 -04:00
ManDude
89ccb8cbc7
[decomp] progress
( #780 )
...
* cleanup `main`
* whitespace
* start `progress` decomp pt1
* fill in more stuff
* Update label_types.jsonc
* run cheats
* clang
* make most of `progress` decompile
* `progress` pt 2
* [decompiler] support dynamic format strings
* Make `progress-draw` decompile and almost all `progress`
* make clang shut up
* fix unhandled format string
* fix `progress-draw`
* Update DecompilerTypeSystem.cpp
* fix?
* fixes
* fix a few functions
* make `language-enum`
* warn on weird floats
* fix minor pad bug
* dump stuff in `progress`
* make `progress-screen` enum
* progress progress
* update refs and fix stupid bug
* trying to get it to work
* it works!?
* disable sound functions
* fixes
* final touches
* tests
* tests
* add process allocations
* use the right register for windows
* another try for windows, counting is hard
* one more try
* use process allocations
Co-authored-by: water <awaterford111445@gmail.com>
2021-09-06 20:35:03 -04:00
Tyler Wilding
42f7a675b2
decomp: a few files that were done except for sp-launch-group
( #802 )
...
* decomp: dark-eco-pool blocked by sparticle-launch-group label
* decomp: finalize `dark-eco-pool`
* decomp: mostly finish `beach-rocks` waiting for sparticle label supp
* decomp: almost done `beach-rocks` but potential new handle case
* decomp: finish `beach-rocks`
* decomp: finish `assistant`
* decomp: finish `miners`
2021-09-01 11:20:05 -04:00