sotn-decomp/tools
Luciano Ciccariello ac61a3139c
Extract BIN/F_GAME.BIN (#886)
Mostly a proof of concept to extract resources from `BIN/F_GAME.BIN`.
There are tons of hacks to make this work:
* Tweaked png2s to decode binaries into PNGs
* Add a `config/gfx.game.json` that describes how to extract different
sprites out of a binary file
* Coded the palette location by reading the `clut` parameter in the
source code. A clut value of `0x196` corresponds to `"palette": "0x96"`
or `"palette": 150`.
* Coded the bits per pixel for a couple of 8-bit images
* Coded the palette location of those graphics that expects the palette
from DRA.BIN instead of F_GAME.BIN
* For all the undiscovered palette, I called the files `unk` and
defaulted their palette to grey

The expectation is that sprites will slowly be documented and added into
`config/gfx.game.json` by modders and enthusiasts. This does not yet
pack back these PNGs into the binary file. The way these assets are
extracted is probably not final or perfect, but we have to start from
somewhere.


![image](https://github.com/Xeeynamo/sotn-decomp/assets/6128729/ce12ad2d-d95d-41e8-ac31-186cd36ac965)
2023-12-25 19:23:25 +00:00
..
asm-differ@e8bddb0257 Update external tools (#764) 2023-11-19 13:44:44 +00:00
dups Add duplicates report to dups tool (#467) 2023-08-14 09:22:35 -07:00
function_finder Allow function_finder to filter on keywords (#875) 2023-12-20 11:52:18 -05:00
gfxsotn Add tool to export stage graphics into a PNG 2022-11-20 14:04:21 +00:00
lints/sotn-lint Rewrite lints, lint more FIX (#439) 2023-08-05 11:36:00 -07:00
m2c@beb457dabf Update external tools (#764) 2023-11-19 13:44:44 +00:00
maspsx@34bd6f784c Update maspsx (--expand-li) (#877) 2023-12-20 21:13:37 +00:00
n64splat@e60277d696 Extract memory card icons (#166) 2023-12-11 23:12:13 -08:00
saturn-splitter@8d549a8042 Split saturn libs, add function (#385) 2023-07-21 22:39:37 +01:00
sotn-debugmodule Sound test: add 42398.c (#799) 2023-11-20 18:17:51 -08:00
sotn-disk Patch DRA stages when rebuilding the disk image 2023-02-21 11:20:04 +00:00
splat_ext Synchronise asset config with the latest headers (#849) 2023-12-15 13:58:26 -08: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 Rename some entity functions (#826) 2023-12-10 10:08:41 -08:00
bin2c.py Format code 2023-07-25 17:38:30 +00:00
decompile.py PSXSDK: libgpu ext, sys (#862) 2023-12-18 16:27:54 -05:00
dirt_patcher.py Import 4A538, demo and 5087C data (#835) 2023-12-12 10:36:34 -08:00
gfxstage.py Split BIN/WEAPON0.BIN (#154) 2023-08-10 23:56:40 +01:00
m2ctx.py Format code 2023-09-19 22:25:08 +00: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 Update mapfile-parser and re-add weapon support (#476) 2023-08-16 01:12:30 +01:00
requirements-debian.txt Dockerless Saturn build (#266) 2023-06-19 20:10:09 +01:00
requirements-python.txt Update external tools (#764) 2023-11-19 13:44:44 +00:00
richter_symbols.py Format code 2023-07-25 17:38:30 +00:00
sotn-str.py Fix source code line numbers (#708) 2023-10-28 09:08:12 -07: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 TT_000 func_801733D4 (#789) 2023-11-18 18:40:14 -08:00
tools.mk Add tool to automatically perform symbols cross referencing (#413) 2023-07-31 12:14:57 -07:00
update.h Rename two global timers (#624) 2023-09-22 23:42:06 +01:00