336 Commits

Author SHA1 Message Date
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
d7e835a08d
Fixes dw2003 FMVs not containing audio. 2024-08-11 19:51:38 +01:00
dcef33cc61
Updated mkpsxiso version.
We don't use anything new, just needed features from `dumpsxiso 2.04`, and upgraded to latest.
2024-08-11 17:12:16 +01:00
9880e9f3db
Started work on a basic mips simulator. 2024-08-11 16:41:34 +01:00
4b734d051d
Split a function related to the lba list into it's own file. 2024-08-11 00:45:36 +01:00
e7223e9257
Started work on figuring out functions related to LBA_LIST. 2024-08-10 21:58:18 +01:00
8e10d60147
All LBAs are now in a single array. 2024-08-10 21:06:34 +01:00
f5dc249687
Found out where the executable stores the iso lbas.
Executable now includes actual calculated `lba`s.

We bootstrap an iso with fake `lba`s, then create the actual iso with the real `lba`s from the bootstrapped iso.
2024-08-10 20:02:47 +01:00
703feeb6e9
Final iso now builds a .c file with the lbas. 2024-08-10 18:14:26 +01:00
b66c8f09b4
Added all raw exe names to word spell. 2024-08-10 18:08:47 +01:00
56996ad052
Fixed smdldata's wrong code range. 2024-08-10 17:24:25 +01:00
44ffe3b8bc
Fixed shocktst's wrong code range. 2024-08-10 17:23:59 +01:00
a01471285b
Replaced some absolute addresses with symbols. 2024-08-10 16:57:23 +01:00
0ef2e29d03
Replaced find-bytes implementation with "simd"-ish impl. 2024-08-10 02:24:42 +01:00
c16224d7c6
Reworked find-bytes to be able to have multiple haystacks and needles, as well as configuration per-haystack and per-needle. 2024-08-10 01:05:05 +01:00
88f2673c6d
Paths in find-bytes are no longer displayed using their debug representation. 2024-08-08 01:40:30 +01:00
91b1fe64b8
Fixed wfightts's wrong code range. 2024-08-08 01:40:10 +01:00
8394dd5862
Fixed stdwtitl's wrong code range. 2024-08-08 01:25:40 +01:00
9a03da965b
Replaced find_ram_dump_raw_exe bash script with python. 2024-08-07 20:23:21 +01:00
eb3fc14973
Added input slicing options for find-bytes. 2024-08-07 20:08:21 +01:00
e7677778de
Added fuzzy searching and multithreading to find-bytes. 2024-08-07 20:05:17 +01:00
ba2cf1d8a0
Added helper tool to find bytes in file.
Added helper tool to find all raw exes within a memory dump.
2024-08-06 19:44:47 +01:00
da2c5b93e6
Started figuring out f15. 2024-08-05 17:32:13 +01:00
75432910f1
Extracted f15. 2024-08-05 17:10:16 +01:00
ce33173405
Replaced some absolute addresses with symbols. 2024-08-05 15:35:06 +01:00
6af67322c5
Re-formatted all files. 2024-08-05 14:23:32 +01:00
8bad61869a
Renamed pro_*_data crates to just pro_*. 2024-08-05 14:23:04 +01:00
c3a3bae6fc
Removed need to extract object files from rust staticlibs.
Using `--whole-archive` works for all dependencies with just 1 `staticlib`.
`exe` had 2 `staticlib`s, so we make them normal libraries and combine them in one single `staticlib`.
2024-08-05 14:17:17 +01:00
5302a72052
Removed rust/Cargo.toml from linked projects. 2024-08-04 16:52:45 +01:00
ee06c4b1af
Added helper tool to replace bytes in file.
Added helper tool to replace all addresses with symbols in assembly.
2024-08-04 16:51:58 +01:00
d5deac732d
Found new functions in the exe. 2024-08-03 23:02:27 +01:00
86e9f14cb5
Found new functions in the exe. 2024-08-03 22:40:08 +01:00
2ee154b75d
Removed instruction comments from data section in FIGHTSTG. 2024-08-03 22:39:47 +01:00
c1e36c761f
Found a new function in the exe. 2024-08-03 22:32:36 +01:00
30d667c850
Changed most absolute jumps to labels in FIGHTSTG. 2024-08-03 22:31:53 +01:00
06054767f3
Extracted most functions from FIGHTSTG. 2024-08-03 22:23:21 +01:00