Commit graph

266 commits

Author SHA1 Message Date
water111 3afd99a8e3
[graphics] partial tfrag implementation (#958)
* temp

* some decomp

* tfrag dma setup

* fix negative label bug

* tfrag dma setup

* tfrag, with pipeline tricks

* kinda works

* cleanup before trying some color stuff

* time of day works

* clean up

* temp before render changes

* a few more fixes

* fix up tests

* clean up

* fix

* fix alignment

* one more cleanup
2021-11-13 20:44:17 -05:00
ManDude ff50cf2552
improve debugger disasm, :sym-name and fix Windows builds (#959)
* improve debugger disasm, `:sym-name` and fix Windows builds

* >:(

* use this inline constexpr thing??

* fine use strings then

* please.... please work...

* fix windows debugger oopsie

* display rip as goal addr as well

* [debugger] attempt to backtrace even if landed on some garbage memory

* Update CMakePresets.json
2021-11-12 22:00:41 -05:00
github-actions f6571363c5 Updated github pages site 2021-11-06 01:31:04 +00:00
github-actions ee930e830f Updated github pages site 2021-11-04 23:12:19 +00:00
water111 6a606d7222
Start a debug tool for looking through level data (#954)
* temp

* temp

* level inspection tool

* docs

* windows fix
2021-10-31 13:12:50 -04:00
github-actions 51ab0c04b6 Updated github pages site 2021-10-31 15:02:29 +00: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
github-actions 7c5edf8d84 Updated github pages site 2021-10-29 23:21:14 +00:00
github-actions 4bd9d752fc Updated github pages site 2021-10-26 23:17:33 +00:00
github-actions 42cf04d8fe Updated github pages site 2021-10-25 23:24:36 +00:00
github-actions f6841009c6 Updated github pages site 2021-10-24 00:16:51 +00:00
github-actions 8a0ff963f5 Updated github pages site 2021-10-23 20:02:20 +00:00
github-actions 5220d8b87e Updated github pages site 2021-10-23 19:39:20 +00:00
github-actions 5b7b872ca1 Updated github pages site 2021-10-23 14:42:40 +00:00
github-actions 55a3d3f503 Updated github pages site 2021-10-22 02:40:12 +00:00
github-actions 5649ca51c0 Updated github pages site 2021-10-21 00:56:54 +00:00
github-actions 29d15f7fbc Updated github pages site 2021-10-20 23:51:03 +00:00
github-actions bdaac86753 Updated github pages site 2021-10-19 04:03:34 +00:00
github-actions 4c480e6970 Updated github pages site 2021-10-17 01:02:42 +00:00
github-actions 952d78d44b Updated github pages site 2021-10-16 18:07:55 +00:00
github-actions 2fbd76eec0 Updated github pages site 2021-10-15 22:19:20 +00:00
github-actions 8c4ffae4ed Updated github pages site 2021-10-11 00:08:39 +00:00
github-actions d7eeddf2fc Updated github pages site 2021-10-10 23:54:34 +00:00
github-actions 01b43f6111 Updated github pages site 2021-10-10 22:46:13 +00:00
github-actions 277e3a3dd7 Updated github pages site 2021-10-06 23:34:30 +00:00
github-actions 7463485262 Updated github pages site 2021-10-06 03:22:53 +00:00
github-actions 1246ce4f86 Updated github pages site 2021-10-06 03:07:48 +00:00
github-actions 23a1354410 Updated github pages site 2021-10-02 16:48:57 +00:00
github-actions f40b95ae1c Updated github pages site 2021-10-02 15:51:49 +00:00
water111 911a8e32a4
[decomp] minor type cleanup (#874)
* clean up some types

* clean up settings
2021-10-02 11:50:12 -04:00
github-actions cdd7e5bdee Updated github pages site 2021-10-02 13:29:41 +00:00
github-actions 023ce13fb2 Updated github pages site 2021-10-02 03:14:00 +00:00
github-actions 254a29851e Updated github pages site 2021-09-30 01:01:56 +00:00
github-actions 51503259fb Updated github pages site 2021-09-30 00:34:52 +00:00
github-actions e31609d74f Updated github pages site 2021-09-29 00:43:30 +00:00
github-actions 4e7cdc7498 Updated github pages site 2021-09-28 23:25:34 +00:00
water111 188373a3f6
decompile some drawable stuff and fix a few small bugs (#859) 2021-09-28 19:24:09 -04:00
github-actions 56076caa9b Updated github pages site 2021-09-26 15:43:29 +00: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
github-actions c4aefdd1f4 Updated github pages site 2021-09-21 22:42:05 +00:00
water111 5683f04046
[decomp] handle handle->process inside an and (#851)
* fix the loader example

* improve compiler error message

* fix missing cast issue
2021-09-21 00:12:37 -04:00
github-actions 8caf398ac0 Updated github pages site 2021-09-12 00:54:19 +00:00
github-actions e47476983a Updated github pages site 2021-09-09 02:06:07 +00:00
github-actions bb49790d3d Updated github pages site 2021-09-08 22:51:22 +00: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
github-actions 468352cb4e Updated github pages site 2021-09-07 01:11:43 +00:00
github-actions d6ffaede3a Updated github pages site 2021-09-07 00:36:34 +00:00
github-actions 9fdb50d202 Updated github pages site 2021-09-06 19:36:05 +00:00
github-actions 3d7010b05d Updated github pages site 2021-09-03 00:01:43 +00:00
github-actions 22b1d26592 Updated github pages site 2021-09-02 23:21:10 +00:00
github-actions 0656a25531 Updated github pages site 2021-09-02 01:03:35 +00:00
github-actions 35e4b9907f Updated github pages site 2021-09-01 20:43:48 +00:00
github-actions 3cda946372 Updated github pages site 2021-09-01 15:21:36 +00:00
github-actions c74520398b Updated github pages site 2021-09-01 02:13:55 +00:00
water111 ac3092093c
fix really old compiler bug (#799) 2021-08-31 22:12:30 -04:00
github-actions de57f78a27 Updated github pages site 2021-09-01 01:37:40 +00:00
github-actions 0ebdf90768 Updated github pages site 2021-08-31 19:03:32 +00:00
github-actions e399a5bd8a Updated github pages site 2021-08-31 16:05:57 +00:00
github-actions c10834025f Updated github pages site 2021-08-31 15:06:41 +00:00
water111 34e8afa0ee
get started on entity (#793) 2021-08-31 11:05:03 -04:00
github-actions 6f7dfea849 Updated github pages site 2021-08-29 15:14:30 +00:00
water111 d9f9e076af
[decompiler] automatically label things when possible (#784)
* improve label system

* clean up menu

* debug menu working, still need to fix tests

* fix tests and clean up
2021-08-29 11:13:06 -04:00
github-actions e7b9ad5801 Updated github pages site 2021-08-23 03:18:12 +00:00
github-actions 9befd8ed03 Updated github pages site 2021-08-23 01:05:11 +00:00
github-actions 08571e772c Updated github pages site 2021-08-23 00:48:06 +00:00
github-actions 928a12debd Updated github pages site 2021-08-23 00:14:20 +00: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
github-actions b8d55d9fa3 Updated github pages site 2021-08-20 00:36:35 +00:00
github-actions 69d0840080 Updated github pages site 2021-08-19 01:35:01 +00:00
github-actions 1214471fe7 Updated github pages site 2021-08-18 23:38:00 +00: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
github-actions 2dfb2b2545 Updated github pages site 2021-08-17 23:54:24 +00:00
github-actions c4547d5494 Updated github pages site 2021-08-15 18:26:22 +00:00
github-actions 0ba865208f Updated github pages site 2021-08-14 17:37:30 +00:00
github-actions 959638d5b6 Updated github pages site 2021-08-14 17:06:10 +00:00
github-actions 67fe412329 Updated github pages site 2021-08-13 22:12:23 +00:00
water d5f05f723e Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font 2021-08-12 20:31:51 -04:00
water111 222ea5da27
Merge pull request #756 from water111/w/u64-float-set
[goalc] support storing a float in a 64-bit memory location
2021-08-12 20:30:27 -04:00
water b5f53bba3f changelog 2021-08-12 20:12:27 -04:00
github-actions c71a5a775b Updated github pages site 2021-08-13 00:09:55 +00: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
github-actions e983ce95c7 Updated github pages site 2021-08-12 23:03:37 +00:00
water ebc580822e clean up 2021-08-12 19:03:33 -04:00
github-actions 9f2e9d981a Updated github pages site 2021-08-12 00:49:30 +00:00
Tyler Wilding 28015748f2
docs: use the proper punctuation 2021-08-11 20:27:53 -04:00
water 71f0a71c4c Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font 2021-08-11 20:24:50 -04:00
Tyler Wilding 412998a2c4
docs: fix recent updates 2021-08-10 20:52:41 -04:00
water 0abc311eb2 actually add the text 2021-08-09 22:11:46 -04:00
github-actions beb19c0bde Updated github pages site 2021-08-10 02:08:52 +00:00
water 843c3a899c Merge branch 'master' of https://github.com/water111/jak-project into w/dma-for-font 2021-08-09 22:08:48 -04:00
github-actions a5e0ead5c8 Updated github pages site 2021-08-10 01:56:16 +00: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
water 0bde5969ad add simple doc 2021-08-09 21:13:29 -04:00
github-actions 7f554dc837 Updated github pages site 2021-08-10 01:11:10 +00:00
github-actions 40b9a55fe3 Updated github pages site 2021-08-09 23:42:48 +00:00
Tyler Wilding 0007a890cf
docs: Switch to tracking on a file-basis instead of LoC (#743)
* docs: Switch to tracking on a file-basis instead of LoC

* docs: re-gen the app
2021-08-09 19:41:25 -04:00
github-actions 6ff1dbdab3 Updated github pages site 2021-08-09 23:20:22 +00:00
github-actions 95a07558a6 Updated github pages site 2021-08-09 23:08:42 +00:00
github-actions ad695ed12b Updated github pages site 2021-08-03 22:27:24 +00:00
water111 4d76d2f11a
add get-enum-vals (#737) 2021-08-02 22:01:10 -04:00
github-actions 906db513cd Updated github pages site 2021-08-03 01:50:09 +00:00
github-actions e70d179496 Updated github pages site 2021-08-01 21:48:10 +00: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
github-actions b8f80e435c Updated github pages site 2021-08-01 21:44:00 +00:00
github-actions 87b44d982a Updated github pages site 2021-08-01 21:12:45 +00:00
github-actions 3faf704ce4 Updated github pages site 2021-08-01 20:12:29 +00:00
github-actions af22a7ac0a Updated github pages site 2021-07-31 02:20:00 +00:00
github-actions 84bd9b0ee7 Updated github pages site 2021-07-27 23:58:30 +00:00
water111 eee8390ec0
support inline arrays on stack (#726) 2021-07-26 21:39:05 -04:00
github-actions 1352adb6d4 Updated github pages site 2021-07-27 00:03:39 +00:00
github-actions f6534c2f3a Updated github pages site 2021-07-25 20:30:07 +00:00
github-actions 859adcc7d9 Updated github pages site 2021-07-25 19:32:01 +00:00
github-actions 38c97481e7 Updated github pages site 2021-07-25 04:24:56 +00: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
github-actions ba10f91a78 Updated github pages site 2021-07-24 00:52:35 +00:00
github-actions 65b61d05e6 Updated github pages site 2021-07-24 00:39:14 +00:00
github-actions 7632b90a17 Updated github pages site 2021-07-23 22:32:11 +00:00
water111 09c09ce35f
allow aliasing of registers in variables if we explictly ask for it (#711) 2021-07-22 20:14:08 -04:00
github-actions 36ccf341a9 Updated github pages site 2021-07-20 00:50:51 +00:00
github-actions e537d5f8cb Updated github pages site 2021-07-17 22:08:38 +00:00
github-actions 0ed587cba9 Updated github pages site 2021-07-17 19:01:30 +00:00
github-actions 1e90da8e7c Updated github pages site 2021-07-17 17:42:31 +00:00
github-actions e7bc3eb3b0 Updated github pages site 2021-07-16 01:38:31 +00:00
github-actions 77667d9185 Updated github pages site 2021-07-12 23:31:10 +00:00
github-actions 079f623099 Updated github pages site 2021-07-12 02:00:42 +00:00
water111 f6d5952498
[decompiler] handle nested conditionals and gotos better (#693)
* diff check

* try that again

* more small fixes
2021-07-11 21:59:27 -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
github-actions d508c408cc Updated github pages site 2021-07-11 20:36:52 +00: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
github-actions d262dac40d Updated github pages site 2021-07-11 20:20:20 +00:00
github-actions 06b6a027b2 Updated github pages site 2021-07-10 14:20:08 +00:00
github-actions 759b69474c Updated github pages site 2021-07-10 02:21:51 +00:00
github-actions d09088b8ed Updated github pages site 2021-07-10 01:46:04 +00:00
github-actions 447d1cc474 Updated github pages site 2021-07-05 20:08:23 +00:00
github-actions 54c63ff42c Updated github pages site 2021-07-04 22:26:24 +00:00
github-actions a6eb51999b Updated github pages site 2021-07-04 20:55:34 +00: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
github-actions 285c10fd1d Updated github pages site 2021-07-04 20:20:36 +00:00
github-actions 17deacebf4 Updated github pages site 2021-07-03 20:19:47 +00:00
github-actions d4683736a2 Updated github pages site 2021-07-02 18:52:51 +00: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
github-actions fc124dd940 Updated github pages site 2021-07-02 05:12:00 +00:00
water111 4bea175140
[decompiler/compiler] Fixes for task-control (#668)
* fix decompiler for task control

* support in compiler

* changelog

* typo
2021-07-01 21:38:19 -04:00
github-actions c6ec7578e6 Updated github pages site 2021-07-01 01:58:43 +00:00
github-actions 72ae39b20f Updated github pages site 2021-06-30 23:21:55 +00:00
github-actions bf557ff278 Updated github pages site 2021-06-30 04:12:55 +00:00
github-actions 7e7f10ed3a Updated github pages site 2021-06-30 00:32:55 +00:00
Tyler Wilding a6c8065957
Docs: Automatically build / update decompile line count on documentation site (#650)
* prep work for next step

* better formatting on latest updates

* test

* fix mistakes
2021-06-29 20:31:35 -04:00
water111 9433724bbd
another fix for forward declared types (#647) 2021-06-28 20:34:13 -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