Commit Graph

350 Commits

Author SHA1 Message Date
Léo Lam 7b813bdddf
ksys/res: Add RagdollConfigList header 2020-11-14 12:13:39 +01:00
Léo Lam 272926a797
ksys/res: Add AttClientList header 2020-11-14 00:24:58 +01:00
Léo Lam c639c70c5b
ksys/res: Add ASList header 2020-11-13 20:19:27 +01:00
Léo Lam 4c18e03834
ksys/res: Add UMii 2020-11-13 19:03:47 +01:00
Léo Lam c3d665f1c1
ksys/res: Add ModelList (incomplete) 2020-11-13 16:36:40 +01:00
Léo Lam 13d1f0d0be
ksys/res: Add TempResourceLoader 2020-11-12 12:38:47 +01:00
Léo Lam 2f80f2b581
ksys/res: Add ArchiveWork
Required for TempResourceLoader, which is used by ActorParamMgr among
other things
2020-11-12 00:12:56 +01:00
Léo Lam 2abce16984
ksys/act: Implement more ActorParamMgr functions 2020-11-11 19:17:31 +01:00
Léo Lam 68c9ffeede
tools: Add support for data symbol checking for GOT entries 2020-11-11 17:31:52 +01:00
Léo Lam b53135a885
tools/check: Improve error reporting 2020-11-11 17:00:25 +01:00
Léo Lam 96a8bb104e
tools: Read entire ELF ahead of time to reduce seek/read overhead 2020-11-11 13:54:01 +01:00
Léo Lam 27afd0aa6a
ksys/gdt: Implement Manager increase functions 2020-11-11 12:35:59 +01:00
Léo Lam e0a8e69d8b
Add decompiled GameData functions to CSV 2020-11-11 02:07:57 +01:00
Léo Lam fc4536b0d3
ksys/gdt: Add reset wrappers to Manager and CommonFlags 2020-11-11 02:04:17 +01:00
Léo Lam b4178ad2b9
tools/check: Only print mismatch details if they exist 2020-11-11 00:58:58 +01:00
Léo Lam 2cb268dcab
data: Add missing functions 2020-11-11 00:34:04 +01:00
Léo Lam d2eab6d2a4
tools: Add IDA script to get rid of function tails 2020-11-11 00:30:24 +01:00
Léo Lam acda8ab02c
ksys/gdt: Fix typo 2020-11-10 23:11:13 +01:00
Léo Lam f2bce04e0c
Fixup 93b1b17 2020-11-10 22:01:36 +01:00
Léo Lam 93b1b17979
Fix matching errors 2020-11-10 21:52:48 +01:00
Léo Lam 7e7a76f926
tools: Print mismatch cause
Makes it easier to identify what's wrong.
2020-11-10 21:35:58 +01:00
Léo Lam dc9b346d7e
tools: Add function call checking 2020-11-10 21:25:45 +01:00
Léo Lam a3abb115b9
ksys/res: Fix missing destructor for Resource 2020-11-10 21:25:45 +01:00
Léo Lam 0a16b78855
data: Add functions that were missed because of IDA's function tail system 2020-11-10 18:48:52 +01:00
Léo Lam 24ef7add9b
data: Add several gdt functions that were missed 2020-11-10 18:36:52 +01:00
Léo Lam 8fd9863e1a
ksys/gdt: Fix "no check, force" setters for vector flags
And add the other setters to the CSV.
2020-11-10 17:51:41 +01:00
Léo Lam 9b516acad0
cmake: Pass -B argument for linking, not for compiling 2020-11-10 16:44:36 +01:00
Léo Lam fdfc9fd4d0
lib: Update sead to fix TypedLongBitFlag matching issues 2020-11-10 15:49:56 +01:00
Léo Lam 42c9511b11
tools: Update asm-differ 2020-11-10 15:49:55 +01:00
Léo Lam b3b1eef99d
lib: Update sead to fix LongBitFlags 2020-11-10 02:29:34 +01:00
Léo Lam 29bfe9fdba
lib: Update sead again 2020-11-10 02:09:27 +01:00
Léo Lam 7dea1dd379
lib: Update sead 2020-11-10 02:02:35 +01:00
Léo Lam 9b8ef52e05
Add most GameData CommonFlags functions to CSV 2020-11-10 00:39:54 +01:00
Léo Lam ce5ff17666
tools: Add script to automatically identify matches
Given a list L of functions to identify and a small list of
candidates C, this tool will attempt to automatically identify matches
by checking each function in L against each function in C.

Very slow, but this should work well enough for small lists.
2020-11-09 23:46:57 +01:00
Léo Lam 844db4220c
tools: Do not use a global capstone disassembler instance
Instead, use one instance per function checker.
2020-11-09 21:23:23 +01:00
Léo Lam 5d09d99b1b
tools: Deduplicate code 2020-11-09 19:16:37 +01:00
Léo Lam d5bdc23ef5
ksys/gdt: Fix array getters/setters being generated incorrectly
They were treated as non-array flags.
2020-11-09 17:30:51 +01:00
Léo Lam aee089b720
ksys/gdt: Fix Manager setter wrappers for string types 2020-11-09 16:45:29 +01:00
Léo Lam 607389e86e
ksys/gdt: Fix several issues in the gdtCommonFlags generation script 2020-11-09 16:35:35 +01:00
Léo Lam 441b98a31e
ksys/gdt: Add getFlagGenericBool/S32 2020-11-09 16:22:59 +01:00
Léo Lam f2927c1de8
ksys/gdt: Do not inline gdtCommonFlagsUtils functions 2020-11-09 16:02:22 +01:00
Léo Lam 79ad7f328d
ksys/gdt: Add commonFlagsUtils
This is separate from gdtCommonFlags.h to avoid having a header with
over 10 thousand lines...
2020-11-09 15:43:26 +01:00
Léo Lam f242ce69ee
ksys/gdt: Add more flag utilities 2020-11-09 15:40:30 +01:00
Léo Lam b28ba7b3ad
ksys/act: Add Actor::getMaxLife and fix encapsulation 2020-11-08 23:04:14 +01:00
Léo Lam cb5976d8ae
Add ActorCapture factory to CSV 2020-11-08 22:56:55 +01:00
Léo Lam 3b36b3af2b
ksys/res: Fix EntryFactory<T>::newResource_ return type
Having a covariant return type that isn't sead::DirectResource* will
cause an extra nullptr check to be emitted
2020-11-08 22:55:24 +01:00
Léo Lam 9749f30484
ksys/res: Fix ActorCapture vtable 2020-11-08 22:45:24 +01:00
Léo Lam ecec485d55
ksys: Add remaining ActorCapture functions to CSV 2020-11-08 22:45:24 +01:00
Léo Lam d87343fd8d
tools: Add a script to print vtables 2020-11-08 22:45:23 +01:00
Léo Lam 7d2ef1d6b2
ksys/act: Start adding ActorCaptureMgr 2020-11-08 22:26:54 +01:00