sm64coopdx/levels/ccm/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

36 lines
1.7 KiB
C

#include "pc/rom_assets.h"
// 0x07000000 - 0x07000800
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07000000, "levels/ccm/0.rgba16.inc.c", 0x00383950, 74560, 0x00000000, 2048);
// 0x07000800 - 0x07000900
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07000800, "levels/ccm/1.rgba16.inc.c", 0x00383950, 74560, 0x00000800, 256);
// 0x07000900 - 0x07001100
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07000900, "levels/ccm/2.rgba16.inc.c", 0x00383950, 74560, 0x00000900, 2048);
// 0x07001100 - 0x07001900
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07001100, "levels/ccm/3.rgba16.inc.c", 0x00383950, 74560, 0x00001100, 2048);
// 0x07001900 - 0x07002100
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07001900, "levels/ccm/4.rgba16.inc.c", 0x00383950, 74560, 0x00001900, 2048);
// 0x07002100 - 0x07002900
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07002100, "levels/ccm/5.rgba16.inc.c", 0x00160670, 20585, 0x0000bc70, 2048);
// 0x07002900 - 0x07003100
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07002900, "levels/ccm/6.rgba16.inc.c", 0x00160670, 20585, 0x0000b470, 2048);
// 0x07003100 - 0x07003900
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07003100, "levels/ccm/7.rgba16.inc.c", 0x00383950, 74560, 0x00003100, 2048);
// 0x07003900 - 0x07003B00
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07003900, "levels/ccm/8.ia16.inc.c", 0x00383950, 74560, 0x00003900, 512);
// 0x07003B00 - 0x07004300
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07003B00, "levels/ccm/9.ia16.inc.c", 0x00383950, 74560, 0x00003b00, 2048);
// 0x07004300 - 0x07004B00
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07004300, "levels/ccm/10.rgba16.inc.c", 0x00383950, 74560, 0x00004300, 2048);
// 0x07004B00 - 0x07005300
ROM_ASSET_LOAD_TEXTURE(ccm_seg7_texture_07004B00, "levels/ccm/11.rgba16.inc.c", 0x00383950, 74560, 0x00004b00, 2048);