Commit Graph

375 Commits

Author SHA1 Message Date
Luciano Ciccariello
b442ebdd92 progress script fix (thanks @sozud) 2023-03-21 21:44:55 +00:00
Luciano Ciccariello
f3f7097c4f Add more details when reporting progress on Discord 2023-03-20 19:21:15 +00:00
Luciano Ciccariello
c0dcee69c8 New line discord message fix 2023-03-18 18:32:04 +00:00
Luciano Ciccariello
ed940319d6 Extract Equipment data as JSON 2023-03-18 14:16:56 +00:00
Luciano Ciccariello
14075e5a0c Progress script to not report non updated overlays 2023-03-17 10:28:51 +00:00
Alejandro Asenjo Nitti
a29915b95f
Fix gfxstage.py for old Python interpreters (#148)
Needed to run the script on ubuntu 20.04
2023-03-14 00:32:04 +00:00
Luciano Ciccariello
137f4b80c2 Extract g_Rooms for all the overlays 2023-03-13 21:15:25 +00:00
Luciano Ciccariello
e0d740f01c
Add curl in the list of required deb packages 2023-03-10 22:36:37 +00:00
Luciano Ciccariello
65d6043a45 Allow to export tilesets with a specific palette index 2023-03-10 12:16:34 +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
1db2a9338c Deleting dummy message 2023-03-07 19:11:52 +00:00
Luciano Ciccariello
2fcda35c6d Report decompilation progress to Discord 2023-03-07 18:43:04 +00:00
sozud
2ac32e326c
Add script to split jump tables in splat yaml (#134)
I cleaned up the script used in the previous PR. The script reads in the
current yaml, finds all the jump tables, then merges that into the
original yaml. The `subsegments:` part of the yaml will be printed to
the console, which can then be pasted back into the original yaml. Usage
looks like this:

```
# split DRA (uses jpt_ prefix)
# python3 tools/split_jpt_yaml.py config/splat.us.dra.yaml asm/us/dra/data/ jpt_

# split NO3 (uses jtbl_ prefix)
# python3 tools/split_jpt_yaml.py config/splat.us.stno3.yaml asm/us/st/no3/data/ jtbl_
```
2023-03-07 11:27:25 +00:00
Luciano Ciccariello
c04ff6a2df Dependency fix 2023-02-28 15:40:29 +00:00
Luciano Ciccariello
9596d53061 Delete old way to calculate decompilation progress 2023-02-25 11:44:53 +00:00
Luciano Ciccariello
7eda7a280e Small fix in the progress computation 2023-02-24 22:06:22 +00:00
Luciano Ciccariello
873d6a4cca Add new script to calcualte the decompilation progress 2023-02-24 12:59:57 +00:00
Luciano Ciccariello
2db2de518f Update find_duplicates to work with the new structure 2023-02-21 20:44:53 +00:00
Luciano Ciccariello
34d458cb9f Patch DRA stages when rebuilding the disk image 2023-02-21 11:20:04 +00:00
Luciano Ciccariello
7fa0c34c39 Update Splat to 0.13.4 2023-02-13 17:17:00 +00:00
Luciano Ciccariello
d33df2ce6a Update diff script to work with servant overlays 2023-02-08 14:44:01 +00:00
Luciano Ciccariello
df7847502c Add SERVANT/TT_000.BIN overlay 2023-02-08 14:03:44 +00:00
Luciano Ciccariello
6d6ca9a1ec Add script to convert binary data into C code 2023-02-05 16:21:24 +00:00
Luciano Ciccariello
6917ecffde
Update requirements-debian.txt 2023-02-03 13:58:24 +00:00
frog404
d5c6d6b163
[Tool] small str concatenate fix (#74)
I realized there was a print bug if there was no duplicates found.
2023-01-25 23:40:51 +00:00
Luciano Ciccariello
69479d78ca Do not re-generate duplicates report unnecessarily 2023-01-24 20:53:38 +00:00
Luciano Ciccariello
8e9a742a71 sotn-disk: Fix CUE parsing on some edge scenario 2023-01-24 02:12:14 +00:00
Luciano Ciccariello
7de276c335 sotn-disk: show error when the command is not recognised 2023-01-24 02:08:52 +00:00
frog404
ebf1b10b20
[Tool] sort by overlay first and function name (#65)
this should make the order of the function deterministic
2023-01-21 13:16:45 +00:00
Luciano Ciccariello
0a125d19d6 Update m2c 2023-01-21 05:20:05 +00:00
Luciano Ciccariello
c2d3dff582 Update tools 2023-01-21 01:18:14 +00:00
Luciano Ciccariello
cae7d27b46 Add SEL to the duplicate report 2023-01-20 13:56:17 +00:00
frog404
44ba80682b
this should fix on master the missing commit on the dup script (#64) 2023-01-20 03:17:15 +00:00
Luciano Ciccariello
ae3000fc2d Enable duplicate report with @frog404 (#57) 2023-01-17 01:43:18 +00:00
Luciano Ciccariello
bfe03b4a56 Fix ASPATCH when a jtbl is involved 2023-01-16 20:21:58 +00:00
Luciano Ciccariello
aaa0ebc855 Re-enable later versions of spimdisasm 2023-01-08 19:47:06 +00:00
Luciano Ciccariello
dbec15e6ee Fix sotn-disk CUE parser 2023-01-08 17:41:06 +00:00
Luciano Ciccariello
128f59a49f Create CUE and BIN in the same folder 2023-01-02 10:15:50 +00:00
Alejandro Asenjo Nitti
53fecc2e1e
mostly renamings, one func (#33)
Matched func_8010E27C from previous NON_MATCHING state

Entity struct members:
facing, hitPoints,

It's worth mentioning that those names are not definitive, but rather
intended to make up some context while decompiling functions, more
accurate names will come once we decomp more.

NZ0 function names:
EntityTransitionDoor
EntityBloodSkeleton

I also updated the permuter configuration yaml file but there's still
work left to do with it for the decomp.me import function to work
properly.
2023-01-02 08:57:53 +00:00
Luciano Ciccariello
ec1a2bcdcd Patch DRA.BIN and SEL.BIN in case the size of the binaries change 2023-01-01 22:09:33 +00:00
Luciano Ciccariello
2df24a326e Patch DRA.BIN LBA 2023-01-01 22:09:26 +00:00
Luciano Ciccariello
879eb24716 Fix sotn-disk when pulled from GitHub 2023-01-01 21:04:55 +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
Luciano Ciccariello
efe598631f Add tool to extract the game image 2022-12-26 20:37:34 +00:00
Luciano Ciccariello
65fec2b636 Comment out the NON_MATCHING ifndef when outputting decompiled code 2022-12-25 08:32:24 +00:00
Luciano Ciccariello
d56377a1f3 Show differ command in case the function does not match 2022-12-25 08:19:10 +00:00
Luciano Ciccariello
f209d03d97 hohoho merry christmas. (?) 2022-12-25 07:22:11 +00:00
Luciano Ciccariello
2a90dd0cdc Decompile script can now be run on old python3 versions 2022-12-25 07:00:23 +00:00
Luciano Ciccariello
09b412f592 Add script to automatically decompile functions 2022-12-24 20:01:37 +00:00
Luciano Ciccariello
869ce3b771 Update tools 2022-12-24 12:42:49 +00:00
Alejandro Asenjo Nitti
bdf251564d
Several DRA functions and Readme update (#29)
Co-authored-by the amazing people from the Decomp Discord server! @Rainchus @pixel-stuck @DavidSM64
2022-12-09 23:30:52 +00:00
Luciano Ciccariello
69390b9164 Add tool to export stage graphics into a PNG 2022-11-20 14:04:21 +00:00
Luciano Ciccariello
dc1240aebf Fix ".set noat" warnings 2022-11-18 21:19:41 +00:00
frog404
2bb76d364e
[TOOL] edit find_duplicates.py to autogenerate tags for duplicate functions (#25) 2022-11-16 00:31:26 +00:00
Alejandro Asenjo
ab95f771a6
NZ0 (Alchemy Laboratory) Overlay extraction, functions migrated (#24) 2022-11-15 23:36:02 +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
Luciano Ciccariello
709e8aaea4 Remove unnecessary __attribute__ 2022-10-30 16:46:35 +00:00
Luciano Ciccariello
6df2797050 Fix conflicting python requirements 2022-10-28 01:03:20 +01:00
Luciano Ciccariello
31a91e1163 Many new matches with ASPATCH 2022-10-28 00:37:34 +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
ccabed8676 Add make update-dependencies 2022-10-25 21:30:40 +01:00
Luciano Ciccariello
ad5363d6c7 Upgrade to splat 0.12.4 2022-10-18 22:01:20 +01:00
Luciano Ciccariello
cb6de6a444 Update splat right before 0.11.0 2022-10-16 10:31:54 +01:00
Luciano Ciccariello
0d607aa91b Update splat to 0.9.3 2022-10-16 10:01:01 +01:00
Luciano Ciccariello
722079c61d Decompile code with make 2022-10-15 11:45:20 +01:00
Luciano Ciccariello
52e75e6a2f Create context with Makefile 2022-10-15 11:18:32 +01:00
Luciano Ciccariello
b0db476e81 Update tools 2022-10-14 18:29:16 +01:00
Luciano Ciccariello
41f6e9748c Update tools to their latest version 2022-03-12 13:31:48 +00:00
Luciano Ciccariello
e9fb09829b More menu drawing decompilation 2022-02-16 10:56:48 +00:00
Luciano Ciccariello
57d9bb11f5 Report progress for partially decompiled functions 2022-02-06 16:56:45 +00:00
Luciano Ciccariello
7c2f7a9f6a Automatically report progress on new commits 2022-01-05 12:31:26 +00:00
Luciano Ciccariello
fcf1f0773a Upload disassembly 2022-01-02 13:35:44 +00:00