sm64coopdx/levels/hmc/texture.inc.c
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

21 lines
1 KiB
C

#include "pc/rom_assets.h"
// 0x07000000 - 0x07001000
ROM_ASSET_LOAD_TEXTURE(hmc_seg7_texture_07000000, "levels/hmc/0.rgba16.inc.c", 0x003d0dc0, 89137, 0x00000000, 4096);
// 0x07001000 - 0x07002000
ROM_ASSET_LOAD_TEXTURE(hmc_seg7_texture_07001000, "levels/hmc/1.rgba16.inc.c", 0x003d0dc0, 89137, 0x00001000, 4096);
// 0x07002000 - 0x07003000
ROM_ASSET_LOAD_TEXTURE(hmc_seg7_texture_07002000, "levels/hmc/2.rgba16.inc.c", 0x003d0dc0, 89137, 0x00002000, 4096);
// 0x07003000 - 0x07003800
ROM_ASSET_LOAD_TEXTURE(hmc_seg7_texture_07003000, "levels/hmc/3.rgba16.inc.c", 0x003d0dc0, 89137, 0x00003000, 2048);
// 0x07003800 - 0x07004000
ROM_ASSET_LOAD_TEXTURE(hmc_seg7_texture_07003800, "levels/hmc/4.rgba16.inc.c", 0x003d0dc0, 89137, 0x00003800, 2048);
// 0x07004000 - 0x07004800
ROM_ASSET_LOAD_TEXTURE(hmc_seg7_texture_07004000, "levels/hmc/5.rgba16.inc.c", 0x003d0dc0, 89137, 0x00004000, 2048);
// 0x07004800 - 0x07005800
ROM_ASSET_LOAD_TEXTURE(hmc_seg7_texture_07004800, "levels/hmc/6.rgba16.inc.c", 0x003d0dc0, 89137, 0x00004800, 4096);