ManDude
42806d504f
[game] HUD/sprite fixes for widescreen + a few other things ( #1203 )
...
* mood palette debugging
* fix HUD sprites (most of them)
* racer hud fixes
* automtic widescreen adjust for racer and power hud (crappy)
* add money starburst toggle!
* cheat codes (SECRET!!!)
* fix tests
* fix error
* fix tests
* always for 16x9 for cutscenes
* better lod hacks
* full alphabet
* fog hack for less ugliness + particle density hack
2022-02-27 16:44:43 -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
water111
f142f46045
add more comments/docstrings on first 58 files, try new windows-specific framelimiting ( #1134 )
...
* cleanup
* type
* link against a library
2022-02-05 16:30:50 -05:00
water111
35bdc9b1d3
add an optional, less-accurate-but-faster sprite render and fix silly math bug ( #1102 )
...
* also add a new sprite renderer
* claaaang
* goal build fix
* fix tests, add stack singleton option
* make all event-message-blocks the same
* diskboot
2022-01-21 21:11:57 -05:00
water111
38c805ca7c
unused version of collide line sphere collide list ( #1071 )
2022-01-09 17:45:19 -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
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
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
18714ba536
[decomp] load boundaries ( #922 )
...
* mostly working
* fixes
* very small fixes
* fix tests
* clang
2021-10-20 19:49:32 -04:00
ManDude
89ccb8cbc7
[decomp] progress ( #780 )
...
* cleanup `main`
* whitespace
* start `progress` decomp pt1
* fill in more stuff
* Update label_types.jsonc
* run cheats
* clang
* make most of `progress` decompile
* `progress` pt 2
* [decompiler] support dynamic format strings
* Make `progress-draw` decompile and almost all `progress`
* make clang shut up
* fix unhandled format string
* fix `progress-draw`
* Update DecompilerTypeSystem.cpp
* fix?
* fixes
* fix a few functions
* make `language-enum`
* warn on weird floats
* fix minor pad bug
* dump stuff in `progress`
* make `progress-screen` enum
* progress progress
* update refs and fix stupid bug
* trying to get it to work
* it works!?
* disable sound functions
* fixes
* final touches
* tests
* tests
* add process allocations
* use the right register for windows
* another try for windows, counting is hard
* one more try
* use process allocations
Co-authored-by: water <awaterford111445@gmail.com >
2021-09-06 20:35:03 -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
ManDude
ff3174f292
more cpad stuff + make font-flags
2021-08-16 03:50:36 +01:00
ManDude
4a8295898b
Merge branch 'master' into d/cpad-test
2021-08-14 23:24:18 +01:00
ManDude
af823cdb82
implement cpad stuff
2021-08-14 21:00:50 +01:00
water
097ae07bb8
clean up font color
2021-08-14 13:06:43 -04:00
water
821c2ab42a
display loop runs
2021-08-04 21:30:08 -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
Tyler Wilding
d317497c64
decomp: main-collide and support a bunch of new inline-asm operations ( #673 )
...
* decomp/goal-lib: Implement all fixed point macros
* decompiler/goalc: Support half-word and byte parallel extend ops
* decompiler/goalc: Support all parallel compare instructions
* decompiler/goalc: Wire up PPACH and parallel bitwise operations
* goalc: Add emitter tests
* decomp: finalize `main-collide`
* codacy lint
2021-07-27 19:57:14 -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
water111
1898c7c52a
[decomp] texture ( #684 )
...
* temp
* more cleanup
* fix merge issue
* handle no texture correctly
2021-07-09 22:20:37 -04:00
water111
2506325f30
fix cast bug ( #640 )
2021-06-27 22:23:27 -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
ManDude
46b83bda2a
[decomp] debug ( #607 )
...
* [decomp] `debug`
* shut up
2021-06-19 14:24:55 -04:00
water111
8faded6400
[decompiler] bitfield support for sound-name ( #582 )
...
* fix 64-bit fields in 128-bit bitfields
* support sound-name
* fix merge
* support some more sound stuff in overlord
2021-06-12 12:55:38 -04:00
water111
ec412c7777
[decomp] ramdisk, load-dgo and rpc-h ( #496 )
...
* decompile ramdisk load-dgo and rpc-h
* add a bunch of offline tests
* clang-format
2021-05-16 21:07:22 -04:00
water111
79d10979da
[decomp] math-camera ( #491 )
...
* decompile math camera
* missing line
2021-05-15 20:08:08 -04:00
Tyler Wilding
73a4f2c83e
decomp: lights.gc ( #420 )
...
* scripts: Hack script to quickly identify the next goal_src file that hasn't been decomp'd yet
* config: Delete old type_hints file
* decomp: Decompile lights.gc
* decomp-tests: Add offline tests and temporary forward defs
* vs: Rename / add new offline test run config
* decomp: Add formatted lights.gc source
* decomp: Temporary define stub in geometry,gc
* decomp: Cleanup `lights-group` handling
2021-05-07 20:54:20 -04:00
water111
56625bb0ee
Make buttons a bitfield and fix let bug ( #399 )
...
* make pad buttons bitfields
* fix stupid let bug
* update tests
2021-04-29 20:25:45 -04:00
water111
53a70d8e43
clean up display-h ( #392 )
2021-04-27 19:40:14 -04:00
water111
3d2ca71fe3
[Decompile] pad and gs ( #389 )
...
* update stuff
* gs reference added
* update config
2021-04-26 21:40:08 -04:00
ManDude
26accb8714
Fix +1 macros to 1+ and update some timer types ( #375 )
...
* Correct `+1` macros to `1+`
* update some `timer-h` types
2021-04-22 18:31:54 -04:00
ManDude
9fbbe1a79c
prepare for decompiling display ( #359 )
...
* prepare for decompiling display
Needs some work on the decompiler (mostly bitfield stuff) before a more proper decomp can be done
* make `(profile-bar draw)`, `set-display-gs-state-offset` and `set-display-env` decompile
decompiler should now support unsigned divide
* fill in some dma-h types
* Fill in a few VIF bitfields + other minor fixes
* Update all-types.gc
* Fix stupid mistake in `vif-mask`
* update dma-h reference
* this uint32 is actually a `vif-tag` (oops)
2021-04-16 18:36:19 -04:00
ManDude
8b62de35ea
[texture-h] fixes ( #356 )
...
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* move commonly used scripts to specific folders
* fixes
* Update test.sh
* Update test.sh
* Fix file permission
* [texture-h] fixes
* [display-h] use bitfield types
2021-04-13 20:22:34 -04:00
water111
e5f0fecf17
[Decompiler] bitfield support and clean up of DMA ( #350 )
...
* get to vif
* support basic bitfield access
* make bitfields in dma work
* clean up dma
* fix merge conflict
2021-04-11 16:07:01 -04:00
water111
57eca1dee9
[Decomp] Decompile more files. ( #290 )
...
* decompile ocean trans tables
* more
* exclude tables from decomp progress
* format'
2021-02-27 14:40:18 -05:00
water111
5ec9a91eb9
Decompiler fixes + decompiling ( #276 )
...
* decomp pad
* more decompilation
* update
* fix test name
2021-02-22 09:36:30 -05:00
ManDude
b92a2823bb
Make a fake-asm macro for (mips) assembly we want to show but not use + some other fixes ( #277 )
...
* use new fake-asm macro
* [timer] update some docs and code for clarity
* Fix typos
* uncomment "sync" instructions
* some decimal to hex
* move fake-asm's to gcommon
* [timer] document timer-mode more.
* Fix errors
* i dont like this
2021-02-22 01:02:12 -05:00
water111
4b1b7e9507
[Decompile] DMA and similar ( #275 )
...
* add some dma
* clean up
* add progress script and make codacy happy
2021-02-21 11:02:28 -05:00
water111
6e0ff4c9d0
[Decompiler] Clean up the output ( #245 )
...
* fix parent issue
* fix compiler issue
* update
* add error messages
* fix error
* fix array access, temporary
* more clean
* fix
* rename arg variables better
* fix method name
* fix no return value in decompiler
* many small fixes
* cheat types so it works
* name map
* fix old test'
2021-02-09 20:59:14 -05:00
ManDude
fa061ef7eb
[timer decomp] ( #248 )
...
* [timer decomp] preliminary decomp
* [goal-lib] add inplace macros for logior, logxor, lognor and logand
* [timer decomp] Finish decomp for now
* [timer decomp] OCD whitespace
* [all-types] fix type consistency
Sorry mr. decompiler but you will have to take the hit
* [timer decomp] Fix more type consistency
* [timer decomp] ACTUALLY fix it + script so I don't forget
* [timer] automatically choose gpr for rlet's
2021-02-09 20:24:33 -05:00
ManDude
3c7067fe4a
[timer-h decomp] timer-h decomp ( #246 )
...
* ObjectFileDB: Fix crash if obj list text has no objects
* rename "decomp.bat" to "decomp-jak1.bat"
* config: enable expression analysis
* decompile timer-h
* Tab to space.
* add a note to deftype profile-name for the future
* timer-mode: use register name instead of full name
looking at the other types, it looks like NDI seemed to have preferred it this way
* [timer-h] set -> timer-bank mode type to timer-mode
* [timer-h] use register-friendly return value for method
* [timer-h] comment out unsupported feature
2021-02-09 11:00:49 -05:00
water111
25301a8bbc
[Decompiler, Game] Run type prop on gstring ( #168 )
...
* run type prop on gstring
* add types-h
* new settings
* cmake switch
* down to 4 failing functions
* clang format
2020-12-26 11:09:59 -05:00
water111
5cb6368b9a
Clean up asm for format ( #164 )
...
* clean up asm for format
* fix windows
* remove rpc-call hack
* revert cmake version change
* clang format
* asm fix for windows
2020-12-23 11:15:41 -05:00
water111
71dda76e2b
Add some compiler features and documentation ( #147 )
...
* update doc
* add disassemble and type checking
* improve compiler error messages
2020-12-01 21:39:46 -05:00
water111
19b8bb81c9
Add the STR RPC to overlord and game code ( #134 )
...
* work in progress streaming rpc, simple test is working
* actually add the test
* debug windows failure
* windows fix maybe
* windows 2
* use str-load-status
* update types
2020-11-22 12:59:55 -05: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