port 2D step 2: 40250 item_proto/mob_proto through CLZO and pack://locale/<lang>/
proto.cpp reads the 40250 MIPX/MMPT tables with the ported CLZO/TEA (156-byte TItemTable, 255-byte SMobTable), replacing the m2dev XChaCha20 236/335 reader. Names follow CItemData::GetName / GetMonsterName (szLocaleName, cp1252). GDScript callers load AssetRoot.locale_file() = pack://locale/en/<name>, which makes the EterPack chain runtime-reachable; port-map entries for the functions a coverage run hit move to PORTED/ADAPTED. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"reference": "EterBase/FileLoader.cpp",
|
||||
"reference_sha256": "aaf832b188b7fff6350c7e3a41147fa4abfa2873ce160022c433dcac848c6875",
|
||||
"priority": "P4",
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"CMemoryTextFileLoader::CMemoryTextFileLoader": {
|
||||
"impl": [
|
||||
"extension/src/platform/EterBase/FileLoader.cpp:CMemoryTextFileLoader::CMemoryTextFileLoader"
|
||||
],
|
||||
"status": "ADAPTED",
|
||||
"note": "40250 file verbatim, one change: the high-bit test casts to signed char (char is unsigned on arm64)",
|
||||
"test": "extension/tests/port_eterpack_test.cpp (103 packs, 54891 entries, first-registered wins, 4 SECURITY rejects)"
|
||||
},
|
||||
"CMemoryTextFileLoader::~CMemoryTextFileLoader": {
|
||||
"impl": [
|
||||
"extension/src/platform/EterBase/FileLoader.cpp:CMemoryTextFileLoader::~CMemoryTextFileLoader"
|
||||
],
|
||||
"status": "ADAPTED",
|
||||
"note": "40250 file verbatim, one change: the high-bit test casts to signed char (char is unsigned on arm64)",
|
||||
"test": "extension/tests/port_eterpack_test.cpp (103 packs, 54891 entries, first-registered wins, 4 SECURITY rejects)"
|
||||
},
|
||||
"CMemoryTextFileLoader::SplitLineByTab": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryTextFileLoader::SplitLine2": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryTextFileLoader::SplitLine": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryTextFileLoader::GetLineCount": {
|
||||
"impl": [
|
||||
"extension/src/platform/EterBase/FileLoader.cpp:CMemoryTextFileLoader::GetLineCount"
|
||||
],
|
||||
"status": "ADAPTED",
|
||||
"note": "40250 file verbatim, one change: the high-bit test casts to signed char (char is unsigned on arm64)",
|
||||
"test": "extension/tests/port_eterpack_test.cpp (103 packs, 54891 entries, first-registered wins, 4 SECURITY rejects)"
|
||||
},
|
||||
"CMemoryTextFileLoader::CheckLineIndex": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryTextFileLoader::GetLineString": {
|
||||
"impl": [
|
||||
"extension/src/platform/EterBase/FileLoader.cpp:CMemoryTextFileLoader::GetLineString"
|
||||
],
|
||||
"status": "ADAPTED",
|
||||
"note": "40250 file verbatim, one change: the high-bit test casts to signed char (char is unsigned on arm64)",
|
||||
"test": "extension/tests/port_eterpack_test.cpp (103 packs, 54891 entries, first-registered wins, 4 SECURITY rejects)"
|
||||
},
|
||||
"CMemoryTextFileLoader::Bind": {
|
||||
"impl": [
|
||||
"extension/src/platform/EterBase/FileLoader.cpp:CMemoryTextFileLoader::Bind"
|
||||
],
|
||||
"status": "ADAPTED",
|
||||
"note": "40250 file verbatim, one change: the high-bit test casts to signed char (char is unsigned on arm64)",
|
||||
"test": "extension/tests/port_eterpack_test.cpp (103 packs, 54891 entries, first-registered wins, 4 SECURITY rejects)"
|
||||
},
|
||||
"CMemoryFileLoader::GetSize": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryFileLoader::GetPosition": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryFileLoader::IsReadableSize": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryFileLoader::Read": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryFileLoader::GetCurrentPositionPointer": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryFileLoader::CMemoryFileLoader": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CMemoryFileLoader::~CMemoryFileLoader": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CDiskFileLoader::GetSize": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CDiskFileLoader::Read": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CDiskFileLoader::Open": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CDiskFileLoader::Close": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CDiskFileLoader::Initialize": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CDiskFileLoader::CDiskFileLoader": {
|
||||
"status": "TODO"
|
||||
},
|
||||
"CDiskFileLoader::~CDiskFileLoader": {
|
||||
"status": "TODO"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user