111 Commits

Author SHA1 Message Date
rjkiv 46a84b1cc5 update cargo.toml 2026-02-21 20:43:53 -07:00
rjkiv c1b1d95167 Remove a LOT of GC/Wii specific stuff (#19)
* remove a LOT of dol stuff

* remove disc and shasum args

* nuke more gc/wii stuff

* nuke more

* nuke harder

* more nukes
2026-02-13 19:53:16 -07:00
rjkiv 97bea7d91d big green checkmark make me happy (#18)
* formats and warning fixes

* use nightly in rustrover

* some more checks cleanup

* fix lifetime checks

* apply clippy's suggestions

* reformat again (thanks a lot clippy)

* is clippy happy now?

* ignore unmaintained hopefully

* i hate rust, rust sucks
2026-02-13 15:24:02 -07:00
jsenior10 fe80ef32f9 compressed stuff 2026-02-12 22:50:21 +00:00
ieee 802.11ac 034c5ae741 pdb init (print sections/offsets) 2026-01-24 20:02:10 -08:00
rjkiv be781deb4b remove more unused gc/wii cmds 2025-07-29 15:01:49 -07:00
rjkiv 45b0f47b3d begin removing unused files 2025-07-27 19:41:36 -07:00
rjkiv 988cbfd1f2 use specific version of objdiff-core 2025-07-25 20:20:26 -07:00
rjkiv b33ae5e262 use newer powerpc crate 2025-07-07 16:17:20 -07:00
rjkiv c8439d1fb3 remove thiserror dependency 2025-07-03 16:02:48 -07:00
rjkiv 7d3ff61790 info work 2025-07-02 19:21:14 -07:00
rjkiv df43ade4f3 begin work on extracting exe from xex 2025-06-30 21:59:56 -07:00
rjkiv b3b4c52a2d add skeleton for a few rldic cases 2025-06-22 19:32:56 -07:00
rjkiv 6c67f538be actually use the extra xbox insts 2025-06-22 15:30:12 -07:00
rjkiv ac3e3e3c3d attempt to add xbox fork of ppc750cl 2025-06-22 13:33:38 -07:00
Luke Street 8620099731 Version v1.6.2 2025-06-09 22:45:48 -06:00
Luke Street f4a67ee619 Version v1.6.1 2025-06-04 22:04:30 -06:00
Luke Street 9cafb77d3f Add dtk extab clean & config.yml clean_extab
It was discovered that certain extab actions contain
uninitalized data from the compiler. This provides
a way to zero out uninitialized data in DOL or object
files. Usage: `dtk extab clean input.dol output.dol`

A `clean_extab` setting was added to config.yml, so
projects can link the cleaned objects and target the
cleaned DOL hash.
2025-06-01 20:23:07 -06:00
Luke Street 9c681557f5 Write ldscript_template path to ouput depfile 2025-05-30 19:18:46 -06:00
Luke Street 5505120148 Fix padding symbols on REL section boundaries
Regression introduced in 6819a8b
2025-05-11 22:15:02 -06:00
Luke Street c1cbdd56d1 Version v1.5.0 2025-05-07 23:01:09 -06:00
Rainchus 18987ed330 add shiftjis as possible data type for symbols (#95)
* add shiftjis as possible data type for symbols

* usage of anyhow:bail! -> bail!

* revise output of sjis strings

* rename shiftjis internally, symbols now uses sjis instead of shiftjis

* remove sjis decoding error check as the output is a comment

* run cargo fmt
2025-04-16 23:59:21 -06:00
Luke Street bb18a4b253 Auto-split and padding symbol fixes
A few issues were causing linker errors:
- Auto-splits could contain symbols that have a
higher alignment than the split itself. Detect
this and create a new auto-split at these symbols.
- The analyzer can miss objects in between other
objects if there are no direct relocations to them.
In these cases, non-zero data could just get totally
lost. Detect and create symbols for these.
2025-02-04 23:45:07 -07:00
Luke Street 7e15810af1 Version 1.4.0 2025-01-27 19:37:48 -07:00
Luke Street 6c3887c7e6 Improve split cyclic dependency errors
When a link order is unresolvable, decomp-toolkit
now prints out all of the TUs in a cycle, easing
debugging.

Example:
```
Cyclic dependency encountered while resolving link order: Dolphin/os/__start.c -> Dolphin/os/__ppc_eabi_init.cpp -> Dolphin/pad/PadClamp.c -> Dolphin/pad/pad.c
```

Thanks @simonlindholm for the toposort impl.
2025-01-27 18:06:25 -07:00