Commit Graph

239 Commits

Author SHA1 Message Date
Léo Lam bfbe2db425
ksys/act: Implement ActorUtil placement functions 2020-12-02 23:11:51 +01:00
Léo Lam fc55c87f12
ksys/act: Implement ActorUtil "has tag" functions 2020-12-02 19:23:05 +01:00
Léo Lam 3559c31bc9
ksys/act: Don't use Tag as argument as it causes matching diffs
And fairly stupid diffs for that matter, like an additional mov w1, w1
instruction that shouldn't exist
2020-12-02 18:52:44 +01:00
Léo Lam 581b3ef144
ksys/act: Add ActorUtil header (and one function implementation) 2020-12-02 18:34:18 +01:00
theo3 2c47c801f6 partially implement ecosystem 2020-11-24 17:39:53 -08:00
Léo Lam 82eb75a449
Merge pull request #18 from h1k421/feature/nvn-loadcprocs
Add nvnLoadCProcs mapping to uking_functions.csv
2020-11-24 00:30:39 +01:00
Hikari df139c9ee1 Add nvnLoadCProcs mapping to uking_functions.csv
This is linked to https://github.com/open-ead/nnheaders/pull/1
2020-11-23 23:38:13 +01:00
Léo Lam 57de412dcb
Merge pull request #17 from h1k421/feature/nvn-pfnc
Map all NVN function pointers in data_symbols.csv
2020-11-22 20:32:59 +01:00
Hikari 0b15cf04d0 Map all NVN function pointers in data_symbols.csv 2020-11-22 18:13:17 +01:00
Léo Lam 622104fbd2
ksys/act: Add more InfoData functions 2020-11-22 15:36:18 +01:00
Hikari 7c893fa3d6 expheap: Add :allocFromHead_(unsigned long), isEmpty, isFreeable, isResizable and isAdjustable mappings
As title said.

Related to https://github.com/open-ead/sead/pull/80.
2020-11-21 23:15:35 +01:00
Léo Lam 88620ca9af
ksys/act: Add several more InfoData functions 2020-11-17 02:26:55 +01:00
notyourav d4f80d7cf9
Merge branch 'master' into placement 2020-11-16 15:49:02 -08:00
theo3 8205744abc implement map::Object getters 2020-11-16 15:48:20 -08:00
Léo Lam b0498a15bf
ksys/act: Fix one matching issue 2020-11-16 20:44:20 +01:00
Léo Lam 1cbf7fae43
ksys/act: Start adding ActorInfoData 2020-11-16 02:31:22 +01:00
Léo Lam f6379c323b
data: Add missing functions 2020-11-15 22:05:40 +01:00
Léo Lam 3dbd022014
ksys/act: Implement async ActorParamMgr functions 2020-11-15 15:17:16 +01:00
Léo Lam ffe38d0076
ksys/act: Implement more ActorParamMgr functions 2020-11-14 21:06:08 +01:00
Léo Lam aa636bd44a
ksys/res: Add AttClient header 2020-11-14 14:36:40 +01:00
Wildex999 56f9c3ac0c ksys/utils/byaml: First iteration of implementation.
4 Functions are still not fully matching with their inlined functions,
and at least one function is still missing.
2020-11-14 13:07:07 +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 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 2cb268dcab
data: Add missing functions 2020-11-11 00:34:04 +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 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 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 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 cb5976d8ae
Add ActorCapture factory to CSV 2020-11-08 22:56:55 +01:00
Léo Lam ecec485d55
ksys: Add remaining ActorCapture functions to CSV 2020-11-08 22:45:24 +01:00
Léo Lam 7d2ef1d6b2
ksys/act: Start adding ActorCaptureMgr 2020-11-08 22:26:54 +01:00
Léo Lam f7e6cce7a9
ksys/act: Implement final non-dev-only ActorParam function 2020-11-08 18:28:43 +01:00
Léo Lam f128251414
ksys/act: Add ActorTemplate 2020-11-08 18:16:55 +01:00
Léo Lam a9ec880f2e
ksys/act: Fix ActorParamMgr struct and add ASSetting stub 2020-11-08 16:17:44 +01:00
Léo Lam aa92bf882c
ksys/act: Implement more ActorParam functions 2020-11-08 15:13:59 +01:00
Léo Lam ad01b2b1fb
ksys/act: Fix matching issue in ActorParam 2020-11-08 12:22:08 +01:00