Commit Graph

70 Commits

Author SHA1 Message Date
Ryan Dwyer 3a283de32f Update asm_processor and make it only used where necessary 2021-10-12 17:47:45 +10:00
Ryan Dwyer bba63fe1fd Rename lib_159b0.c to mtxasm.s and lib_16110.c to mtx.c 2021-10-11 21:46:17 +10:00
Ryan Dwyer c5d2900c56 Rename init.c to boot.c 2021-10-06 18:46:28 +10:00
Ryan Dwyer d425d4f11c Introduce preamble segment and disassemble preamble 2021-10-05 23:24:25 +10:00
Ryan Dwyer ee1f882b5b Switch project to use host's assembler and disassemble osSetIntMask 2021-10-05 20:51:32 +10:00
Ryan Dwyer ac630cb0c1 Decompile bmoveProcessInput 2021-06-19 21:42:24 +10:00
Ryan Dwyer 7d44ea11e1 Rename game_097ba0.c to bondgun.c, and related functions 2021-06-13 17:19:11 +10:00
Ryan Dwyer c9b36ac9b6 Introduce JSON assets 2021-06-11 14:30:20 +10:00
Ryan Dwyer b48373e98b Decompile objDamage 2021-05-28 12:20:52 +10:00
Ryan Dwyer 4484fe60a4 Restructure assets directory to group all assets by ROM ID 2021-03-26 17:46:16 +10:00
Ryan Dwyer 9583d0146e pal-final: Get ROM fully matching 2021-03-26 11:43:20 +10:00
Ryan Dwyer 040b13e4aa Rename some constants, fix some typos and fix documentation for if_chr_in_room command 2021-03-24 20:11:45 +10:00
Ryan Dwyer 9d4f2ffd2a Rename entry.c to boot.c, controller.c to joy.c, core.c to lv.c, texture.c to texdecompress.c, room.c to bg.c, lib_0e9d0.c to snd.c and associated functions 2021-03-24 20:03:37 +10:00
Ryan Dwyer 297a658088 pal-final: Get closer to fully matching 2021-03-13 22:45:32 +10:00
Ryan Dwyer e34fab7ab2 mkgamezips: Solve checksum algorithm and remove hard coded sums 2021-03-13 15:00:39 +10:00
Ryan Dwyer 34438419e5 Merge boot segment into lib 2021-03-08 12:18:53 +10:00
Ryan Dwyer c7f9f9c319 Attempt to decompile func0f0061dc 2021-03-06 11:34:19 +10:00
Ryan Dwyer f9c3b64a16 Attempt to decompile bgInit 2021-02-19 16:14:43 +10:00
Ryan Dwyer 09ce66b009 Separate RSP segments from .data 2021-02-17 14:52:58 +10:00
Ryan Dwyer 0b673d8648 Update asm-processor 2021-02-14 10:08:55 +10:00
Ryan Dwyer 78bb8975d2 Build textures back into the ROM 2021-02-13 00:01:41 +10:00
Ryan Dwyer a59640e34e Export individual animations and build them back into the ROM 2021-02-12 22:24:51 +10:00
Ryan Dwyer d74d72893a Name each sequence file and use them when building the ROM 2021-02-12 18:50:05 +10:00
Ryan Dwyer 51c80db5be Extract assets to src/assets
* Removes build-time dependency on the `extracted` directory
* Allows assets to be stored in non-versioned folders which makes for
easier editing
2021-02-12 17:07:02 +10:00
Ryan Dwyer c3edb83df6 Attempt to decompile init 2021-01-27 22:58:44 +10:00
Ryan Dwyer e967f581c2 Convert osMapTLBRdb to ASM 2021-01-26 15:33:42 +10:00
Ryan Dwyer 18364b4e90 Decompile ll.c functions 2021-01-25 17:38:12 +10:00
Ryan Dwyer 3812eccb9e Decompile __scHandleRetrace 2021-01-24 23:31:06 +10:00
Ryan Dwyer f9a24932ed Decompile handTickAttack 2021-01-08 14:52:47 +10:00
Ryan Dwyer 1d3ba405dd Rename JAP to JPN 2021-01-04 08:23:02 +10:00
Ryan Dwyer 85515d4d1d Rename game_167ae0.c to core.c and rename associated symbols 2021-01-02 11:01:02 +10:00
Ryan Dwyer bbd44a9953 ntsc-beta: Make boot segment nearly the correct size 2020-12-21 17:48:01 +10:00
Ryan Dwyer be09d69402 ntsc-beta: Get it building without errors 2020-12-20 22:06:23 +10:00
Ryan Dwyer d50d8c15f6 Rename font variables and segments to have meaningful names 2020-12-19 23:54:22 +10:00
Ryan Dwyer 084a57082d Add support for simultaneous build jobs (make -j) 2020-12-12 21:54:19 +10:00
Ryan Dwyer a73335640a Fix build errors on Debian 2020-11-02 18:05:10 +10:00
Ryan Dwyer 2de0ef3028 Remove uses of MATCHING environment variable and make patchpiracysums offer advice when it fails 2020-11-01 09:16:35 +10:00
Ryan Dwyer 29a6304716 Convert unknown1 segment to C and rename to textureconfig 2020-10-11 15:24:19 +10:00
Ryan Dwyer dd4713bb68 Decompile func0000bfd0 2020-09-30 17:09:54 +10:00
Ryan Dwyer 346edbc9fd Decompile tagsAllocatePtrs 2020-09-06 17:28:33 +10:00
Ryan Dwyer e050353016 Split fonts segment into one per font and and replace some segment pointers with linker variables 2020-08-26 17:24:06 +10:00
Ryan Dwyer 23b6bd2643 Restructure build workflow
* All segments are now extracted from the base ROM; the base ROM is no
longer a compile time dependency
* ROM segments are now positioned relatively to each rather than with
hard coded addresses
* Piracy checksums are calculated during build
2020-08-25 20:40:35 +10:00
Ryan Dwyer 86307c5053 Decompile firingrange ROM segment 2020-08-08 19:15:39 +10:00
Ryan Dwyer 6f69f7deb5 Decompile mpstrings segments 2020-04-27 17:42:02 +10:00
Ryan Dwyer 15ee3c168e Decompile mpconfigs segment 2020-04-26 21:48:17 +10:00
Ryan Dwyer bb23a88239 ntsc-1.0: Build matching ROM 2020-04-23 23:58:03 +10:00
Ryan Dwyer 9f17b12316 Introduce multi-version support 2020-04-14 17:12:59 +10:00
Ryan Dwyer 2e636d1725 Extract textures
They are extracted as compressed binaries, so not viewable yet.
2020-04-05 19:57:42 +10:00
Ryan Dwyer c03d9c6c64 Decompile currentPlayerBikeInit 2020-03-02 23:35:15 +10:00
Ryan Dwyer 14490f181b Rename library segment to lib 2020-02-28 17:13:16 +10:00