PC Differences¶
The Steam PC release of Hitman: Blood Money is built from the same IOI source tree as the PS2 game. PC Comparison pairs the functions of the two executables and sorts the pairs by how far the PC code departs from the PS2 code. This section records what four hand reviews of those pairs found: the behaviour the PC changes, the pairs that were wrong, and the false positives of the comparison. This page summarises the method and the results and collects the headline differences by theme. The details, with addresses and evidence, are on the four review pages:
| Page | Subsystems |
|---|---|
| GUI, Camera and Input | hitman3/gui, hitman3/camera, engine/zwindows, and how the PC handles keyboard, mouse and pad prompts |
| Game and Characters | hitman3/characters, hitman3/levelcontrol, hitman3/background, hitman3/hitman3 |
| Engine Core | engine/fysix, geomsextend, geomsbase, eventsbase, enginedata, collision, boids, animation, camera, pathfinder4, shared |
| Platform and Audio | engine/drawing, zstdlib, system, audio, audiolib/audiocontrollertypes, engine/serializerlib, rendervideo, ScriptInterfaces, and where the PC keeps the script interfaces |
Method¶
tools/pccompare/build_mapping.pypaired the PC functions (from a Ghidra export of the unpacked executable) with the PS2 functions ofextracted/HITMAN3.ELF, andtools/pccompare/compare_pairs.pygave every pair a category:constants,strings,calls,structure,stub-on-one-side,platform,minororsame(Comparing the pairs).- Each review took one group of subsystems from the run of 24 November 2026. It read every pair
whose category was
constants,strings,calls,structureorstub-on-one-side, and the 15 largestminorpairs, side by side withtools/pccompare/show_pair.py(Ghidra C next to the PS2 source), with callers, callees and data where needed. - Each pair got one verdict:
real(the code really differs: a gameplay change, a platform adaptation, a layout value or debug output),noise(the comparison reported a difference that is not there) orwrong pair(the PC function is another function). The verdicts are inbuild/pc-compare/review/<page>-verdicts.tsv, one row per pair (pc_addr ps2_addr ps2_name verdict note). - The results went back into the tools:
- every wrong pair, swapped pair, wrong callee and missing pair the pages name became a row of
tools/pccompare/overrides.tsv(Reviewed overrides); - the PC script-interface table became a mapping stage (The script-interface table);
- most noise patterns became rules in
compare_pairs.py(Fixes from the reviews); tools/pccompare/score_verdicts.pyscoresdiffs.tsvagainst the verdict files, using them as a labelled test set.
- every wrong pair, swapped pair, wrong callee and missing pair the pages name became a row of
Verdicts¶
| Page | Reviewed | Real | Noise | Wrong pair |
|---|---|---|---|---|
| GUI, Camera and Input | 105 | 68 | 31 | 6 |
| Game and Characters | 103 | 25 | 65 | 13 |
| Engine Core | 113 | 34 | 64 | 15 |
| Platform and Audio | 70 | 23 | 34 | 13 |
| All | 391 | 150 | 194 | 47 |
"Reviewed" counts the flagged pairs, the 15 minor pairs of each page and a few extra pairs that a
review found on the way (a swapped partner, a table entry). The pages give their counts by
subsystem and by category.
The rerun against the verdicts¶
score_verdicts.py checks three things: a real pair should stay in a flagged category, a noise
pair should leave them, and a wrong pair should be gone from the mapping. Precision is the share of
real pairs among the reviewed pairs that are still flagged; recall is the share of real pairs still
flagged.
| Run of 24 November (reviewed) | After the overrides and fixes | |
|---|---|---|
| Real pairs still flagged | 145 of 150 | 142 of 150 |
| Noise pairs out of the flagged categories | 55 of 194 | 156 of 194 |
| Wrong pairs gone from the mapping | 0 of 47 | 47 of 47 |
| Reviewed pairs flagged | 329 | 180 |
| Precision | 44.1% | 78.9% |
| Recall | 96.7% | 94.7% |
By page, precision went from 73.3% to 90.4% (GUI, Camera and Input), 28.7% to 58.5% (Game and Characters), 32.7% to 74.4% (Engine Core) and 40.7% to 87.0% (Platform and Audio).
The eight real pairs that are not flagged:
- Five were
minoralready at review time: their difference shows only in the weak items (ZPostFilterAnimEvent::FrameUpdate,CRigidBody::Move,ZOSD::DrawBufferViewUpdate,CIngameMap::OnWindowOpen,ZRenderBaseDll::CompactPrimBuffer). FsZip_t::findFileandFsZip_t::GetDirectorywere flagged only by their buffer sizes: the PS2 allocates 0x10001 bytes withnew[], the PC uses 65540-byte stack arrays. The review called this "implementation only", and the__chkstkrule now drops it on purpose.ZHitman3::CanUnpackSniper: its oldstructureandcallsflags came from a Ghidra body cut at a switch table, which the review called noise. The body is now extended, and the real change (a water test on a member) is a field read that the comparison does not see.
The 38 noise pairs still flagged are mostly patterns the rules do not handle: dead PS2 stores left over from compiled-out debug drawing, constants folded inside inlined callees whose PC partner is unmatched, small helpers that MSVC keeps out of line, and a constant that moved across a virtual call. The pages list them under "Noise patterns".
Headline differences¶
The classification table lists each behavior and the corresponding port setting. For disassembly and subsystem detail, see GUI and input, game and characters, engine core and platform and audio.
Classification¶
Every real verdict of the four reviews, sorted for the port into three classes (reviewed for the
pc_fixes setting on 24 and 25 November 2026):
- Bug fix: the PS2 behaviour is clearly a mistake (a wrong argument, untranslated text, a missing case in a list, data read as the wrong type), and the PC corrects it.
- PC design change: different tuning, layout, features or a refactor; the PS2 behaviour is what its designers chose.
- Platform: input devices and prompts, rendering, sound hardware, memory, saves, online services, copy protection, debug output.
The Port column identifies the behavior in the current port and the setting that selects it. Version-specific options follow the selected version unless overridden.
The bug fixes¶
All seven are in the port under pc_fixes (enabled with the PC version). Enhancements: PC version
fixes describes each one with the evidence that
OPENBLOOD_PCFIXES_TEST produces. None of them is a crash or softlock fix, so none is on by
default.
| Difference | Functions (PS2, PC) | Port |
|---|---|---|
InvertHorizontal takes the player number as its value, so a profile load switches it off |
ZDefaultOptions::SetOption (0x224b58, 0x569d40) |
pc_fixes |
| The sniper case can be unpacked while 47 stands in water | ZHitman3::CanUnpackSniper (0x32904c, 0x5ee730) |
pc_fixes; works wherever the game sets m_bIsInWater: over a drawn water patch, in both modes. The disc's M09 has no drawn patch, on the PS2 too (Water in play) |
The sniper case's pickup range is measured from the item's GetCen, not its mesh |
ZHitman3::IsItemActionInRange (0x316900, 0x5f3ae0) |
pc_fixes; the two points coincide for a closed case lying on the ground |
| M02's VHS tape can be taken out of the inventory, unlike the other 42 mission items | ZHitman3::CanPullOutFromInventory (0x31e900, 0x5ebd50) |
pc_fixes |
| M05's garage door action is hard-coded English (OPENGARAGEDOOR) | ZHM3LevelControlM05::Init2, OpenGarage, CloseGarage (0x3f0750, 0x3f1770, 0x3f1860; 0x6be730, 0x6bda20, 0x6bdb20) |
pc_fixes |
| The briefings upper-case UTF-8 text byte by byte, so accented letters stay small | ZHM3InfoList::Setup, ZHM3BriefingDetail::Setup, AppendDetail, ZHM3TrainingInfo::Invalidate (0x3ce2c8, 0x3cefd8, 0x3cf814, 0x3d1758; 0x685370, 0x686c30, 0x686a40, 0x685e10) |
pc_fixes, through zstring::to_upper (0x10ae08), whose only callers are the first three, and ZGameData::ZStringToUpper (0x14ace0), which the fourth calls without the locale |
| A sound object's room query reads nine floats from a three-float direction | ZSoundObject::GetCurrentRoom (0x1952b4, 0x4f9410) |
pc_fixes; 211 sound objects in M02, M05 and M09 find the same room both ways |
With pc_physics, ragdolls started outside animation are pushed out of collision and start at rest. Coins get the status bit that ignores water hits.
The PC data also corrects text, which the function comparison cannot see: the newspaper's murder
article template, Flatline's short target name, one sentence's verb agreement, a tutorial's spacing
and one subtitle of the M13 ending. The port takes them under pc_text for a disc run with the PC text override
(PC assets: PC text).
The tuning changes¶
The PC design changes that are tuning or small design choices, and not layout, text, mouse or
rendering, are in the port under pc_tuning (enabled with the PC version). Enhancements: PC version
tuning describes each one with the evidence that
OPENBLOOD_PCTUNING_TEST produces, and lists the rows left out and why: the debug free camera,
the two options bytes, the pushed actor's saved strips, the loading-bar phases and
two refactors.
Every real difference¶
| Difference | Functions (PS2) | Class | Port |
|---|---|---|---|
| GUI, camera and input | |||
Weapon quick keys 1 to 7, PauseNoOSD on 8 |
ZGui::ClassFrameUpdate (0x3b5350) |
Platform (input) | Yes, weapon_hotkeys |
The in-game menu is closed by Back only when IngameMenu is also bound to Esc |
ZGui::ClassFrameUpdate |
Platform (input) | Esc is bound to cancel in both menu maps. The port does not require the PC binding-name test. |
| Cheat menu in the OSD | ZGui::ClassFrameUpdate, ZOSD::LoadInit3 (0x3a30d4), ZOSD::DrawBufferViewUpdate (0x3a43c4) |
PC design change (feature) | Yes, cheats (a debug-overlay tab) |
| HUD drawn in window pixels, placed from the window's edges | ZOSD::InitElementPositions (0x3a3188), ZWINOBJ::CalcPosScale (0x204004) |
Platform (rendering) | Yes, pc_hud_size (PC HUD size) |
| Compass shown in M00, no console border | ZOSD::InitElementPositions |
Platform | Yes, pc_layout |
| Weapon HUD positions; disguise and health bars 8 pixels wide and moved | ZWeaponDisplay::Draw (0x3b325c), ZOSD::DrawDisguiseBar (0x3a3904), ZOSD::SetHitpoints (0x3a549c), ZOSD::InitElementPositions (0x3a3188) |
PC design change (layout) | Yes, pc_layout (automatic with the PC installation's data, whose HUD frames need it) |
Tutorial texts with _PC instead of _PS2 |
ZInfoDisplay::Add (0x3b43e0), ZHM3LevelControlM00::GetLocalisedText (0x3e52d0) |
Platform (prompts) | Yes, while the keyboard is in use |
Sprite textures found through the D3D material ("mapDiffuse") |
CMapIconDraw::AllocIconSprites (0x3a6928), ZHM3ScopeNumberDisplay::ClassInit (0x309864), ZLaserAim::ClassInit (0x391758) |
Platform (rendering) | Not applicable |
In-game map: mouse drag, pan and zoom cursors, a centred mouse, MapSelect closes the list |
CIngameMap::FrameUpdate (0x3a8d18), OnWindowOpen (0x3a9424), UpdateMapPosition (0x3aac40) |
Platform (input) | Yes, pc_mouse (keyboard and mouse play): drag, click zoom, pan cursor, centred pointer, zoom box at the pointer, wheel floors. Not the pad branch's MapSelect closing the list (PC mouse controls) |
| In-game map: pad pan and zoom half as fast | CIngameMap::FrameUpdate |
PC design change (tuning) | Frame-rate work keeps the PS2 speed; the PC's half speed under pc_tuning |
In-game map: only OSDSND_Map_Zoom, no pan or moving sounds |
CIngameMap::UpdateMapPosition, OnWindowClose (0x3a9eb0) |
PC design change (sound) | pc_tuning |
In-game map: Legend_PC texts, a map-group type check |
CIngameMap::SetCurrentMap (0x3aba48) |
Platform (prompts) | No: Legend_PC drops the button for the PC's clickable legend; the "type check" is two int3 assertions (GUI and Input) |
| Key names inside the action, pickup and drop prompts | ZActionMenuBase::Draw (0x3ad09c), ConvertInputRefs (0x3ad3ec), ZDropDisplay::Init2 (0x3b07f4), ConvertInputRefs (0x3b0de8) |
Platform (prompts) | Yes, with the keyboard (in-game menus' key labels); with pc_layout and the PC installation's scenes on the PC's key caps, the key's first three letters ("SPC" for Space on the pick-up key), entries 20 to the right (PC HUD and menu layout) |
| Container menu entries and focus bar 20 pixels to the right | ZContainerMenu::Draw (0x3b1404), UpdateAllEntryPos (0x3b1f28) |
PC design change (layout) | Yes, pc_layout |
| No SCEE controller-loss text | ZNewsPaperMissingController::OnWindowOpen (0x3a2140) |
Platform | Not applicable |
No TV corrections: safe border 15, half-texel 0.05, m_fBgScale 0.8 |
ZOSD::ZOSD (0x3a2ae0), ZWINOBJ::CalcPosScale (0x204004), ZWINDOWS::ZWINDOWS (0x207418) |
Platform (TV output) | PC half-texel correction and pc_layout safe border. Background scale retains the PS2 value. |
| No picture-in-picture exclamation mark in M00 | ZOSD::PIPTriedToStartUp (0x3a5d34) |
PC design change | pc_tuning |
| Newspaper parse errors written into the text by an exception handler | ZStatisticsParser::ParseArticle (0x39f164) |
Platform (C++ exceptions) | Not applicable |
| Newspaper zoom four times as fast | ZStatisticsTest::ControlMoveSmooth (0x3a15e4) |
PC design change (tuning) | Frame-rate work keeps the PS2 speed; the PC's under pc_tuning |
| Briefing layout: rows 18 apart, wider or moved columns, other line widths | ZHM3Objectives::Setup (0x3cd754), ZHM3ObjectivesBrief::Setup (0x3cddd8), ZHM3InfoList::Setup, ZHM3BriefingDetail::Setup, ZHM3TrainingInfo::Invalidate |
PC design change (layout) | Partly, pc_layout: the objective lists and the info list; not the target details, made for the PC's own briefing windows (Enhancements) or the training hints' width, made for the PC's 640-wide training window |
| Briefing capitals of accented letters | as above, and AppendDetail |
Bug fix | pc_fixes |
{...} prompt tags deleted instead of expanded |
ZShowVar::SetText (0x3c2864), IUpgradeInterface::GetButtonText (0x3c7ef8), ZNavigator::SetText (0x2183c8), ZTextBlock::SetText (0x2193d4) |
Platform (prompts) | PC-data keyboard prompts strip menu tags. |
| Inventory description 300 pixels wide | ZHM3InventoryMenu::UpdateItemInfo (0x3cac28) |
PC design change (layout) | Yes, pc_layout |
| The empty-profile-name test moved into a virtual | ZEnterProfileName::Click (0x3d336c) |
PC design change (refactor) | No |
| Key rebinding: bindings copied from the profile, code-page key names, binding a used key unbinds the other action | ZButtonConfigurationList::Setup (0x3d53d4), ZNewButton::Update (0x3d56a4) |
Platform (input) | Yes: the PC's keyboard configuration window (PC menu entries) with the key names of the merged bindings; the unbinding under pc_mouse (PC mouse controls); the press-new-button dialog with its text (the disc's menu line-object pool topped up to the PC scenes' 116). Bindings stay in the PS2 profile (aButtonConfigInfo), not in a list copy |
| Blank credit lines show "." when SecuROM's event is missing | ZTextCredits::Update (0x3c4a9c) |
Platform (copy protection) | Never; see The SecuROM check |
| Mouse drag in the weapon details; detail buttons in the weapon selector; upgrade arrows at x 27 and 519 linked for the mouse | ZWeaponDetails::ZWeaponDetails (0x3d4584), ZWeaponSelector::SetupGraphics (0x3cca20), ZUpgradeSelector::Setup (0x3c69e0) |
Platform (mouse) and layout | Yes, pc_mouse: the drags (in ZWeaponDetails::Update), the detail buttons, the arrows' clicks and links and the wheel in the upgrade selector. Not the layout: the eyes sit 247 right of the row and the arrows at the PS2's 44 and 476 (PC mouse controls) |
Online code: online.xml, a second menu factory, online windows and elements, the network status monitor |
ZHM3MenuElements::ZHM3MenuElements (0x3d6008), ReadXML (0x3d61dc), ZHM3MenuFactory::WindowFactory (0x3d67b0), GUIElementFactory (0x3d6850), ZHM3LevelControl::PostInit2 (0x3dbdb8) |
Platform (online) | No |
The PC save interface instead of ZHM3SavePS2 |
ZHM3MenuElements::ZHM3MenuElements |
Platform (saves) | Not applicable |
14 options: AutoAim dropped, 12 graphics options added |
ZHM3Options::ZHM3Options (0x3d86f0), GetSize (0x3d8bb0) |
Platform (graphics options) | The launcher's own settings (brightness, shadows, anisotropy and others) |
| A Direct3D flag that nothing reads | ZWINOBJ::ClassInit (0x202d30) |
Platform | Not applicable |
| No left-stick menu navigation | ZWinInput::ZWinInput (0x206c4c) |
Platform (input) | No |
MouseColiOnHiddenObjects for navigators |
ZNavigator::readParams (0x218544) |
Platform (mouse) | Yes, pc_mouse, and added to the PS2 blocks' briefing panels, which the PC's briefing.xml gives it (PC mouse controls) |
Slider values shown as "%i" or "%.1f", DisplayAsFloat and FloatMultiplier |
ZGUISlider::SetValue (0x21a58c), readParams (0x21a858) |
PC design change | Yes, pc_layout; the same text on screen except with DisplayAsFloat, which only the PC's render options use |
| Building a menu does not write slider values back to the options | ZGUISlider::SetValue |
PC design change: the PS2 writes back the value it has just read, which changes nothing that was found wrong | No |
The <Platform PC> menu blocks without a pad |
ZGUIXMLReader2::XMLParse (0x21c1ec) |
Platform (input) | PC-data keyboard, Exit Game and checkbox controls. |
UseEAX option at index 5 |
ZDefaultOptions::ZDefaultOptions (0x224594), SetOption |
Platform (sound) | No |
InvertHorizontal keeps its value |
ZDefaultOptions::SetOption |
Bug fix | pc_fixes |
No TV-position and video-test elements; a CheckBox element |
ZStandardMenuFactory::GUIElementFactory (0x223ff0) |
Platform | No |
MouseCam for the mouse pointer |
ZXMLGUISystem::SetupCameras (0x222794) |
Platform (mouse) | No: only the PC scenes have the camera and its Mouse geom; the port shows the system cursor in every menu, in both modes |
Binocular mode hides the whole OSD (ZGui::Disable) |
ZHM3Camera::ActivateCurrentCameraMode (0x305618) |
PC design change | pc_tuning; ZOSD::Disable hides the action, pickup and drop prompts, and the disabled GUI opens no menus, so the compass and health stay |
| The scope viewport rescaled for screens that are not 4:3 | ZHM3Camera::SelectScope (0x3066ac) |
Platform (widescreen rendering) | No: the port's scope is already right; its own widescreen fix blacks the sides of full masks (widescreen) |
| Picture-in-picture enabled from an options byte | ZHM3CameraEventCameraClass::ZHM3CameraEventCameraClass (0x30fdfc) |
Platform (options menu) | No: the PS2 options menu has PipCam too, so the value is the player's either way |
| Picture-in-picture off while the Direct3D device is lost | ZHM3CameraEventCameraClass::ClassFrameUpdate (0x310184) |
Platform | Not applicable |
| No picture-in-picture for a remote bomb in the checked room | ZHM3CameraEventCameraClass::PushEvent (0x310fd0) |
PC design change | pc_tuning (the root room, g_pEngineData->m_pRoot) |
| Scope post filter instead of the PS2 renderer's offsets | ZHM3CameraScope::Activate (0x30c5ac) |
Platform (rendering) | Not applicable |
| The sniper overlay always in the first window | ZHM3OverlayCameraClass::DeactivateOverlay (0x309080) |
Platform (rendering) | Not applicable |
| Game and characters | |||
| Crowd bone pool of 1,000 without double buffering, a memory printf | ZHFlow::ClassInit2 (0x2c3628) |
Platform (memory) | No |
| Climb-through-window guide starts at the middle of the top edge | ZHM3HitmanMovementGuide::InitializeClimbWindowGuide (0x2da76c) |
PC design change (tuning) | Partly, pc_tuning: the middle and depth; the height stays the PS2's, as the PC's put 47 above the opening in play |
| VHS tape stays in the inventory | ZHitman3::CanPullOutFromInventory |
Bug fix | pc_fixes |
| First-person pelvis drop -18 instead of -23 | ZHitman3::LocalStateIK (0x3203f4) |
PC design change (tuning) | pc_tuning |
| No sniper case unpacking in water | ZHitman3::CanUnpackSniper |
Bug fix | pc_fixes |
| Sniper case range from its mesh | ZHitman3::IsItemActionInRange |
Bug fix | pc_fixes |
| Auto-aim starts off; fibre-wire auto-crouch from an options byte | ZHitman3::Initialize (0x313580) |
PC design change (options) | pc_tuning defaults AutoAim to 0 when unsaved. PC-data menus omit the PS2 toggle. |
| No rumble: hits, explosions, landings, crowds, climb guides | ZHitman3::OnProjectileHit (0x322d88), ZHM3MovementFall::GetActiveAnim (0x352188), ZHM3MovementPrimaryMove::ActorCollision (0x34fac8), ZHM3MovementClimbThroughWindow::GotControl (0x35aa4c) |
Platform (rumble) | No: the port keeps the PS2's rumble |
m_DontAnimateAttachers set in the window climb (cleared for a carried suitcase) |
ZHM3MovementClimbThroughWindow::GotControl |
PC design change; the byte is a mask of the hand attacher bones held still (bit 0 left, bit 1 right), and the PC holds the hand that grabs the frame: 1, 2 when mirrored, 0 with a suitcase | pc_tuning |
| Mouse turn in first person scaled by 0.18 | ZHitman3ControlMouseStrafe::UpdateTurn (0x363af8) |
PC design change (input tuning) | Yes, always with the mouse (Mouse turn) |
| A pushed actor's collision strips gathered once, and saved | ZHM3ActorActionPushed::IsCollidingWithBackground (0x37de9c), LoadSave (0x37e15c) |
PC design change (performance; save format) | No: it changes the save format and has no visible effect |
| Laser dot grows with distance | ZLaserAim::DrawBufferViewUpdate (0x391a80) |
PC design change | pc_tuning |
Front end only for scene names with "hitmanbloodmoney." |
ZHM3GameData::IsFrontEnd (0x3da208) |
PC design change (scene names) | No; the PS2 and PC scene names give the same answer |
| Profile 128 bytes larger; key bindings stored in it and applied again | ZLevelLinking::WriteGlobals (0x3e1520), OverrideAction (0x3e0ff8), Initialize, Clear |
Platform (saves, input) | The port keeps bindings in the PS2 profile's aButtonConfigInfo (ZLevelLinking::ReassignButtons) |
| An eighth tutorial splash, for the compass | ZHM3LevelControlM00::CaseFirstBriefing (0x3e57f4) |
PC design change | pc_tuning; the disc has the text |
| M05's garage door text localised | ZHM3LevelControlM05::Init2, OpenGarage, CloseGarage |
Bug fix | pc_fixes |
| Engine core | |||
| A ragdoll not started from an animation is pushed out of the collision and starts at rest | CRagdoll2::Activate (0x244be8) |
Bug fix (physics) | pc_physics |
| Ragdoll sub-steps 4 (3 while dragged) instead of 2 | ConstrainedParticleSystem::MoveRagdoll (0x243df0) |
PC design change (physics) | pc_physics |
| Ragdolls simulated at about 40 Hz above 40 fps | CRagdoll2::Move (0x245048) |
PC design change (frame rate) | Frame-rate guard |
| Rigid bodies: 500 mesh vertices, 4 relaxation passes, coins ignore water hits | CRigidBody::GetVertices (0x249548), Setup2 (0x248fa4), Move (0x24ad50) |
PC design change (physics); the coin bit looks like a fix | pc_physics |
| Cloth at 50 Hz, obstacles once per step | ZCloth::DrawIt (0x25a254) |
PC design change (physics) | pc_physics |
| A sound object's room from a real rotation | ZSoundObject::GetCurrentRoom |
Bug fix | pc_fixes |
| Particle colours and box sizes not halved; box particles moved once a frame | ZParticleTemplate::ClassInit (0x1883cc), ZParticleBox::ClassInit (0x18a538), DrawUpdate (0x18acec) |
Platform (GS colour range, renderer) | Not applicable to the code; the PC's snow and rain drawing in PC-data mode (PC data: Snow and rain) |
Blood marks decay by pow(0.99, dt * 60) |
ZBloodSplatters::ClassFrameUpdate (0x18f3a8) |
PC design change (frame rate) | Frame-rate-independent decay |
| Light record word copied into the character shadow environment in M00, M01, M04, M05 | ZENVIRONMENT::ClassInit (0x17a000) |
Platform (the PC renderer's light records; the word is SPrimLight::lStaticShadowColor, an RGB colour) |
Yes, pc_lighting: the copy is made (port override) and the drop shadows take 1 − lStaticShadowColor of their light, which the PC's ShadowDrop reads (Engine Core: ZENVIRONMENT, pc-data.md: Character drop shadows) |
| Rain level dropped, a printf per material | ZTriangleList::ClassInit (0x19afc8) |
Platform (rendering) | Not applicable |
| "Out of script memory" printf | ZScriptC::CreateScript (0x2003e4) |
Platform (debug output) | Not applicable |
| Post-filter events only with post filtering on | ZPostFilterAnimEvent::FrameUpdate (0x1e3138) and three more |
Platform (graphics option) | No |
| No texture-buffer compaction | ZEngineDataBase::InstallTextureBuffer (0x14133c) |
Platform (GS memory) | Not applicable |
| Loading-bar table of 8 phases, other sub-progress steps | ZEngineDataBase::SetAllocSequencePercent (0x146648), GetStaticData, GetPrimsData, GetGeomsData, GetTextureData, GetSoundData, GetAnimsData, GetGeomFilesData |
PC design change (follows the PC load order) | No |
No input polls in the main loop, AutoExit printf, memory dump |
ZEngineDataBase::MainLoop (0x1476cc) |
Platform | Not applicable |
Scene change without NukeAndRestart, a *premission* test, no demo timeouts |
ZEngineDataBase::DoLoadScene (0x146d14) |
Platform (memory, kiosk) | Not applicable |
| Load order, prim padding, saved games streamed without the fallback, no controller dialog suppression | ZEngineDataBase::AllocSequence (0x143d44) |
Platform (data, saves) | Not applicable |
Key names in prompts, bUpperCase honoured |
ZGameData::GetIcon (0x14adb0) |
Platform (prompts) | Yes, with the keyboard |
| Collision list in the heap instead of scratchpad | CListUser::CListUser (0x14c180) |
Platform (memory) | Not applicable |
| Excluded animation names parsed | ZGameData::InitExcludedAnimNames (0x43cef4) |
Platform (PS2 stub) | Not applicable |
| Octree cube test in C instead of assembly | ZOctreeCompiled::CheckCube (0x1571ac) |
Platform | Not applicable |
| Debug free camera rolls; debug key bindings | KeyControlGeom (0x227460), ZBaseCamera::Init (0x228118) |
PC design change (debug tools) | No: the roll needs the PC's keyboard free-camera bindings (the disc binds Mode1=0), and the port has no debug-key switch for DebugKeys; Enhancements: PC version tuning |
| Platform and audio | |||
| The player's bone matrices uploaded again after the first-person spine change | ZBoneModifyBase::UpdateFirstPersonBones (0x13bbb8) |
Platform (renderer) | Not needed: the PS2 and the port change the bones before the frame's deform matrices are built, so nothing is stale (Platform and Audio) |
| Static shadows eased and projected; attached geoms take their owner's multiplier and projections | ComputeStaticShadowMultiplier (0x13fb64), ZOldDrawBase::UpdateMovingMatrices (0x27678c) |
Platform (PC lighting) | Yes, pc_lighting (auto: on in PC-data mode): the easing, the PC's sampler and projections, and the projected shadow textures drawn on the characters and their attached geoms as the PC's TextureProjection pass does; attached geoms already use their owner's lights through ZGeomDrawEntry::Owner; not on crowd characters (Enhancements: PC lighting, PC rendering) |
A directional environment lights back + front × N·L (the PS2: back + (front − back) × N·L), on the scenery's vertex streams and on the characters' bone lights |
ZOldDrawBase::CalcBoneLightSources (0x275c70; PC 0x4af470), the PS2 lit strips' VU lighting (PC FUN_0047ff10, FUN_0047ef40, no PS2 function) |
Platform (renderer, PC data) | Yes, pc_lighting from a PC installation (pc-data.md: Directional environments) |
| A hemisphere environment lights a surface by its colour times V·N, V the normal bent towards the light (the PS2: the whole colour) | the PS2 lit strips' VU lighting (PC FUN_0047ef40, the type-3 case at 0x47f69b; no PS2 function) |
Platform (renderer, PC data) | Yes, pc_lighting from a PC installation (pc-data.md: Hemisphere environments) |
| Scatter billboards alpha-tested against the texture alpha and the failing texels discarded (the PS2 compares half the alpha and still draws the failing texels without depth) | ZOldDrawPS2::PrimInstanceCreateScatter (0x2a43f4), VU_GrassDraw; PC ScatterBillboard.fx |
Platform (renderer, PC data) | Yes, from a PC installation (pc-data.md: Scatter) |
| Debug printfs, PS2 stubs that are real on the PC | ZRender::LockDrawBaseGeomsBuffer (0x134d6c), ZPrimControlBase::AddPrimDataUnique (0x139c80), ZRenderDrawBase::Alloc, AllocSprites, Free, ZDllBase::GetAddress (0x110e94), FsZip_t::GetFileTime (0x115288), REFTAB::NewBlock, REFTAB32::NewBlock |
Platform (debug, PC services) | Not applicable |
Anisotropy 0 to 16, EnableVSync honoured, BlurShadows, SelfShadows |
ZRenderBaseDll::ParseOptions (0x13604c) |
Platform (graphics options) | The launcher's own settings |
No "mousecamera" test |
ZRender::AddCamera (0x135310) |
Platform | Not applicable |
| Video skip on Esc and Return | ZVideoPlayer::BeginPlaying (0x240168) |
Platform (input) | Yes, Escape |
| D3D prims freed in prim compaction | ZRenderBaseDll::CompactPrimBuffer (0x1365e4) |
Platform | Not applicable |
Materials and effects (.MAT, Standard*.fx, Skin*.fx, Cloth*.fx): per-pixel bump lighting with the material's specular, cube-map reflections, self-illumination, parallax, rim light and translucency |
PC-only: zrendermateriald3dfx.cpp, rendermaterialstandardd3d.cpp (PC 0x470000 to 0x49ea90; no PS2 function) |
Platform (renderer) | Yes, in PC-data mode, pc_shading (PC rendering); not the dynamic environment cubes (ZRenderEntryEnvSamplerD3D, 140 instances) or the per-light Lighting pass on characters (Character lighting on the PC) |
Glow, Glass, GlassSurface, Mirror and Anisotropic materials (Glow*.fx, Glass.fx, GlassSurface.fx, Mirror.fx, Anisotropic*.fx): the alpha fade, refraction of the frame, planar mirrors (mapReflection2D, FUN_004b8a50), the TRANSADD_ON_OPAQUE and SHADOW blends, texture scrolling |
PC-only: zrendermateriald3dfx.cpp (blend factors 0x494820), renderwinteld3ddraw.cpp (reflection pass 0x4b8a50, refraction copy) |
Platform (renderer) | Yes, in PC-data mode, pc_shading (PC rendering); mirrors through the PS2 engine's own planar mirror |
Scenery static shadows drawn through the shadow buffer (StaticShadow.fx, StaticShadowTextureShadow.fx, StaticShadowTextureAdditive.fx): the picture times one minus a × (1 − colour) (times the projected texture), or the colour added |
PC-only: the PC data's static shadow objects and their materials; the PS2 draws its own meshes with ZOldViewPS2::DrawStaticShadows (0x2a5d8c) |
Platform (rendering) | Yes, pc_lighting in PC-data mode (pc-data.md: Scenery shadows); the disc's are still not drawn (the port's PS2 path culls their visible side) |
Character drop shadows coloured by their light (g_vDropShadowColor = the record's lStaticShadowColor, alpha min(4.24 × strength, 255)) and drawn into the shadow buffer the static shadows share, with the blend MAX |
PC-only: the shadow-buffer pass (PC 0x4b42d0, 0x4b5672), ShadowDrop in Standard20.fx; the PS2 draws a constant shadow (ZOldDrawPS2::DrawShadow) |
Platform (rendering) | Yes, pc_lighting: the colour at full strength, and over the PC data's static shadows only what MAX adds; the PS2's ranking kept; in PC-data mode no drop shadows from lights whose light control has 0x4, as the PC's pass skips them (0x4b4477; M02's bridge) (pc-data.md: Character drop shadows) |
Material opacity (OPAC) applied as it is (IN.Diffuse.a × v4Opacity.a); blended materials sorted after the opaque ones |
PC-only: Standard20.fx, ZRenderMaterialD3DFX; the PS2 data carries opacity × 127, which its draw takes as half |
Platform (rendering) | Yes, in PC-data mode: opacity × 255, and blended bump-mapped materials as dot3 records sorted with the blended strips (M11's puddle and tyre marks, M03's glass doors; pc-data.md: Blended surfaces) |
| Quaternion interpolation by bisection | qpul (0x1214a0) |
Platform (numerics) | Not applicable |
| Zip buffers on the stack | FsZip_t::findFile (0x114c70), GetDirectory (0x115294) |
Platform | Not applicable |
| Sound controllers from a pool | ZSoundObjectManager::Initialize (0x163c34), Destroy (0x163d24) |
Platform (allocator) | Not applicable |
| Three more time floats in saved games | ZSysInterface::LoadSave (0x12c0d4) |
Platform (saves) | No |
Out of memory printed; new of 0 bytes allocates one |
operator new (0x12dc98) |
Platform | Not applicable |
The SecuROM check in the port¶
The port overrides ZTextCredits::Update for PC HUD sizing. It leaves blank credit lines empty in both disc and PC-data runs.
The identity of the object providing vtable slot +0x44 in the PC post-filter gate remains unresolved. See GUI and input.
Where to go next¶
- The behaviour sections of each page list every real difference by source file.
- "PS2 stubs and PC-only code paths" on each page lists the functions the PS2 build stubs out and the PC-only code found inside shared functions.
- "Wrong pairs found" and "Noise patterns" on each page explain the mapping corrections and the comparison rules; PC Comparison says which of them the tools now apply.
- "Unresolved" on each page lists what the reviews could not settle.