OpenTPW

Publishing and visiting parks online: binary evidence#

October 11, 2026. What the original client did when a player published a park and when another player visited it, traced statically in the Feral Mac application mac-feral/bin/SimThemePark.data (SHA-256 04809cd4…295f5, see PPC-ui.md) and its online library mac-feral/bin/libraries/online_shared.data (SHA-256 05c21d2e…9b2cb, PEF, exports listed below). The Windows v2.0 tp.exe cited in earlier lanes (decrypted, SHA-256 5472f97b…1b805) was not available this round. The Mac build imports an online client API with names corresponding to the Windows DLL's exports; that does not establish identical implementation. The addresses below support the Mac build only. Outside facts (archived official site, official FAQ, FreeSO threads) are in ONLINE-SOURCES.md; where both exist, the trace wins. No original executable was run; disassembly stayed outside Git.

The online library's client API#

online_shared.data exports the whole online client in five classes, each with Connect, Release, SetSessionInfo and a callback. C++ mangled names as exported (section 1 = the instantiated data section, the value is the transition-vector offset; the code target is the tvec relocation's addend):

ExportCodeMeaning
Auth::Login, Auth::Connectcode:0x… (tvec 1:0x1E0…)account login
News::GetGameNews, News::GetServerNews, News::GetGameAds, News::GetGameServerDetails1:0x560…the news service
City::Connectcode:0x9078the city server (lists, visit marks, unpublish)
City::GetCityList / CheckCityList, GetParkInCityList, GetParkInCityListTop10, GetParkInWorldByName, GetParkInWorldByID, GetParkByID, GetParkByGUID, GetThemeList, GetLogicalServerList, GetRideListcode:0xACAC…the list queries (TPW-SE's ThemeInfo/ParkInfo/Top10/SearchResult packets, S5)
City::MarkParkVisited(void*, int, int)code:0xAE34the visit report
City::UnpublishPark(void*, int, int)code:0xADECremoving a published park
Upload::Connect, Upload::UploadParkRequest(char*, ccParkFileInfo*, void*)code:0xBBECpublish: park file plus metadata
Upload::UploadParkFile(char*, void*)code:0xBC50the file transfer after the granted request
Vote::SendVote(long, void*, long, void*)code:0xC494the vote, a separate service from the city server
Chat::Say/Tell/Shout/…, Chat::MovePlayer(int, int, int)1:0x260…the chat park (movement is relayed; BOSS_CHAT_MOVE below)

MarkParkVisited and UnpublishPark are thin guards (connection fields +0/+4 non-null) over the shared query builder at code:0x8F50, which composes a fixed-size (0xD0-byte) message with an id byte 0x65, fields from the session (word +0x60, word +0x64, halfword +0x68, 20 bytes from +0x6A) and the arguments, and sends it through the connection at +0x30. The exact packet layout stays unread; the behaviour is what OpenTPW follows.

What a publish sent (app code:0x130620)#

The publish flow (called once the park is saved for upload) builds a ccParkFileInfo on the stack — the metadata the request carries — and hands it to Upload::UploadParkRequest (call at 0x11307F0):

ccParkFileInfo fieldOffsetSource in the game object
word+0a park/world id from game +0x344
byte+4a lookup by name (sub_133FC8: a case-insensitive list walk, default 1); the manual's park info shows an Instant Action / Full Simulation flag, but this byte is not verified to be it
byte+5game +0x370 (a setting byte; the e-mail visibility or language choice is unidentified)
wide string, 20 chars+6the park name (wcscpy from game +0x350)
wide string, 256 chars+0x2Ethe park description (from game +0x364)
wide string, 32 chars+0x22Ethe author: 32 wide chars copied from game +0x120

The park file path goes as the first argument (game +0x338): the request names the file, and Upload::UploadParkFile then transfers it (app 0x1130868 drives the states: request granted → "upload request granted - uploading…" → "file transfer ok"). A child lock forbids publishing at all ("ONLINE UPLOAD: childlock forbids publishing"). The uploaded park file is the park's save — the same whole-park state a visitor needs to walk it — not a screenshot or summary: the visit flow below loads the downloaded file as a level.

What a visit did (app code:0x131370 and 0x1131C7C)#

Entering a published park (Online Park Info's "Click to enter this park"; Online Lobby's "Enter Park"):

  1. Connects to the city server ("ONLINE CITY: About to connect" → "Connected").

  2. Downloads the park over FTP ("ONLINE FTPDOWNLOAD: About to connect", user anonymous; host strings ftp.ea-europe.com at 0x1DA413/0x1DB098): "Requesting park", then "Requesting next ride" for downloadable rides, "Download complete", "All downloads complete - disconnecting". A child lock can forbid downloading a park.

  3. Sends the visit report: City::SetSessionInfo then City::MarkParkVisited(conn, 0, key, id) at 0x1131AB0 (and identically on the follow-up path at 0x1131E10) — once per park entry, before the park loads. This is the message by which the server learned of the visit that earned the owner Platinum Tickets (official FAQ, ONLINE-SOURCES.md S2).

  4. Loads the park with the online level name (sub_110474C): the literals data:levels:online_Standard.sam and online_Standard.sam (0x1DF597) beside the own park's data:levels:Standard.sam — only the Standard variant is present as an online literal; no online_Easy string exists in this build — and switches to chat mode (manual p. 65: "Once you've entered the park, you will automatically switch to Chat Mode").

Inside the visited park (trace strings and classes):

Chat mode in the visited park (tp.exe)#

Entering a park online builds its chat mode (0x4BF460) instead of the park's HUD: the HUD object (0x7CB2AC) does not exist then, and the routines that reach the HUD (0x4814A0, 0x4862A0) check for it and turn to the chat-mode windows instead.

Riding in a visited park (tp.exe)#

A visitor rides from the chat mode or from the first-person walk, and the chat server hears of it through the movement's mode (Chat::MovePlayer(x, y, z), imported from weachatr.dll at IAT 0x6FD4CC; a byte scan finds ten call sites, each pushing its mode as a constant).

So statically a ride boarded from the overview is never followed by mode 3, and the other visitors keep that player hidden afterwards, until a later walk-in ride's mode 3. Whether the original server repaired that (re-sending the players to a client) is not known. OpenTPW hides a riding player for the room and always shows them again when the ride ends (EXT:online-ride-hiding, docs/ONLINE.md).

Chat satellites (tp.exe)#

The globe's five satellites are parks, not rooms of their own.

Not settled statically: which parks the service kept in city 1 and whether city 1 had the flag (without city 1 in the city list the client would crash); what CreateRoom's empty string and 0x100 mean; the server's answer for a room that already exists; what the park record's flag at +0x40 means (it selects child-lock bit 4 or bit 8). OpenTPW's chat parks follow the click, the details and the visit with the server's own list (docs/ONLINE.md, "Chat parks (the satellites)").

Ride cameras and riding#

The original's manual sells the feature directly: "When you need a break, you can ride any ride in the park" and, in the feature list, "Ride any ride and watch any sideshow"; visitors of published parks could "walk round other players' parks, ride their rides and vote" (FreeSO thread 597, S3). The Mac application names the camera-mode classes that implement riding (RTTI class names at 0x1C8625 area, vtables in the data section):

Camera modeVtableRole
CMMDefaultdata:0x3D8F8the own park's normal camera
CMMOnlinedata:0x3D7F0the camera in an online park (the visited/chat park; entering logs "Assigning CMMOnline")
CMMCoasterdata:0x3D7A4riding a coaster
CMMFirstPersonTargetdata:0x3D758the first-person view of a target (a ride or a visitor)
CMMPickUpStaff, CMMPlaceStaff—staff handling (not online)

CMMOnline shares most slots with the default mode (the shared slots point at the same functions), so the online camera is the normal park camera with online additions, not a restricted spectator view; the first-person and coaster modes are separate states of the same machine. That riding was possible while online is also implied by the display setting FIRSTPERSONVIEWDISTANCE (options 0..3, COMPATIBILITY.md) and by the online park being a normal park load (the online_Standard level with the downloaded save, whose rides run their scripts). The Update bodies of the two ride-camera classes are not decoded; the seat position, view direction and entry/exit input stay approximations in OpenTPW ([APPROX:UI-094], with restoration qualified by UI-095).

What the visit did not include#

No building, selling or saving inside another player's park is traced — the client code paths above download, mark, load, chat, move, vote and send postcards only, and the park is the owner's save. (The absence is an observation of the traced flows, not proof: nothing here shows a build attempt being rejected.)

How OpenTPW follows this (2026-10-11)#

Verification of the shared-park lane#

The finishing pass on October 11 ran the online, shared-layout and ride-camera tests with the local original PC installation: 71 passed, none skipped or failed. This includes version 1 compatibility, malformed payload rejection, server-side validation, repeated/self-visit counting, the CPU coaster rebuild, and a camera regression proving that translating a ride leaves its viewing direction unchanged. The camera's rotation consumes look - eye; the look target is a world position, not a direction. Object footprint tests use the local catalog shape without allocating GPU resources. Actual rendered object placement is checked separately by the native visit test.

A fresh offline Jungle export was loaded in a native read-only visit: 78 cells, 14 objects, no coasters, layout digest 5381d1ab76f0f12b matched the rebuilt world, eight rendered frames and a 1280 × 720 GPU capture. Build, remove, save, load and re-export were refused. This shipped fixture has no completed coaster or prototype ride, so that run did not exercise the native ride-camera step; the original-data CPU test exercises the front-car camera moving with a running coaster.

The native front-end smoke passed 514 frames with the online pause-menu expectation and read-only object guards. It sold the bought Totem for $1,625; the earlier reported zero-refund failure did not reproduce in this run. Both native runs used --mute --no-advisor, so they do not verify audio or automatic advice. The full suite without original assets passed 1,317 tests, 312 skipped, none failed; the complete original-asset suite was not rerun in this finishing pass. The Web build and the fidelity-register check passed. The evidence runner passed 20 Python suites (1,267 tests, 361 skipped); unavailable private binaries and optional .NET evidence projects remain unverified by that run. No claim of PC binary equivalence follows from these tests.

Source: docs/reverse/ONLINE-VISIT.md in the project repository.