371 Commits

Author SHA1 Message Date
61535731b1
Every static now has a section for itself
Every section now has it's address.

Unfortunately, something I updated caused the symbols within a single section to be re-ordered from declaration order, so now we need to define the order of each static.
In the future, these addresses will be moved out of the code and into some toml, which will pre-process all object files to create the required sections.
2025-08-27 02:25:27 +01:00
69ac372a45
lib_from_toml now finds the .text table instead of iterating over all to find it. 2025-08-27 02:04:24 +01:00
5243658c9f
Updated to rustc 1.91.0-nightly (54c581243 2025-08-25). 2025-08-26 22:33:35 +01:00
2059e828ba
Updated to zbuild 0.1.10. 2025-08-15 03:36:24 +01:00
3c25060671
Fixed python venv being rebuilt each run. 2025-08-15 03:35:56 +01:00
663885c1fe
Updated to MKPSXISO 2.10. 2025-08-15 03:35:44 +01:00
2bc8a3f4f0
Updated to rustc 1.91.0-nightly (8e62bfd31 2025-08-12).
Updated all crates to edition 2024.
2025-08-15 03:35:25 +01:00
d57ef0e948
Fixed zbuild clean using a wrong variable. 2025-03-24 15:37:42 +00:00
70ed0bb5a7
Updated rustc to rustc 1.86.0-nightly (99768c80a 2025-01-23). 2025-03-05 12:55:03 +00:00
b436f816a7
Updated zbuild to development version. 2025-03-05 12:54:45 +00:00
4907f6b28a
Digimon profiles are now created from a toml file. 2024-09-27 20:00:50 +01:00
88bbdca460
Moved rust panic handler into it's own crate. 2024-09-27 19:47:23 +01:00
761b4a3a6a
Added mktim-deps for tim dependencies.
Currently, we didn't depend on the image itself, only on the (optional) clut.
2024-09-04 15:47:45 +01:00
7ec665c407
Added script to extract tims. 2024-09-04 15:35:32 +01:00
92fdd3f719
untim now supports overriding the bpp and clut. 2024-09-04 15:35:24 +01:00
d521197089
Added Display and FromStr impl for Bpp. 2024-09-04 15:28:46 +01:00
716c8603fc
Unpacked all remaining files in pack/dw2003/card/carddata/. 2024-09-03 23:34:33 +01:00
1e35b81b0f
Formatted all files. 2024-09-03 20:17:15 +01:00
b9fb3e75af
Un-rlen'd and extracted images from pack/dw2003/nameent/{stdgnmtm, stnmettm}/. 2024-09-03 19:59:06 +01:00
313443bd48
Unpacked all files in pack/dw2003/nameent/. 2024-09-03 19:32:06 +01:00
ed3100f609
Unpacked all files in dw2003/AAA/DAT/NAMEENT/. 2024-09-03 19:26:04 +01:00
212fd99b65
unpack now creates a better named output file. 2024-09-03 19:24:14 +01:00
812fae9fee
Unpacked pack/dw2003/country/cntselwn/0.bin. 2024-09-03 17:47:45 +01:00
833eae05f0
Un-rlen'd and extracted images from pack/dw2003/country/cmfonttm/0/{0, 1}.bin.
Added missing checksum for `build/tim/dw2003/country/cntselwn/1/0.tim`.
2024-09-03 16:07:15 +01:00
3be8855f4a
Removed file that is now built. 2024-09-03 15:49:38 +01:00
c6304a4053
Unpacked pack/dw2003/country/cmfonttm/0.bin. 2024-09-03 15:47:29 +01:00
438cfcf071
Unpacked dw2003/AAA/DAT/COUNTRY/CMFONTTM.BIN. 2024-09-03 15:45:51 +01:00
adbe9140b9
Fixed panic in lang-file parsing. 2024-09-03 15:24:46 +01:00
0d0bb2b867
Unpacked pack/dw2003/country/cmfontcs/0.bin. 2024-09-03 15:21:43 +01:00
a9be8a4871
Unpacked dw2003/AAA/DAT/COUNTRY/CMFONTCS.BIN. 2024-09-03 13:07:46 +01:00
aa8a9ea645
Extracted image from rlen/dw2003/country/cntselwn/1/0.bin. 2024-09-02 15:20:46 +01:00
3c5cb5fa61
Un-rlen'd pack/dw2003/country/cntselwn/1/0.bin. 2024-09-02 15:11:38 +01:00
c12fbde1f0
Unpacked pack/dw2003/country/cntselwn/1.bin. 2024-09-02 13:58:58 +01:00
b38538ed2c
Added script to help with unpacking files. 2024-09-02 13:56:16 +01:00
ab43a86367
Unpacked dw2003/AAA/DAT/COUNTRY/CNTSELWN.BIN. 2024-09-02 13:25:01 +01:00
6dbb16b1e0
Updated to zbuild 0.1.9. 2024-09-02 13:13:08 +01:00
ad9dc47790
Extracted some images. 2024-08-18 23:48:56 +01:00
8a22c00b26
Reworked auto-compatibility of mkrlen to allow for more possibilities. 2024-08-18 23:13:03 +01:00
15a5b676ee
Unpacked some packed files. 2024-08-18 22:38:35 +01:00
f967ae13ee
Replaced old cargo --out-dir flag with --artifact-dir. 2024-08-18 22:25:06 +01:00
e414908300
Removed unnecessary lba order. 2024-08-18 22:25:04 +01:00
d9984e3796
Removed resize_text option for mkpspexe. 2024-08-18 22:24:56 +01:00
be725b7049
Formatted all files. 2024-08-16 10:12:23 +01:00
70bf9b6acc
Replaced relocation-based LBAs with symbol-replacement during lib phase.
Upgraded minimum `zbuild` version to `0.1.8`.
2024-08-16 04:03:04 +01:00
71fff13982
Fixed rust/.cargo/config.toml being an output file instead of dependency. 2024-08-15 05:36:30 +01:00
9bbe8f250a
Lba sizes are now also automatically gathered.
- Unfortunately, the lba size table has 16-bit entries, which we cannot emit from rust currently.

- Fortunately, there are an even number of entries, so we can simply join two entries in a single normal pointer relocation.

- Unfortunately, this requires us to specify an order for the lbas, instead of just being able to dump them all and figuring out the order in rust.

- Fortunately: It works.
2024-08-14 06:30:33 +01:00
7a7b8aaf4a
Added -Ztrap-unreachable=no to rust builds.
Rust builds now depend on `.cargo/config.toml`.
2024-08-14 05:06:22 +01:00
75e6688dc7
Separated lba data into it's own crate. 2024-08-12 15:34:45 +01:00
2053f8efd3
Added empty directory source to all iso directories to silence warnings generated by mkpsxiso. 2024-08-11 20:07:34 +01:00
6accb3c2b5
Removed digimon world 3 from the repository.
Once we're mostly done with dw2003, we'll bring it back and attempt to share most of the frameworks build for dw2003.
2024-08-11 19:56:34 +01:00