https://www.3dbrew.org/w/index.php?title=Cfg:TranslateCountryInfo&feed=atom&action=history
Cfg:TranslateCountryInfo - Revision history
2024-03-28T16:40:50Z
Revision history for this page on the wiki
MediaWiki 1.35.8
https://www.3dbrew.org/w/index.php?title=Cfg:TranslateCountryInfo&diff=19752&oldid=prev
Wwylele: Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00080080]}} {{IPC/RequestEntry|Original country info}}..."
2017-03-11T20:08:53Z
<p>Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00080080]}} {{IPC/RequestEntry|Original <a href="/wiki/Config_Savegame#CountryInfo" title="Config Savegame">country info</a>}}..."</p>
<p><b>New page</b></p><div>=Request=<br />
{{IPC/Request}}<br />
{{#vardefine:ipc_offset|0}}<br />
{{IPC/RequestEntry|Header code [0x00080080]}}<br />
{{IPC/RequestEntry|Original [[Config_Savegame#CountryInfo|country info]]}}<br />
{{IPC/RequestEntry|(u8) Translation direction (0: versionB->versionA; 1: versionA->versionB)}}<br />
{{IPC/RequestEnd}}<br />
<br />
=Response=<br />
{{IPC/Request}}<br />
{{#vardefine:ipc_offset|0}}<br />
{{IPC/RequestEntry|Header code [0x00080080]}}<br />
{{IPC/RequestEntry|Result code}}<br />
{{IPC/RequestEntry|Translated country info}}<br />
{{IPC/RequestEnd}}<br />
<br />
=Description=<br />
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):<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Version A code<br />
! Version B code<br />
|-<br />
| 00 00 03 6E<br />
| 00 00 04 6E<br />
|-<br />
| 00 00 04 6E<br />
| 00 00 05 6E<br />
|-<br />
| 00 00 05 6E<br />
| 00 00 06 6E<br />
|-<br />
| 00 00 06 6E<br />
| 00 00 07 6E<br />
|-<br />
| 00 00 07 6E<br />
| 00 00 03 6E<br />
|}</div>
Wwylele