Commit Graph

50 Commits

Author SHA1 Message Date
Pheenoh 6c5a228fb8 Pipeline fix (#373)
* cleanup pipelines

* install deps

* chmod +x wibo

* rename pipeline

* condense steps
2023-07-16 23:42:22 -07:00
hatal175 bacdc6ad8b Use compiler 1.2.5n instead of frank (#372) 2023-07-16 22:21:18 -06:00
Pheenoh e52a5af069 d_file_select, JASResArcLoader, d_a_obj_stone, d_a_obj_stone_mark (#309)
* setup TU

* JASResArcLoader OK

* d_a_obj_stoneMark work

* some funcs in d_a_obj_stoneMark

* many changes

* quat, d_a_obj_stone, d_a_alink, fix python script, tidy makefile

* d_file_select functions + pr cleanup
2023-03-17 21:05:06 -06:00
jdflyer 0111911add Add option to use oead and copy map files (#294) 2023-02-19 10:40:47 -07:00
Jcw87 cb8f182a5f Makefile: 'tools' target should depend on 'dirs' 2023-01-30 02:39:27 -08:00
Darek Konopka 99ed033210 Merge branch 'master' into master 2023-01-25 01:20:42 -05:00
jdflyer 5a53f96666 Merge with upstream 2023-01-24 21:41:59 -07:00
jdflyer b0ded6cd7e New yaz0 system 2023-01-24 21:41:20 -07:00
DRK-512 19b7924153 setup moved from makefile to tp 2023-01-24 22:50:19 -05:00
Darek Konopka 63faab21db Update Makefile
make setup implemented
2023-01-24 18:59:02 -05:00
TakaRikka a9cc218045 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
jdflyer 85697ecf49 Arc Extraction and Re-Packing 2023-01-23 20:45:57 -07:00
Jcw87 b4d0fb0c05 makerel.py: Accept arguments from files, allowing rels to build with msys2 2023-01-23 01:53:06 -08:00
Jcw87 937c115d7f rename mwcceppc_patched.exe to mwcceppc_modded.exe for better windows compatibility 2023-01-23 00:34:44 -08:00
hatal175 13993f9917 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
Jcw87 215ee6c84f header dependency tracking might be useful for main.dol too 2023-01-06 18:49:42 -08:00
Jcw87 3e316869cd dol2asm: generate makefiles that use header dependencies for smarter rebuilds 2023-01-06 03:52:56 -08:00
jdflyer d70046588d Add frank.py 2023-01-02 19:44:52 -07:00
jdflyer 414fc2bc3f JASWaveArcLoader 2022-12-31 19:18:40 -07:00
jdflyer a15535b7e2 ISO packaging script 2022-12-30 17:45:12 -07:00
jdflyer 1f333fc03f Old JAudio changes 2022-12-24 12:47:48 -07:00
TakaRikka a320ae56ff 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
jdflyer 4de85c5bd6 Formatting fixes 2022-01-17 20:19:43 -07:00
jdflyer 69dfd36add Hyrule field speedhack and shiftability fixes 2022-01-17 20:00:12 -07:00
jdflyer 92c68a4783 Shift Fixes 2022-01-16 15:16:08 -07:00
jdflyer 39d4214a21 Shiftable 2022-01-15 17:59:59 -07:00
jdflyer 13eb8ed234 Add basic dol shiftability
Fixed an incorrect function name
2022-01-11 21:12:44 -07:00
jdflyer 446d3dd502 Merge remote-tracking branch 'Upstream/master' 2022-01-11 20:24:58 -07:00
jdflyer dd0ec3c326 prepare makefile for shiftability 2022-01-11 20:20:58 -07:00
lepelog 2c326efb29 J2DAnimation (#173)
* ok

* naming stuff
2022-01-04 18:18:23 +01:00
Jonathan Wase df0aabc1b9 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
Pheenoh 8bfe2c49f8 add make assets target 2021-06-13 19:47:12 -04:00
Jasper St. Pierre d5c3fd8c2f 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
Julgodis 85bd045193 building RELs 2021-04-06 18:00:35 +02:00
Julgodis b6eed5208d .dead section fix 2021-03-31 23:22:38 +02:00
Julgodis 1e95d29b60 dol2asm OK 2021-03-28 22:49:05 +02:00
Julgodis c25ce1bab2 compiling strings? WTF 2021-01-27 05:57:41 +01:00
jdflyer fb9a6d9a15 Fix Merge and set maxerrors to 5 2021-01-21 21:59:24 -07:00
Erin Moon 972960b6eb 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
Erin Moon e35c282900 Makefile: DEBUG option (#86)
* Makefile: DEBUG option

* diff_settings.py: if diffing with --source, make DEBUG=1

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-18 14:16:09 -05:00
Erin Moon a154ad0688 Doxygen (#84)
* set up Doxygen

- `.gitignore`: ignore Doxygen output
- limit Doxygen search to relevant paths
- move extra `.md`s to docs/
- `Makefile`: add Doxygen target
- use as much SVG as possible for Doxygen diagrams
- alias @meme as an \xrefitem

* new github workflow: run doxygen and push to gh pages
2021-01-18 14:00:28 -05:00
lepelog 11e2bab926 match some Z2Calc functions (#72)
* Z2Calc OK

* inline definitions in random.h and format

* set -enum int compiler flag and fix enum hacks

* note for get_ufloat_1 inline

* PR suggestions and UB note

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-06 20:39:56 -05:00
notyourav 651b67cfb3 OSX support (#48) 2021-01-02 01:41:40 -05:00
lepelog 5ffa0945b0 A few f_pc files (#26)
* f_pc_base, one non matching

* some of f_pc_manager

* f_pc_node OK

* f_pc_pause partly

* started node_req

* more progress

* most of node req

* delete unused asm

* node req header and param names

* param renaming

* header for manager

* review comment struct names

* fpcM_Management OK

* int -> s32

* merge master

* most of f_pc_create_iter

* f_pc_stdcreate_req OK

* f_pc_fstcreate OK

* f_pc_leaf OK

* f_pc_draw OK

* f_pc_deletor partly

* fix parameter type in f_pc_pause

* review

* review, use cPh enum and fix process_profile_definition struct

* convert f_pc files to C

* matched more functions

* fix global.h

* fix variable types

* format

* mpre Phs enum

* fix merge errors

* fix gamepad stopPatternedRumble

* format

* delete leftover files from merge

* move asm to correct folder

* revert f_pc from C to CPP

* remove C hacks and format

* format

* OK
2020-12-31 15:12:29 -05:00
lepelog ccab99f398 f_pc_layer (#16)
* f_op_actor_tag OK

* f_pc_layer_tag OK

* f_pc_layer_iter

* forgot a return

* identation and extern var name comments

* fix struct member name

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2020-12-05 23:58:12 -05:00
unknown ea32371565 a few dSv_info_c methods ok 2020-11-28 19:18:27 -05:00
unknown 90a88d1827 organize files, update makefile, add CI checks, begin adding d_save.cpp 2020-09-05 15:03:13 -04:00
notyouraveragehooman c1692956e9 split and named symbols in text.s (#2)
* split and named symbols in text.s

* Update makefile for better compatiblity
2020-09-01 20:26:31 -04:00
Thar0 1b91cd8d66 Allow building with wsl and remove objcopy hack with appropriate change to elf2dol 2020-08-30 01:16:07 +01:00
unknown c5e2415773 ok 2020-08-29 17:54:55 -04:00