Commit Graph

79 Commits

Author SHA1 Message Date
Luciano Ciccariello
e8520f1243 HD DRA func_800F2860 matching 2023-05-04 23:11:15 +01:00
Luciano Ciccariello
eee04d6ea1
RIC extract spritesheet (#199)
Thanks to @MottZilla research I was able to extract the spritesheets of
Richter as PNGs in conjunction with the original palette from
`F_GAME2.BIN`. When the binaries are built, the PNGs are recompiled back
into binary.

In case of modding, it is possible to modify the sprite size to
accommodate bigger or smaller sprites. Although it is not possible to
modify the existing palette as currently we have no way to extract and
rebuild `F_GAME2.BIN`. You would have to modify the palette via hex
yourself. The file `config/splat.us.ric.yaml` shows in which offset the
palette is located. Just for reference, the colour format for the
palette is RGBA5551. It is important that edited PNGs has 16 colours
otherwise the build will fail.

The `padding` field is required to reconstruct some left-over / junk
data that is not part of the data sprite. For the sake of modding, the
`padding` field can be whatever.

I am not sure if `RIC.BIN` pointers can be relocated. If that is the
case you might get a black screen when playing with Richter. It should
be easily fixable though.


![image](https://user-images.githubusercontent.com/6128729/233791249-0155a6fb-c5fc-4142-b294-9f44b5524dde.png)
2023-04-22 21:03:55 +01:00
Luciano Ciccariello
2aa856a9ab Update compiler to use little endian 2023-04-05 19:19:14 +01:00
Luciano Ciccariello
17b96a68ab Add script to extract and rebuild room data 2023-03-31 08:41:52 +01:00
Luciano Ciccariello
ed940319d6 Extract Equipment data as JSON 2023-03-18 14:16:56 +00:00
Luciano Ciccariello
63d6e3cf20 make clean will not delete .vscode/settings.json 2023-03-18 11:51:31 +00:00
Luciano Ciccariello
55b7acc118 Install GO in the home directory instead in the repo 2023-03-16 12:28:17 +00:00
Luciano Ciccariello
2d303fa538 Fix __attribute__ decompilation error 2023-03-12 00:11:14 +00:00
Luciano Ciccariello
341bd90774 Extract and assemble stage graphics for all stages 2023-03-10 04:04:18 +00:00
Luciano Ciccariello
a0050b3c1e Extract WRP stage graphics 2023-03-10 03:59:33 +00:00
Luciano Ciccariello
ddd2a91696
WRP split some data and add new split tools (#109)
The objective is to separate the data that is usually written into `asm/*/data` into separate files. Those will initially be binary files.

There is also an utility that allows to decompress compressed data. The decompressed data is currently not read as we are missing a compression algorithm that matches the original one. I tried writing one in the past: it worked, it re-created similar files but sadly not the same ones. The decompression algorithm is there to allow to do some data mining and understand what the data is and how it is used.
2023-03-09 13:32:00 +00:00
Luciano Ciccariello
54d9d54832 Speed-up progress and duplicate report jobs 2023-02-25 15:02:43 +00:00
Luciano Ciccariello
814e9d1aa5 Fix unnecessary file getting created every time 2023-02-25 13:35:33 +00:00
Luciano Ciccariello
d7417b7375 Change how game assets are managed 2023-02-21 23:25:31 +00:00
Luciano Ciccariello
089bbcb252 Writes built binaries into build/us/ 2023-02-21 20:06:27 +00:00
Luciano Ciccariello
e03a4d15e2 Change assembly location from asm/ to asm/us/ 2023-02-21 19:12:52 +00:00
Luciano Ciccariello
7b07e9e9f4 You did not see anything 2023-02-21 13:03:45 +00:00
Luciano Ciccariello
651deb2f82 Rename config folder to use game version 2023-02-21 01:42:33 +00:00
Luciano Ciccariello
7433d63377 MAD reworked symbols and patches from the ground-up 2023-02-19 19:32:52 +00:00
Luciano Ciccariello
e321187bc9 AS should not use the $gp register 2023-02-12 00:22:31 +00:00
Luciano Ciccariello
df7847502c Add SERVANT/TT_000.BIN overlay 2023-02-08 14:03:44 +00:00
Luciano Ciccariello
4ba2110fe7 Fix asm-differ 2023-02-05 11:06:16 +00:00
Luciano Ciccariello
0596244649 Asset extraction and build experimentation 2023-02-03 15:41:56 +00:00
Luciano Ciccariello
65873dcfb3 Separate MAIN symbols from DRA 2023-01-28 02:31:37 +00:00
Luciano Ciccariello
3aa8257ffc Clearer GameApi symbols (thanks @KernelEquinox) 2023-01-23 07:22:35 +00:00
Luciano Ciccariello
d22ba7833f Use compiler flags from PSY-Q CC1 2023-01-22 18:34:27 +00:00
Luciano Ciccariello
9eac347212 Set signatures for GameApi 2023-01-22 14:37:34 +00:00
Luciano Ciccariello
720bd6e5ab Introduce GameApi 2023-01-22 13:33:50 +00:00
Luciano Ciccariello
b994edcc98 New MAD patches 2023-01-21 14:14:01 +00:00
Luciano Ciccariello
fad7c45407 Adjust CheckCollision signature 2023-01-21 05:28:40 +00:00
Luciano Ciccariello
59e77b4741 'make disk' now works without deleting 'sotn.cue' 2023-01-10 20:57:20 +00:00
Luciano Ciccariello
316545e8e8 Fix linker when using main/DRA components in overlays 2023-01-02 08:38:20 +00:00
Luciano Ciccariello
2a48801e11
Fix GitHub pipeline (#36)
Creates a workaround to force using spimdisasm 1.9.0 as 1.9.1 currently
breaks the repo
2023-01-01 20:59:50 +00:00
Luciano Ciccariello
764c919296
Creates a new game image based on built binaries (#34) 2023-01-01 20:49:12 +00:00
Alejandro Asenjo Nitti
b51efcc45f
GET_PLAYER + Symbol fixes + initState -> step rename + stuff (#32)
do {
      merge(&this);
} while (0) ;
2022-12-28 09:33:54 +00:00
Luciano Ciccariello
efe598631f Add tool to extract the game image 2022-12-26 20:37:34 +00:00
Luciano Ciccariello
09b412f592 Add script to automatically decompile functions 2022-12-24 20:01:37 +00:00
Luciano Ciccariello
050b90f097 Add SEL overlay 2022-12-21 17:08:58 +00:00
Alejandro Asenjo Nitti
0b0671f040
DRA functions + PSXSDK docs (#30)
Co-authored-by: @pixel-stuck, @Mr-Wiseguy, @Rainchus, @DavidSM64
2022-12-19 05:32:00 +00:00
Luciano Ciccariello
731f1a66f5 Fix make format command 2022-11-06 17:47:57 +00:00
Luciano Ciccariello
0a6621ca4d Many new matches across all overlays 2022-11-05 23:13:18 +00:00
Luciano Ciccariello
8d3023f9ea Do not require a password to install the pre-requirements 2022-11-05 14:15:41 +00:00
frog404
a4f769abf3
find_duplicate.py tool, credit to Ethan and papermario decomp team (#22)
i had to edit the make file also to tell ld to generate .map files
2022-11-01 18:54:31 +00:00
Alejandro Asenjo
2bd7f59900
NZ0 Extracted + File descriptions (#20) 2022-10-29 18:58:02 +01:00
Luciano Ciccariello
9d640880f5 Document PreventEntityFromRespawning 2022-10-29 18:19:07 +01:00
Luciano Ciccariello
c91276ad56 Discover g_zEntityCenter field 2022-10-29 01:13:38 +01:00
Alejandro Asenjo
70a5c7f00e
CEN overlay extracted (#19) 2022-10-28 23:46:47 +01:00
Luciano Ciccariello
703b93aea6 Patch assembly code 2022-10-26 07:41:13 +01:00
Luciano Ciccariello
5a6b3e1a61 Add clang-format as a requirement 2022-10-25 21:31:45 +01:00
Luciano Ciccariello
047ea60bda Fix make decompile for outdated context 2022-10-25 21:30:41 +01:00