Commit Graph

215 Commits

Author SHA1 Message Date
Jasper St. Pierre d97594ac22 J3DSys: j3dDefaultTexCoordInfo table 2022-04-23 15:46:00 -07:00
Jasper St. Pierre 5e47481d7f J3DSys::J3DSys 2022-04-23 15:38:37 -07:00
Jasper St. Pierre 28b51b6010 J3DSys: setTexCacheRegion 2022-04-23 15:27:56 -07:00
Jasper St. Pierre 2d3a2fb815 J3DSys: loadMtxIndx 2022-04-23 15:08:33 -07:00
Jasper St. Pierre fd3c6ed326 J3DTevs: patchTexNo_PtrToIdx 2022-04-23 14:43:04 -07:00
Jasper St. Pierre 809fe3f963 Swap around some default types 2022-04-23 14:37:01 -07:00
Jasper St. Pierre e5df49a7f3 J3DShape: Some funcs 2022-04-23 14:34:11 -07:00
TakaRikka a1099217d6
J2DScreen / some J2DMaterial (#191)
* j2dscreen

* some j2dmaterial work

* remove asm
2022-04-12 16:44:06 -04: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
TakaRikka 02c7a47f13
move remaining old progress (#186)
* move remaining old progress

* remove asm
2022-03-26 13:17:17 -04:00
TakaRikka 3af0f51186
m_Do_MemCard / m_Do_MemCardRWmng (#184)
* memcard wip

* format / asm

* fix includes

Co-authored-by: TakaRikka <taka@DESKTOP-T4B7CTF.localdomain>
2022-03-22 23:42:16 -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 9b81bd3fc3 format / asm 2022-03-15 02:35:30 -07:00
TakaRikka 985d47a5c8 msg_flow wip 2022-03-15 02:25:25 -07:00
TakaRikka 612f26c132
d_kankyo_wether / d_eye_hl (#178)
* d_eye_hl / d_kankyo_wether wip

* more d_kankyo_wether + format

* remove asm

* some d_kankyo wip

* fix dccs vtable

* some m_Do_graphic / d_meter2_draw work
2022-01-25 21:24:14 +01:00
TakaRikka 6f4d068f1d
Merge pull request #177 from jdflyer/master
Shiftability
2022-01-18 22:05:13 -08:00
lepelog ce5a8c47ad fix enum 2022-01-17 20:58:30 +01:00
jdflyer 824a9eabc9 Merge remote-tracking branch 'Upstream/master' 2022-01-16 15:20:32 -07:00
lepelog 36e7f7639e J2DAnmKind enum 2022-01-12 20:41:39 +01:00
lepelog ef1757a63b giving up for now 2022-01-12 20:26:06 +01:00
lepelog e1903d20cf slight cleanup 2022-01-12 20:26:05 +01:00
lepelog 16ee7c9813 improvement 2022-01-12 20:26:05 +01:00
lepelog 2fe9bb78ae function ordering :( 2022-01-12 20:26:04 +01:00
lepelog a1497b3bf5 tmp 2022-01-12 20:26:04 +01:00
jdflyer 50471c025b Merge remote-tracking branch 'Upstream/master' 2022-01-11 20:24:58 -07:00
jdflyer 7e97dfab7b Match destructor and msl_c header include fixes 2022-01-11 19:36:28 -07:00
TakaRikka ec0a057c82 fixes 2022-01-10 19:17:42 -08:00
TakaRikka a08f84abd5 JUTGraphFifo 2022-01-10 06:10:00 -08:00
TakaRikka 32fc4e2944 JUTAssert 2022-01-10 04:07:06 -08:00
TakaRikka d6f68167c6 Merge branch 'master' of https://github.com/zeldaret/tp into menu 2022-01-09 17:41:12 -08:00
TakaRikka 37146dfed1 JFramework mostly ok 2022-01-09 17:33:14 -08:00
lepelog da3d98b67a
J2DAnimation (#173)
* ok

* naming stuff
2022-01-04 18:18:23 +01:00
EpochFlame f4a3c80af3
decompile jstudio-data.cpp (#174)
* decompile jstudio-data.cpp

did this earlier for Pikmin 2

* clarify stb-data

* clarify fvb-data

* formatting

* clang-format properly
2022-01-04 18:09:53 +01:00
TakaRikka 035a24092e format 2022-01-04 05:37:27 -08:00
TakaRikka f8ce912342 d_menu_window 2022-01-04 04:53:20 -08:00
TakaRikka 15808a2011
Merge pull request #171 from TakaRikka/wip1
d_a_player / d_meter_map + misc
2022-01-04 03:46:52 -08:00
jdflyer 346215bd49 Match most of DynamicLink 2022-01-03 21:05:34 -07:00
TakaRikka 3c26cf452e cleanup 2021-12-27 06:17:37 -08:00
Jasper St. Pierre 343f65d665 one more build fix 2021-12-24 14:56:04 -08:00
Jasper St. Pierre 4d9026121e build fix 2021-12-24 14:50:32 -08:00
Jasper St. Pierre b9a53e8169 JPAChildShape, more work on JPADynamicsBlock 2021-12-24 13:01:37 -08:00
Jasper St. Pierre e4e6a51a5a JPABaseShape color regist funcs 2021-12-23 21:21:30 -08:00
Jasper St. Pierre f7eed3278f a few more JPAResource functions 2021-12-23 21:02:42 -08:00
Jasper St. Pierre 32d021a889 JPAExtraShape 2021-12-23 20:56:02 -08:00
TakaRikka 2074bd72d9 wip 2021-12-21 06:06:57 -08:00
lepelog fdd13a5797 j2dmanage 2021-12-12 03:00:35 +01:00
lepelog 202e3c51c0
J2DPane (#168)
* most of J2DPane

* finish j2dpane

* cleanup

* use J2DBlendInfo
2021-12-11 23:39:53 +01:00
lepelog 9b9dfca657 fixes 2021-12-06 22:02:10 +01:00
lepelog 9da2309be7 J2DGrafContext and J2DOrthoGraph 2021-12-06 13:14:13 +01:00
Jasper St. Pierre c15d8fcb3e
more simple J2D/J3D funcs (#166)
* more simple J2D/J3D funcs

* JPABaseShape constructor

* fmt

Co-authored-by: lepelog <25211966+lepelog@users.noreply.github.com>
2021-12-06 12:51:53 +01:00
TakaRikka f7916ebde1
Merge pull request #165 from TakaRikka/link
daAlink work
2021-12-05 17:15:10 -08:00
TakaRikka b88340aca7 merge 2021-12-04 05:29:00 -08:00
TakaRikka fd9c4cafc4 wip 2021-12-04 05:10:59 -08:00
lepelog d51f7bf0c6 fix and format 2021-12-04 12:27:59 +01:00
lepelog c839b3336e JUTDbPrint 2021-12-03 10:07:20 +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
notyourav c4ef30bc95
Port JStudio work to new branch (#160)
* build fix

* stb

* functionvalue

* fvb

* jstudio cleanup

* d
2021-11-26 15:50:22 +01:00
Jonathan Wase 901b222eb8
JUTException (#154)
* JUTException inherit JKRThread

* OK __ct__12JUTExceptionFP14JUTDirectPrint

* OK create__12JUTExceptionFP14JUTDirectPrint

* OK setFPException__12JUTExceptionFUl

* OK showFloatSub__12JUTExceptionFif

* OK showFloat__12JUTExceptionFP9OSContext

* OK searchPartialModule__12JUTExceptionFUlPUlPUlPUlPUl

* OK search_name_part__FPUcPUci

* OK showStack__12JUTExceptionFP9OSContext

* OK showMainInfo__12JUTExceptionFUsP9OSContextUlUl

* OK showGPR__12JUTExceptionFP9OSContext

* OK __sinit_JUTException_cpp

* OK showMapInfo_subroutine__12JUTExceptionFUlb

* OK showGPRMap__12JUTExceptionFP9OSContext

* OK showSRR0Map__12JUTExceptionFP9OSContext

* OK printDebugInfo__12JUTExceptionFQ212JUTException9EInfoPageUsP9OSContextUlUl

* OK isEnablePad__12JUTExceptionCFv

* OK readPad__12JUTExceptionFPUlPUl

* NONMATCHING printContext__12JUTExceptionFUsP9OSContextUlUl

* OK printContext__12JUTExceptionFUsP9OSContextUlUl

* OK __dt__12JUTExceptionFv

* OK waitTime__12JUTExceptionFl

* OK createFB__12JUTExceptionFv

* OK setPreUserCallback__12JUTExceptionFPFUsP9OSContextUlUl_v

* OK __ct__13JUTExternalFBFP16_GXRenderModeObj8_GXGammaPvUl

* OK createConsole__12JUTExceptionFPvUl

* NONMATCHING queryMapAddress_single__12JUTExceptionFPcUllPUlPUlPcUlbb

* OK queryMapAddress__12JUTExceptionFPcUllPUlPUlPcUlbb

* OK appendMapFile__12JUTExceptionFPCc

* clean up

* OK panic_f__12JUTExceptionFPCciPCce

* OK panic_f_va__12JUTExceptionFPCciPCcP16__va_list_struct

* OK errorHandler__12JUTExceptionFUsP9OSContextUlUl

* format

* format

* fixed requested changes

* merged with master and removed *.s files

Co-authored-by: Julgodis <>
2021-11-09 23:09:38 +01:00
TakaRikka 5020395dfd
J2D structs + print / fix GX + MSL string headers (#157)
* J2D structs + print / fix GX + MSL string headers

* remove msl_c/string.h
2021-10-24 23:35:00 +02:00
TakaRikka a2636e84c3
J3D setup (#155)
* setup j3d classes

* remove asm

* fixes

* fix newDifferedDisplayList
2021-10-11 18:38:53 +02:00
TakaRikka 5390dfe55f
Z2AudioMgr / various JAudio setup (#152)
* audioMgr setup

* bunch of JAudio setup
2021-09-30 10:13:49 -04:00
TakaRikka eaf0fe5cae format 2021-09-27 15:57:11 -07:00
TakaRikka f041c554cb Merge branch 'master' of https://github.com/zeldaret/tp into pr___ 2021-09-27 15:46:25 -07:00
TakaRikka a08acfa69b m_Do_printf / JUTConsole 2021-09-27 15:27:58 -07:00
Julgodis 77ad390d8e Format and clean up from merge. 2021-09-27 18:49:30 +02:00
Julgodis 444cad0d10 Format and removed unused .s files. 2021-09-27 18:09:55 +02:00
Julgodis d0e22b9f1b OK postRetraceProc__8JUTVideoFUl 2021-09-27 18:09:54 +02:00
Julgodis c2fc1f85a5 OK drawDoneCallback__8JUTVideoFv 2021-09-27 18:09:54 +02:00
Julgodis a38b487493 OK preRetraceProc__8JUTVideoFUl 2021-09-27 18:09:54 +02:00
Julgodis 0e03ff4e3a OK __ct__8JUTVideoFPC16_GXRenderModeObj 2021-09-27 18:09:54 +02:00
Julgodis bb9dbd758f Removed #if DEBUG and clean up. 2021-09-26 12:28:18 +02:00
Julgodis bf12ea7a11 Removed JUtility.h and added './tp format' 2021-09-26 12:11:21 +02:00
Julgodis fa19d7a32e pull-request cleanup (main.dol: 15.597194%) 2021-09-26 03:49:41 +02:00
Julgodis 8adef19731 Removed .s files and cleanup. 2021-09-26 03:38:04 +02:00
Julgodis f01da4a3aa OK setCharColor__14JUTDirectPrintFUcUcUc 2021-09-26 03:38:04 +02:00
Julgodis e7c4a7a523 OK setCharColor__14JUTDirectPrintFQ28JUtility6TColor 2021-09-26 03:38:04 +02:00
Julgodis 801f438beb OK drawString_f__14JUTDirectPrintFUsUsPCce 2021-09-26 03:38:04 +02:00
Julgodis 2e31b7160b OK va_list, va_start, va_arg, and va_end 2021-09-26 03:38:03 +02:00
Julgodis d105dd9d80 OK drawString__14JUTDirectPrintFUsUsPc 2021-09-26 03:38:03 +02:00
Julgodis 8d5e81b12f OK printSub__14JUTDirectPrintFUsUsPCcP16__va_list_structb 2021-09-26 03:38:03 +02:00
Julgodis 0ed8a12f7f OK changeFrameBuffer__14JUTDirectPrintFPvUsUs 2021-09-26 03:38:03 +02:00
Julgodis 35631bf4ff NONMATCHING drawChar__14JUTDirectPrintFiii 2021-09-26 03:38:03 +02:00
Julgodis a998dca498 OK erase__14JUTDirectPrintFiiii 2021-09-26 03:38:03 +02:00
Julgodis 661e7cc214 OK start__14JUTDirectPrintFv 2021-09-26 03:38:03 +02:00
Julgodis 7d0aedacf6 OK __ct__14JUTDirectPrintFv 2021-09-26 03:38:03 +02:00
Julgodis bb8d99313b Added TColor.h 2021-09-26 03:38:03 +02:00
Julgodis 6b7484f3cd Fixed incorrect offset in RELs and JKRHeap redefined error. 2021-09-26 02:38:35 +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
TakaRikka 7d271be857
m_Do cleanup, d_resource, drawlist stuff (#145)
* d_resource / some d_stage

* setup dDlst_list_c / d_select_icon OK

* JUTXfb / some JUTVideo + various

* some J2D classes / JUTVideo/Fader attempts

* bunch of m_Do cleanup + matches / f_ap_game OK

* mDoLib_clipper::setup OK

* most of d_meter_HIO OK

* pane_class / kantera_icon_meter
2021-09-24 11:11:10 -04:00
Jcw87 ea42afb6f8
JKRExpHeap (#146) 2021-09-11 20:38:50 +02:00
lepelog f25c24699b
Jsupport stream and JKRAramArchive (#143)
* JSupport streams

* JKRAramArchive
2021-08-28 16:32:14 +02:00
TakaRikka daf45f768d
move J2D / JUTResFont (#144)
* move some JSystem and meter2_info stuff

* more J2D / JUTTexture / JUTPalette

* setup dScnKy_env_light_c
2021-08-28 16:25:03 +02:00
TakaRikka e14b04c54a
move more of d_save / d_com_inf_game (#141)
* some d_save matches / fixes

* more d_save cleanup

* fopAc_ac_c changes

* move a bunch of d_save / d_com_inf_game stuff

* format + remove asm

* move bit labels to correct header

* format

* move d_item

* fix check_itemno doc

* move

* fixes

* getLayerNo_common_common almost matching

just regalloc issues

* small fixes

* few more matches

* fix
2021-08-23 22:47:18 +02:00
TakaRikka 4448c08ac0
move / fix bunch of stuff (#133)
* fix some class structures / d_event wip

* d_event wip

* move gamepad stuff

* move m_Do_main

* move d_bomb / partial m_Do_reset

* format

* remove asm

* add Z2SoundID enum

* move some Z2 classes

* fix

* move more Z2 stuff

* fix fopAc_ac_c more
2021-06-12 18:22:36 -04:00
lepelog b728ec1ef5
J3duclip, fop_actor_mng and related stuff (#131)
* J3DUClipper sinit

* sincosTable_ etc

* decompile JMATrigonometric sinit

* f_op_actor_mng

* move f_op_actor_mng and parts of mDo_ext

* J3DSys sinit

* f_op_scene_req

* failed matching attempt for decodeSZS__9JKRDecompFPUcPUcUlUl

* mX -> x

* fix mCull and fopAcM_prm_class members

* fix a few function parameters

* move missing NON_MATCHING

* remove some unneeded data

* turns out that data was not unused

* remove unused asm

* readd asm deleted by accident
2021-06-02 08:13:31 -04:00
TakaRikka e915df66c8
move d_a_alink and some related stuff (#130)
* clean up d_a_player

* move some of daalink

* more daalink / daplayer

* setup some daalink members

* rest of daalink members setup

* remove comment

* few more matches

* remove asm

* more matches

* more matches + move e_wb_class

* fix some d_save classes

Co-authored-by: lepelog <lepelog@users.noreply.github.com>
2021-05-23 12:09:59 +02: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 8fd9f2ab5d
Copy JKernel (#126)
* start JSystem

* JKRAram and JUTGamePad

* started heap and thread

* more JKernel

* mostly finished JKernel

* delete unused asm

* JKRFileFinder

* delete unused asm and match findNextFile

* format

* fix mtx_vec
2021-05-02 20:03:24 -04:00
lepelog 63cd9416f2
move Z2Calc, c_math and f_op_draw_iter (#125)
* Z2Calc

* port over c_math

* fop_draw_iter

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-05-02 13:46:36 -04:00