OpenTPW

Theme Park Inc (Sim Coaster) compared with Theme Park World#

Theme Park Inc (Europe, 2001; Sim Coaster in North America) is Bullfrog's follow-up to Theme Park World. This note records how far its data and engine match what OpenTPW reads, measured on October 9, 2026. It is a comparison, not a support claim: OpenTPW does not support Theme Park Inc. Since October 10, 2026 OpenTPW has a reader for its .fsh textures (FSH.md), and since October 13, 2026 an experimental playable slice that loads its worlds, builds in them and walks guests through them under an explicit capability policy; since October 17, 2026 it also runs the money of Theme Park Inc's own balance keys.

For installation and launch steps, use the static Theme Park Inc guide, which covers the desktop edition chooser, the explicit command and the browser starts.

The umbrellas and the brolly shop of Theme Park Inc (guest umbrella states, weather rule, settings addresses) are traced in UMBRELLAS.md, where they are planned as an official extension for Theme Park World parks.

Sources#

Neither set is committed. Every number here comes from OpenTPW's own readers run over loose files and every WAD member, plus small read-only scripts. The exception is the Global Master Save layout, which was traced in the Theme Park Inc executable with Ghidra (static analysis only) and then checked against three original save files.

Summary#

The two games run the same engine family. Archives, models, ride scripts, settings, fonts, lip-sync, sound banks and the online DLLs are the same formats. The largest asset change is textures: Theme Park Inc replaced the wavelet .WCT textures with EA SHPI (.fsh) palette images. Its save header is an extended version of the TPWS container, and its balance settings grow.

AreaTheme Park World (Mac data)Theme Park IncOpenTPW reader on Theme Park Inc
Archives .wad (DWFB, RefPack)327303303/303 open, every member extracts
Models .md2 (version bytes 221)2,1971,9801,978/1,980; the same 2 garrow.MD2 (version 24) fail as in TPW
Ride scripts .rse (RSSE)324288288/288 parse; see the VM section
Settings .sam418369369/369
Fonts .bf4 (F4FB)32180180/180
Lip sync .lip6411,1361,136/1,136
Strings .str (BFST), BFMU/BFUM tables21185 (37 in each of 5 languages)same magic; all 185 decode with the language's MBToUni.dat (LANGUAGES.md)
Sound banks .sdt482826/28; the 2 failures are truncated music banks, see below
Textures8,712 .wct34 .wct (intro only), 7,283 .fsh, 2,856 .tga, 172 .png.wct 34/34; .fsh 7,283/7,283 decode to RGBA (FSH.md)
Terrain/attribute maps .map (TP2M)544/4; the other .map files are sound catalogs in both games
SavesEasymode.TPWI (magic 400)prebuilt.TPWS (magic 500, extended header)read-only science prebuilt import; no TPI save writing
MoviesQuickTime .mov (Mac edition)2 .tgq (SCHl)2/2
Banner companions .mtrnone on the Mac CD70/7: header words differ from the TPW variant

Theme Park Inc playable slice#

Until October 13, 2026 this section described the view-only "level viewer"; the same command now starts the playable slice below (older links still land here).

--load-original-level arabian|science|water with Theme Park Inc data starts the experimental playable slice ([EXT:tpi-viewer], October 13, 2026). A start without a world opens the slice's Personnel File start screen instead. It is not Theme Park Inc support: there is no Theme Park Inc in-game interface, and of the native save formats only the player file (.GMS, desktop only) is written. Its money, the cleaners, the mechanics with the ride wear, the gardeners with the plants and the researchers, staff training, the research lab a park file brings, the measurable challenges, the career and the mission controller run, and the facilities can be built (the staff rooms, where the staff rest, and the research and training rooms once the missions list them); nothing it draws has been compared with the original game. How to extract the CD cabinets and start it: RUNNING.md.

The hidden developer switch --tpi-native-guests (off by default) runs Theme Park Inc's own guest state machine for the parts ported so far (arrival, the ticket booth and leaving; TPI-GUESTS.md); without it the guests keep Theme Park World's rules ([EXT:tpi-twp-guest-rules]). Saves made with and without it cannot be continued with the other setting (PARK-SAVES.md).

A second hidden developer switch, --tpi-native-walk (off by default), walks the guests and staff with the parts of Theme Park Inc's own navigator ported so far (TPI-NAVIGATOR.md): so far its edge test, under which walkers keep off unowned land (an unowned path or walkway excepted), terrain holes and an obstacle's walkway cells. Without it they walk with Theme Park World's navigator ([EXT:tpi-twp-guest-rules]). As with the guest switch, saves made with and without it cannot be continued with the other setting (PARK-SAVES.md).

The browser setup also offers the same experimental route with an explicit Arabian, Science or Water choice and the player's own extracted Data folder (the Personnel File start screen is not offered in the browser yet: phase 1 keeps this up-front choice, because the browser copies a theme's files at setup and its on-demand copy for a zone chosen later is not built for Theme Park Inc). It imports the selected theme before checking the existing edition evidence, then enters the existing experimental world/HUD path without a Theme Park World lobby. Its capability restrictions are the same as the desktop slice. Synthetic startup/cache controls and a browser-project build cover the ingress; fresh original-data and browser rendering qualification are deferred. See WEB.md for import retries and storage limits.

