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
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
ManDude
093526721c
save key mapping to memory!
2021-08-16 14:57:15 +01:00
ManDude
efdc598c09
make pc pad remapping process (incomplete)
2021-08-16 07:44:05 +01:00
ManDude
395f97a0c0
Fix dumb mistake...
2021-08-16 04:04:04 +01:00
ManDude
ff3174f292
more cpad stuff + make font-flags
2021-08-16 03:50:36 +01:00
water
ee71b52b27
Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font
2021-08-12 19:27:51 -04:00
Tyler Wilding
f2e072cff0
fix method name
2021-08-11 22:33:31 -04:00
Tyler Wilding
ca1d540849
Merge remote-tracking branch 'water111/master' into decomp/wateranim-rigid-body
2021-08-11 20:57:05 -04:00
water
40ecd92272
Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font
2021-08-09 21:41:25 -04:00
ManDude
946284c05d
add goal enum utils to standard libs ( #740 )
...
* add goal enum utils to standard libs
* Update .gitattributes
2021-08-09 19:18:53 -04:00
Tyler Wilding
4f331b5f79
decomp: finalize rigid-body
2021-08-07 18:29:44 -04:00
water
21684bd104
misc bug fixes, now draw string generates dma data
2021-08-05 20:29:36 -04:00
water111
aa58d146c2
[goalc] register allocator v2 ( #731 )
...
* clean up allocator interface to be simpler
* working on functions without spills
* working for all
* fix missing includes for windows
* more windows includes
* initialize regs to zero so printing value unintiailized by game code is repeatable
2021-08-01 17:46:55 -04:00
ManDude
26c3fb65e9
make some macros for DMA stuff ( #725 )
...
* [compiler] allow infinite args for `logior`
* make some dma macros and use them on `display`
* [goos] add `string->symbol`
* make a sketchy macro
* fix tests
* `with-dma-bucket` and `dma-buffer-add-vector4w-2`
* cleanup `debug`
* cleanup `menu`
* go thru `texture` pt 1
* finish `texture`
* `sprite` pt 1
* `sprite` pt 2
* `generic`
* `gs` and `main`
2021-08-01 17:11:32 -04:00
water111
eee8390ec0
support inline arrays on stack ( #726 )
2021-07-26 21:39:05 -04:00
water111
2b6684aa5c
[decompiler] Working toward bsp
( #717 )
...
* clean up
* before int to float stuff
* before trying to eliminate the separate read and write maps
* partial fix for register issues
* add missing include
2021-07-25 15:30:37 -04:00
ManDude
8ef73ee457
give defstate
a parent type and allow anonymous behaviors inside ( #715 )
...
* give `defstate` a parent type and allow anonymous behaviors inside
* add defstate type stack leak detection+correction, remove debug print
2021-07-25 00:23:30 -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
b70fcb2f7a
support non-virtual gos in decompiler ( #707 )
2021-07-17 18:07:21 -04:00
water111
2754a8f2c4
get res decompiling ( #705 )
2021-07-17 13:41:05 -04:00
water111
f6d5952498
[decompiler] handle nested conditionals and goto
s better ( #693 )
...
* diff check
* try that again
* more small fixes
2021-07-11 21:59:27 -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
water111
1898c7c52a
[decomp] texture ( #684 )
...
* temp
* more cleanup
* fix merge issue
* handle no texture correctly
2021-07-09 22:20:37 -04:00
water111
551a9c4955
[decompiler] ASM Branching Support ( #677 )
...
* basic example working in geometry
* before updating offline'
* clean up
* temp
* progress
2021-07-05 16:07:07 -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
322a4ed9b2
Fix compiler crashes and improve return statements. ( #652 )
...
* fix a few small bugs
* fi
* fix merge conflict
2021-06-30 00:11:46 -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
490633d434
add countdown ( #627 )
2021-06-25 20:51:25 -04:00
water111
bfc1173ed5
Clean up files in kernel ( #625 )
...
* clean up gcommon
* cleanup kernel
2021-06-25 17:55:50 -04:00
ManDude
46b83bda2a
[decomp] debug
( #607 )
...
* [decomp] `debug`
* shut up
2021-06-19 14:24:55 -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
water111
a572587a0e
add types ( #559 )
2021-06-05 16:58:32 -04:00
ManDude
9b905f903c
random clean-up ( #551 )
...
* clean-up various files, do `game-h` and `generic-obs-h`
* cleanup `smush-control-h`
* cleanup `collide-edge-grab-h`, `collide-mesh-h`, `collide-shape-h`
* [goal lib]organize minor things
* Fix a library command before I forget again
* fix
2021-06-04 13:22:50 -04:00
water111
d719bf5677
[decompiler] support break ( #516 )
...
* support break
* finish implementation of break, decomp method 19 of res
2021-05-23 20:16:34 -04:00
water111
663b5c7899
[OpenGOAL] Support for 128-bit arguments and return values (WIP) ( #510 )
...
* xmm call and return working, needs some careful double checking and tests
* clean up and test
2021-05-20 20:12:49 -04:00
water111
79d10979da
[decomp] math-camera
( #491 )
...
* decompile math camera
* missing line
2021-05-15 20:08:08 -04:00
ManDude
812efd92ca
[decomp] prototype-h
, a few enums and other random things ( #422 )
...
* [decompiler] fix missing error in asm output
* decomp prototype-h, cleanup pat-h and res-h, prep for fact-h & res
* fix types
* Update all-types.gc
* fix a methos in `res-h`
2021-05-06 19:00:30 -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
8cc63ff35c
Add a debug PS2 VM to the runtime ( #401 )
...
* update VS launch target params
* remove redundant VS launch option
* Add a debug PS2 VM to the runtime, currently only for the DMAC
* Formatting
* remove broken assert
* Avoid weird buffer overflow bug
* Test on `VIF0_DMA_BANK`!
* Add a docstring
* patch pointers for the other dma channels
* patch DMAC pointer
* remove dead leftover code
* Change default return value for `get_vm_ptr`
2021-05-01 00:32:19 -04:00
water111
3d2ca71fe3
[Decompile] pad and gs ( #389 )
...
* update stuff
* gs reference added
* update config
2021-04-26 21:40:08 -04:00
water111
060b125324
[Compiler/Decompiler] Better support for Bitfield and Enum types ( #374 )
...
* compiler fixes, a decent amount of decompiler stuff is working too
* more support in decompiler, fix some casts
* decompile static data too
2021-04-22 19:08:58 -04:00
ManDude
ab6a40a352
Add string-format
macro for in-place formatted strings ( #364 )
...
* Add `string-format` macro for in-place formatted strings
this will be very useful for debugging and just making new strings in general
* add a warning to `string-format` about recursive usage
* clarify warning
2021-04-17 18:00:39 -04:00
water111
0d8742241b
support for i128 ( #331 )
2021-03-23 15:56:23 -04:00
water111
814480f9e5
[Decompiler] Replace type hint system and improve variable types. ( #320 )
...
* get gkernel and gkernel-h at least somewhat working in the offline tests
* strip comments from json
* switch hints to casts. online tests passing, offline passing up to gkernel
* variable retyping is added
* fix up casts in lets
* update
2021-03-13 16:10:39 -05:00
water111
8f68d35cbb
[Decomp] Some more collision header files and speed up tests ( #296 )
...
* some more
* faster tests
* on by default
2021-03-01 11:15:24 -05:00