Cfg:TranslateCountryInfo

From 3dbrew
Revision as of 22:08, 11 March 2017 by Wwylele (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00080080]}} {{IPC/RequestEntry|Original country info}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Request[edit]

Index Word Description
0 Header code [0x00080080]
1 Original country info
2 (u8) Translation direction (0: versionB->versionA; 1: versionA->versionB)

Response[edit]

Index Word Description
0 Header code [0x00080080]
1 Result code
2 Translated country info

Description[edit]

This goes through table matching country info code between version A and version B. If the specified code doesn't exist in the table, the original code is returned as the translated code. Currently the table only contains 5 entries, all of which are in country 0x6E (GB, United Kingdom):
Version A code Version B code
00 00 03 6E 00 00 04 6E
00 00 04 6E 00 00 05 6E
00 00 05 6E 00 00 06 6E
00 00 06 6E 00 00 07 6E
00 00 07 6E 00 00 03 6E