ManDude
0212aa10c9
[decomp] better handling of animation code and art files ( #1352 )
...
* update refs
* [decompiler] read and process art groups
* finish decompiler art group selection & detect in `ja-group?`
* make art stuff work on offline tests!
* [decompiler] detect `ja-group!` (primitive)
* corrections.
* more
* use new feature on skel groups!
* find `loop!` as well
* fully fledged `ja` macro & decomp + `loop` detect
* fancy fixed point printing!
* update source
* `:num! max` (i knew i should've done this)
* Update jak1_ntsc_black_label.jsonc
* hi imports
* make compiling the game work
* fix `defskelgroup`
* clang
* update refs
* fix chan
* fix seek and finalboss
* fix tests
* delete unused function
* track let rewrite stats
* reorder `rewrite_let`
* Update .gitattributes
* fix bug with `:num! max`
* Update robotboss-part.gc
* Update goal-lib.gc
* document `ja`
* get rid of pc fixes thing
* use std::abs
2022-05-20 02:30:14 +01:00
ManDude
4d634cf50d
[decomp] add a bunch of flag enums ( #1350 )
...
* update refs
* first pass
* update refs 2
* update
* update
* update
* stuff and things
* accidentally wiped this
* fancy decomp for static sound specs
* clang
* 5 more refs
2022-05-02 18:35:17 -04:00
ManDude
3ed009924f
collision renderer v2 ( #1344 )
...
* collision renderer v2
* update code
* update again!
* Update collision.vert
* Update collide-target-h.gc
* fix code
* bleh
* gah
* minor fixes
* fix stupidity
* skip filters
* fix subtitle that i missed
* remove assert that doesn't work!
* Update hint-control.gc
2022-04-30 14:48:24 -04:00
ManDude
66e395d547
[decompiler] detect seek!
and seekl!
macros ( #1317 )
...
* detect `seek!` and `seekl!`
* fancy struct instead of pair mess
* fixes
* i think this was wrong?
* update refs
* update source
* More logical branching
* even better branching
2022-04-18 15:01:44 -04:00
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
ManDude
71f08fbd8c
janim-status
enum (#1190 )
2022-02-20 16:05:20 -05:00
water111
be74613332
cleanup and bug fix ( #1161 )
...
* cleanup and bug fix
* crashing
* fix crash bug
* fix tests
2022-02-13 13:03:30 -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
ManDude
eb53f410e5
test game actors and fix up/disable broken ones ( #1103 )
...
* test village1, beach, jungle actors
* fix jungle actors
* more anims and fixes
* Update launch.vs.json
* fix bad `robotboss` decomp
* fix `robotboss`
* Update robotboss.gc
* fix `mother-spider-proj`
* fix detach (windows)
* update refs
* village2 spools
* type fixes + a few more spols + add append/not-append to goos
* fix beach, misty, village1, village3, lavatube
* fix snow entities
* fix `target-flut`
* update refs
* forgot one
* fail
* sound fixes
* fix test
* complain if `heap-base` is bad
* correct `add-spheres!` decomp errors
* fix citadel
* fix target `change-state` handler
* fix `final-door` state
* fix `target-flut-falling`
* fix deftypes
* oopsie
* move heap memory display behind a toggle and make it fancy
* Update gstate.gc
2022-01-27 19:33:34 -05:00
Tyler Wilding
b95be06fef
decomp: mostly finish ogreboss
( #1024 )
...
* decomp: partially done `ogreboss`
* decomp: finish `ogreboss`
* update
* fix `ogreboss` and `viewer`
* update ref tests
* update ogreboss
2022-01-15 20:33:11 -05:00
ManDude
27bb6c6384
[decompiler] decompile particle defs using specialized macros ( #1077 )
...
* [decompiler] `defpart` and `defpartgroup`
* support sounds in part defs natively
* make `meters_to_string`
* update refs
* clang
* make macros in pair only work inside `(unquote ...`
* update source
* update finish
* fix
2022-01-15 20:01:38 -05:00
water111
e84b5a2346
[collision] implement most of background collision, spawn target! ( #1076 )
...
* fill collide cache with bounding box working
* yprobe fully working for background at least
* target
* final cleanup, add a bit more foreground mesh stuff that is untested
* warnings, merge issues
* tests
* revert debug changes, format'
* rendering perf
2022-01-15 16:52:47 -05:00
water111
c3b6e7eb7e
some cleanup and docs on collide-touch and the tie extractor ( #1074 )
...
* some cleanup and docs on collide-touch and the tie extractor
* temp
* more updates
* update ref tests
* type fix
* rest of collide shape
* another set of updates
2022-01-12 10:47:17 -05:00
water111
a96396e140
[collision] add notes on -h
files, add some enums ( #1068 )
...
* temp
* add enums
2022-01-08 20:57:57 -05:00
Tyler Wilding
50197c0695
cleanup: cleanup all-types and all state definitions ( #1062 )
...
* cleanup: cleanup all-types and all state definitions
* these are fine
* these are fine
* these are fine
* everything is fine
* gsrc updated
* remove define-externs in gsrc
2022-01-08 18:23:30 -05:00
water111
474a8494d8
remove gd files, simplify fakeiso ( #1053 )
...
* remove gd files, simplify fakeiso
* fix bug in decompiler mistakenly marking functions as asm
2022-01-04 23:36:39 -05:00
ManDude
62c14631af
[files] merge fake duplicate files ( #1048 )
...
* merge `orb-cache-top`
* hopefully fix random TIE extractor crash
* merge `ecovalve-ag`
* expand debug gfx buckets
* merge `barrel-ag`, `sack-ag`, `sharkey-ag`
* merge `warp-gate-switch-ag`
* merge everything else
* Update extract_tie.cpp
* add misty level
* oops
* properly add it this time
2022-01-04 20:32:34 -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
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
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
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
Tyler Wilding
bb9fb3b2cd
Update all lisp headers to reduce size of formatting PR
2020-10-26 21:08:24 -04:00
water
1083bf784e
add empty files for all obj files
2020-09-04 14:44:23 -04:00