Update dtk & use asset extraction for font

Former-commit-id: 87c251bd40b95b3e8ee03cdca5e0699a620c46c4
This commit is contained in:
Luke Street 2023-11-26 00:56:57 -05:00
parent 01b60994cb
commit 622219bb94
7 changed files with 25 additions and 231 deletions

View File

@ -3,8 +3,9 @@
{ {
"name": "Linux", "name": "Linux",
"includePath": [ "includePath": [
"${workspaceFolder}/include/**", "${workspaceFolder}/include",
"${workspaceFolder}/libc/**" "${workspaceFolder}/libc",
"${workspaceFolder}/build/*/include"
], ],
"cStandard": "c99", "cStandard": "c99",
"cppStandard": "c++98", "cppStandard": "c++98",

50
.vscode/settings.json vendored
View File

@ -19,54 +19,8 @@
"editor.tabSize": 2, "editor.tabSize": 2,
"files.associations": { "files.associations": {
"source_location": "cpp", "source_location": "cpp",
"stdio.h": "c", "*.h": "c",
"stddef.h": "c", "*.inc": "c"
"errno.h": "c",
"ansi_files.h": "c",
"types.h": "c",
"gba.h": "c",
"gbapriv.h": "c",
"os.h": "c",
"sipriv.h": "c",
"dvd_regs.h": "c",
"dvd.h": "c",
"dvdpriv.h": "c",
"__ppc_eabi_linker.h": "c",
"hack.h": "c",
"db.h": "c",
"ppcarch.h": "c",
"osalarm.h": "c",
"ospriv.h": "c",
"gx.h": "c",
"osthread.h": "c",
"osserial.h": "c",
"osmutex.h": "c",
"osexception.h": "c",
"oserror.h": "c",
"oscontext.h": "c",
"oscache.h": "c",
"stdlib.h": "c",
"musyx_priv.h": "c",
"gxenum.h": "c",
"trees.h": "c",
"musyx.h": "c",
"dsp_import.h": "c",
"osinterrupt.h": "c",
"osmodule.h": "c",
"dsp_regs.h": "c",
"dsp.h": "c",
"ar.h": "c",
"osrtcpriv.h": "c",
"osbootinfo.h": "c",
"assert.h": "c",
"math.h": "c",
"gxpriv.h": "c",
"osfastcast.h": "c",
"osfont.h": "c",
"arq.h": "c",
"string.h": "c",
"hw_regs.h": "c",
"synth.h": "c"
}, },
"files.autoSave": "onFocusChange", "files.autoSave": "onFocusChange",
"files.insertFinalNewline": true, "files.insertFinalNewline": true,

View File

@ -6,6 +6,15 @@ mw_comment_version: 8
quick_analysis: true # Faster reruns after full analysis quick_analysis: true # Faster reruns after full analysis
fill_gaps: false # Alignments known fill_gaps: false # Alignments known
# Extract embedded assets
extract:
- symbol: sDefaultFontData
binary: MetroidPrime/DefaultFontData.bin
header: MetroidPrime/DefaultFontData.inc
- symbol: sDefaultFontTexture
binary: MetroidPrime/DefaultFontTexture.bin
header: MetroidPrime/DefaultFontTexture.inc
modules: modules:
- object: orig/GM8E01_00/files/NESemuP.rel - object: orig/GM8E01_00/files/NESemuP.rel
hash: 5ad6bb727d6dd220e6aceef9143c61a86a6f2bb5 hash: 5ad6bb727d6dd220e6aceef9143c61a86a6f2bb5

View File

@ -16699,8 +16699,8 @@ _ctors = .ctors:0x803CB1C0; // type:label scope:global data:4byte
_dtors = .dtors:0x803CB380; // type:label scope:global data:4byte _dtors = .dtors:0x803CB380; // type:label scope:global data:4byte
__destroy_global_chain_reference = .dtors:0x803CB380; // type:object size:0x4 scope:global __destroy_global_chain_reference = .dtors:0x803CB380; // type:object size:0x4 scope:global
__fini_cpp_exceptions_reference = .dtors:0x803CB384; // type:object size:0x4 scope:global __fini_cpp_exceptions_reference = .dtors:0x803CB384; // type:object size:0x4 scope:global
lbl_803CB3A0 = .rodata:0x803CB3A0; // type:object size:0x650 sDefaultFontData = .rodata:0x803CB3A0; // type:object size:0x650 scope:local data:byte
lbl_803CB9F0 = .rodata:0x803CB9F0; // type:object size:0x45C sDefaultFontTexture = .rodata:0x803CB9F0; // type:object size:0x45C scope:local data:byte
lbl_803CBE4C = .rodata:0x803CBE4C; // type:object size:0x28 data:4byte lbl_803CBE4C = .rodata:0x803CBE4C; // type:object size:0x28 data:4byte
lbl_803CBE74 = .rodata:0x803CBE74; // type:object size:0xA data:string lbl_803CBE74 = .rodata:0x803CBE74; // type:object size:0xA data:string
lbl_803CBE7E = .rodata:0x803CBE7E; // type:object size:0xF data:string lbl_803CBE7E = .rodata:0x803CBE7E; // type:object size:0xF data:string

View File

@ -125,10 +125,10 @@ if not is_windows():
config.wrapper = args.wrapper config.wrapper = args.wrapper
# Tool versions # Tool versions
config.compilers_tag = "20230715" config.compilers_tag = "20231018"
config.dtk_tag = "v0.5.8" config.dtk_tag = "v0.6.2"
config.sjiswrap_tag = "v1.1.1" config.sjiswrap_tag = "v1.1.1"
config.wibo_tag = "0.6.4" config.wibo_tag = "0.6.9"
# Project # Project
config.config_path = Path("config") / config.version / "config.yml" config.config_path = Path("config") / config.version / "config.yml"
@ -158,6 +158,7 @@ cflags_base = [
"-nosyspath", "-nosyspath",
"-i include", "-i include",
"-i libc", "-i libc",
f"-i build/{config.version}/include",
"-DPRIME1", "-DPRIME1",
f"-DVERSION={version_num}", f"-DVERSION={version_num}",
"-DNONMATCHING=0", "-DNONMATCHING=0",

View File

@ -220,181 +220,9 @@ CGameGlobalObjects::CGameGlobalObjects(COsContext& osContext, CMemorySys& memory
gpDefaultFont = &x154_defaultFont; gpDefaultFont = &x154_defaultFont;
} }
const uchar sDefaultFontData[] = { // Generated includes
0x78, 0xDA, 0x8D, 0x57, 0x5B, 0x6F, 0x54, 0x55, 0x14, 0x5E, 0xA5, 0x74, 0x3A, 0x9D, 0x96, 0x82, #include "MetroidPrime/DefaultFontData.inc"
0x18, 0x85, 0x48, 0xD2, 0x40, 0xB9, 0x28, 0xD7, 0x52, 0x29, 0xA5, 0xB7, 0xD9, 0x5B, 0x6B, 0x69, #include "MetroidPrime/DefaultFontTexture.inc"
0xA1, 0x42, 0xB9, 0xB4, 0x94, 0x8A, 0xD0, 0xD2, 0x4E, 0xE7, 0xD6, 0x4E, 0x67, 0xDA, 0xB9, 0x74,
0x68, 0x45, 0x99, 0x28, 0xF3, 0x40, 0xD4, 0xF0, 0x0B, 0x8C, 0x31, 0xC6, 0xF8, 0xA2, 0xF1, 0xC5,
0xC4, 0x18, 0x35, 0xC6, 0xC4, 0x17, 0xE3, 0x83, 0x31, 0x4A, 0x7C, 0x21, 0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xB7, 0x03, 0xC8, 0x78, 0xAF, 0x56, 0xA4, 0xCF, 0x4D, 0x27, 0x72, 0xE3, 0x78, 0x1D,
0xFF, 0xEF, 0xE4, 0x61, 0xC0, 0xAE, 0x9F, 0x08, 0x4E, 0xB8, 0xCF, 0x74, 0x61, 0xC3, 0x7B, 0x4E,
0x1C, 0xE5, 0x2E, 0x1A, 0xD3, 0x8D, 0x63, 0xC1, 0xFD, 0x7A, 0xDB, 0xC0, 0xD5, 0x1B, 0x8D, 0xFB,
0x5E, 0xC7, 0xBB, 0xD5, 0x36, 0xA7, 0x12, 0x34, 0xCE, 0xA2, 0x2E, 0xAE, 0xE2, 0x1D, 0x6B, 0xE8,
0xA5, 0xA3, 0x60, 0x0D, 0x10, 0x45, 0x01, 0x95, 0x7B, 0xDA, 0xA6, 0xA7, 0xA2, 0x7C, 0xB7, 0x1E,
0xA4, 0xCC, 0x57, 0xCC, 0x2F, 0xCF, 0x52, 0x54, 0x8C, 0x77, 0x0F, 0x35, 0xF1, 0xB3, 0xE2, 0x7D,
0x55, 0x67, 0xD3, 0xC3, 0x15, 0xCF, 0x11, 0x1B, 0x03, 0xFF, 0x88, 0x40, 0x7C, 0x9C, 0xFF, 0xF5,
0x7C, 0x3D, 0x5F, 0xCF, 0x7F, 0xFB, 0xFC, 0x01, 0x92, 0xD9, 0xBE, 0x26,
};
CRasterFont* CGameGlobalObjects::LoadDefaultFont() { CRasterFont* CGameGlobalObjects::LoadDefaultFont() {
CZipInputStream fontDataStream(rs_new CMemoryInStream(sDefaultFontData, sizeof(sDefaultFontData))); CZipInputStream fontDataStream(rs_new CMemoryInStream(sDefaultFontData, sizeof(sDefaultFontData)));
@ -704,7 +532,7 @@ void CMain::EnsureWorldPakReady(CAssetId id) {
rstl::vector< rstl::pair< rstl::string, SObjectTag > > nameList = pakFile.NameList(); rstl::vector< rstl::pair< rstl::string, SObjectTag > > nameList = pakFile.NameList();
rstl::vector< rstl::pair< rstl::string, SObjectTag > >::iterator cur = nameList.begin(); rstl::vector< rstl::pair< rstl::string, SObjectTag > >::iterator cur = nameList.begin();
while (cur != nameList.end()) { while (cur != nameList.end()) {
if (cur->second.id == id) { if (cur->second.GetId() == id) {
notInNameList = false; notInNameList = false;
} }
++cur; ++cur;

View File

@ -799,6 +799,7 @@ def generate_objdiff_config(config, build_config):
"*.cpp", "*.cpp",
"*.h", "*.h",
"*.hpp", "*.hpp",
"*.inc",
"*.py", "*.py",
"*.yml", "*.yml",
"*.txt", "*.txt",