Commit Graph

869 Commits

Author SHA1 Message Date
Léo Lam fc04f184c8 readme: Add note about cloning the repo in WSL 2021-07-23 00:10:54 +02:00
Léo Lam bc5593aa44 setup: Use subprocess.check_call instead of os.system 2021-07-22 22:07:25 +02:00
Léo Lam d37951ab72 build: Fix local toolchain path 2021-07-22 11:20:55 +02:00
Léo Lam d74354c480 Merge pull request #46 from leoetlino/build-cleanup
Clean up build toolchain (and use musl for libc) and simplify setup
2021-07-22 02:57:32 +02:00
Léo Lam 5d7fa0aede Simplify build setup by adding a setup script 2021-07-22 02:45:01 +02:00
Léo Lam 8cf3dd776b build: Clean up build toolchain (and use musl for libc)
Using musl is required to match several functions that use <math.h>
floating point functions like isnan.

This also removes a dependency on devkitA64. We previously only needed
it because Clang insisted on using GCC to link the final executable
owing to the use of a "bare metal" target like aarch64-none-elf.
We can make Clang invoke the linker itself by using a Linux target.
2021-07-21 22:26:11 +02:00
Léo Lam 1c8152de22 build: Only use response files to link (for perf reasons) 2021-07-21 21:13:03 +02:00
Léo Lam 39d81d6178 Add decompilation cheatsheet (from hackmd.io) 2021-07-14 21:33:56 +02:00
Léo Lam 6312bcfef2 Merge pull request #44 from MonsterDruide1/MusicDefinition
ksys/snd: Add MusicDefinition
2021-07-13 14:35:55 +02:00
Léo Lam ec59fe675b ksys/snd: Fix matching issues in MusicDefinition
The wrong overload of agl::utl::Parameter::init was being used.
The one that only takes a name will use the name string for the label
as well; this is not what the original function does, as the label
for all the parameters is set to "" (the empty string).
2021-07-13 14:32:03 +02:00
MonsterDruide1 1322b57b55 ksys/snd: Add MusicDefinition 2021-07-13 13:30:51 +02:00
Léo Lam 754523a246 Merge pull request #43 from MonsterDruide1/RagdollControllerKeyList
ksys/phys: Add RagdollControllerKeyList-Resource
2021-07-09 13:24:49 +02:00
MonsterDruide1 3be9a6927d ksys/phys: Add RagdollControllerKeyList-Resource 2021-07-09 13:13:52 +02:00
Léo Lam e5e8804fa9 Merge pull request #42 from MonsterDruide1/InvalidLifeConditions
ksys/act: Add InfoData::InvalidLifeConditions
2021-07-08 19:30:56 +02:00
MonsterDruide1 0750a987ac ksys/act: Add InfoData::InvalidLifeConditions 2021-07-08 19:28:00 +02:00
Léo Lam 41d724e17e data: Fix two warnings 2021-07-07 18:22:03 +02:00
Léo Lam 34eb9dc0e7 data: Fix _ZTVN3agl3utl9ParameterIN4sead7Color4fEEE address 2021-07-07 15:32:03 +02:00
Léo Lam 48e70b92bf ksys/map: Fix more matching or equivalency issues 2021-07-07 14:34:02 +02:00
Léo Lam 1b6c549a38 ksys/map: Fix matching issues 2021-07-07 14:04:39 +02:00
Léo Lam 4b6b81b190 Fix -Wdelete-incomplete warnings 2021-07-07 13:56:35 +02:00
Léo Lam 21883027ef Mark _ZN4ksys3map13PlacementTreeD1Ev as matching 2021-07-07 13:56:35 +02:00
Léo Lam f726f3b68d ksys/act: Add Actor getDummyBaseProcLink() 2021-07-07 13:56:28 +02:00
Léo Lam a638e3dba1 Merge pull request #40 from notyourav/place_mgr
ksys::map placement classes
2021-07-07 13:50:12 +02:00
theo3 b74df64276 move ForestRenderer and ClusteredRenderer 2021-07-06 15:43:57 -07:00
Léo Lam c808135ef1 query: Fix matching issue in CheckRupee 2021-07-06 00:04:02 +02:00
Léo Lam 694ab9da9d Merge pull request #41 from notyourav/queries
match some ai::Query
2021-07-06 00:02:12 +02:00
theo3 60dd80779a match some ai::Query 2021-07-01 21:05:10 -07:00
theo3 4cba2eb093 ksys::map placement classes 2021-07-01 21:02:46 -07:00
Léo Lam 112c1f987d Merge pull request #36 from notyourav/lol
shootingStarMgr
2021-06-29 02:13:59 +02:00
theo3 0eef5b3933 shootingStarMgr 2021-06-28 12:04:10 -07:00
Léo Lam 710c91eeff tools: Make register pair tracking more robust by using insn.regs_access() 2021-06-28 18:51:08 +02:00
Léo Lam 98f3c3d971 lib: Update sead 2021-06-28 18:50:47 +02:00
Léo Lam 23a84ada5a Merge pull request #38 from notyourav/mem_prof
MemoryProfiler done
2021-06-26 17:10:29 +02:00
Léo Lam e19d7756ff Merge pull request #39 from notyourav/autodim
AutoDim decompiled
2021-06-26 17:08:49 +02:00
Léo Lam c2bd24cf4b lib: Update sead 2021-06-26 12:27:09 +02:00
theo3 d12508cfce AutoDim decompiled 2021-06-25 20:29:11 -07:00
theo3 e675602250 MemoryProfiler done 2021-06-25 20:26:31 -07:00
Léo Lam 24cc84add7 Merge pull request #37 from leoetlino/ldrb-fix
tools: Fix check script not handling ldrb, ldrsb, etc. correctly
2021-06-25 00:43:25 +02:00
Léo Lam c249c93be1 tools: Fix check script not handling ldrb, ldrsb, etc. correctly 2021-06-25 00:32:29 +02:00
Léo Lam 1b9f698134 tools: Fix strb and other str variants not being handled 2021-06-24 22:47:19 +02:00
Léo Lam 444a8110fd lib: Update sead 2021-06-24 22:33:39 +02:00
Léo Lam 99356080db Merge pull request #31 from notyourav/qst2
ksys::qst begin
2021-06-23 12:08:16 +02:00
Léo Lam 1379a95f0a Merge pull request #35 from MonsterDruide1/master
ksys/snd: Add SoundResource
2021-06-23 12:04:51 +02:00
theo3 972445e44c ksys::qst begin 2021-06-22 22:43:36 -07:00
MonsterDruide1 8da7d7cf25 ksys/snd: Add SoundResource 2021-06-23 00:34:02 +02:00
Léo Lam 1851180b26 Merge pull request #34 from MonsterDruide1/master
ksys/res: Add ModelResourceDivide
2021-06-22 21:28:57 +02:00
MonsterDruide1 cadf1688ed ksys/res: Add ModelResourceDivide 2021-06-22 21:26:35 +02:00
Léo Lam c72a150a9b Update action/query status lists 2021-06-21 18:34:58 +02:00
Léo Lam 7d6938bc27 ksys/act: FIx Query loadBool, loadInt, loadFloat 2021-06-21 18:33:10 +02:00
Léo Lam 4f2f4ede4f ksys/act: Finish Query 2021-06-21 17:56:14 +02:00