sotn-decomp/tools
Luciano Ciccariello 9bc0f5f39f
Add tool to generate splat configs (#1603)
As promised, a new tool to automatically generate a splat config for PSP
and PSX overlays for multiple game versions. This first version will
perform the following tasks:

* Create the splat config with data, rodata, text and bss sections to
their right offsets
* Generate a symbol list by cross-referencing duplicate symbols
* Split the overlay by creating the correspondent C file

This tool is not currently:

* Splitting C files
* Importing shared code already decompiled

There is a lot of tech involved, especially to detect the various
sections for the PSX overlays. But I will leave it to you to discover
how the implementation work if you're interested. Hopefully the code is
self-documented enough.

Usage examples:

* `python3 tools/make-config.py mar`
* `VERSION=jp12 python3 tools/make-config.py no2`
* `python3 tools/make-config.py tt_001 --version pspko`

With this tool I aim to add in the project multiple game versions of
TT_001, MAR and RBO3 from #557 and NO0.
2024-09-15 21:16:58 +01:00
..
asm-differ@f5fc9026f0 Add mwccgap (#1131) 2024-05-18 11:41:00 +01:00
dups Match Functions with Same Name in dups (#1449) 2024-07-28 11:48:41 -04:00
function_finder Function finder fixes (#1466) 2024-08-02 12:28:12 -07:00
gfxsotn Add tool to export stage graphics into a PNG 2022-11-20 14:04:21 +00:00
lints/sotn-lint sotn-lint support for drawFlags, and flags (#1593) 2024-09-10 21:55:37 +01:00
m2c@4ee07ea6b0 Update m2c 2024-05-19 12:55:28 +01:00
maspsx@7b7652969f Decompile ST0 func_801BD8F0 (#1563) 2024-08-22 18:19:49 +01:00
mwccgap@41429ee969 Update mwccgap (static functions) (#1311) 2024-06-12 09:35:35 -07:00
saturn-splitter@8d549a8042 Split saturn libs, add function (#385) 2023-07-21 22:39:37 +01:00
sotn_str Enhance sotn_str & Encode Menu Strings (#1320) 2024-06-20 13:49:16 -07:00
sotn-assets Weapon assets and statically linked (#1470) 2024-08-09 00:57:26 +01:00
sotn-debugmodule Change debug button to L2 (#1390) 2024-07-08 08:17:53 +01:00
sotn-disk Support Single BIN CUE Files (#1127) 2024-05-14 19:59:56 +01:00
splat_ext Improve sfx docs (#1540) 2024-08-19 23:01:59 +01:00
split_jpt_yaml Format code 2023-07-25 17:38:30 +00:00
vab-ex Sound effect extraction WIP (#398) 2023-07-31 12:12:07 -07:00
analyze_calls.py Attempt fixing analyze_calls build issue (#1428) 2024-07-22 12:32:19 -04:00
bin2c.py Format code 2023-07-25 17:38:30 +00:00
decompile.py HD WRP matching (#1421) 2024-07-19 19:05:26 -05:00
dirt_patcher.py Import 4A538, demo and 5087C data (#835) 2023-12-12 10:36:34 -08:00
display_texture.py Simplify CLUT fetching system for texture viewer (#1575) 2024-08-25 18:49:28 -04:00
gfxstage.py Split BIN/WEAPON0.BIN (#154) 2023-08-10 23:56:40 +01:00
lint-license.py Add AGPL license (#1565) 2024-09-06 16:14:55 -04:00
m2ctx.py Format code 2023-09-19 22:25:08 +00:00
make-config.py Add tool to generate splat configs (#1603) 2024-09-15 21:16:58 +01:00
permuter_settings.toml mostly renamings, one func (#33) 2023-01-02 08:57:53 +00:00
png2bin.py Split BIN/WEAPON0.BIN (#154) 2023-08-10 23:56:40 +01:00
png2s.py Extract BIN/F_GAME.BIN (#886) 2023-12-25 19:23:25 +00:00
progress.py Fix progress for overlays that have no nonmatchings folder 2024-07-28 18:48:03 +01:00
requirements-debian.txt Dockerless Saturn build (#266) 2023-06-19 20:10:09 +01:00
requirements-python.txt Downgrade splat 0.24.7 to 0.24.6 2024-07-29 00:01:16 +01:00
richter_symbols.py Format code 2023-07-25 17:38:30 +00:00
spritesheet.py Add spritesheet tool (#441) 2023-08-06 07:14:14 +01:00
symbols_test.py Extract and document all functions from main.exe (#736) 2023-11-06 14:53:27 -08:00
symbols.py Add tool to generate splat configs (#1603) 2024-09-15 21:16:58 +01:00
tools.mk Match Functions with Same Name in dups (#1449) 2024-07-28 11:48:41 -04:00