Commit Graph

17 Commits

Author SHA1 Message Date
987123879113 7983f56dc6 Add preliminary PS1 DDR support 2021-10-01 15:58:28 +09:00
root670 318cbd1e92 Clarify documentation. Wrap to 80 characters. 2020-05-17 10:08:00 -07:00
Wesley Castro 14eb764938
Merge pull request #3 from root670/fix-windows-compile
Fix compiling on Windows
2020-05-17 09:54:21 -07:00
root670 5151385681 Update libpngquant to v2.12.5. 2020-05-17 09:53:02 -07:00
root670 ad2a19897f Remove unused include. 2020-05-17 09:52:27 -07:00
Wesley Castro 1c59e7c7cd Convert tabs to spaces. 2018-08-12 18:23:38 -07:00
Wesley Castro 9d84d76855 Gracefully exit. 2018-08-12 18:21:37 -07:00
Wesley Castro 1899debbd0 Update README.md 2018-08-12 18:17:22 -07:00
Wesley Castro 1bcf922dd5 Update README.md 2018-08-12 18:15:46 -07:00
Wesley Castro 72bbac6cce Convert tabs to spaces 2018-08-12 18:01:06 -07:00
Wesley Castro f6e34bb9aa Move files 2018-08-12 17:59:57 -07:00
Wesley Castro 980a2a9966 Add filedata-tool.py for extracting and creating filedata.bin files.
When extracting a filedata.bin file, all files referenced in the file table located in the game's ELF will be extracted in additon to "hidden" data missing from the file table. A CSV file will be created with IDs, offsets, and lengths found in the game's ELF, hidden file offsets and lengths, the exported filename, and a guessed description of the file contents to aid in modification.

When creating a filedata.bin file, the CSV created by the extraction mode is used to assemble a new filedata.bin file. The file table in the game's ELF is updated to reflect any changes in filesizes.

Tips:
* Don't modify the ids, offsets, or lengths in the CSV file created by the extraction mode. The filenames can be changed if desired.
* New entries cannot be added to the filetable, although this wouldn't be useful anyway. Instead, existing entries must be modified.
2018-08-12 17:54:29 -07:00
Wesley Castro 50b4afd692 Cleanup tcb-extract a bit. 2018-08-12 17:29:39 -07:00
Wesley Castro 6dfda31f25 Fix TCB injection not working. It was assembling the data correctly, but never wrote the contents back to the file! 2018-08-12 17:29:03 -07:00
Wesley Castro 7e7aec1095 Update tcb-convert with new information about the header format. Turns out it's just a modified TIM2 header! 2018-08-11 17:52:33 -07:00
Wesley Castro 6475db22e9 Fix incorrect extraction of 4bpp images with 256-color palettes. 2018-08-06 16:40:44 -07:00
Wesley Castro 2aa49c5797 First commit. 2018-08-05 14:57:51 -07:00