Commit Graph

53 Commits

Author SHA1 Message Date
jdflyer c1a622058e
Begin Fixing files for -sym on (#1952) 2023-09-30 14:49:49 -07:00
jdflyer 7e8fd320bd
Fix Build Scripts (#1879) 2023-08-13 17:46:24 -07:00
Jcw87 6d9f00cb46
extract_game_assets.py: fix 'make assets' (#384) 2023-07-23 14:18:19 -06:00
Pheenoh 8a579ec161
Pipeline fix (#373)
* cleanup pipelines

* install deps

* chmod +x wibo

* rename pipeline

* condense steps
2023-07-16 23:42:22 -07:00
hatal175 ae83c59703
Use compiler 1.2.5n instead of frank (#372) 2023-07-16 22:21:18 -06:00
Pheenoh 3cdef97cb8
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 d024075910
Add option to use oead and copy map files (#294) 2023-02-19 10:40:47 -07:00
Jcw87 6b031acca9 Makefile: 'tools' target should depend on 'dirs' 2023-01-30 02:39:27 -08:00
Darek Konopka 245270d107
Merge branch 'master' into master 2023-01-25 01:20:42 -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
Darek Konopka 4bd3047d3f
Update Makefile
make setup implemented
2023-01-24 18:59:02 -05: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
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
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
Jcw87 2112d5d992 header dependency tracking might be useful for main.dol too 2023-01-06 18:49:42 -08:00
Jcw87 5aa83db436 dol2asm: generate makefiles that use header dependencies for smarter rebuilds 2023-01-06 03:52:56 -08:00
jdflyer 5b34700cb2 Add frank.py 2023-01-02 19:44:52 -07:00
jdflyer 40469d42a0 JASWaveArcLoader 2022-12-31 19:18:40 -07:00
jdflyer f453841a5c ISO packaging script 2022-12-30 17:45:12 -07:00
jdflyer ae040aa688 Old JAudio changes 2022-12-24 12:47:48 -07: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
jdflyer 252c5daba7 Formatting fixes 2022-01-17 20:19:43 -07: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 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
jdflyer 50471c025b Merge remote-tracking branch 'Upstream/master' 2022-01-11 20:24:58 -07:00
jdflyer 0adee83f89 prepare makefile for shiftability 2022-01-11 20:20:58 -07:00
lepelog da3d98b67a
J2DAnimation (#173)
* ok

* naming stuff
2022-01-04 18:18:23 +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
Pheenoh 8c2a3ae7ea add make assets target 2021-06-13 19:47:12 -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
Julgodis ed1ee30dd2 building RELs 2021-04-06 18:00:35 +02:00
Julgodis b999714187 .dead section fix 2021-03-31 23:22:38 +02:00
Julgodis d244b7cb0d dol2asm OK 2021-03-28 22:49:05 +02:00
Julgodis 09dd7f8c4e compiling strings? WTF 2021-01-27 05:57:41 +01:00
jdflyer 37543ca29f Fix Merge and set maxerrors to 5 2021-01-21 21:59:24 -07: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
Erin Moon caeacbe56b
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 8a7a0e502a
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 6d946e8330
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 22be2e1a6d
OSX support (#48) 2021-01-02 01:41:40 -05:00
lepelog 0555115de8
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 89385fe8fd
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 f861af3f37
a few dSv_info_c methods ok 2020-11-28 19:18:27 -05:00
unknown 6d5e5cb17c organize files, update makefile, add CI checks, begin adding d_save.cpp 2020-09-05 15:03:13 -04:00