Edition capability policy. GameEditions.Capabilities (Client/Setup/GameEdition.cs) is the one place that says what an edition's park runs. Theme Park World keeps every implemented system. The Theme Park Inc slice runs building, guests and the money under an experimental HUD and refuses the systems whose Theme Park Inc rules or data OpenTPW has not traced. The economy capability is split into Money and Challenges (on for the slice; the challenges are Theme Park Inc's own system, see Challenges), Staff and Research (off): Theme Park Inc's Standard.sam lacks 86 of the 152 fixed balance keys the Theme Park World economy reads, e.g. PerGradeStaffConsts[0].BaseWage (re-measured against the executable's schema rows October 17, 2026; the October 13 count of 89 of 155 was a text count), but carries the money keys. Also refused: advisor, Theme Park World's 3D lobby front end (FrontEnd; the Theme Park Inc Personnel File start screen has its own flag, PersonnelFileFrontEnd, on for the slice, [EXT:tpi-front-end-phase1]), native park saves, sharing (export/import/visit), the mission campaign beyond the career object and the disc's COS files ([EXT:tpi-capability-gates], an OpenTPW scope decision). Level gates its economy on the policy; the refusals stay real, not deleted: nothing writes or resumes a native Theme Park Inc park save or COS file (the player's Global Master Save is written and read since November 21, 2026: TPI-CAREER.md), and the start-up command line additionally refuses --sandbox, --smoke-test, --advisor-say, --advisor-response, --setup, --park-resume-smoke, --export-park, --import-park and --visit-park on Theme Park Inc data, and --front-end together with a world. --front-end alone (or a start with no world and only file, language, display or sound options) opens the Personnel File; any other option without a world is refused as before.

What the slice shows and runs. The base terrain (base.MD2 heightfield and meshes), the lake, the path layer (pathtex textures), the monorail (part of the terrain meshes), guests with their sprites, and the world's sound and music. Science also loads the sole shipped PreBuilt/prebuilt.TPWS: its paths, placed objects and fixed-item records. Arabian and water have no matching shipped prebuilt save and still use the default fixed items (the Bus from setup is [EXT:tpi-bus-from-setup]). The camera is the park camera (pan, rotate, zoom); the sandbox developer panels are off. On top of that the slice adds:

ThemeParkIncPlayTests covers the policy (synthetic) and the supported gameplay route over the corpus (headless composition of the build rules, a placed object's original script, path laying, guest arrivals and the money: the settings, the charges, the running costs and the calendar; OPENTPW_TPI_PATH); ThemeParkIncEconomyTests covers the money rules on synthetic data. None of it compares with the original game.

Layout checkpoints (an OpenTPW extension, EXT:tpi-layout-checkpoint) are separate from continuation and native park saves. The experimental pause menu can save the built layout and explicitly confirm loading it as a new session. Typed cells, objects, open flags, IDs and creation seeds persist; guests, script progress, clock and audio restart. Prototype/coaster layouts are refused. Trusted asset checks and staged candidate construction preserve the current world on preflight/construction failure. See PARK-SAVES.md for the separate .tpilayout format, exact state boundaries and verification limits.

Science continuation. The desktop pause menu can save and continue a solo Science park in OpenTPW's own format. This is separate from layout checkpoints and does not resume the original Science prebuilt's simulation state.

What it leaves out. No guard chase or first aid and no guest who watches a performing entertainer (research and training run in play once the career reaches the missions that list the research room, 1, and the training room, 2 or 1 after the obstacle research), no challenge whose value OpenTPW cannot measure, and no obstacle mission that can be completed (the money, the career and the mission controller run, see above); no native park saving/loading, no online world, and no advice beyond the four weather forecasts and the notification letters, which go through the advisor's queue (TPI-ADVISOR.md). The prebuilt save's economy, guests, ride state and untraced scene records are not restored. Arabian and water remain empty apart from default fixed items; the science save contains no Bus record, so none is inferred for that park. Several ride scripts report unimplemented effects in the log; the two opcodes only Theme Park Inc scripts use (WAITABS, MULT) have VM handlers since October 13, 2026 (see RSE-VM.md's gap-opcode section; the science smoke never reached them, so retail execution is not claimed). Textures are not checked against the original game's alpha or colour handling (the palette converter's 0x24 reading is read at instruction level, APPROX:COMPAT-014 retired; the 0x2D palette is [EXT:fsh-0x2d-palette], APPROX:COMPAT-015 retired).

Textures. Texture now loads .fsh (first image of the SHPI file, FshFile) and stb images (.tga, .png) from the game data as well as from disk; decoding is GPU-free (Texture.DecodeImage). Terrain and object textures are looked up by name without extension (OriginalTerrain.FindTexture, ObjectAssets.ResolveTexture), so .wct and .fsh need no separate paths. Theme Park Inc never goes through the .wct texture packs. All terrain and object textures of the three worlds resolve and decode, except the build-tool markers PathTex 16 to 18 (baseblue, grnarrow, redarrow, unused here) and six lake bed textures of science (below). A texture the data lacks is drawn plain white and named in one log line.

The @ shape symbol. Info.Shape rows of every Theme Park World object use . * 2 S N E < > + W. Theme Park Inc adds @, in exactly six objects, all road signs: features/smrdsgn ("*@*") and lroadsgn ("*@@*") in arabian and water, signsm ("*@*") and signlrg ("*@@*") in science. Each sign model spans its shape width x 10 units and consists of a base, two pillar meshes and a sign board, and the .sam marks the object Info.OverwritePriority 1 ("Overwritable!") and Info.IsChoosable 0. The reading is a pillar cell at each end (*) and cells under the board (@); the no-CD Game.exe's placement commit (0x668552, the twin of tp.exe's 0x529173) stamps @ as a type-1 NoModify path cell linked to its path neighbours. Objects placed in a Theme Park Inc world type their footprints through the same stamp (RIDES-031); a layout restored from a checkpoint is stamped again when it connects, and the viewer classifies @ as an occupied cell, which is also the safe choice for placement. (The obstacles use further symbols X, H, %, which no catalog object uses and the viewer does not read.)

The science hole. The first spike showed a black region of about 450 cells in science. The heightfield (base.MD2) leaves 1,462 cells open as holes, and in Theme Park World meshes of the same file fill them. In Theme Park Inc the lake is a separate model: terrain.wad holds dlake.MD2 (lake_surface, lake_bottom; its extent equals the holes that no base.MD2 mesh covers: 453 cells, none left once it is drawn), lake.MD2 (the same lake with hoardings, a tent, a plank and a shovel, so a building site) and the animation files idle1/idle2/lakem1/lakem2/dlakem. The level draws none of them now: the lake is the obstacle object 1703 (obstacles/lake.wad), which covers the holes, and after mission 1's opening its replacement 1704 (obstacles/dlake.wad, a different dlake.MD2 from terrain.wad's); no code of the executable names a lake model (TPI-MISSIONS.md §6). Drawing terrain.wad's dlake.MD2 was a loader gap. The data names it the drained state: Data/Objects.txt lists 1703 "New Science Lake Obstacle" and 1704 "New Science Drained Lake Obstacle", and missions/miss01.sam sets Obstacle.Type 1703 # lake, cleared by one gardener with ability 10 ("Water Drainage"); so dlake is the drained lake, not a finished one, and which one a park shows is data-driven (the exe holds no "lake" string). (terrain.wad's dlake.MD2 names six bed textures, bed04, bed06, bed07, bed09, bed10 and bed12, that no archive of the supplied data holds; the obstacle models do not need them.) arabian has 29 more open cells in two mountain pits that no mesh covers (4an_newenv.MD2/3an_newenv.MD2, variants of the environment, do not either); they show the clear colour. The *_newenv.MD2 files, terrain.wad's lake files, lake01_alpha.fsh (a separate water alpha image) and the proc_tex set are not used.

Other open spots. Each world has 8 to 16 heightfield ground cells textured trans01 (only a .tga, in Sharetex.wad); they draw as black quadrilaterals (visible in water as small black patches in the snowfield), most likely because the ground is drawn without blending (not confirmed). The mountain pits next to the entrance road show black interiors in all three worlds. Esc and P in the viewer are implemented but were not exercised by an automated run (all checks used --capture-world).

The slice's own scope decisions are OpenTPW design decisions, not approximations (October 14, 2026): the text HUD, the builds' price (free until October 17), the Theme Park World guest rules over Theme Park Inc data, the capability gates and the Theme Park World tool flow ([EXT:tpi-*] at their sites; TPI-900 to TPI-904 are retired).

Approximations and open questions. (The 0x2D palette is an extension now: [EXT:fsh-0x2d-palette]; the lake is the obstacle object.) RIDES-031 (@), RIDES-030 (non-finite texture coordinates in ten vertices of science/sideshow/natnav, drawn as 0, 0), RIDES-040 (zero-coordinate fixed scene records). Open: how the original game transforms the zero-coordinate scene records and places the gate and bus in worlds without a prebuilt save; what the *_newenv.MD2 files are for (3ns_newenv and 4ns_newenv carry a heightfield and an arrival_* mesh set); the missing lake bed textures; the viewer's lighting and water transparency against the original.

Theme Park Inc economy#

Since October 17, 2026 the slice runs Theme Park Inc's money (EditionCapabilities.Money) and still refuses Theme Park World's staff and research (Staff, Research; the whole Theme Park World economy is Economy, true only for Theme Park World). Since November 21, 2026 it also runs Theme Park Inc's own staff hiring pool and handymen, its challenge system (Challenges, below), the career and the mission controller (below), never Theme Park World's staff, objectives or golden tickets. The park's economy is the same ParkEconomy class under EconomyRules.ThemeParkIncMoney (Economy/EconomyRules.cs), over settings built from Theme Park Inc's own keys. Evidence: static reading of the no-CD Game.exe against tp.exe (October 17, 2026), nothing run; none of it is compared with the running original.

Settings. levels/Standard.sam of Theme Park Inc lacks 86 of the 152 fixed keys the Theme Park World economy reads (the executable's schema rows 0x009966C0, getter 0x0041B350, block 0x00A01A6C; tp.exe's are 0x0073FC70, 0x00402B10, 0x0078504C) and no theme layer supplies them. So BalanceSettings.ForThemeParkInc / LoadThemeParkInc(theme) (global file under the theme's, no Easy layer) reads only the money keys and fills every staff, research, golden-ticket and challenge member with an empty or zero placeholder, never a Theme Park World number; a missing money key fails the load. The object catalogue adds the keys only Theme Park Inc's type record has: Info.ExpectedPrice (+0x88), Info.WorkingLife (+0x8C), Upgrades[n].RunningCost (+0x2B4, stride 0x44) and Upgrades[n].CashPerBrainPoint (+0x274); Theme Park World's files read 0 for them. Info.ExpectedPrice, WorkingLife and CashPerBrainPoint are read but not used (meaning not traced).

WhatTheme Park IncTheme Park WorldHere
BankAccountInfo.InitialCash 50,000, InitialAdmissionFee 25bank constructor 0x5BFBBA, 0x5BFC73 (block 0x00A020BC, 0x00A020C0)0x4CF8C6 (0x007851D8)the same bank; the data holds 20 for the fee in Theme Park World
LoanInfo[n] (ten slots, eight used)0x5BFB97 (0x00A020C4); the loan loop and the monthly step 0x5C0B10..0x5C0C490x4CF7C0, 0x4D0370LoanMath unchanged (oracle X8, X9)
bank debit0x5C07B00x4D01F0ParkEconomy.Post
Costs.QueueCell, PathCell, KartTrackCell, WaterTrackCellsetter 0x4289AC (0x00A0264C..0x00A02658)0x408192path, queue and track charges as in Theme Park World
Costs.MapCellin the data (0x00A0265C), read by no instruction foundthe Buy Land toolno Buy Land: TryBuyCells(Land) answers NoLandForSale; the owned land is the zone's hoardings.map and grows by extents/extent.NNN (TPI-BOUNDARY.md); a mission's BoundaryClicks is read only by dead code
calendarconstructor 0x607E900x4F7E802000-01-01, 15,000 game seconds per real second (ParkCalendar)
entry-fee judgement0x6157D0 (divisor word 0x00A01A90)0x4FF5C0same routine; the divisor is data: 6 in Theme Park Inc's global file (4 in arabian's layer), 4 in Theme Park World's
object purchase, upgrade purchase0x5DBE3C, 0x5E2A990x4DB090, 0x4AF4E9the build charges Upgrades[0].CostOfUpgrade; the upgrade needs a mechanic, so it stays refused (NeedsStaff)
scrap value0x5E7890, percentage 0x5E75F00x4E2400, 0x4E2290by year of age, 100 % if unused within 30 days, plus a condemned object (state 4) refunds nothing; an object that requires watering (the plants) takes 101, 67, 34 or 0 % (101 at the game thread's 24-bit x87 precision, [EXT:hardware-d3d-path]) from its script's variable 0, VAR_CONDITION (0x5E75F9, 0x6B0C90; ECON-061 retired; the slice has no weather and no handymen, [EXT:tpi-money-only], so a plant's condition stays at its first value)
running costsmonth message 0x5DEFFFnoneeach object pays its current level's Upgrades[n].RunningCost every month, nothing in ride state 1 or 4, together with the costs its sales and plays booked that month (the accumulator +0x938: a sale books its cost of goods, ThemeParkIncGoodsCost, and pays it at the month end; ECON-060)
arrival group0x5BCD60 (words 0x00A02240..0x00A02250)0x4CF5B0GuestSimulation.ArrivalGroupSize with Arrival.*PercentageModifier, single-precision 0.01, every step at the game thread's 24-bit x87 precision (oracle X7, [EXT:hardware-d3d-path]); the weather state is the running spell's kind (+0x70, 1 heatwave, 2 rain, 3 storm, 4 snow, set by the spell start 0x642A80), and the economy rolls the spells as 0x642770 does at each month message: the quarter's row of the Seasons table (0xA024A0), gated by YearsBeforeFirstFreakWeather, picks heatwave, rain, storm or snow by percentage, else a calm spell; the original draws with the C runtime's rand(), which the start-up seeds with GetTickCount() (0x6A151B), so its weather is not reproducible and the economy's world stream stands in ([EXT:tpi-weather-spell-seed], user-approved 2026-10-30; the roll was checked against the executable's routine in Unicorn on 3000 random cases); the mode exit 0x5BCD7A is read (the object 0xA06558 is the startup dialog's theme selection, and the Intro World has no arrivals), the attractions' weather closing 0x5DED90 is ported (OriginalObjectRuntime.ApplyWeatherClosing), the guests' reactions to a spell are the ported Theme Park World rules' ([EXT:tpi-twp-guest-rules]), the weather count follows the native spell target (0x642A80) and per-turn step (0x642230, Weather.SpeedOfChange, 20 in the retail settings) without consuming random draws. The desktop slice draws the rain and snow and plays their audio, and the storm runs its lightning and thunder (they hang off +0x50/+0x54/+0x58 and the strike point +0x5C). The spline snow branch 0x6ECC50 and the browser's precipitation drawing remain open (ARRIVAL-008)..64with four coordinate draws, an optional thunder-arm draw only when no thunder is pending, and one countdown reset draw;+0x74is not a quality but a sky-texture scroll angle in degrees (constructor0x64149Bsets 90.0; a spell nudges it byr-45wrapped to 0..360) read once per frame by the sky renderer0x687420, and the overcast scalar is +0x78`; the wind was not read. The three words after the table are read as 4, 0, 0

x87 precision. Theme Park Inc's game thread runs the x87 at the control word 0x7F (24-bit significand) once the Direct3D device has started, as tp.exe's does, and the port rounds every step of the economy, staff, arrival and guest routines to a single (ThemeParkIncX87, [EXT:hardware-d3d-path]; the evidence and the list are in TPI-STAFF.md §12.4). The earlier 53-bit reading of the economy and staff routines is withdrawn: a shipped arrival group is one guest larger without weather and in rain and snow, a fresh plant sells for 101 percent, and the staff meters move in their last bits.

Guest speed. A Theme Park Inc guest's base speed is the drawn walk speed times its profile's SpeedMultiplier (0x60C712), multiplied at the Direct3D device's 24-bit x87 precision ([EXT:hardware-d3d-path]). Guests in Science saves from before this change keep the unscaled speed they were saved with.

What runs. Starting cash and admission fee; the build, path, queue and kart/water track charges (a refused purchase says why); scrap refunds when an object is removed; the loans; the bankruptcy: six months in the red bring the bank's "Game Over - You Lose!" letter in Theme Park Inc's letter window, and closing it loses the park (the arrival stops; the loss window 0x50AFC0 rides the gate camera under a "BANKRUPT!" caption, then the hidden-HUD overlay and the lost park's four-line menu follow, see TPI-BANK-MAIL.md); the calendar and each object's cost statistics (the month's costs, the 30-day cost ring and the total profit, which the running cost enters; Theme Park Inc's are monthly rings, ECON-060); the monthly running costs; the entry-fee judgement and the arrival rule above. The HUD's money line shows the cash, the park date and the entrance fee, the build list shows each object's price and a placed object's refusal (not enough money) is the level's message. The Theme Park Inc park opens at the start ([EXT:tpi-park-open]): the slice has no gate control, its gate script is not traced, so the economy neither drives nor closes the park door. The prebuilt science save's objects register uncharged, like an imported park's; its own economy is not restored. A layout checkpoint saves the layout only: the cash, calendar and loans start fresh in the new session, like the guests.

Staff (handymen, mechanics, gardeners and researchers). The staff panel (top-right Staff button) lists the hiring pool and hires a Cleaner, a Mechanic, a Researcher or a Gardener: activating his row puts him in the hand, a click on a path or grass cell drops him (the drop's cell tests and its redirect of a drop on an object to the object's entrance, exit or nearest path cell are the executable's, 0x4D4EB0), and right-click or Esc cancels. A placed handyman runs Theme Park Inc's own state machine (states 0, 1, 0x0F and 0x10: idle, walk, to litter and sweep, with the search 0x5D52A0, the meters, the day counters, the daily experience gain, the payday and the wage demands, filed in the tag tube), and the guests drop litter by Theme Park Inc's litter step (0x614B71). A placed mechanic runs Theme Park Inc's mechanic (states 0, 1, 21 and 22: idle, walk, to the ride and repair, with the search 0x5DA3D0, the ride finder 0x5DAAD0 and the claims), and the rides wear by Theme Park Inc's own rules (see below). A placed gardener runs Theme Park Inc's gardener (states 0, 1, 0x1F and 0x20: idle, walk, to the plant and watering, with the search 0x5D28C0, the plant chooser 0x5D2DC0 and the claims), and the plants wither by their own script (see below). A Researcher is hired and placed the same way and runs his own states (0 and 1, 25 to his research room, 24 researching). A placed entertainer runs Theme Park Inc's entertainer (states 0, 1 and 0x17: idle, walk and performing, with the search 0x5D1A30 and the setter 0x5D1D30) and a placed guard his idle, patrol and training (the decision 0x5D3C10); both keep their row on the region grid (0x5D1960, 0x5D3B40). The guard does not chase or give first aid yet ([EXT:tpi-capability-gates]: both read the guests' own state numbers; docs/reverse/TPI-STAFF.md, "Entertainer and guard"). The members walk with Theme Park World's walk ([EXT:tpi-twp-guest-rules]), and Theme Park Inc's toilet wear, loo cleaning and the litter bins' fill are unported, so the handymen sweep litter only ([EXT:tpi-no-maintenance-wear]). The staff rooms (Science 1400, Water 2420, Arabian 3418) are the rest areas: a tired member of any of the six roles walks to the nearest one he reaches, rests until his energy is full and recovers his happiness and motivation, waits beside a full room, slacks there when his energy runs low near one, and goes there when his motivation drops (docs/reverse/TPI-STAFF.md §13). Wages and strikes (TPI-WAGES.md). A member whose wage review found his salary short demands a rise on his demand day: the tag tube files the demand as an unread row ("Urgent Wage Demand" from Miss Moody, 0x5CEFB0), and the row's go-to opens the wage demand window (table 0x9C9F64) with the member's statistics and an offer box that starts at the demand. OK negotiates the offer, the close and cancel buttons an offer of nothing, and the fire button dismisses the member. The results dialog (table 0x9BE518) answers with the decision 0x559E00: an offer that meets the demand or comes within PercentageForBadWageDecision of it raises the salary by the offer; a lower one offers "Accept the demand" or "Let them leave". A dismissal pays one more salary and takes the member out of the park. At each month's end the staff HQ considers every role: a grievance warns, then strikes, and the strikers walk to the strike area outside the gate, stand there until the next month ends the strike and walk back in. The advisor's wage demand message and the strike messages are noted, not said ([EXT:tpi-capability-gates]), and the member's picture in both windows and the window's "Employed for" value are not shown. Pick-up and the other roles come in later packages (docs/reverse/TPI-STAFF.md §11). Training (states 7 and 8: the walk to the training room, 300 updates, the reward, the cancel when the room goes), the staff HQ's twenty obstacle slots and the research lab of the Science prebuilt, with its panel as text HUD rows, are ported (docs/reverse/TPI-STAFF.md §12). The research room (1404) and the training room (1440) are facilities: the build list offers the research room from mission 1 and the training room from mission 2 (or mission 1 once the obstacle research is done), so a researcher hired in mission 0 finds no room and idles. The handymen, the mechanics, the gardeners, the entertainers and the guards are drawn with Theme Park Inc's own sprites (esprites.wad, Generic\Handymen, Generic\Mechanics, Generic\Gardeners, the park theme's Entertainers folder and Generic\Guards) and animate as their states ask (stand, walk, sweep, repair, water, perform).

Plants and gardeners. A plant (UsageInfo.RequiresWatering: the bushes, trees and flower beds) runs data\levels\vegetation.rse (0x5DE61A), whose timer (Vegetation.TimeBetweenWaterings × the scale) moves it from healthy through two dry conditions to dead; water brings a dry plant back, a dead one stays dead. The engine's plant update (0x5E4CB0) writes the weather's wither rate into the script's scale (Vegetation.HeatwaveWither 0.5, RainWither 2.0, StormWither 1.5, SnowWither 1.0), sets the plant's gauge from its condition and moves its RegionFX row (rows 10 to 13 of Theme Park Inc's fifteen: a healthy plant cheers the cells around it, a dead one makes them a little sick). A gardener searches from idle every search period; his chooser takes a plant that asked for maintenance, or a dry one within his detection range (3 to 5 cells by experience), not burning and reachable from the path beside it (the last dry plant of the object list wins, as in the original); he claims it, walks there and waters it for the work duration (30 updates at no experience down to 5), which restores it. A gardener learns the abilities 10 to 14 and fills the staff HQ's slots that ask for them. Details and addresses: TPI-STAFF.md.

Entertainers and guards. Every role of the pool is hired and placed. A placed entertainer idles, walks and performs (0x5D1E20, states 0, 1 and 0x17): his search (0x5D1A30) starts a performance when a world draw is divisible by 3 and a guest stands in the square of his active range (2 to 5 cells by experience, always 5 for the search), and his setter (0x5D1D30) draws once from the world whatever the state and picks one of four performance templates by the draw, the park's theme and his look. A performance runs the work duration (10 to 75 updates by experience) and ends with sound 0x87. A placed guard idles and patrols (0x5D3C60, the decision 0x5D3C10) and learns ability 9; he does not chase pranksters or give first aid yet, because the original decides both on the guests' own Theme Park Inc states, which the park's guests (Theme Park World's rules) do not carry ([EXT:tpi-capability-gates]). A tired entertainer or guard rests in a staff room like the other roles (both dispatches send the states 2, 3 and 0x23 to the rest area's routines). Each keeps his row on the region grid (the entertainer's happiness, row 0; the guard's security, row 3) with the radius his experience gives, and moves it with him (0x5D1960, 0x5D3B40, the writer 0x5D7770); a removal with a larger radius than its add leaves its difference, as in the original, and the save keeps it. The guests' turn towards a performing entertainer is not ported. Details, addresses and the oracle (tools/ppc-analysis/oracle_x86/tpi_performer_oracle.py): TPI-STAFF.md.

Ride wear and repair (with the staff). A Theme Park Inc park with its staff wears its rides by the executable's object update (0x5E4790): every 64th turn a running ride (its script's VAR_RUNNING, or Info.RunsContinuously) loses the wear 0x5E21A0 (its speed and riders against UsageInfo.MaxSpeed, MaxCapacity and the level's red lines, times half its WearRate) from its state of repair, and its life gauge 0.02 times as much unless it is a special ride (Info.IsSpecial); a new ride's life gauge starts at its Info.WorkingLife. Below RideBreakDown.WarnPlayer (5) the ride reports itself worn to its script; when the life or repair byte reaches 0 it asks its script to break down (VAR_BREAKSTAT), losing 5 life first unless it is special; no random number decides a breakdown. A mechanic's search takes the nearest ride that is broken down or called for, else one below RideBreakDown.Imminent (10), which then asks for maintenance and closes; he walks to its entrance, works (100 − repair) × the work duration / 100 updates, waits for the ride's fix animation, and repairs it fully (0x5E2910), which reopens it unless its guard, the park or the weather keeps it closed. The upgrade job is not reached: only a mechanic trained in Ride Upgrading takes one; a mechanic trains through the common handler as the others do (the training's states 7 and 8), but the economy sells no Theme Park Inc upgrade, so no ride reaches the upgrade's state. The advisor's ride messages are not posted. Details and addresses: TPI-STAFF.md.

What stays refused. The guard's chase and first aid ([EXT:tpi-capability-gates]) and, on the default path, the guests' reaction to a performing entertainer ([EXT:tpi-capability-gates]: Theme Park World's turn towards a performer never sees Theme Park Inc staff; the guests of the hidden native states react, docs/reverse/TPI-GUESTS.md); a toilet use wears no gauge, because Theme Park Inc's toilet wear and loo cleaning are unported ([EXT:tpi-no-maintenance-wear], which no longer covers the rides), and no upgrade is installed; research in a park whose lab no park file brought: a new zone's lab fill (0x61C9E0 with the rand() % 2 + 1 of 0x61FD50) waits for the zone package, so such a park and the headless economy keep the whole catalogue on offer ([EXT:tpi-no-research], narrowed to that case); the challenge types OpenTPW cannot measure (see below); the coaster awards and the shares' annual report (see the missions section); Theme Park Inc's weather presentation's sky; the advisor's other messages; the native park save formats (the player file .GMS is written on desktop). Rides carry UsageInfo.InitPricePerUse (20) and Info.ExpectedPrice (25) in Theme Park Inc's data: the fee is charged at each use and the guest's price test 0x6120C0 refuses a price above its willingness to pay or its purse (ECON-062). Coaster track charges use the Theme Park World coaster cost model over Theme Park Inc's object settings and are not verified for it. The statistics block's accumulator (+0x938) is the month's booked costs, which the month message debits with the running cost (ECON-060).

Theme Park Inc challenges#

Since November 21, 2026 a Theme Park Inc park runs the executable's challenge system (ThemeParkIncChallenges, ParkEconomy.TpiChallenges), which is not Theme Park World's objective system: TPI-CHALLENGE-SYSTEM.md traces it and its section 10 lists the port's status. The level's first ten ChallengesInThisLevel entries name rows of Data/Challenges.sam (Science: rows 2, 4, 5, 14, 13, 18, 21, 8, 20 and 22, types 2, 35, 25, 46, 36, 41, 56, 17, 48 and 17) that load into ten slots; every world update the system switches on once the park is open, makes slots available by their triggers, offers the lowest due slot at most every DaysBetweenOffers (20) days, and runs an accepted slot through its grace period and timed phase to a win or a loss. A win pays the cash prize through the bank and adds the golden tickets to the career; a loss returns the slot to its offer, takes one off the firing line on the slot's first loss and, once the line is spent, posts the firing letter. A won challenge's PromoGiven promotes the career (0x74C450) and the current zone record counts the win. The firing line, the tickets, the rank and the mission counter are the career's (ThemeParkIncCareer, TPI-CAREER.md); the slots and the career are saved in the Science continuation save. The system draws no random number.

What is measured: types 2 (hot dogs sold: the trigger is a fat shop, the count comes from the sale bookings), 25 (the least happy staff member; the trigger is an entertainer's experience), 41 (no strike; the trigger is the staff count), and since November 24, 2026 the first share-prize types: 17 (riders on a special ride), 46 (the worst ride's state of repair), 52 (riders and the ride's repair) and 58 (riders as a percentage of the guests in the park). Their trigger is the special ride's activation, or, before the ride stands, the research lab's current project (0x5C3828); type 46's is the park analyser's breakdown count, which is never raised in play. A guest boarding a Theme Park Inc ride counts for 17, 52, 58 and the first value of 57, from the boarding of Theme Park World's guest that stands in for the native guest's admission ([EXT:tpi-twp-guest-rules]). Every other type stays unoffered ([EXT:tpi-capability-gates]), because its trigger or value reads park state OpenTPW does not model: 48 and 56 (the attraction satisfaction's mood rings), 50 and 55 (the guests' top three thoughts), 53 and 56's rating byte (the track-ride and coaster branches), 51 (the Arabian palace coaster, a special ride no OpenTPW world places) and 57 (the photo booth's users, an add-on OpenTPW cannot place).

Special rides. Since November 24, 2026 the special rides of a Theme Park Inc park (Info.IsSpecial 1: the prebuilt Science park's Water Ride, Tour Ride, Log Mill and Victorian House) await their activation (TPI-CHALLENGE-SYSTEM.md, section 11). A placed special ride gets a record of the staff its SkillSet[n].Num keys ask for (a gardener in Water/Drainage for the Water Ride); a member whose training ends takes a slot that asks for his staff type and new ability, and leaves it when he goes to train again. Selecting such a ride shows its activation lines in the text HUD (the game's own words: the title, the staff slots, the golden tickets needed and the note on undiscovered abilities) and an Activate Ride button, enabled once every slot is filled and the career holds the ride's UsageInfo.GoldenTicketCost; the button spends the tickets and marks the ride activated ([EXT:tpi-text-hud] stands in for the original's activation window). The activation's camera fly-over and the track tool it starts for a special track ride are not ported ([EXT:tpi-capability-gates]). The table and the activated rides are saved in the Science continuation save. The prebuilt park's attractions keep their saved open word (the four special rides were saved closed), guests skip a ride that awaits its activation whatever its open word (0x6101FD), and the activation does not open the ride: a selected ride shows the ride window's open toggle as a HUD button ([EXT:tpi-text-hud]), enabled while its queue joins a path and the open guards pass. The availability reads the career's mission counter. The mission controller runs since November 21, 2026 (below), but its completion waits for the mission window's complete button, which the slice does not offer yet, so a career stays at mission 0 unless the cheats extension's Skip Mission advances it, and the Science rows that need mission 2, 3 or 4 wait for that. A win pays its share prize and raises the share price, a slot's first loss lowers it (the shares game, below). The experimental HUD's Challenges button (top right, below Staff) lists the offered, accepted and won slots by their CHALLENGE_TITLES.str title with the days left and the progress value, and accepts an offered row while the park is open, as the original's mail does ([EXT:tpi-text-hud]); the challenge mail's full text, its sounds and the advisor's sender advice are not ported.

Theme Park Inc missions#

Since November 21, 2026 a Theme Park Inc park runs the executable's mission controller (ThemeParkIncMissionController, ParkEconomy.TpiMissions; TPI-MISSIONS.md). It starts the mission's exit statistics in the viewed zone, tests them once a game day on every fourth world tick, and answers the obstacle, promotion and camera messages. Its completion tick spends the tickets, grows the land by the mission's extent, opens a theme, advances the career, finds the next obstacle and starts the new mission's statistics; the build list's mission gate reads the career's mission number. Types 1, 2, 3, 5, 6 (the park awards held) and 7 (the shares owned as a percentage) are measured from the park, and so is 8; 4 (last month's takings, whose ride and facility rows OpenTPW's ledger does not keep) is never decided ([EXT:tpi-capability-gates]). The controller is saved in the Science continuation save.

Camera flights and obstacles. The cutscene thing flies the controller's cameras as the original does: the ride view on the target's camera seat while its own script plays the clip, the clock at the flight's rate, the HUD hidden; its end posts the completion message 0x29. A new game's Science park opens with the zone arrival's flyover over the camera path 1798, which Escape or a right click skips. The obstacles and the camera path are things of the world, with their cells, and the 1700 gate opens (its AfterShape) at the end of the camera flight that the mission window's complete button starts for mission 0; the lake is the obstacle 1703 and drains to 1704 at the end of its own flight. The cheats extension's Skip Mission calls the completion tick directly (0x5F0940, as the original's debug button does at 0x532B39): it advances the career and opens no obstacle.

The mission window. The executable's "Current Objective" window (ThemeParkIncMissionWindow, builder 0x55A7F0, table 0x9BE808; TPI-MISSIONS.md §7) opens with the Objectives key O (key table 0x9A8A14) or the text HUD's "Current Objective" button, which stands in for the native HUD's buttons ([EXT:tpi-text-hud]). It shows the mission's title, picture and sender, the briefing page and the details page with every exit statistic's requirement and status, the promotion hint, required challenges and golden tickets. Proceed is enabled when the controller's requirements are met and runs OnMissionComplete or the remove-obstacle message 0x24 (to the staff HQ and the controller). It pauses nothing. The zone-arrival flight's end opens the first briefing one update later, as the original's countdown does (0x5D0369).

Few missions complete in play yet. A mission without an obstacle completes through Proceed: at once, or at the end of the camera flight to its ObstacleOpened or CutsceneObject thing (message 0x29). An obstacle mission's Proceed posts 0x24 (the staff HQ rebuilds its slots, then the controller's flight opens the obstacle); its requirements also need the research (message 0x23, the lab's Park Expansion project) and the staff HQ's obstacle slots filled by trained staff. Both are ported, and the research and training rooms are now built from the facilities tab, so a project advances and staff train in play; the requirement finders know handymen, mechanics and gardeners (another type repeats the last answer), and all three are hired. The cheats extension's Skip Mission still runs the completion tick. What does not run yet besides: the challenges window (the text HUD's challenge panel stands in for its tab).

The tag tube. Every letter the slice posts is filed as a row of the tag tube (TPI-TAG-TUBE.md): the arrival's briefing and each "Objective Complete!" letter unread, the bank's and the firing letter read (their letter window still opens at once). The "Message Centre" window (table 0x9BBC84) opens with the M key or the text HUD's button below "Current Objective", which stands in for the native HUD's mail panel and shows the unread count ([EXT:tpi-text-hud]). It lists the rows newest first (a header press sorts by subject or turns the direction), shows a selected row's sender, addressee, subject, picture and body, reads it after 2.5 seconds, deletes it with Delete and runs its go-to; no row click opens the letter window. The tube is kept in the Science continuation save. The advisor's unread-mail messages (0x198, 0x15D), the native panel's chime and picture and the body's scroll are not ported ([EXT:tpi-capability-gates]).

Park awards and the shares game. Since November 23, 2026 the park runs the executable's park awards and shares game (TPI-AWARDS-SHARES.md), which the last mission (miss17: six awards and 51 % of the shares) needs. Every 100th world tick the award check measures the park against levels/Standard.sam's ParkAward thresholds and decides at most one award: the cleanest park (90 % of the path, queue and littered cells clean, with 1000 covered cells), the most decoration (the features' footprint over the covered cells), the best security (the guards' patrol areas plus the cells the cameras and guards make secure), the best staff training (half the staff trained, ten staff at least), the fastest go-kart track (its longest straight) and the longest water ride (its sections). An award moves to the zone that beats its holder's value; the career counts the awards ever won. The two coaster awards are not decided: their measure needs a coaster's "viewed" byte, which only the original's attraction window sets, and its track record ([EXT:tpi-capability-gates]). The shares game starts the career with 1000 shares at a price of 100; a won challenge pays its share prize and raises the price by its SharePriceEffectWon (4 %), a slot's first loss lowers it by its SharePriceEffectLost (2 %). The thirteen share prizes add up to exactly the 15300 shares miss17's 51 % needs. Since November 24, 2026 the Science rows 8, 14 and 22 (types 17, 46 and 17; 2900 shares) can be offered and won; the other ten wait for their types or for their zone's special rides, so the 51 % is reachable only through the cheat below until they are ported. The annual report's score and price step are ported, but the report is not run at the year change: it reads analyser rings OpenTPW does not keep ([EXT:tpi-capability-gates]). The text HUD's challenge panel shows the shares owned, the percentage, the price and the awards held, and an award decided becomes a note, in the game's own words (UITEXT); the native share portfolio and Park Awards panels and the advisor's award messages are not ported ([EXT:tpi-text-hud], [EXT:tpi-capability-gates]). The shares are kept with the career, in the player file and the Science continuation save. The cheats extension's "Win the game..." gives 51 % of the issued shares, as the original's debug menu does.

Prebuilt science save#

The supplied retail Data/PreBuilt folder contains one file, prebuilt.TPWS (SHA-256 05ea01f2151757b3f4bbe7c15a1cb702af9f53b959c533c5e346d970695d882d). Its decoded cell attributes equal science/terrain/base.map in all 16,384 cells; they differ from Arabian in 1,053 and water in 2,125. This is the evidence for loading it only in the science viewer. No original executable was run to establish a broader TPI save schema.

Field usedObservation and use
ContainerMagic 500; the 24-byte version block after the magic (01 13 00 00 00, Version: Beta_21\r\n and its NUL); language byte at 0x1c, stamp 01 22 19 85 at 0x61d, online word at 0x621, BILZ at 0x625, zlib at 0x641. The bounded zlib reader applies after shifting these offsets; see SAVE-CONTAINER.md.
Decoded payload1,692,641 bytes; all 17 writer-order trailing delimiters occur once. The World block ends at DLRW offset 1,571,677. The blocks are split by their readers' widths under the Theme Park Inc profile (45 message lists, a 48-byte camera, an empty UI block), see the save layout.
Cell gridOne 128×128 X-fastest run at offsets 7,116–1,449,038, read by the map loader's status-byte rule (below): every cell has status 3 (88 bytes) or, for 13 cells, 7 (98 bytes with the 10-byte effects record); FF FF closes each base record at +86/+87. MAP attributes remain at +46; path flag bit 0 at +13, connections +8, path texture +17, turn +21 and occupancy +12 match the TPW positions. The save yields 76 path cells.
SYSG objectsA candidate begins with byte 1, then an opaque u32, followed by little-endian u32 Info.Id at +5, X +9, Y +13, width +17, height +21, kind +25 and index +29; rotation is u16 at +43. The bounded signature scan finds 23 records: 9 kind 815 objects and 14 kind 865 fixed/scene records.
Catalogue and placementAll nine kind 815 IDs resolve in science: eight rectangular footprints are occupied in the grid and one (1101, 4×5 at 42,26) has two unoccupied corner cells (42,30 and 45,30), so its footprint remains unresolved while the object is rendered at its saved anchor. Of the 14 fixed/scene records, nine IDs resolve; five zero-coordinate IDs (1702, 1701, 1700, 1750, 1798) have no object archive and are not rendered. One resolved record is a tool, leaving 17 objects rendered in the native viewer.
EntranceSaved 1601 Gates at (46,17), and 103 Lobby plus 104 atmdesk at (46,16), all rotation 0. TPI fixed models use local coordinates, so the viewer applies these saved anchors and rotations. There is no Bus record in this save. Eleven other fixed/scene records use (0,0); their thing records hold the default position (128, 128) and angle 0 for the six with an archive (real positions for the five without one), and how the original places their local-coordinate models at that anchor remains an approximation (RIDES-040).

The importer is read-only. The World block is read into typed records (ThemeParkIncSaveWorld) and must consume exactly to its delimiter; each SYSG record found by the signature scan must then name exactly one attraction thing of that World by mesh instance id (the record's u32 at +1, the thing's MeshInstanceID), Info.Id and, for a placed object, cell, so a damaged or different save cannot quietly produce a partial park. This replaced the former requirement of exactly 23 records with 14 fixed items. The join runs both ways: every record must name one attraction, no attraction may be named by two records, and every attraction must have a record except the lake obstacle 1703 (whose RideSystem entry is not an 815/865 scene record; it is the only entry of UnrecordedThemeParkIncAttractions). A damaged or duplicated record therefore still fails the import. It uses the same exact map-attribute check as TPW but the TPI record widths and SYSG header are separate, leaving TPW save reading unchanged. A 300-frame native science capture draws the paths and park objects; it does not prove their appearance against the original game. Economy, ride state, guests, opaque cell data and unrecognised scene records are not restored.

Theme Park Inc park save layout#

Static reading of the no-CD Game.exe (save 0x43ee20, header writer 0x440a20, loader 0x43f370), checked against the one park save that exists, prebuilt.TPWS (decoded 1,692,641 bytes). Container fields: SAVE-CONTAINER.md. The payload loader (0x43fad0, writer 0x441060) uses the same 17 delimiters in the same order as tp.exe (0x415270), so SavePayloadLayout.Parse(payload, SavePayloadProfile.ThemeParkInc) splits it by the blocks' own reader widths; only a Coasters block with a coaster is still found by its delimiter ([EXT:delimiter-split-for-tools]). ParseThemeParkInc is that call.

BlockPrebuilt bytesReader rule (Theme Park Inc against Theme Park World)
ActionRecording563u32 published flag, u32 size, bytes (same)
World1,571,114ThemeParkIncSaveWorld, below
Scripts412SCPT block, 0x118-byte records (same; loader 0x4e4410)
Particles76,252same (loader 0x658810)
MessageCentre47645 lists of u32 count, count × u16 (TPW 29; loader 0x437140)
Clock / VanillaTime / GameSystem8 / 4 / 36same (0x41b890, 0x41bec0, 0x6a2390)
RideSystem13,154u32 length and that many bytes (same; its records have an extra u32 before Info.Id, 0x4c5770)
TrackRides / FlyingRides180 / 452same (0x6921a0, 0x6b6720)
RSSE26,446same; the records end in OBJ (0x6afd90)
Camera4840 bytes plus gf_SavedRideXRotation and gf_SavedRideYRotation (0x46a150)
Coasters1,226the TPW layout: one coaster, one section, 30 train slots of one car (30 × 38 bytes), SaveCoasterBlock.ParseBlock consumes it exactly (0x4782e0)
Advisor / Sound392 / 1,804same (0x717460, 0x652e60)
Cheat / AdvisorScoring2 / 4same (0x423c40, 0x71c300)
UI0the writer (0x4f8630) is a bare ret and the loader reads nothing: nothing may follow the ADSC delimiter

World block (loader 0x64bc00, 1,571,114 bytes, consumed exactly): variables (version 3, 70 bytes: the TPW version 2's 64 plus mLobby, mCurrentObstacle and mFirstGardener), the control manager (0x5cf9b0: 150 records of 36 bytes, u32 count, u16 search key, 5,406 bytes), the staff pool (0x6308a0: 32 candidates of 31 bytes (0x62f980: type, name, salary, agency, sub-type, valid, on-pointer, time stamp, timeout, experience), six role pairs of count and stop flag, time stamp and flag, 1,027 bytes), the calendar (32 bytes: the TPW calendar with mYearAtLastUpdate), the arrivals (18 bytes, raw), the map and the thing list.

The map (0x5d6d40) is the TPW rule with a wider cell: for each of the fixed 0x4000 cells a status byte, then the 56-byte map cell (TPW 52, mIsObstacle added) when bit 0 is set, the 31-byte track cell when bit 1 is set and the 10-byte effects record when bit 2 is set. The prebuilt's grid is at 7,116 to 1,449,038. The thing list is u32 head, the marker EATC, then per thing u32 next, u32 model, 'LDMT', the model's 4-byte tag and the body, and ends with ENOD, followed by the new special rides (0x6244b0: u32 count, then count records of a u16 and 20 slots of 10 bytes, 4 = 812 bytes in the prebuilt).

ModelTagBodyIn ThemeParkIncSaveWorld
3 attractionOBJE312 bytes, plus 5,263 of history when its flag byte (the last of the 312) is 1: 13 rings of 30 and 6 rings of 144typed (ThemeParkIncAttraction, including the history rings); 24 in the prebuilt
16 bankBANK292 (the TPW bank)typed (SaveBank)
10 mechanic HQ, 17 UI receiver, 21 OBJH, 22 CUTS, 23 TRNR10, 8, 14, 10, 8exact; base plus raw tail (ThemeParkIncSmallThing). Each load routine (0x5da990, 0x63a1a0, 0x5f03c0, 0x5d0160, 0x637230) was also run in the emulator: none reads a count, so the width is fixed (the loops near them run after the reads)
12 tag systemSGAT12 plus 3,628 per messagetyped (ThemeParkIncTagSystem), load 0x6355d0: the thing base, u32 numtags (0x6357bd) and numtags mail messages of 0xe2c bytes (0x635821; kept as 3,624 raw bytes and the flag byte at +0xe28). The loader compares the count signed, so a count of 0 or below reads none (this reader reads none for a negative count too); 12 bytes only when there is no message, as in the prebuilt
9 staff HQSTAF411typed (ThemeParkIncStaffHq), load 0x6326b0
11 advisor controllerADVI233typed (ThemeParkIncAdvisorController), load 0x7177f0
13 park analyserPARK63,177 plus the rings' entries (76,617 in the prebuilt)typed (ThemeParkIncParkAnalyser), load 0x5ace30
14 research labLABR8,414typed (ThemeParkIncResearchLab), load 0x61bce0
15 weatherWEAT104typed (ThemeParkIncWeather), load 0x641510
19 challenge systemCHHQ1,287typed (ThemeParkIncChallengeSystem), load 0x5c7c70
1 guestPERS619ThemeParkIncPerson; none in the prebuilt, load 0x60d260
4 to 8 staff, 20 gardenerMECH, HAND, ENTR, GUAR, RESE, GARD684 to 696 plus 4 per saved ring entry (six rings of at most 30)ThemeParkIncPerson; none in the prebuilt, role loads 0x5d9e40, 0x5d4ba0, 0x5d1600, 0x5d3500, 0x61b3c0, 0x5d2510 over the staff base 0x6267c0

Models 0, 2 and 18 have no serializer (the jump table 0x64d7e0 sends 18 to the challenge case too, but only 19 is witnessed) and are rejected. Every other model's width is its own reader's (ThemeParkIncBodyLayout); no width is a constant taken from the prebuilt and none is found by searching for the next header, so a complete header lookalike inside any body is data (tests plant one in every traced body). The six formerly closure-derived widths (411, 233, 76,617, 8,414, 104 and 1,287) are reproduced by the layouts. Guests, staff and gardeners are absent from the prebuilt, so their layouts rest on the load routines and an emulation of them and not on a saved byte (the remainder of SAVE-944). They have never been checked against a real save, and a layout mistake now refuses the whole save where the old search for the next header recovered. tools/tpi-layouts/ reproduces the widths and offsets from your own Game.exe. The block must in every case read exactly to its delimiter. Typed fields that are inferred rather than traced are SAVE-940 and SAVE-944 in the register.

Thing bodies#

Traced October 17, 2026 from the no-CD Game.exe (SHA-256 77ea0c41410aad7c94a5eda658e31cb4ac05f7253aaf6746ad5e8a90afbd967a), then checked by emulating each load routine on streams of chosen content. The World loader 0x64bc00 reads a thing header (u32 next, u32 model, LDMT, the tag), checks the tag, and dispatches cmp eax(model - 1), 0x16; jmp [eax*4 + 0x64d7e0] (0x64c771). Each case allocates the object (guest 0x2f0 bytes, staff 0x5d8 to 0x5e0, staff HQ 0x1ac, advisor 0x118, analyser 0x22878, lab 0x2508, weather 0x80, challenge system 0x5d8), constructs it, sets the thing id and calls the class's load virtual with (stream, 0 = load, version 1, id); the same routine saves when the flag is non-zero. Its reads go through the stream helper 0x7cc930 ((stream, destination, size, &read)) and the field-name helper 0x441da0, so every member has a size and a name from the routine itself. The version check of each routine accepts 0 and 1; the loader passes 1. No read is conditional on stream data except the history ring counts.

PartWhereLayout
thing base0x637230mX, mY, mMapChild, mMapParent, 2 bytes each. Addresses below that call the stream helper 0x7cc930 are the load branch (the World loader passes flag 0 and reads); 0x7cc960 is the save branch and is not used here
history ring0x62f2b0 (staff), 0x5ba4d6 and others (analyser)u32 mCurrentEntry, u32 mNumEntries, u8 mWrappedAround, mTemp (the element width), then mNumEntries entries; the array holds a fixed capacity (30, 3, 144, 50 or 5), and the entry after the last slot would overwrite the ring's own counters in memory
person0x609170the thing base, sprite script, accurate destination, speeds, path-following state (pos, vel, a five-entry subpath buffer), sprite, 32-entry event history, thoughts: 396 bytes
guest0x60d260the person, then arrival, balloon, umbrella, cash, seven pv stats, the visit counters, queue state, prank, food/drink/bought/won/rides stats: 619 bytes, no ring
staff base0x6267c0the person, salary, two pv stats, jobs done, mName[33] (UTF-16), rest area, states, mTimeHired (8 bytes), experience, abilities, tick counters, wage demand, six history rings, patrol rectangle (m_sx to m_ey)
mechanic / handyman / entertainer / guard / researcher / gardenerrole loadsthe staff base, then 8 / 12 / 6 / 14 / 2 / 8 role bytes ending in the role's mNext link
staff HQ0x6326b0base, mForceStrike, mStaffMemberPickedUp, 6 strike levels of 12, the training budget (0x6394d0: 6 budgets and mHaveEverTrained), 20 staff slots of 12, 15 trained-staff words
advisor controller0x7177f0base, mTimeSig, mSoundId, 8 message records of 21 bytes (0x71af30), queue position, last action, the current message, tutorial flag, playing message, delayed message, 3 panel flags, delay ticks
park analyser0x5ace30base, the grid sizes, 1,024 cells of 61 bytes (a 4-word rectangle and nine value pairs), 4 rings of 3 u16, 6 totals, 21 rings of 144 words, rings of 50 and 5 words, 22 rings of 50 bytes, and the park statistics
research lab0x61bce0base, 256 projects of 32 bytes (0x61f670), 7 groups of 13 (0x6202c0), counters, 20 staff pairs, 2 consultants
weather0x641510base, 2 spells of 17 bytes (0x643100), rain, lightning and wind state
challenge system0x5c7c70base, 10 challenge records of 125 bytes (0x5c2320), the next-challenge delay (8), the switch (1), 10 actual-thing ids

The prebuilt's park analyser has all its rings full (3, 144, 50, 5 and 50 entries, 76,617 bytes) and its first rings are consistent with a 32 x 32 grid of 4-square cells; its research lab holds 50 projects (the other slots are uninitialized 0xCD). A saved ring count above the capacity is refused: the original would read on into the ring's own counters (above 50 for the byte ring, and 51 is the largest count it reads without overrunning the padding). The words are typed by width only (the loaders copy each member, so a signedness or float type is not visible), the 12-byte vectors and the 12-byte strike levels and staff slots stay raw, and the 8-byte times follow the calendar (100 ns since 1601-01-01). Tp.exe's weather serializer (0x512010) is the same class with a different field list (91 bytes, no wind), so the layouts are not shared between the games.

Field meanings (the attraction history, the control record, the calendar, the special rides)#

Read October 17, 2026 from the loaders and from the code that uses each field (no-CD Game.exe, instruction level; nothing was run). The prebuilt holds no ring value and no guest, so none of this was seen in a save. SAVE-941, SAVE-942 and SAVE-943 are retired by this reading; SAVE-940 and SAVE-944 are narrowed.

Attraction history (SAVE-940). The attraction's history object (0x5ea020, 0x14c8 bytes, built by 0x5e9dc0) holds 19 rings. A ring is mTemp, the running value that the game's code adds to, then mData[n], mCurrentEntry, mNumEntries and mWrappedAround; the constructor sets the entry count to the capacity, which is why every saved ring stores its full capacity. The calendar step 0x6083d0 compares the game date with mDayAtLastUpdate/mMonthAtLastUpdate and sends message 11 (a new day) or 12 (a new month); the attraction's handlers 0x5df19f and 0x5defff push each ring's mTemp into its next entry and clear it. So the 13 short rings (30 entries) are daily and the 6 long rings (144 entries, 12 years) are monthly, the order the serializer saves them:

#RingFed by
0daily takings0x5e5de0 (a payment)
1daily costs0x5e60e0 (the cost of the goods of a sale, the cost of a ride's use)
2daily customers0x5e5da0, from the guest's end of visit 0x6118d0
3daily walk-aways0x5e5d70 (with mNumWalkAways)
4daily rated visits0x5e61d0, after the guest's happiness change
5 to 8daily very happy, happy, unhappy and very unhappy guests0x612740: the visit's score against four thresholds (0xa01b1c and 0xa01b20 above, 0xa01b24 and 0xa01b28 below); the first two send thought 5, the others thought 6
9daily declined gueststhe guest's own refusal, a refused price at an info category 2 attraction, the failed chance of a special effect
10daily failed need checks0x612b5b, 0x612c3d
11daily cheap-price guests0x6120c0: the price below PcOfGoodPriceIsCheap (0xa01b18) percent of the fair value
12daily expensive-price guests0x6120c0: the price above the fair value or the guest's money
13monthly takingswith ring 0
14monthly costswith ring 1
15monthly total costscomputed at the month change: the running cost plus the costs
16monthly running costm_runningCost, or 0 while the attraction's state is 1 or 4
17monthly profittakings minus total costs (the signed ring, serializer 0x5ba2b0)
18monthly customerswith ring 2

The game reads a ring back with 0x5eb090 (the entry n periods ago is current - n, wrapping once the ring has been full) and counts it with 0x5eb2f0; ThemeParkIncAttraction.NewestFirst does the same. The three gauge words after mQueueSizeInCells are, in file order, a gauge nothing reads (the constructor sets it to 100.0 with the state of repair; Theme Park World's third gauge at +0x4c is the same), the life gauge (+0x58, the second word of the breakdown test 0x5e48df; a breakdown takes 5.0 off it) and the state of repair (+0x54, which repairs set to 100.0). Each is saved as a float truncated to a byte. The ring names are our descriptions of what feeds each ring, not names from the game (rings 4, 9 and 10 are the least certain); the original's log names only the ring members.

Control record. The control manager (0x5cf9b0) copies 150 records of 0x24 bytes. The constructor of a record (0x5cff00) fills it from the object's info: the id (a 16-bit word), three info words at +4, +8 and +0xc (the first is the object's price, which a sale at 0x5de85e takes a percentage of), researched at +0x10 (the info's research cost is 0), the research level at +0x14 (0), the number of things of the type that are built at +0x18 (0, incremented when a thing is made and decremented when it is destroyed), the game tick of the first build at +0x1c (-1 until then; Theme Park World starts at 0) and, new in Theme Park Inc, a counter at +0x20 (0) that the placement step 0x667cb0 increments each time the player places an object, and which numbers the copies ("name 2", "name 3").

Calendar and arrivals. The calendar serializer (0x607f70) saves mFunnyTimeStart, mSessionStart (8 bytes each), mYearAtLastUpdate, mMonthAtLastUpdate (zero-based), mDayAtLastUpdate and mFunnySecsPerRealSec, the order the reader uses. The arrivals (0x5bc670, 18 bytes) are mArrivalRate, mTimeSig (4 bytes), mTargetVehicleCapacity, mPeopleOnBus, mOffloading (1) and mGatesOpen (1).

Special rides. The loader 0x6244b0 reads mNumSpecialRides straight into the global 0xaa071c and then loops by that global, so the loop runs the saved count. The table it fills (0xaa0330, records of 0xf4 bytes) has room for four records: the count global itself lies inside the fifth record's memory, so a larger count would overwrite it while being read. A record is a 16-bit SpecialRideThingId and 20 slots of a 16-bit AllSpecialRidesThingId, a 32-bit AllSpecialRidesAbility and a 32-bit AllSpecialRidesType.

Guest and staff meters, weather (SAVE-944). A guest's seven pv words are single-precision meters between 0 and 100, saved as floats truncated to a byte (the loader reads the float straight back). By their offsets in the 0x2f0-byte guest: 0x1bc happiness, 0x1c8 thirst, 0x1cc hunger, 0x1d0 toilet, 0x1d4 illness, 0x1d8 litter and 0x1dc, which only an attraction's info word +0x198 lowers and for which no meaning was found. The needs step 0x619c0e raises toilet by 1.0 and hunger and thirst by 2.0 every 16th tick, the cell's environment words add to illness and hunger, a meter at exactly 100 costs 1.0 happiness (the Theme Park World rule, NeedsUpdate), and the outcome step 0x612740 adds the attraction's info effects (ThirstEffect at +0x200 to ToiletEffect at +0x214) to the meters. mCash (+0x1c0) and mCashSpent (+0x1c4) move together at the payment 0x6125b0. A staff member's three pv words are floats too, starting at 100.0 (0x6263D6): +0x230 is happiness, +0x234 motivation and +0x238 energy. The strike test 0x633740 compares +0x238 with EnergyPercentToStrike ("fatigue", 0x63379F/0x6337D0), +0x230 with HappyPercentToStrike ("unhappiness", 0x63381D/0x63384E) and +0x234 with MotivationPercentToStrike ("lack of decent wages", 0x63389F), and +0x234 is the word the wage code moves (0x62d01e); an earlier reading took +0x234 for happiness. The weather's mWindDir (starts at 90.0) and mWindForce (0.5) are floats and mLastLightningLocation is a float vector (x, y, z) that the thunder countdown converts to integers when it reaches 0 (0x6423fb). The rest of the bodies keep their stored widths: the loaders copy each member, so a signedness or an enumeration is visible only where a user of the member was read.

Theme Park Inc front end#

Phase 1 builds the start screen only: the Personnel File.

Theme Park Inc has no island lobby. It boots into the 3D intro world (wIntro; the exe's world name table at 0x9d53b4 lists arabian, science, water, intro as 0 to 3, and THEMENAMES.str names the zones "Land of Invention", "Polar Zone", "Intro World" and "Arabian Nights") and runs its front-end screens as overlays on it. Its start menu is the Personnel File (October 17, 2026, static reading of the no-CD Game.exe, SHA-256 77ea0c41410aad7c94a5eda658e31cb4ac05f7253aaf6746ad5e8a90afbd967a; the retail executable is SafeDisc-encrypted):

ItemWhere in Game.exe
Layout table PersonnelFile0x9c0fbc (39 nodes, root 0xc738, !window_s, rectangle (273,72)-(1775,1464)); ends at 0x9c15ac
Builder / handlersbuilder 0x56adb0 (window created by 0x84dea0 over the table), click handler 0x568ce0/0x568d40, slot handlers 0x569e12 to 0x56a9ce
Titletext box 0xc75c, UITEXT 19 "TPi Personnel File"
Player slotsfour filetab buttons 0xc73d to 0xc740; a free slot shows UITEXT 20 "New Player"
File pagefilepage panel 0xc73b; label boxes 0xc741 to 0xc74e (money, golden tickets, shares, portfolio, objective: UITEXT 21 to 26, 29; UITEXT 28 "Zone not yet opened")
Name entryfilebox 0xc756 + filebutok 0xc757 + text field 0xc758 (prompt UITEXT 32 "Enter name here")
ButtonsEnter Game 0xc754 (UITEXT 34, help 287; handler 0x56ab40 saves the player, selects the slot and reads its world: -1 or 3, the intro world, becomes 1, science, then ChangeWorld 0x6a26b0), Load A Game 0xc759 (35, help 287, opens table 0x9ba364), Delete Player 0xc755 (33, help 288), Coaster Design Kit 0xc73a (31, help 290), Quit Game 0xc75b (30, help 289)
Mugshot!frame 0xc75d around mugshot 0xc75e
Quit confirmationgeneric confirm builder 0x4f47f0 over table 0x9b18bc (5 nodes, root 0xea60, !window); the quit click (0x568d67) passes UITEXT 773 and mode words 2 and 1, which make its two buttons b_cancel (0xea61, help 3) and b_okay (0xea62, help 0, action 0x568e60 quits)
FontsPERSONNELFILEBIG, PERSONNELFILEMED, PERSONNELFILESMALL (and MATISSE18/36 elsewhere) in the language folder

Theme Park Inc's ui.wad has 1,462 members, 172 MD2 models with unique root-name hashes and its textures as .fsh/.tga; only 37 root names are shared with Theme Park World's. Its UITEXT.str has 994 records with ids unlike Theme Park World's (UIStrings does not apply; ThemeParkIncText names the ids used, read with UiStringTable.Entry), UIHELPTEXT.str 367 records.

What phase 1 builds. tools/ppc-analysis/lanes/ui/tpi_exe_layouts.py (the same stream grammar as tpw_exe_layouts.py; a one-off manual scan parsed all 86 layout tables of the executable, which the script's --check does not repeat: it reproduces the two tables) writes ThemeParkIncLayoutTables (UI/Original/ThemeParkIncLayoutTables.cs: rectangles, ids, help ids and model names only, no game data) for the two tables above. FrontEnd/ThemeParkIncFrontEnd.cs draws the Personnel File from Theme Park Inc's ui.wad models at those rectangles with its strings and the PERSONNELFILE fonts ([EXT:tpi-front-end-phase1]), over a flat dark backdrop (no 3D intro world, no sound, no start-up movies):

ThemeParkIncFrontEndTests covers the generated tables, the id map, the capability flag and start-up routing, the page's routing headless and (with OPENTPW_TPI_PATH) that every model of the tables is in Theme Park Inc's ui.wad and loads with its textures, that the strings resolve in English and Dutch, that the fonts load and that the page draws. Not verified: how the page looks on screen (no capture was taken), the exact text positions inside the controls (the buttons draw fitted text over the whole control rectangle), the window's own text area in the quit confirmation, and the label boxes' content, which phase 1 leaves out.

Ride-script VM: shared formats and opcode lineage#

All 288 Theme Park Inc scripts have the same 48-byte header and time slice (50) as all 324 TPW scripts. Every opcode they use is in OpenTPW's Opcode enum with the same operand count as in TPW, and no unknown opcode occurs. Theme Park Inc uses 72 distinct opcodes; it adds WAITABS (45) and MULT (48), which no TPW script uses. It no longer uses TRIGANIMSPEED, LOOPANIM_CH, TURBO, the child-variable opcodes (66, 67, 69), GETREMOTEVAR, the WALK*FLOAT* opcodes, HOUR/MIN/SEC or SPARK. So Theme Park Inc scripts would exercise two VM paths that TPW data never reaches.

TestScript.wad ships five RSE source files (test.rss, Shop.rss, Feature.rss, TestAnim.rss, Null.rss) for Bullfrog's assembler (#setstack, #setlimbo, variable, .label, #include "\source\game\rsse\code\rsse_scriptdefs.h"). They are first-party evidence for the VM:

These are test scripts, not shipped ride scripts, so they support but do not prove the semantics of the TPW corpus.

The attraction serialiser: field offsets and readers (read 2026-11-09)#

Theme Park Inc's model-3 object is 0x148 bytes with its type byte at +2; the object's loader and writer are the two halves of 0x5DC430 (writer 0x5DC4A2..0x5DD527, loader 0x5DD52A..0x5DDF25), and the handler 0x5DED90 is not its constructor — the real one is 0x5DB1B0.

The operating fields sit +0x14 above the Theme Park World layout: speed +0x6C, capacity +0x71, duration +0x70, mCanLoad +0x7C, the claimed staff id +0x72 and its turn +0x74. The two name lines are at +0xA8 and +0xEA, written and read as 33 interleaved UTF-16 pairs. The three gauges are floats at +0x60 (the third), +0x58 (life) and +0x54 (repair); Theme Park World's third gauge at +0x4C is mFirstInQ here.

The loader writes all of them straight into the live object without validating any. Each has a reader except the third gauge: capacity, duration and speed feed the throughput/quality computation 0x5DFE00 and the ride panel 0x5E41D0; mCanLoad gates the queue and load paths (0x5DFCB0, 0x5E163E, 0x5E210B, 0x5E3498); the names build the sign text (0x5E7C25) and the display lines (0x5E97E8); the claim id and turn are read by the claimant test 0x5E37F0, which lapses a claim after 100 turns — the rule ECON-022 already ports. The third gauge has no reader anywhere: only the constructor's zero store (0x5DB230), the writer (0x5DCF0D) and the loader (0x5DDC4B) touch it, which confirms the register's "no reader found" for the Theme Park World field of the same meaning.

Differences#

Shared runtime components#

Sound banks: Layer I verified on original data#

Running the Layer I decoder over the Mac TPW data decodes every Layer I entry: 2,641 MPEG-2 22,050 Hz mono, 5 MPEG-1 44,100 Hz mono and 4 MPEG-2 22,050 Hz stereo clips (2,650 total), without a failure, and every clip matches ffmpeg's mp1 decoder in length and to within 1 LSB. Theme Park Inc's banks hold 3,691 MPEG-2 22,050 Hz mono and 12 MPEG-1 44,100 Hz mono Layer I clips, plus Layer II speech/music in the same modes as TPW; all decode except the clips past the end of the two truncated music banks.

Edition note: Mac Theme Park World#

The Mac data differs from the Windows edition OpenTPW pins in its tests. The differences found so far: QuickTime .mov movies instead of .tgq; 641 loose .lip files instead of lips.wad; TrueType fonts in resource forks (the data forks of its 17 .ttf files are empty); 324 RSE scripts against 308. Asset tests that pin Windows hashes and counts fail on it for these reasons, which says nothing about the readers.

Possible follow-up work#

  1. .fsh (SHPI, code 0x7B) reader. Done (October 10, 2026): FshFile decodes all 7,283 files and WAD members to RGBA, with --inspect-fsh; see FSH.md. The level viewer uses them (October 11, 2026). Not done: checking them against the original game's rendering. Opaque 0x24 palettes match the original's converter (APPROX:COMPAT-014 retired).

  2. Use the .rss evidence in the VM: name LIMBO's second operand as the limbo duration and cite the source comments in the opcode handlers.

  3. Other TPI save profiles, untraced prebuilt fields and the new Standard.sam keys, if Theme Park Inc support ever becomes a goal.

Global Master Save (.GMS)#

The player's progress across the worlds lives in a Global Master Save. "GlobaMasterSave" is the name the program uses in its own log text. It is not a park save. The layout was traced in the Theme Park Inc executable, the scene noCD build of Game.exe, by static analysis only:

The file is uncompressed and little-endian. Since November 21, 2026 every field is traced or kept as raw bytes, OpenTPW writes the file and reads it with the original's lenient rules (a marker that differs is a successful load that stops there); TPI-CAREER.md §3 has the full layout, which supersedes the table below.

PartContent
Headeru32 world (0–2; the writer stores 3 when there is none), u32 version 12, a u32 and 8 bytes
Card table256 × 16 bytes (0x0074B1F0): Info.Id, a level 0–2, a flag and an amount. Empty slots have flag 0x7FFFFFFF. The observed files use 16 slots
Words and bytesincluding the mission number (object +0x105C; the loader then reads the world's Miss%02d.sam)
5 × 48 bytes, TATS, 15 words, AMTAuntraced
Parksu32 count; per park a length-prefixed name (arabian, science, water, wIntro), then 0x0074FEF0: two interleaved UTF-16 sign lines (mSignNameA/mSignNameB, 33 characters), d_available, d_open, mParkNumber, mNameChanged, mAllResearchCompleted, mChallengesDone, mAllChallengesDone, mCurrentTechLevel
MEHT, options0x0045A130: four volumes stored as (on, level) word pairs (the last two named SpeechVolume and MovieVolume), AdvisorOn, TutorialOn, TooltipsOn, ConfirmDeleteOn, RMBScrollOn, RMBCancelOn, IsometricOn, AnimateMenus, GameSpeed, mZoomMin, mZoomMax, mFPSClip, MusicEnabled
HistorymFirstHourTime, then 644 × 20 bytes mHistory[i]
Tail0x00592720 (a word and 92 bytes), DTOT, the shares game (0x00620E30: three company slots, mNumberOwned, mPctCompanySharesOwned, mCompanyName, mCurrentValue), RAHS, 0x00622D70 (count, bytes, a byte and three words), MAPS, the ambient sound tags (0x005BF470: count × 16 bytes)

Three German retail saves read completely and write back byte for byte, directly and through the career object. They are kept private and checked by ThemeParkIncGlobalSaveTests and ThemeParkIncCareerTests when OPENTPW_TPI_SAVES names their folder. Synthetic tests cover every truncated prefix (a failed or a stopped load, as the body decides), the markers, the version and the trailing bytes. The decoded company name refuses unpaired UTF-16 surrogates (OpenTPW's malformed-input policy for its decoded view; the raw bytes are kept).

.GMI: the refresh snapshot#

.GMI is not a separate format. One save routine, 0x00745720, takes a flag. Without the flag it writes a normal save: the park as .TPWS and the progress as .GMS, and it then walks the parks (arabian first). With the flag it writes the park as .TPWI and the progress as .GMI and skips that walk. Both go through the same writer 0x0074C8F0. The writer stores the flag at object +0x14EC, and the save routine later reads it there to pick .TPWI or .TPWS for one of its file names. The writer does not pass the flag to the body and writes version 12 either way.

Only 0x00744E80 calls the save routine with the flag; its counterpart 0x00744E10 passes no flag, and the autosave paths (0x007765D0, 0x00777120) write .GMS. 0x00744E80 has one caller: when the options screen (0x004597C0) applies a change that needs a reload, it saves the game as Refresh, re-initializes, and loads Refresh.GMI back (0x00744DF0, the loader 0x007451E0 with the .GMI extension).

A second path loads a .GMI: the handler at 0x006A4E70 (reached through a pointer table) loads restart.GMI the same way. No code was found that writes a restart .GMI, and none ships in the game data, so where that file would come from is open.

No .GMI file was available, so all of this rests on the executable. ThemeParkIncGlobalSave reads one like a .GMS, and the corpus test includes .GMI files when the folder has any.

Historical statistics and the host start boundary#

SaveThemeParkIncStatistics reads only the model-13 analyser named by the World variable ParkAnalyser. A zero reference leaves history absent even if an unrelated analyser exists. The complete ThemeParkIncBody walk bounds the body and follows each saved count, so short research rings and unselected monthly rings may vary without shifting the meaning of later fields. This is a separate decoder from the fixed TPW profile.

The TPI serializer (0x5ACE30) and month producer (0x5AF220, message 12) establish these zero-based positions in the parser's misleadingly named DayRings array:

Stored measurementTPI fieldRepresentation
People in park at month closeDayRings[14]signed 32-bit integer
Guests dropped off by the arrival vehicleDayRings[17]signed 32-bit integer; Current is the unfinished-month counter
Mean happiness of the in-park censusDayRings[18]binary32 bits, widened to double
Mean whole-day stay of recent departed guestsDayRings[19]signed 32-bit integer
Native composite park rating at month closeDayRings[20]signed 32-bit integer
Recent departed guests' whole-day staysRing50signed 32-bit integer

VisitorsThisMonth is a separate admission counter sampled into ring 15; it is not the bus-arrivals graph or its live counter. Each selected ring keeps its own head and wrapped state. The native graph path 0x5630B0 selects only arrivals, people and rating. Happiness and stay are separately proven monthly storage; retaining them in OpenTPW's shared five-series graph model is [EXT:tpi-history-five-series], not native five-series UI parity. The current TPI text HUD does not expose that graph, and this slice adds no TPI graph screen.

The typed bundle preserves raw words and signed samples without plausibility clamps. Validation reads the raw wrapped byte before the generic typed ring can collapse it to bool; flags other than 0/1, invalid heads and active NaN/infinite happiness reject the whole bundle. Unread slots alone normalize to zero for host JSON. The common host state requires 144 physical monthly slots and 50 recent stays. Structurally valid smaller selected rings are explicitly unsupported by that fixed host profile, not padded or replayed; unrelated ring counts may still vary. Nonnegative running arrivals is a host-save rule, not a new native-format restriction ([EXT:tpi-history-host-profile]).

OriginalParkImport.Statistics carries the bundle, and ParkEconomyRuntime.ForThemeParkIncLevel actually applies it. That factory still starts a fresh money-only economy and clock: it does not restore TPI's saved game turn, calendar rate, bank history, staff, research or challenges. Imported partial-month arrivals combine with new arrivals until the first fresh host month closes and then reset once. Imported recent stays continue into that month's mean, even when the saved monthly stay ring was empty. This cross-boundary mixture is deliberately [EXT:tpi-history-fresh-start]; it is not exact continuation of the saved native month. Subsequent host-produced census, happiness and rating values are not claimed equal to TPI's native simulation.

Histories contain no per-sample timestamps. The import keeps relative 12/36/144-month order, does not date old samples from unrelated event timestamps, and creates no financial months. Host JSON retains the physical history and independent rating through the existing schema. Native export remains unchanged template preservation; normalized host state is not a byte-identical native export.

Asset-free regressions construct a full independent TPI payload and vary unrelated capacities, all 21 ring signatures, raw flags, heads, active/inactive floats and body truncation. They exercise referenced identity, atomic rejection, the production factory with a deliberately different saved clock/rate, first host close, counter reset, recent stays and a statistics-bundle JSON/schema roundtrip. That schema test checks only the history bundle. The desktop Science continuation tests separately exercise the Theme Park Inc money rules and the live OpenTPW save/load path; neither test restores an original Theme Park Inc session. The one shipped TPI park save, PreBuilt/prebuilt.TPWS, is checked with data (OPENTPW_TPI_PATH): its World names analyser thing 5, whose selected rings all have the 144/50 host capacities, head -1 and no wrap, so the import carries an empty bundle. Unread slots keep the 0xCDCDCDCD fill as raw words and read as zero, and the arrivals counter is ring 17's mTemp (0). TPI ring 12, the TPW arrivals ordinal, holds 2625 there, so that test also catches a read through TPW ordinals. No populated/wrapped TPI save or original execution is claimed. Those corpus checks, saved-clock continuation and the remaining park-information residuals are the TPI restore work; UI-914 itself is retired (the saved-clock continuation is [EXT:tpi-history-fresh-start]).

Source: docs/THEME-PARK-INC.md in the project repository.