Commit Graph

57 Commits

Author SHA1 Message Date
4d6f6e8adc Fixed mkpack not padding each entry to word size.
Fixed checksums of language pack files not being included.
2023-10-08 20:49:00 +01:00
f4a80fa8ce Simplified implementation of LangFile::encode.
`ddw3_lang_file::String` now has an `iter` method.
Added `Codepoint::len`.
2023-10-08 20:42:58 +01:00
2887675437 Started unwrapping all map files. 2023-10-07 16:07:37 +01:00
04d7564e5a Added TODO note for tim image encoding. 2023-09-27 13:24:29 +01:00
32d0a36428 mktim now buffers the output file. 2023-09-25 19:46:02 +01:00
4228839e8b Renamed clut config User to Include.
Simplified implementation of `mktim`.

Notably however, `Auto` is still not implemented. However now it has an explicit error message.
2023-09-25 19:34:06 +01:00
97c58bd17f Arguments are now logged at the debug level. 2023-09-25 19:05:32 +01:00
a0fd19d18d Fixed R5G5B6A -> R5G5B5A1. 2023-09-25 19:02:55 +01:00
412ccfb298 mktim now allows the clut to span several rows. 2023-09-25 18:58:52 +01:00
c51cef935a Removed \[\\x(..){1,3}\] syntax for lang files in favor of \\x...
This also makes `\` need escaping, although the character never appears in the lang files.
2023-09-25 13:56:43 +01:00
11529ca363 Fixed panic when first entry was 0 in ddw3-unpack. 2023-09-05 05:51:01 +01:00
e99b091989 Replaced extended lang files with packs. 2023-09-03 22:31:28 +01:00
d0c45534c4 unpack now creates the yaml file directory if it doesn't exist. 2023-09-03 21:48:10 +01:00
da3935ed91 Renamed sprite tools to pack. 2023-09-03 09:36:58 +01:00
23821688f8 Fixed possible overflowing subtraction in ddw3-unsprite. 2023-09-03 09:31:02 +01:00
d0039da4a8 Extracted image files files from sprites. 2023-09-03 08:22:33 +01:00
357a278e67 Added ddw3_util::resolve_input_path. 2023-09-03 07:46:11 +01:00
94f676559e Extracted sprite files from dw2003/AAA/DAT/FIELD/SPRT. 2023-09-03 07:20:20 +01:00
4976936030 Fixed process_path using path twice. 2023-09-03 07:14:49 +01:00
4816360cc3 Fixed hyphens in lang files.
'-' was actually 'ー', while '[-4]' was '-'.
2023-08-30 16:10:10 +01:00
4c89c8492d Organized and updated all rust dependencies of tools. 2023-08-29 17:32:04 +01:00
e319905491 Added ddw3-{un, mk}lang-file for extracting and creating language files. 2023-08-29 16:51:16 +01:00
bbd1e25b95 Replaced mkpsexe_from_yaml with tools/process_path.py. 2023-08-23 15:44:13 +01:00
e330fa6c32 Replaced mkraw_exe_from_yaml with tools/process_path.py. 2023-08-23 14:45:54 +01:00
35a144bb83 Added tool, process_path.py for processing a path. 2023-08-23 14:45:39 +01:00
5a052ce266 Replaced ddw3-mkraw_exe with objcopy 2023-08-23 12:49:07 +01:00
88fa908071 Added script to disassemble and setup all raw executables. 2023-08-22 14:13:16 +01:00
6e9b7203f8 Updated python setup to use autopep8 and pylint. 2023-08-22 09:01:47 +01:00
091e169d02 Simplified .gitignore. 2023-08-22 08:59:41 +01:00
930b343783 Updated to rustc 1.73.0-nightly (399b06823 2023-07-20). 2023-08-22 08:04:59 +01:00
2a62611ce0 generate_compare_deps.py now has a command-line interface. 2023-07-10 11:10:40 +01:00
66fa2b2993 compare rule now has an output, to avoid zbuild compare --watch rebuilding it so much. 2023-07-10 10:59:21 +01:00
17640c3c04 Made python tools non-executable.
This enforces needing to call them explicitly with the interpreter.
2023-06-18 19:00:24 +01:00
3d3b490d14 Updated all rust dependencies of tools. 2023-06-18 18:43:12 +01:00
6445eedbbe Moved all rust dependencies to workspace. 2023-06-18 18:40:15 +01:00
c8bb2285ad Updated to rustc 1.72.0-nightly (871b59520 2023-05-31). 2023-06-18 18:25:59 +01:00
327774e674 Added --resize_text to mkpsexe. 2023-02-10 21:54:14 +00:00
23783e681e Fixed ddw3-mkpsexe not padding file properly when misaligned. 2023-02-05 06:52:09 +00:00
e47b2e8639 Split STFGTREP's data into it's own crate.
Elf building now requires the start address.
Rust libraries now also extract to an object file ("temporarily" to fix a linker bug).
2023-02-01 02:54:16 +00:00
c4082d552c ld_from_yaml now supports linking against other elfs. 2023-01-31 21:36:08 +00:00
cf4f03b600 Upgraded all dependencies in tools/. 2023-01-27 18:48:52 +00:00
60a73540a8 Updated to rustc 1.69.0-nightly (c18a5e8a5 2023-01-25). 2023-01-27 18:46:16 +00:00
4543d659b2 Some dw2003/AAA/PRO/ files can now be built from assembly. 2022-12-05 11:02:59 +00:00
9a82fb5900 Extracted f5.
Added `generate_addr_labels` script.
Renamed `D0x80041a3c` to`D0x80041844` correctly.
Fixed zbuild `clean` script.
2022-11-18 20:01:51 +00:00
89412e90b7 Now using rustc's bultin mipsel-sony-psx target. 2022-11-07 18:14:22 +00:00
eda5901341 Updated to rustc 1.67.0-nightly (215e3cd21 2022-11-03). 2022-11-07 17:29:12 +00:00
9b89611882 Restructured elf and psexe building
Moved assembly to `asm/` and mips rust to `rust/`.
2022-10-29 07:22:58 +01:00
0d7b4dc4cc ddw3_psexe::Header now properly formats fields on debugging 2022-10-25 19:13:43 +01:00
ace335443a Upgraded all tool dependencies. 2022-10-25 19:10:01 +01:00
ba50e773a2 BytesReadExt and BytesWriteExt now use the Try trait. 2022-10-25 19:08:46 +01:00