Commit Graph

55 Commits

Author SHA1 Message Date
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
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
e3aae94c9e Makefile fixes 2020-04-24 19:52:29 +10:00
Ryan Dwyer
8a78dd6d93 Decompile func0f119478 2020-04-20 19:21:34 +10:00
Ryan Dwyer
0a1f948a52 Allow switching versions without having to make clean 2020-04-19 23:53:08 +10:00
Ryan Dwyer
efec1108e0 Create separate lang files for each version 2020-04-15 17:07:00 +10:00
Ryan Dwyer
5f99dee42c jap-final: Fix mismatches in setup files 2020-04-14 19:43:06 +10:00
Ryan Dwyer
9f17b12316 Introduce multi-version support 2020-04-14 17:12:59 +10:00
Ryan Dwyer
14490f181b Rename library segment to lib 2020-02-28 17:13:16 +10:00
Ryan Dwyer
9821b05dfd Decompile chrTickDruggedDrop 2020-02-21 22:11:22 +10:00
Ryan Dwyer
4f391275c1 Generate include statements programatically, make declarations consistent with declarations and treat warnings as fatal 2020-02-10 17:09:03 +10:00
Ryan Dwyer
364df143dc Rename stage1 to pd and make build output less noisy 2020-02-09 20:06:57 +10:00
Ryan Dwyer
9f4caad10f Fix warnings 2020-02-05 17:49:51 +10:00
Ryan Dwyer
aeb34076f1 Restructure weapon function structs and decompile func0f011560 2020-02-02 23:03:27 +10:00
Ryan Dwyer
b06e2a87b2 Convert setup segment into game's .data segment 2020-02-02 19:22:36 +10:00
Ryan Dwyer
669add3455 Replace another python path with env 2020-02-02 14:42:08 +10:00
Ryan Dwyer
bd094bf859 Decompile chrConsiderGrenadeThrow 2020-01-22 19:06:51 +10:00
Ryan Dwyer
e867c411e2 Decompile chrUncloak 2020-01-22 00:22:48 +10:00
Ryan Dwyer
13527755de Rename rarezip segment to inflate 2019-12-16 17:41:04 +10:00
Ryan Dwyer
1330bae0ee Make ROM great again (aka matching) 2019-12-08 19:59:44 +10:00
Ryan Dwyer
946d22a6ae Pass toolchain to buildrom and add support for more mips toolchains 2019-12-08 17:50:05 +10:00
Ryan Dwyer
aaff7f685b Build ROM with asset files 2019-12-08 00:19:45 +10:00
Ryan Dwyer
14f8d62e3e Build ROM from C source
* ROM is mismatching but functionally equivalent.
* ROM does not shift, so any edits must use the same amount of bytecode.
* Asset files such as stage setup and lang are not included yet (they are copied from the base ROM).
2019-12-07 18:03:53 +10:00
Ryan Dwyer
315271771a Get it working with a single ld script 2019-10-31 21:37:26 +10:00
Ryan Dwyer
0244453baf Implement tile files 2019-10-29 09:10:46 +10:00
Ryan Dwyer
d79dd72c4f Decompile chrResolveId 2019-10-18 20:17:34 +10:00
Ryan Dwyer
53c961cb6b Minor makefile improvements 2019-10-12 11:02:00 +10:00
Ryan Dwyer
60b758c5e7 Create binclean make target 2019-10-09 18:16:46 +10:00
Ryan Dwyer
6810d014f6 Resolve ld issues and link random 2019-10-08 18:46:05 +10:00
Ryan Dwyer
8cc9fc069c Restructure files
* Create chraicommands.c
* Move include to src/include
* Use .o files next to each .c file
2019-10-07 17:50:26 +10:00
Ryan Dwyer
a365606fd1 Identify menu dialog functions 2019-10-05 11:21:11 +10:00
Ryan Dwyer
3ef569abfd Add aiLabel to setup's command_pointers array 2019-10-04 23:43:42 +10:00
Ryan Dwyer
4c1b603d15 Match aiLabel 2019-10-04 23:28:39 +10:00
Ryan Dwyer
58d2c4705f Discover functions in game binary using setup references 2019-10-04 20:13:01 +10:00
Ryan Dwyer
77cd742ed4 Assembly statements for main game code 2019-10-04 17:29:31 +10:00
Ryan Dwyer
114a3c6c75 Add boot.c 2019-10-02 08:23:06 +10:00
Ryan Dwyer
c95707bef5 Link library with setup and match getCurrentStageId 2019-10-01 20:28:33 +10:00
Ryan Dwyer
dfbcf962f0 Get matching library.c file 2019-09-29 15:18:36 +10:00
Ryan Dwyer
0994436231 Reorganise repository and rename globals to setup 2019-09-29 11:57:51 +10:00
Ryan Dwyer
01fb7c3ccc Inject globals file into ROM 2019-09-22 20:45:49 +10:00
Ryan Dwyer
902edeca66 Flesh out globals.c and make it match 2019-09-22 16:03:20 +10:00
Ryan Dwyer
f27cf33efb Start decompiling rarezip binary 2019-09-18 22:27:03 +10:00