Commit graph

3 commits

Author SHA1 Message Date
Isaac0-dev
354ba8f846 fix some issues with missing sequences 2025-03-09 14:40:13 +10:00
Isaac0-dev
0810f01396 no longer need a rom to compile the game
the files:
- sound_data_compressed.ctl
- sound_data_compressed.tbl
- sequences_compressed.bin
are now added as files that are generated by assemble_sound.py, they're compressed, and are decompressed at compile time.
rom assets have been removed from these files, so they are now just metadata for loading the sounds that are extracted at runtime.
2025-03-08 12:43:29 +10:00
Isaac0-dev
663e4549d8
extract assets from rom at runtime (#4)
* Proof of concept for loading rom assets at runtime

* Added skybox textures

* Adjusted format

* Load all texture assets from rom

* Adjusted rom asset loading

* Load all Vtx lists from rom

* clean up toad, wario and his cap conflicts

* Load sound samples from rom

* fix toad sounds

* Loaded sequences from rom

* Load collisions from rom

* Object animations are now loaded from the rom

* Load player animations from rom

* Load goddard anims from rom

* whoops

* fix some compile errors

* drag and drop rom checker, everything works now.

* fix errors due to merge conflicts

* fix compile errors on windows, switch to md5

* fix vertex colors during load

Co-Authored-By: Agent X <44549182+agent-11@users.noreply.github.com>

* Load dialogs from rom

* Loaded course/act names from rom

* Loaded ingame text from rom

* rerun autogen & blacklist smlua_text_utils_init

* fix ttc_seg7_vertex_0700B238 colors

---------

Co-authored-by: MysterD <myster@d>
Co-authored-by: Agent X <44549182+agent-11@users.noreply.github.com>
2024-03-23 16:11:30 -04:00