Fields read by the server or the client, or assembled from other files. The description says what the field means and how it acts; below it — where that was established.
Map\<map>\<map>-[PORTAL].datclient file
Total 12Known 0Derived 0Unused 12
Schema
Strs\[PORTAL].strs
Registry level
ready for full
Digest
copy of the server file in the client; the client takes portals from Map.edf (maps.md §4)
Map\<map>\<map>-[PORTAL]_str.datclient file
Total 3Known 0Derived 0Unused 3
Schema
Strs\Str_.strs
Registry level
ready for full
Digest
copy of the server file in the client
Map\<map>\<map>-[PORTAL].datserver file
Total 12Known 10Derived 0Unused 2
Schema
Strs\[PORTAL].strs
Registry level
ready for full
Digest
maps.md §4
Offset
Field
What it is and how it acts
Goes to client as
Server readers
Role
Status
Data
+0x000
m_dwIndex
portal number
maps.md §4
—
—
—
known
—
+0x004
m_strCode
Name of this portal's *dp… dummy
maps.md §4 (digest row)
—
—
—
known
—
+0x044
m_strLinkMapCode
Destination map (Map_Data code). "0" — the portal leads nowhere (the reference check skips it)
maps.md §4 (digest row)
—
—
—
known
—
+0x084
m_strLinkPortalCode
Destination portal on that map: the player appears at a random point of its *dp box
maps.md §4 (digest row)
—
—
—
known
—
+0x104
m_bNeedConCheck
≠ 0 — check level and items (4.1)
maps.md §4 (digest row)
—
—
—
known
—
+0x108
m_nNeedChrLevel
Lower level limit (inclusive)
maps.md §4 (digest row)
—
—
—
known
—
+0x10C
m_nUpLevelLim
Upper limit (exclusive: the level must be lower). Negative — no upper limit
maps.md §4 (digest row)
—
—
—
known
—
+0x110
m_itmNeedItemCode ×3
Payment items
maps.md §4 (digest row)
—
—
—
known
—
+0x118
m_nNeedItemCount ×3
Payment items
maps.md §4 (digest row)
—
—
—
known
—
+0x138
m_strUseRace
A character per player race-sex position (byte +0x16 of the CPlayer+0x7A0 object: 0 Bellato m, 1 Bellato f, 2 Cora m, 3 Cora f, 4 Accretia): '0' — the portal is closed. Compared o…
maps.md §4 (digest row)
—
—
—
known
—
Map\<map>\<map>-[PORTAL]_str.datserver file
Total 3Known 3Derived 0Unused 0
Schema
Strs\Str_.strs
Registry level
derived
Derived from
-[PORTAL].dat (codes) + portal texts
Digest
portal texts, 644 bytes (maps.md §4)
Offset
Field
What it is and how it acts
Goes to client as
Server readers
Role
Status
Data
+0x000
m_dwIndex
row number
maps.md §4, localization.md §4
—
—
—
known
—
+0x004
m_strCode
portal code (name of the *dp dummy)
maps.md §4
—
—
—
known
—
+0x044
m_strNameTag ×9
portal name in 9 languages (columns as in *_str.dat)
localization.md §4
—
—
—
known
—
Unused parameters
Fields that neither the server nor the client reads. For each: why it was decided so and where that was established. The editor keeps their bytes as they are.
Map\<map>\<map>-[PORTAL].datclient file
Offset
Field
Why unused
Data
+0x000
m_dwIndex
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x004
m_strCode
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x044
m_strLinkMapCode
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x084
m_strLinkPortalCode
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x0C4
m_szMenu
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x104
m_bNeedConCheck
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x108
m_nNeedChrLevel
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x10C
m_nUpLevelLim
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x110
m_itmNeedItemCode ×3
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x118
m_nNeedItemCount ×3
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x134
m_nKind
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x138
m_strUseRace
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
Map\<map>\<map>-[PORTAL]_str.datclient file
Offset
Field
Why unused
Data
+0x000
m_dwIndex
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x004
m_strCode
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
+0x044
m_strNameTag ×9
the client does not open the file: the strings [BLOCK], [PORTAL], _str.dat are absent in the AoP client image in both ASCII and UTF-16; the server reads its own copy
maps.md §4 (before 4.1)
—
Map\<map>\<map>-[PORTAL].datserver file
Offset
Field
Why unused
Data
+0x0C4
m_szMenu
never read
maps.md §4: “m_szMenu and m_nKind are not read in the transition or in the other users of the record” (all callers of 1401284C0 and 140128370: reference check, ship, guild rooms …)
—
+0x134
m_nKind
never read (1 in AoP — entrance, 0 — arrival, 3 for 15 portals)
maps.md §4: “m_szMenu and m_nKind are not read in the transition or in the other users of the record” (all callers of 1401284C0 and 140128370: reference check, ship, guild rooms …)