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
ManDude
c9204f2a9b
Fix Windows asserts ( #1045 )
...
* fix release mode asserts
* clang
* dummy
2022-01-02 18:02:10 -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
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
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
water111
44626cfedd
fix issues and decompile racer-states ( #924 )
...
* fix issues and decompile racer-states
* type fix
2021-10-21 22:38:39 -04:00
water111
b7fe8447e2
[decomp] improve types around enter-state
( #923 )
...
* clean up
* restore hack
2021-10-20 20:55:25 -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
f87646e8ce
Small state fixes ( #901 )
...
* small fixes
* catch uncaught exception
2021-10-15 21:31:22 -04:00
ManDude
4665b5a246
change type of seconds
and clean up opengl includes ( #887 )
...
* change type of `seconds`
* fixes to pc pad input (visual only)
* strip down openGL to the version we're actually using for now (4.3 no extensions)
* turn on this opengl message
* really minor inconsequential change
2021-10-06 19:32:58 -04:00
ManDude
d8e659df66
[decomp] flying-lurker
( #846 )
...
* `flying-lurker`
* why'd this get left behind?
* also `ambient` and add a `banned_objects` config and fix offline tests
* clang
* fix `ambient-type-sound`
2021-09-21 18:40:38 -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
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
water
9495e91259
online tests pass
2021-08-09 21:54:40 -04:00
Tyler Wilding
d400ec3b2d
decomp: mood
( #672 )
...
* decomp: Almost finished `mood`, but confused over the `mood-context` type!
* only function that remains involves vftoi / ppach instructions
* stash
* decomp: fix inline array access issue
* decomp: finalize `mood`
* linting
2021-08-01 16:11:22 -04:00
water111
b70fcb2f7a
support non-virtual gos in decompiler ( #707 )
2021-07-17 18:07:21 -04:00
water111
73330302ba
fix bug in field lookup ( #700 )
2021-07-12 19:29:56 -04:00
water111
0a9cc68a27
[decompiler] Use meters, degrees, and seconds ( #689 )
...
* use meters degrees and seconds
* update changelog
2021-07-11 18:19:41 -04:00
water111
e251f8b2d9
Support Behaviors ( #678 )
...
* temp
* working, but type pass got really slow
* clean up
* changelog and flip order
* clean up and add tests
* fix zero size array
* handle lambdas correctly
* another windows fix
2021-07-04 16:54:07 -04:00
water111
784cd5debb
[decomp] get started on game info ( #674 )
...
* temp
* menu text
* wip
* recognize handle to process
* more
2021-07-03 16:18:41 -04:00
water111
6366068bc0
Support dir tpages ( #671 )
...
* support dir tpages
* fix warnings and bad return
* one more try
* revive the offline test script
* fix this null bug
2021-07-02 14:50:58 -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
9433724bbd
another fix for forward declared types ( #647 )
2021-06-28 20:34:13 -04:00
water111
2ee48e08f3
Allow setting a field with partially defined field ( #646 )
...
* allow setting a field with partially defined field
* actually run the test
2021-06-28 19:20:36 -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
water111
9e6dec9829
[decomp] make bg decompile ( #624 )
...
* make bg decopmile
* fix parent method call
2021-06-24 20:06:12 -04:00
water111
4f8403d8e6
support type-ref ( #613 )
2021-06-20 12:59:39 -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
bc87c4426f
[decompiler] Fix deref bug and add some more new type pass stuff ( #606 )
...
* add copy on write and clean up some register stuff
* fix bug in multiple field lookup
* format
2021-06-18 21:10:00 -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
d79937fb62
Improve forward declaring types ( #596 )
...
* improve forward declare type
* display type differences
* make codacy happy
2021-06-15 21:03:55 -04:00
water111
fac4364aa4
fix pretty printer bug and add some documentation on states ( #590 )
2021-06-13 19:44:24 -04:00
Tyler Wilding
506b5d8ceb
Decompile: prototype
| video
| vol-h
| air-h
| nav-enemy-h
| rigid-body-h
( #575 )
...
* decomp: `prototype` done
* tests/ref: Update all reference tests
* decomp: `video` done
* decomp: Add `video` to src
* decomp: `vol-h` done
* tests/ref: Update reference tests again
* decomp: Add `vol-h` to ref tests, leave `entity` in process as a `basic` for now!
* decomp: `air-h` done, compiler issue though
* decomp: `nav-enemy-h` done, compiler issue though
* decomp: `rigid-body-h` done, compiler issue though
* Address feedback and fix the failing to compile files
* linting
* finish `video` off
2021-06-12 21:52:55 -04:00
water111
2851cae13b
[decompile] fact-h ( #556 )
...
* decompile fact-h
* fix unused var
* codacy again
2021-06-05 11:15:34 -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
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
a6258f3654
[compiler] support 128-bit bitfields ( #500 )
...
* support setting and accessing fields of a 128-bit bitfield
* remove print
* rework static constants
* support 128-bit bitfields as part of static structures
* dynamic construction
2021-05-18 21:25:29 -04:00
water111
79d10979da
[decomp] math-camera
( #491 )
...
* decompile math camera
* missing line
2021-05-15 20:08:08 -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
4c788b7f50
Decompilation: shadow-h
and target-h
( #428 )
...
* decomp: `target-h`
* decomp: `shadow-h`
* decomp: Add reference / source files
* Use `define-perm` in goal_src file
2021-05-11 00:01:37 -04:00
ManDude
fef9b139d7
Force-enable assert
on release mode Windows build ( #440 )
2021-05-10 23:03:56 -04:00
water111
62dfa1bf07
[TypeSystem] add heap-base property to types ( #431 )
...
* support heap base in the type system
* lock around modification of status
2021-05-09 19:40:36 -04:00
water111
21fefa0aaa
[decompiler] small fixes for methods and more reference tests ( #419 )
...
* clean up method stuff, fix a few small bugs, and add references for easy -h files
* more small fixes and reference tests
2021-05-06 00:42:49 -04:00
water111
0a6602e320
[Decompile] connect, text-h, settings-h, capture, memory-usage-h ( #410 )
...
* decompile stuff
* temp
* temp2
* fix
* temp
* preparing for merge
* working
* fix stupid format
* fix codacy
2021-05-05 17:38:16 -04:00
ManDude
8d99bee88c
[decompile] decomp time-of-day-h
, fix mood-h
, update sky-h
, make art-h
almost work ( #415 )
...
* [decompiler] make certain floats decompile to constants
* update various types in `mood-h`, `time-of-day-h` and `art-h`
* fix `time-of-day-context`
* add some offline tests
* make `new-dynamic-structure` decompile at least
* formatting
* Update all-types.gc
* Update all-types.gc
2021-05-04 21:36:22 -04:00
ManDude
7cb04c6cd5
[decomp] font-h, fix a vector type, minor decompiler fixes ( #411 )
...
* Make `:do-not-decompile` work on field lookup as well
* decompile `font-h` and update a vector type + minor fixes
* fix some types
* fix font-h
* fix font-h (again)
* update a script
* fixes
* Fix segfault
* Fix `PROT_NONE` page protection on windows
2021-05-01 21:09:48 -04:00
water111
2002db359a
[Decompiler] WIP: Stack Spills ( #382 )
...
* set up types
* cleaned up type analysis and got things working through atomic ops
* expression working, need types
* improved types and names
* getting close
* finish up dma-disasm
* fix
2021-04-25 14:48:54 -04:00
ManDude
54ccc9db97
Increment enum entry values if no value's supplied ( #385 )
2021-04-24 23:51:47 -04:00
water111
fa122356ec
[Decompiler] Fixes for dma-disasm ( #377 )
...
* small tweaks
* fix up some more dma stuff
2021-04-23 20:29:15 -04:00