38427e80d3
Added compatibility mode to mkrlen.
...
Fixed null terminator not being written by `mkrlen`.
The compatibility mode is necessary because many rlens are formatted weirdly, and I couldn't find any algorithm to follow that would result in their format.
Also only figured out it has a null terminator because without it there's a map part that's a multiple of `0x800` and it was missing a sector.
2023-10-11 19:01:07 +01:00
311efdf4ca
Added tools to extract and create rlen encoded files.
2023-10-11 11:35:26 +01:00
e57db69b6c
Fixed ddw3-mkmap not correctly rounding the entry step and sizes.
...
This didn't matter currently, as all the inputs are rounded, but once we start creating the inputs, they won't be rounded anymore.
2023-10-11 11:32:42 +01:00
2fc6cdcf9f
Converted all hex values in digimon profiles to decimal.
2023-10-08 23:08:11 +01:00
bd3546e5c3
Found some more fields in digimon profiles.
...
Thanks to @markisha64.
2023-10-08 23:07:05 +01:00
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
86b038bcbe
Added some more project statuses to readme.
2023-10-05 22:13:18 +01:00
d100ae9e42
Fixed some typos and wrong links in documentation.
2023-10-05 20:46:49 +01:00
c6f77d0881
Added some extra documentation for the project.
2023-10-05 20:43:40 +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
094fe0a10b
Started extracting f11.
2023-09-20 13:50:35 +01:00
7c1e0c36d3
Improved formatting in executable data.
2023-09-20 13:33:44 +01:00
11529ca363
Fixed panic when first entry was 0 in ddw3-unpack.
2023-09-05 05:51:01 +01:00
756d10b369
Removed DAT/CARD/CARDDATA.BIN
...
It is now built, but the file was still there.
2023-09-04 05:55:47 +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
d13119e1ea
Sorted checksums by path.
2023-09-03 10:17:07 +01:00
fcb8a84502
Extracted DAT/CARD/CARDDATA.BIN.
2023-09-03 10:16:50 +01:00
4dec68f7ab
Changed most directories to lowercase.
...
This excludes dw3/ and dw2003/ since they're meant to be the "remaining" files that we have yet to unpack.
Given this they'll keep their original name until they find their place elsewhere.
2023-09-03 10:02:29 +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
d072223e60
Moved build/sprite/dw2003/field to build/sprite/dw2003/field/sprite.
...
This is to be able to rename the top-level "sprite", since it actually seems the file structure is used for more than just sprites.
2023-09-03 08:30:43 +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
00ccfedea1
Sorted checksums by path
2023-09-03 07:01:13 +01:00
e7064c010b
Extracted STGTRAIN_f2 through STGTRAIN_f10.
2023-08-30 17:27:59 +01:00
b7038057e8
Extracted STGTRAIN_f1.
2023-08-30 16:53:27 +01:00
bc5c2438ab
Extracted STGTRAIN_data
2023-08-30 16:42:06 +01:00
d0ab97ead6
Fixed data name in SFTGTREP.
2023-08-30 16:41:16 +01:00
fbbda7e67d
Extracted STGTRAIN_f0
2023-08-30 16:34:46 +01:00
54e4c9cff7
Fixed STFGTREP being reverted.
...
It was reverted when all the other program files were disassembled.
2023-08-30 16:22:36 +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
78629f7ee5
Language files are now built.
...
Except for 3 that don't conform to the spec. They're from an unreleased translation (USA), so it's a leftover file.
2023-08-29 17:15:04 +01:00
e319905491
Added ddw3-{un, mk}lang-file for extracting and creating language files.
2023-08-29 16:51:16 +01:00
470300788d
Fixed dw2003 iso having the wrong path to raw exes.
2023-08-23 21:07:24 +01:00
7b77de593d
Removed temporary script.
2023-08-23 18:52:40 +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