port: complete python ledger mapping, audio commands bridge and platform stubs

- Added Client/root (74 modules, 3350 funcs) mapped to RUN_AS_IS
- Added UserInterface/PythonNetworkStreamModule.cpp.json mapped to PORTED
- Implemented AudioCommands queue bridging MilesLib SoundManager to Godot AudioDriver
- Implemented AudioDriver node for BGM crossfading, 2D UI SFX and 3D spatial sounds
- Implemented core platform stubs in PythonApplication, GrpScreen, and PythonGraphic
- Passed all 12 port tests (port_gate macos) and python_game_render_test
This commit is contained in:
shen
2026-09-23 23:44:48 -07:00
parent 3981cbe5e6
commit c84f913cfd
85 changed files with 25310 additions and 20 deletions
@@ -0,0 +1,295 @@
{
"reference": "../../Client/Eternexus/root/localeinfo.py",
"reference_sha256": "48653767e2c28e3828d3e1aacb826a2f2a58511beb19d86dfc8fe1c5c57f6bb9",
"priority": "P3",
"contracts": [],
"functions": {
"IsYMIR": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsYMIR"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsJAPAN": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsJAPAN"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsENGLISH": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsENGLISH"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsHONGKONG": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsHONGKONG"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsTAIWAN": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsTAIWAN"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsNEWCIBN": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsNEWCIBN"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsCIBN10": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsCIBN10"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsEUROPE": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsEUROPE"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsCANADA": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsCANADA"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsBRAZIL": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsBRAZIL"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsVIETNAM": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsVIETNAM"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsSINGAPORE": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsSINGAPORE"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsARABIC": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsARABIC"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsWE_KOREA": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsWE_KOREA"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"LoadLocaleData": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:LoadLocaleData"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IsCHEONMA": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:IsCHEONMA"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"mapping": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:mapping"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SNA": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:SNA"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"f": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:f"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SA": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:SA"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"LoadLocaleFile": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:LoadLocaleFile"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GetAuxiliaryWordType": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:GetAuxiliaryWordType"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"CutMoneyString": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:CutMoneyString"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SecondToDHM": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:SecondToDHM"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SecondToHM": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:SecondToHM"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GetAlignmentTitleName": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:GetAlignmentTitleName"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GetLetterImageName": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:GetLetterImageName"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GetLetterOpenImageName": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:GetLetterOpenImageName"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GetLetterCloseImageName": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:GetLetterCloseImageName"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"EUL": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:EUL"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"I": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:I"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"DO_YOU_SELL_ITEM": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:DO_YOU_SELL_ITEM"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"DO_YOU_BUY_ITEM": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:DO_YOU_BUY_ITEM"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"REFINE_FAILURE_CAN_NOT_ATTACH": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:REFINE_FAILURE_CAN_NOT_ATTACH"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"REFINE_FAILURE_NO_SOCKET": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:REFINE_FAILURE_NO_SOCKET"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"REFINE_FAILURE_NO_GOLD_SOCKET": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:REFINE_FAILURE_NO_GOLD_SOCKET"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"HOW_MANY_ITEM_DO_YOU_DROP": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:HOW_MANY_ITEM_DO_YOU_DROP"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"NumberToMoneyString": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:NumberToMoneyString"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"NumberToSecondaryCoinString": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:NumberToSecondaryCoinString"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"FISHING_NOTIFY": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:FISHING_NOTIFY"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"FISHING_SUCCESS": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/localeinfo.py:FISHING_SUCCESS"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
}
}
}