summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2021-05-02move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123)TakaRikka
* 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-04-10RELs progressJulgodis
2021-04-10moved strings + decompile simple store functionsJulgodis
2021-04-08auto decompile more functionsJulgodis
2021-04-08demangle data-symbolsJulgodis
2021-04-07detect more floats/doubles, including from relocationsJulgodis
2021-04-06building RELsJulgodis
2021-04-01__sinit and progress script updateJulgodis
2021-03-31.dead section fixJulgodis
2021-03-30removed double references and fixed float generationJulgodis
2021-03-29clang-formatJulgodis
2021-03-28dol2asm OKJulgodis
2021-03-28fpc symbol names (#119)lepelog
* fpcCtIt_filter_JudgeInLayer * dStage_roomControl_c::getZoneNo * fix fpc symbol names * format * mUnk0 -> mLayerID Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-02-12change sdahack to use la instruction (#114)lepelog
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-31fix clang-format check (#110)Pheenoh
2021-01-31d_kyeff, d_kyeff2, m_Do_printf, and m_Do_graphic (#109)jdflyer
* 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-29fix paddingJulgodis
2021-01-29removed dependencies and fixed usage textJulgodis
2021-01-29added option for frameworkF.mapJulgodis
2021-01-29cleanup of python scriptJulgodis
2021-01-29replace symbols with string literals and python scriptJulgodis
2021-01-25change split.py to output extern vars/functions into generate CPP (#98)lepelog
* 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-21Z2AudioLib misc decomp (#75)Erin Moon
* 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-09JKRAram and JKRAramStream (#80)Jonathan Wase
* 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-05Move and type PSVEC and PSMTX funcs and follow includes in functions.h (#68)lepelog
Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-04close-to-matching mDoCPd_c::convert() (#61)Erin Moon
2021-01-03JKRDecomp OK (#58)Jonathan Wase
* JKRDecomp OK * clang-format tool * JKRThread cleanup and fixed suggestions Co-authored-by: Julgodis <> Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-02a new tool: splitter (#39)Erin Moon
* splitter: v0.1 * basic demangle stuff * splitter: v0.2 - add from, to options to select line range in .s to process - infer referred labels from both loads and stores - dump our own function labels in addition to externs into functions.h, to provide forward declarations for labels that other functions might use. - fix off-by-one which was eating the last instruction of some functions * splitter: v0.3 merged a bunch of work lepelog did, including: - demangling support - better function identification - automatic FORCEACTIVE and did a little bit of cleanup * splitter: improve sda hack and format * splitter: fix comment_out(), patch GQR references * splitter: some speed optimizations * remove debug print * splitter: forceactive options * refactor demangler, add support for more operators and more mangling symbols * array and member (still one non working case) * fix some operands in demangler * make parents for funcs_out * splitter: fix off-by-one in last line of last function in some .s files Co-authored-by: lepelog <lepelog@users.noreply.github.com> Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-02M_do_controller_pad split and partially matched (#36)jdflyer
* m_Do_controller_pad split * Attempt to match and match mDoCPd_c::recalibrate * Fix Merge Errors * clang-format Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-06rm asm-differunknown
2020-12-06add d_meter2_info methods, addBottleNum OK, getBombNum OK, isLetterReadFlag OKunknown
2020-12-01Improved handling of virtual inheritance. (#7)Jonathan Wase
* new system for handling vtables * commented out non-matching JKRDisposer::~JKDisposer() * removed artificial vtables and matched simple virtual-call functions * better text on nonmatching functions * reverted asmdiff.sh * attempt 2 * Spelling * banner and .gitignore for vtable artifacts * move virtual function to the correct class * remove unnecessary casts
2020-08-30Allow building with wsl and remove objcopy hack with appropriate change to ↵Thar0
elf2dol
2020-08-29okunknown