75 Commits

Author SHA1 Message Date
Yanis 6fee0769e9 Decompile VCMV library (#106)
* vcmv_cursor OK

* format and apply

* vcmv 18%

* vcmv 33%

* code_800838C0 98%, match other sections (vcmv 41%)

* vcmv 48%

* run dol-apply

* format

* vcmv_main 22% (vcmv 54%)

* vcmv_main 49% (vcmv 62%)

* vcmv_main OK (vcmv 76%)

* dol-apply and format

* code_800838C0 OK (vcmv 90%)

* code_800889E8 OK

* code_80089308 .text OK, started matching .rodata

* vcmv OK for oot-j

* format

* fix build and revert unwanted configure change

* remove existing vcmv splits

* match all versions except sm64-j and sm64-u

* dol-apply

* dol-apply sm64-e

* sm64-e fixes

* match sm64-j and sm64-u

* run dol-apply

* run format

* self-review
2026-09-06 15:25:04 +02:00
Yanis b72530b1a2 Add Super Mario 64 and Mario Kart 64 (#103)
* start mk64

* splits, rename dol to wii-vc, match some files

* dol apply

* format

* match system, rom and flash

* dol apply & format

* match errordisplay (and almost store)

* match store

* version stuff

* build fixes

* match banner.c

* link soundRVL

* match helpRVL

* match controller.c and random progress

* match library.c

* match libraries

* dol apply

* minor configure.py improvements

* name all functions for mk64-j and mk64-e and started splits

* complete splits for mk64-j

* run dol apply

* complete splits for mk64-e

* forgot __init_cpp_exceptions.cpp

* self-review

* add mk64 to CI

* add mk64 in the supported versions list from the readme

* version improvements

* fix build issues

* oot-vc -> wii-vc

* configure.py improvement

* version stuff

* initial configs

* name all functions

* complete splits and symbols for sm64-e

* more splits and symbols

* more splits and symbols 2

* more splits and symbols 3

* match homebutton differences for jp and us

* emulator progress

* run dol-apply and format

* add sm64 to CI

* fix some build issues

* library.c progress

* library.c progress 2

* library.c progress 3

* frame.c progress

Co-authored-by: cadmic <146315916+cadmic@users.noreply.github.com>

* cpu progress

* frameDrawSetupSP progress

* minor rsp progress

* review

* review 2 + fix match issues

* format

* review 2

* `VERSION >=` -> `VERSION >` for consistency

* add sm64 to the readme

* fake match rspParseGBI_F3DEX2

* review 4

* `VERSION >` -> `VERSION >=`

* format

* fix build issues

---------

Co-authored-by: Yanis42 <35189056+Yanis42@users.noreply.github.com>
Co-authored-by: cadmic <146315916+cadmic@users.noreply.github.com>
2025-10-24 19:32:40 +02:00
Yanis 52873b54f6 helpRVL docs based on mario tennis strings (#104) 2025-10-24 19:19:19 +02:00
Yanis 44ca5899db Name helpRVL functions (#97)
* name helpRVL functions

* helpMenuSetupSize -> helpMenuAllocate
2025-10-05 13:28:03 +02:00
cadmic 957c898a4a Match revolution/mem (#96)
* Link mem_frameHeap.c and mem_unitHeap.c

* Link mem_expHeap.c

* Remove duplicate ROUND_UP
2025-10-04 12:18:26 -07:00
Yanis 3dd53eb8bb Match banner.c for oot-j and oot-u (#94)
* match banner.c

* some docs & cleanup

* review
2025-10-03 21:13:25 +02:00
Yanis 8d925db967 Match HBM library (#93)
* started ut_ResFont.cpp

* match ut_ResFontBase.cpp

* start ut_TextWriterBase.cpp

* match HBMFrameController.cpp

* remove useless comments

* format

* new headers

* progress

* progressn't

* add bte headers from wii sports

* prog

* exclude bte from formatter

* match hbmcontroller.cpp and link ut_tagprocessorbase.cpp

* progressn't

* match HBMRemoteSpk.cpp

* format

* started db stuff and matched ut_list.cpp

* format

* progress

* complete ut splits

* format

* config link order based on strings

* start HBMBase.cpp

* layout splits

* solve some layout mystery files

* format

* debug module splits

* format

* snd split progress

* snd split progress

* match some files

* match some files 2

* progressn't

* format and progress on HBMBase

* link framecontroller

* link lyt_animation

* named some funcs and matched a file

* uh

* redo db but better!

* format and remove tabs

* nw4r -> nw4hbm

* cleanup panic macros

* remove useless files

* fix build/matching issues

* NW4HBMAssertHeaderRange -> NW4HBMAssertHeaderRangeValue

* db progress

* match directprint

* mapfile progress

* unnamed func to db::Warning

* match db_assert.cpp

* format

* a symbol!

* match DoDrawConsole

* match ut_resfont

* match lyt_bounding

* symbols splits and lyt_arcresourceaccessor progress

* match lyt_common

* match lyt_drawinfo

* match lyt_group

* run dol-apply

* match lyt_layout

* run dol-apply

* lyt_material progress

* more lyt_material progress

* match lyt_pane (but can't link it yet...)

* more progress

* missing include

* syms

* lyt_textbox prog

* window and textbox progress

* ut_TextWriterBase prog

* match ut_textwriterbase (but function order issues)

* match ut *Stream files

* run dol-apply

* snd progress

* more snd splits

* more more snd splits

* more more more snd splits

* even more snd splits

* more even more snd splits

* fix typo

* symbol fix

* completed snd splits!

* progress on axmanager

* match axmanager .text

* almost match axvoice .text

* match bank

* match bankfile

* match basicsound

* fix envgenerator

* match channel

* I'm stupid (forgot to commit the source of previously matched files)

* match disposecallbackmanager

* match dvdsoundarchive

* match externsoundplayer .text

* match externalsoundplayer and frameheap

* match instancepool

* match lfo

* match memorysoundarchive

* solve midi mystery

* match mmlparser

* match both MmlSeq files

* match nandsoundarchive

* match remotespeaker and remotespeakermanager

* match axvoice and fix some build issues

* prog

* Merge build issues fix branch

* fix headers

* fixed helpRVL

* snd_SoundArchivePlayer splits

* match seqfile

* run dol-apply

* almost match seqplayer

* match seqsoundhandle

* Match db_console.cpp .text

* match db_console .data

* match seqplayer

* link axvoice

* match seqsound

* match seqtrack

* dol apply

* match soundarchive

* match soundarchivefile

* dol apply

* match soundarchiveloader

* match soundhandle

* match soundheap

* match soundplayer

* dol apply

* match soundstartable

* match soundsystem

* match soundthread

* dol apply

* match strmchannel

* match strmfile

* match strmplayer 1

* match strmplayer 2 (vtable issues)

* mark soundhandle as matched

* match strmsound

* match taskmanager

* match taskthread

* match util

* match wavefile

* match waveplayer

* match wavesound

* match wavesoundhandle

* match wsdfile

* match wsdplayer and fix vtable issues

* dol apply

* match wsdtrack

* improve lyt_pane data

* Match more of snd_SoundArchivePlayer

* soundarchiveplayer vtable improvements

* remove unused source

* run format

* alignas -> ATTRIBUTE_ALIGN (for consistency) + build fix

* header cleanup: db files

* header cleanup: ut files

* header cleanup: math files

* header cleanup: lyt files

* header cleanup: remaining files

* fix hbmguimanager

* header cleanup: snd files

* run format

* header cleanup: misc files

* cleanup hbmassert

* remove useless comments + format

* source cleanup 1

* more cleanup

* match lyt_picture

* match lyt_textbox

* dol apply

* more cleanup

* run formatter

* link lyt_pane

* cleanup and link lyt_arcresourceacccessor

* match lyt_material .text

* match Window::Window

* match snd_axmanager

* dol apply

* match hbmanmcontroller

* hbmbase progress

* more hbmbase progress

* hbmbase progress

* more hbmbase progress

* hbmbase progress

* equivalent hbmbase

* match hbmbase

* fix build issues and link hbmbase

* dol-apply

* MATCH SND_SOUNDARCHIVEPLAYER!!!!!!!!!!!!!!

* format

* fill data gap

* cleanup pass 1

* cleanup pass 2

* format

* cleanup pass 3

* format

* cleanup pass 4

* cleanup pass 5

* hbmbase cleanup

* format

* `sizeof foo` -> `sizeof(foo)`

* remove tabs

* name things in HBMBase and cleanup helpRVL

* splits and symbols for oot-u and oot-e

* dol apply

* fix build errors

* fix formatting issues

* revert unwanted changes

* remove bte headers

* revert unwanted libc changes

* missed a bte file

* revert ./format changes and small helpRVL changes

* review and cleanup strings in db_mapFile

---------

Co-authored-by: cadmic <cadmic24@gmail.com>
2025-10-03 21:06:41 +02:00
cadmic 2da23233ab Runtime progress (#92)
* progress

* Work on operator new()

* Remove throw() from malloc/free declarations

---------

Co-authored-by: Yanis002 <35189056+Yanis002@users.noreply.github.com>
2025-09-27 11:12:11 -07:00
cadmic 502feab002 Match cnt.c (#91)
* Match cnt.c

* Format
2025-09-27 00:38:52 +02:00
cadmic 1042a1318b Match GXFifo.c, AXAux.c, AXOut.c and start AXVPB.c (#89)
* Dedup GXFifoObj structs

* Match GXFifo.c

* Match AXAux.c

* Match AXOut.c

* WIP AXVPB.c

* Fix oot-u/oot-e

* AXSetVoiceRemote -> AXSetVoiceRmtOn
2025-09-25 17:06:05 -07:00
cadmic b3aae5f834 Match some frame functions (#87)
* Match more frame functions

* Improve rdpParseGBI

* Fix frame struct offsets

* Rename unknown frame matrices
2025-09-22 06:25:03 -07:00
cadmic 0f2635c545 Match more RSP functions (#85)
* Match some RSP graphics functions

* Match some RSP audio functions
2025-09-21 11:10:19 -07:00
cadmic bd470298cc Import RSP functions from oot-gc (#83) 2025-09-20 11:22:30 -07:00
Yanis b28c406d4a Match most of libc (#80)
* started libc

* progress

* format

* match file_io.c

* match mem_funcs and math_api

* printf prog and match strtoul.c

* format

* match bsearch.c

* match ansi_fp.c

* make USE_CURRENT_LOCALE a global define

* started time.c

* match the printf function

* add splits for oot-u and oot-e

* cleanup

* review
2025-05-11 14:58:29 +02:00
Yanis dfad7c51b8 Match controller.c (#78)
* match controller.c

* review

* add function declarations
2025-05-10 15:58:11 +02:00
Yanis 6450b1c852 Match helpRVL.c for oot-j (#76)
* started helpRVL.c

* progress

* post-merge fixes

* "progress"

* match fn_8005EDFC and fn_8005F1F4 progress

* almost match fn_8005E800

* fix build issues & format

* imrpovements

* match fn_8005EAFC

* match fn_8005E800, fn_8005F1F4 and fix bss (almost)

* details

* cleanup and match the last function

* revert unwanted changes and add splits for us and eu

* fix build issues

* review + add function declarations

---------

Co-authored-by: Yanis42 <35189056+Yanis42@users.noreply.github.com>
2025-05-10 06:36:13 -07:00
Yanis 86ae5f2631 Random improvements (#74) 2025-05-09 02:26:23 +02:00
Yanis 6670c22be0 Match MetroTRK library (#68)
* format

* started metrotrk

* progress

* match metrotrk

* cleanup

* fix oot-u (and add version print for missing configs)

* fix oot-e

* remove unnecessary force_active
2025-05-06 22:33:19 +02:00
cadmic 23b4dee1ea Match small cpu functions (#71) 2025-05-06 12:28:49 -07:00
cadmic ba0ba71d91 Match a bunch of frame.c functions (#69)
* Remove NON_MATCHING from frame.c

* Match some frame functions
2025-05-06 12:13:04 -07:00
Yanis 2164038eac store.c -> storeRVL.c and better match for xlFileLoad (#67) 2025-05-03 22:28:43 +02:00
Yanis 107fc0c144 Various improvements (#61)
* various improvements

* other improvements
2024-10-14 15:22:28 +02:00
cadmic 1a090efea5 Make progress on projection-matrix-handling frame functions (#60)
* Fix Frame offset comments

* Make progress on frameLoadVertex

* More progress on project matrix usages

* Use GXFogType

* Name frameDrawSetupFog functions

* Remove nLensBuffer
2024-10-08 12:21:05 -07:00
cadmic bb46eade57 Fix CPU offset comments (#59) 2024-10-05 14:08:15 -07:00
Yanis 50fac9d2a6 Add oot-u and oot-e (#57)
* start oot-u

* complete text splits and name symbols

* splits for sbss bss sdata2 sdata

* added data splits and matched some files

* dol apply oot-u

* match system.c and fix some cpu stuff

* match sdk for oot-u

* setup oot-e

* match oot pal emu

* dol-apply oot-e

* update readme

* match sdk for oot-e

* dol-apply oot-e

* bagdes

* review

* review 2
2024-09-26 23:04:33 +02:00
Yanis b6a2700a62 Some progress on frame.c (#56)
* frame progress

* review
2024-09-25 22:12:47 +02:00
Yanis 522a825a5f Start SDK files (#54)
* started rvl_sdk

* dol apply & format

* fix small issue in vi

* build issues
2024-09-17 23:08:33 +02:00
Yanis 253983b945 Update the headers (#53)
* update headers

* small fix
2024-09-17 01:29:57 +02:00
Yanis 9947334268 Update splits and symbols (#52)
* add splits, rename symbols and fix related issues

* missed stuff

* build issues
2024-09-16 23:29:18 +02:00
Yanis 1ecbc53531 Match `errordisplay.c and stringtable.c` (#51)
* match errordisplay.c and stringtable.c (and document the related things)

* review

* review 2

* fix oopsie
2024-09-14 01:34:09 +02:00
Yanis 92a02201f2 Match most of runtime (#49)
* match some runtime functions

* match the last non-c++ file
2024-09-08 13:56:49 -07:00
cadmic d714d12a5d Match more of library (#44) 2024-09-05 09:07:57 -07:00
Yanis f5af926968 Match system.c (#41) 2024-09-02 13:47:40 -07:00
Yanis c5223ceb89 Run the formatter and run dol-apply (#40) 2024-09-01 23:20:08 +02:00
Yanis 6d1477e324 Matched _frameGCNcc.c and started buildtev.c (#32)
* add buildtev and framegcncc

* gColorArgs build fix

* fixed decompme context

* review & cleanup

* match _frameGCNcc.c
2024-09-01 23:12:51 +02:00
Yanis b7380d095e Matched store.c, started controller.c and rdp.c (#35)
* store (1 non-matching), controller and rdp

* cleanup & review

* match store.c
2024-09-01 22:05:31 +02:00
Yanis 333ff11fe6 Match system.c (2 non matching) (#37)
* match system.c (1 non matching)

* SOT_PERIPHERAL/SOT_MIPS > SOT_PI/SOT_MI

* review
2024-08-31 13:43:05 -07:00
Yanis 7b9a11700e Match most of cpu.c (+ merge and match tree.c) (#27)
* match most of cpu.c (+ merge and match tree.c)

* improvements from sram review

* fix build issues

* restore existing docs (and fix some oddities)

* review
2024-08-31 21:21:54 +02:00
Yanis 6d7c733fce Match/improve some runtime/metrotrk files (#21)
* matched some library files

* Match __init_cpp_exceptions.cpp

---------

Co-authored-by: cadmic <cadmic24@gmail.com>
2024-08-31 00:37:14 +02:00
Yanis eec2de746d Rename: `eeprom -> pak` (#38) 2024-08-30 21:16:12 +02:00
Yanis 17bebdc33d Match/improve `xl` files (#23)
* match xl files (2 non-matchings left in xlHeap.c)

* review

* remove HEAP_ALIGN
2024-08-30 20:32:55 +02:00
Yanis e9b61f97b5 Match rdb and pif (#30)
* match rdb and add pif (3 non matching)

* review

* run dol-apply
2024-08-30 20:13:03 +02:00
Yanis 517b9405b5 Improve rom.c (#26)
* match/improve rom.c

* review
2024-08-30 01:36:47 +02:00
Yanis 9e6b228f34 delete unwanted file (#22) 2024-08-29 12:32:11 -07:00
Yanis 6dd6da43b8 Update emulator's headers (#16)
* add emulator headers

* review

* order fix

* revert macros.inc

* review 2
2024-08-29 12:15:17 -07:00
Yanis 2999650411 add the remaining headers (#19) 2024-08-28 21:47:19 -07:00
Yanis bf3159a71d add sdk headers (#18) 2024-08-28 21:47:14 -07:00
Yanis e554e4a8d6 Import libc headers (#17)
* add libc headers

* removed the older libc files
2024-08-28 21:47:07 -07:00
Yanis fcb1dc19a8 Rename existing files to match oot-gc structure (#20) 2024-08-28 13:31:52 -07:00
krimtonz 319b595141 match a few more heap functions, closer/better matches for the rest (#11)
Co-authored-by: Andrew Meyers <meyers.p.andy@gmail.com>
2022-02-18 21:53:58 +00:00