Jcw87
d34c3440c3
tp.py: progress: sort rels by name
2023-01-31 17:45:47 -08:00
Jcw87
cd4a37fdd4
tp.py: setup: call 'make tools'
2023-01-30 09:19:24 -08:00
Jcw87
61fc276734
requirements.txt: remove standard libraries that pip cannot install
2023-01-30 02:39:28 -08:00
Jcw87
5d49bb7777
tp.py: setup: Add execute flag to compilers on posix systems
2023-01-30 02:39:28 -08:00
Jcw87
d09507c60c
tp.py: setup: refactor lmgr326b.dll copy, and also do it for 1.2.5e
2023-01-30 02:39:27 -08:00
Jcw87
3d8bfabe5a
lcf.py: fix wrong variable being checked for "@"
2023-01-28 20:53:37 -08:00
Jcw87
b63d35d9cf
transform-dep.py: fake the -MP compiler option
2023-01-26 21:30:17 -08:00
Jcw87
8ccb2d4776
transform-dep.py: refactor
2023-01-26 21:26:40 -08:00
Jcw87
10ebe01a42
libarc/arc.py: use unix paths for _files.txt
2023-01-26 01:41:20 -08:00
Jcw87
e786c7dd3a
libarc/arc.py: Check if directories already exist before creating
2023-01-26 01:41:19 -08:00
Jcw87
9ac1269473
libarc/arc.py: explicitly specify utf-8 encoding when opening text files
2023-01-26 01:41:19 -08:00
Jcw87
3a1282dd71
tp.py: fix exception handler
2023-01-25 23:15:49 -08:00
Darek Konopka
245270d107
Merge branch 'master' into master
2023-01-25 01:20:42 -05:00
DRK-512
1397efac6f
requires caught up to main
2023-01-25 01:18:46 -05:00
DRK-512
327965d1b7
Fixed requirements
2023-01-25 01:15:00 -05:00
jdflyer
d4fdfdf1f6
Merge with upstream
2023-01-24 21:41:59 -07:00
jdflyer
c40f15c9a7
New yaz0 system
2023-01-24 21:41:20 -07:00
DRK-512
efeb260726
setup moved from makefile to tp
2023-01-24 22:50:19 -05:00
hatal175
d17c122e4d
Continue robbing prime github dolphin libs blind ( #254 )
...
* Continue work on dolphin libs
* tp.py pull-request should print rels by default
2023-01-24 13:22:40 -07:00
TakaRikka
49a8b2be0d
Merge pull request #252 from Jcw87/rels_msys2
...
makerel.py: Accept arguments from files, allowing rels to build with msys2
2023-01-24 00:34:51 -08:00
TakaRikka
b3d3d71fcc
Merge pull request #251 from Jcw87/patched_to_modded
...
rename mwcceppc_patched.exe to mwcceppc_modded.exe for better windows compatibility
2023-01-24 00:33:33 -08:00
jdflyer
9ad13fcd2e
Formatting
2023-01-23 21:33:56 -07:00
jdflyer
25d3c16ca7
Arc Extraction and Re-Packing
2023-01-23 20:45:57 -07:00
Jcw87
98db45807c
makerel.py: Accept arguments from files, allowing rels to build with msys2
2023-01-23 01:53:06 -08:00
Jcw87
9237c661cf
rename mwcceppc_patched.exe to mwcceppc_modded.exe for better windows compatibility
2023-01-23 00:34:44 -08:00
Jcw87
a1b027ed52
transform-dep.py: fix for wsl
2023-01-22 00:02:46 -08:00
hatal175
7825666971
Add 1.2.5e to several makefiles and matching dolphin lib stuff ( #247 )
...
* Fix select_occurence in diff.py
* Use 1.2.5e and metroid prime decomp to match dlphin lib funcs
* Fix FRANK_COMPILER WINE typo
* Double WINE use removal
* Organize dolphin compiler makefile names
* Use inline auto instead of special inline where applicable
I couldn't make CARDOpen work with the flag though
2023-01-20 10:51:21 -07:00
hatal175
6e05f7133b
chmod 755 decompctx.py ( #246 )
2023-01-15 12:10:41 -07:00
TakaRikka
5e05ae38f8
d_a_b_oh2 / d_a_obj_web0 / d_a_obj_web1 ( #243 )
...
* d_a_obj_web0 / d_a_obj_web1
* remove asm
* d_a_set_bgobj
* d_cc_s work
* remove asm
* build fix
* fix tp.py progress check and rel sha1 check
* clean up some bg files
2023-01-15 12:10:23 -07:00
TakaRikka
c90f9dfde9
Merge pull request #244 from hatal175/setup_fixes
...
WSL compilation fixes
2023-01-13 22:54:13 -08:00
TakaRikka
fcf327a18b
Merge pull request #241 from Jcw87/makefile_header_deps
...
Add header dependencies to Makefiles
2023-01-13 22:53:05 -08:00
Tal Hayon
e8b4775fe0
WSL compilation fixes
2023-01-14 08:18:31 +02:00
erin petra sofiya moon
c7b54ac749
tp.py: allow use of the --no-print-rels inverse flag
2023-01-09 00:47:33 -06:00
Jcw87
5aa83db436
dol2asm: generate makefiles that use header dependencies for smarter rebuilds
2023-01-06 03:52:56 -08:00
Jcw87
b4bfca89a1
dol2asm: fix incorrect debug function importing into libdol2asm/exporter/makefile.py
2023-01-06 03:52:55 -08:00
Jcw87
3786e47886
dol2asm: move exi library, f070ee948f
2023-01-06 03:52:55 -08:00
Jcw87
3ae051c356
dol2asm: fix libdol2asm.util import issue
2023-01-06 03:42:29 -08:00
Jcw87
95e34e69fd
dol2asm: apply makefile changes from bc428f7f65
2023-01-05 01:56:46 -08:00
Jcw87
309148334f
dol2asm: generate Unix paths in makefiles regardless of platform
2023-01-05 01:56:46 -08:00
Jcw87
3aa269c33b
dol2asm: fix game paths
2023-01-05 01:56:45 -08:00
jdflyer
5b34700cb2
Add frank.py
2023-01-02 19:44:52 -07:00
theo3
78e8b01174
d_a_obj_catdoor first pass
2023-01-02 00:45:07 -08:00
jdflyer
248e523987
Python script formatting
2022-12-30 19:00:42 -07:00
jdflyer
83c53812ef
Merge with upstream
2022-12-30 17:46:04 -07:00
jdflyer
f453841a5c
ISO packaging script
2022-12-30 17:45:12 -07:00
Pheenoh
5d4f161d43
f_op_msg_mng 19/20 matched ( #227 )
2022-12-29 17:30:35 -07:00
kipcode66
f79e4e04f3
added VSCode devcontainer config files ( #213 )
...
* added VSCode devcontainer config files
* removed useless command
* changed oead to syaz0
* addded cmake to the container
2022-12-26 10:39:59 -07:00
Pheenoh
766bde7a97
fix bug in remove-asm that doesn't account for .inc files
2022-12-20 16:30:01 -07:00
Pheenoh
85ad8b190d
d_a_npc work
...
daBaseNpc_c::setBckAnm and J3DAnmTransform* daBaseNpc_c
daBaseNpc_c::setBtpAnm
daBaseNpc_c::attnSttsOn
daBaseNpc_c::orderEvent
daBaseNpc_c::setEnvTevColor
daBaseNpc_c::setRoomNo
daBaseNpc_c::checkEndAnm attempt
CheckCreateHeap
daNpcF_addIdx
daNpcF_subIdx
daNpcF_incIdx
daNpcF_decIdx
daNpcF_ActorMngr_c::initialize()
daNpcF_ActorMngr_c::entry
cleanup daNpcF_ActorMngr_c::entry
daNpcF_ActorMngr_c::remove
daNpcF_ActorMngr_c::getActorP
daNpcF_MatAnm_c::calc attempt
daNpcF_SPCurve_c::initialize
minor fixes
daNpcF_Path_c::initialize
daNpcF_Path_c::setPathInfo
daNpcF_Path_c::chkPassed
daNpcF_Path_c::reverse
daNpcF_Path_c::setNextIdx
daNpcF_Path_c::getNextIdx
daNpcF_Path_c::getBeforeIdx
daNpcF_Path_c::getBeforePos
daNpcF_Path_c::getNextPos
daNpcT_MatAnm_c::initialize
daNpcT_MatAnm_c::calc
daNpcT_addIdx
daNpcT_subIdx
daNpcT_decIdx
daNpcT_Path_c::hermite
daNpcT_Path_c::initialize
daNpcT_Path_c::setPathInfo attempt
daNpcT_Path_c::setNextPathInfo
daNpcT_Path_c::reverse
daNpcT_Path_c::setNextIdx
daNpcT_Path_c::getDstPos attempt
daNpcT_DmgStagger_c::setParam
Add FLOAT_LABEL where possible
fopEn_enemy / fix e_wb
move jasper's jsystem work over
d_attention / d_demo / d_lib work
remove asm
clean up dolphin files / work on some rels (#212 )
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop
* dolphin OS work / cleanup
* dolphin GX work / cleanup
* finish changing dolphin files to C
* more files into C
* match rest of MSL_C math functions
* more dolphin files converted to C
* remove asm
* d_bg_w work
* remove asm
* d_a_alink work / kytag14
initial changes to d_a_e_yc
checkpoint until virtual destructor issue is solved
daNpcF_Lookat_c::adjustMoveDisAngle
daBaseNpc_c::setMtx
daBaseNpc_moveBgActor_c::daBaseNpc_moveBgActor_c()
daNpcT_c::ctrlFaceMotion
daNpcT_c::ctrlMsgAnm attempt
daNpcT_c::initTalk
daNpcF_clearMessageTmpBit
daNpcF_getDistTableIdx
daNpcF_offTmpBit
daNpcF_onTmpBit
daNpcF_chkTmpBit
daNpcF_onEvtBit
daNpcF_chkEvtBit
daNpcF_c::getDistTableIdx
daNpcF_chkPointInArea
daNpcF_chkDoBtnEqSpeak
daNpcF_getPlayerInfoFromPlayerList attempt
daNpcF_pntVsLineSegmentLengthSquare2D
daNpcF_c::chkPointInArea
daNpcF_c::chkPointInArea
daNpcF_c::getAttentionPos
daNpcT_chkTmpBit
daNpcT_offTmpBit
daNpcT_onTmpBit
daNpcT_chkEvtBit
daNpcT_offEvtBit
daNpcT_onEvtBit
daNpcT_chkDoBtnIsSpeak
daNpcT_getDistTableIdx
daBaseNpc_acMngr_c::entry
daNpcF_c::initTalk
undo override
2022-12-20 16:28:41 -07:00
lepelog
2c180dfa90
fix imports
2022-07-01 02:01:37 +02:00
lepelog
79b4f1cd9e
check rels in gh action
2022-07-01 01:24:31 +02:00
Jcw87
88be83ca43
tp.py: Add type annotations ( #190 )
2022-05-07 14:38:20 -04:00
TakaRikka
589cc12296
some MSL_C work ( #192 )
...
* wip
* bunch of MSL_C files
thanks to pikmin2 decomp for their work
* format / asm
* progress
* fix
* fix remove-asm to work with C files
* init / start
2022-04-24 13:02:50 +02:00
Jcw87
4270643931
tp.py: Explicitly specify utf-8 encoding when opening text files. ( #189 )
2022-04-11 00:59:52 +02:00
jdflyer
545da8536d
Add Progress.md ( #187 )
...
* Match DynamicLink
* finish merge
* Add Progress.md and update readme
2022-04-10 18:29:58 -04:00
Zen64
4eb820bb83
Renamed instances of msl_c -> MSL_C because
2022-03-20 00:01:24 -04:00
Zen64
727b2768e2
Fixed capitalization and msl library names
2022-03-19 22:31:05 -04:00
TakaRikka
2e1be6224f
jdflyer's work
...
Co-Authored-By: jdflyer <jdflyer10@gmail.com>
2022-02-07 17:47:45 -08:00
jdflyer
ecc987f34c
Hyrule field speedhack and shiftability fixes
2022-01-17 20:00:12 -07:00
jdflyer
db9079ede2
Shift Fixes
2022-01-16 15:16:08 -07:00
jdflyer
8a9f18c45f
Shift Fixes
...
I also updated elf2dol
2022-01-16 15:15:24 -07:00
jdflyer
e1246d9b0a
Shiftable
2022-01-15 17:59:59 -07:00
jdflyer
c72012c5d8
Add basic dol shiftability
...
Fixed an incorrect function name
2022-01-11 21:12:44 -07:00
lepelog
31c937124b
remove clang-format ( #172 )
2022-01-04 18:03:48 +01:00
lepelog
d51f7bf0c6
fix and format
2021-12-04 12:27:59 +01:00
Jonathan Wase
bc428f7f65
Clean up and improvements to tools ( #163 )
...
* moved elf2dol
* removed postprocess.py
* removed vtables.py
* find_unused_asm.py
* removed section2cpp.py
* removed splitter/*
* fixed symbol names due to iconv file rename
* fixed problem building RELs caused by #160
* improved performance of a few python tools
* added new tool for finding conflict when not OK
* added ./tp setup
* don't install dol2asm dependecies with requirements.txt
* format and check for imports
* remove unused tools/difftools.py
* fixed ignore to include elf2dol
* fix compiler patcher
* ok-check now creates the patched compiler at mwcceppc_patched.exe
* Add new command to copy the build folder to the expected folder
* 'make clean' will now only clean main.dol stuff. (added clean_rels and clean_all)
* './tp pull-request' and './tp check' now doesn't include RELs by default. Use '--rels' to include them in the process.
* './tp remove-unused-asm --check' added, exitcode 0==no files, 1==exists files
Co-authored-by: Julgodis <>
2021-12-02 23:38:37 +01:00
icogn
b88cb8cdc0
Update clang-format-check.sh and make executable ( #156 )
...
* Update clang-format-check.sh and make executable
* Make executable
Co-authored-by: Isaac <iico7no2@gmail.com>
2021-10-15 00:01:58 +02:00
lepelog
bf6c517051
speedup tp.py progress
2021-10-04 21:53:48 +02:00
Julgodis
bf12ea7a11
Removed JUtility.h and added './tp format'
2021-09-26 12:11:21 +02:00
Jonathan Wase
800047a854
JKRThread & JKRThreadSwitch ( #147 )
...
* OK __ct__15JKRThreadSwitchFP7JKRHeap
* OK createManager__15JKRThreadSwitchFP7JKRHeap
* OK enter__15JKRThreadSwitchFP9JKRThreadi
* OK callback__15JKRThreadSwitchFP8OSThreadP8OSThread
* OK draw__15JKRThreadSwitchFP14JKRThreadName_P10JUTConsole
* OK draw__15JKRThreadSwitchFP14JKRThreadName_
* OK __dt__15JKRThreadSwitchFv
* JKRThread.cpp cleanup
* Fixed tp.py and libelf, changed JUT_ASSERT macro and removed unused .s files.
* Changed JKRThread access specifiers
Co-authored-by: Julgodis <>
2021-09-24 11:13:23 -04:00
Erin Moon
f6df420a61
prevent a ./tp progress crash when no rels are built ( #142 )
...
calculate_progress() would attempt to print a rel completion percentage
even when no rels were found. the total size of the rels would thus be
zero, resulting in a ZeroDivisionError. instead, we simply print
em-dashes in the summary columns if no rels were found.
2021-08-21 20:42:58 +02:00
lepelog
38eca47ad5
__sinit_d_com_inf_game_cpp OK ( #140 )
...
* mass mng header
* d_cc_d start
* c_cc_d ok
* tmp commit
* almost, reordering of vtable functions
* progress
* more progress
* cleanup, still non matching
* mark all of d_cc_d as nonmatching to OK
* c_cc_s
* c_cc_s OK
* d_cc_mass_s OK
* cleanup
* gameinfo __sinit, not OK
* a bit of cleanup
* format
* remove asm
Co-authored-by: lepelog <lepelog@users.noreply.github.com>
2021-08-16 20:59:00 -04:00
Pheenoh
8c2a3ae7ea
add make assets target
2021-06-13 19:47:12 -04:00
Pheenoh
a26a9eda24
add asset extract script
2021-06-13 19:07:06 -04:00
Jasper St. Pierre
462d71cbef
Makefile fixes / JUTNameTab ( #129 )
...
* Makefile: Fix issues with iconv causing it to break under devkitPro / msys
The version of iconv included in devkitPro does not have a -o option,
so replace it with normal shell redirection. Also, SHIFT-JIS does not
have a mapping for ~, so output the Windows CP932 variant instead,
which does. See:
https://en.wikipedia.org/wiki/Tilde#Unicode_and_Shift_JIS_encoding_of_wave_dash
https://en.wikipedia.org/wiki/Code_page_932_(Microsoft_Windows)#Single-byte_character_differences
* Update diff configuration
-Bbinary doesn't seem to work with my copy of
bjdump (it says it can't decode unknown architecture)
Cheese things by using expected/ instead of having
the user place things manually.
* JUTNameTab
* J3DPacket / J3DDrawBuffer
* format
Co-authored-by: lepelog <lepelog@users.noreply.github.com>
2021-05-10 11:54:07 -04:00
lepelog
3b7364d481
Add requirements.txt with all necessary python dependencies and update README ( #127 )
...
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-05-02 14:49:51 -04:00
TakaRikka
2f4904dae2
move d_a_itembase_static / d_a_item_static / Z2StatusMgr ( #123 )
...
* move d_a_itembase_static
* move d_a_item_static
* moved Z2StatusMgr
* clang
* fixes
* clang?
* move d_save
* move d_meter2_info
* some d_meter2_info fixes
* move most d_a_player
* move d_bg_s stuff
* move c_cc_s stuff
* move d_cc stuff
* move d_attention / d_event / d_stage
2021-05-02 13:13:14 -04:00
Julgodis
3e8554bd51
RELs progress
2021-04-10 22:32:02 +02:00
Julgodis
0ad6ebe7b4
moved strings + decompile simple store functions
2021-04-10 07:02:38 +02:00
Julgodis
2661db6aaa
auto decompile more functions
2021-04-08 21:05:48 +02:00
Julgodis
a23a106399
demangle data-symbols
2021-04-08 01:47:05 +02:00
Julgodis
dca1d2a1c0
detect more floats/doubles, including from relocations
2021-04-07 09:16:47 +02:00
Julgodis
ed1ee30dd2
building RELs
2021-04-06 18:00:35 +02:00
Julgodis
f6464a61ce
__sinit and progress script update
2021-04-01 02:07:58 +02:00
Julgodis
b999714187
.dead section fix
2021-03-31 23:22:38 +02:00
Julgodis
88eb7be90c
removed double references and fixed float generation
2021-03-30 01:31:36 +02:00
Julgodis
815c1a2039
clang-format
2021-03-29 00:10:25 +02:00
Julgodis
d244b7cb0d
dol2asm OK
2021-03-28 22:49:05 +02:00
lepelog
88eb837a9c
fpc symbol names ( #119 )
...
* fpcCtIt_filter_JudgeInLayer
* dStage_roomControl_c::getZoneNo
* fix fpc symbol names
* format
* mUnk0 -> mLayerID
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-03-28 14:07:21 -04:00
lepelog
e08abacc1d
change sdahack to use la instruction ( #114 )
...
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-02-12 19:50:24 -05:00
Pheenoh
b595f0d0bf
fix clang-format check ( #110 )
2021-01-31 20:55:56 -05:00
jdflyer
f1924e91f4
d_kyeff, d_kyeff2, m_Do_printf, and m_Do_graphic ( #109 )
...
* Split d_kyeff
* Partially matched d_kyeff
* split d_kyeff2
* Match d_kyeff2
* split m_Do_printf
* m_Do_printf partially matched
* hotfix and clang-format
* split m_Do_graphic
* rename symbols in m_Do_graphic
* Match a few functions in m_Do_graphic
* Fix Merge Errors
* Delete sh.exe.stackdump
* Update OSReportInit
2021-01-31 20:03:38 -05:00
Julgodis
b8c7b9ce3b
fix padding
2021-01-29 23:17:11 +01:00
Julgodis
77adc39ffe
removed dependencies and fixed usage text
2021-01-29 23:01:11 +01:00
Julgodis
7cc16872fc
added option for frameworkF.map
2021-01-29 22:52:35 +01:00
Julgodis
4442f8e1dd
cleanup of python script
2021-01-29 22:52:35 +01:00
Julgodis
cf4bf3fc53
replace symbols with string literals and python script
2021-01-29 22:52:35 +01:00
lepelog
d301beca77
change split.py to output extern vars/functions into generate CPP ( #98 )
...
* change split.py to output extern vars/functions into generate CPP
also change demangling to use short type names
* don't take files for extern funcs/vars anymore
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-25 14:09:55 -05:00
Erin Moon
a072e71c33
Z2AudioLib misc decomp ( #75 )
...
* Z2SoundHandles: decomp portions
* start decomping: Z2SpeechMgr2, Z2SoundHandles
* Z2SoundHandles::stopAllSounds(): ok
* Z2SoundHandles::getHandleUserData(): ok
* Z2SoundInfo: header
* Z2SoundObjBase::framework(): ok
* Z2SoundObjBase::Z2SoundObjBase(), Z2SoundObjBase::init(): ok
* Z2SoundObjBase::~Z2SoundObjBase(): ok
* Z2SoundObjBase::stopOK(): ok
* Z2SoundObjBase::stopOK, incomplete Z2SoundObjBase::dispose()
* clang-format
* Z2SoundObjBase::dispose(): ok
* JAISound::operator->(): null assert
* JAIAudience: stub
* Z2SoundObject::{init, deleteObject, isAlive}: ok
* Z2SeMgr: elaborate struct (and decl JAISoundHandles to support this)
* start subclassing Z2SoundObjBase; nonmatching Z2SoundObjSimple::init()
* Z2SeMGr::{incrCrowdSize, decrCrowdSize}: ok
* Z2MultiSeMgr::resetMultiSePos(): ok
* Z2WolfHowlMgr.h: decls
* Z2SoundStarter: move to decls and fix postprocess.py symbol pass
* Z2AudioArcLoader: decls
* Z2SoundObjMgr: ok some fns
- deleteEnemyAll()
- isTwilightBattle()
- setGhostEnemyState()
additionally elaborates parts of the Z2Creature hierarchy
* delete unused .s files and add tool to find them (only runs on linux)
* run clang-format
* postprocess.py: comment out debugging
* add python step to ok-check workflow
* address review comments
* address review comments
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
2021-01-21 23:16:51 -05:00
Jonathan Wase
82d5e0f796
JKRAram and JKRAramStream ( #80 )
...
* before __register_global_object
* JKRThread::sThreadList, JKRHeap::sSystemHeap, etc.
* cleanup and started on JKRDvdArchive
* before changing JKRCompression
* more JKRDvdArchive, abs, and memset
* fixed JKRArchive::setExpandSize split
* JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors
* problems
* merge fixes and formatting
* updated clang version in clang-format-all to version 10
* Added OSPhysicalToCached and struct for global memory
* remove useless __attribute__
* changed from defines and macros to const variable and function
* changed FLAG_HAS to FLAG_ON
* JKRAram, linking problems
* fix JKRAram
* remove nonmatching stuff
* renamed static data
* more static class members
* JKRAramStream OK
* formatting
Co-authored-by: Julgodis <>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-09 20:15:52 -05:00