water111
a96396e140
[collision] add notes on -h files, add some enums ( #1068 )
...
* temp
* add enums
2022-01-08 20:57:57 -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
c245f37feb
[decomp] joint and related ( #1003 )
...
* update jak 2 config and hack to make game text dumpable
* update stuff
* update src
* do `cspace<-parented-transformq-joint!`
* progress.... kind of...
* more drawable stuff
* clagng
* bones begin
* more bones
* even more bones
* everything builds
* touches
* errors
* ?
* fix `quicksandlurker`
* updates
* update refs
* more fixes
* update refs
2021-12-26 11:43:16 -05:00
Tyler Wilding
373e9059eb
decomp: add powerups to ref-tests and finish target-flut | target-death ( #1017 )
...
* decomp: add `powerups` to ref-tests
* decomp: finish `target-flut`
* decomp: finish `target-death`
2021-12-18 19:13:40 -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
ManDude
d845524c23
[decompiler] detect cpad-hold? and cpad-pressed? ( #986 )
...
* [decompiler] detect `cpad-hold?` and `cpad-pressed?`
* cleanup cpad macro button lookup
* better
* fix
2021-12-01 19:41:49 -05:00
Tyler Wilding
111af1ec19
decomp: finish the remainder of untouched gameplay code ( #893 )
...
* decomp: finish `sidekick`
* decomp: got a lot of `target` done
* decompiler: Add support for non power of 2 offsets for inline arr access
* decomp: finish `target` mostly
* decomp: finish `water`
* decomp: finished `robotboss-weapon`
* decomp: finish `robotboss-misc`
* decomp: finish the majority of `robotboss`
* blocked: `racer` has an issue around entering a state
* blocked: `target-racer` done mostly, but NYI case in one function
* blocked: `racer-states` mostly finished, but bitfield issue
* blocked: `billy` on state decomping
* blocked: `bully` on state decomping
* waiting: `rolling-lightning-mole` waiting on navigate for 2 funcs
* blocked: `rolling-robber` finished but `s6-1` issue
* blocked: `ogreboss` uint64's for types cant label load em!
* blocked: `mother-spider` state decompilation
* half-done `target-flut`
* blocked: `target-flut` some sort of new bitfield state
* some improvements in `racer-states` with my new-found knowledge
* progress: started on `target-death`
* blocked: `target-death` handle casts
* decomp: finish `collide-reaction-racer`
* blocked: `target-handler` handler forced to return `none`
* decomp: 99% of `target2` finished
* decomp: finish `target2`
* gsrc: update
* update post merge
* address feedback
* scripts: add script to detect decomp issues
* fix wide-spread `collide-shape` method missing arg
* some small things i changed from master
* address feedback
* fix typeconsistency issue
2021-11-24 00:33:10 -05:00
ManDude
25b0e1be7d
[decomp] collectables + works ingame! ( #971 )
...
* decomp: `collectables`
* fix types
* `powerups` and fixes
* fixes
* Merge branch 'pr/929' into d/temp/collectables
* fix collide stuff
* update things...
* update
* update
* temp bump global heap mem
* fix `defstate` hooks wrong/unnecessary sets & collide stuff for collectables
* dumb mistakes :)
* stub out broken process-drawable stuff
* update refs
* add `:no-inspect` key and save some memory & remove birth logs
* Update kmachine.h
* clang
* add citadel
* fix no-inspect key
* fix tests!!
* fix stupid mistake in `collide-shape-prim-sphere` alloc
* comment annoying print
* feedback
* fix edge-case probably
* remove `:no-inspect`s
2021-11-23 18:25:57 -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