Field Manual

Frame rate and feel

MeasuredThe length of a game frame is measured in memory dumps of the original running, and the stick's once-a-frame read is measured in a capture. Most of the rules that ride on the frame are read from the game's code.

SOCOM II runs its whole game 29.97 times a second: firing, movement, the stick and every timer step on that clock, which is why the game feels the way it does, and what a browser changes.

SOCOM II does not run at 60 frames a second. The whole game, menus included, takes one step every two television fields: 29.97 times a second, or one step every 0.0334 s. Each step reads the controller once, moves everything once, and runs every timer down once. Nothing happens between steps.

That is where much of the game's feel comes from. A weapon can fire at most one round a game frame, and the wait between rounds is rounded up to whole frames. A stick push is not seen until the next frame. A jump is 22 frames long. The numbers players learned by hand are counts of these frames.

The numbers

The clock

Length of one game frame0.03336723sMeasured
The same, as the game works it out525 / 15734sMeasured
Game frames a second29.9695framesMeasured
Television fields in one frame2fieldsMeasured
The game's own frame cap30frames a secondMeasured
How often the network is read, on its own thread50msRead from the game

What steps once a frame

Controller read1 readEvery 33.4 msMeasured
Movement stick ramp1/6 of full pushFull push in 6 frames, 5 a secondMeasured
Rounds fired, at most1 round-Read from the game
M4A1 automatic fire1 round every 3 frames0.1001 s between roundsMeasured
Turn speed ramp to fullFull on the 13th frame0.43 sRead from the game
A jump22 frames in the airTop 11.485 units above the floorRead from the game
Camera easing back out3 % of the gap-Read from the game
Throw power rising while the button is held3 x frame length of the gap0.1001 of the gap each frame, from the third held frame onRead, not yet double-checked
Held frames that add no throw power at the start of a hold2 frames67 msRead, not yet double-checked
Throw power falling1.5 x frame length of the gap-Read, not yet double-checked
Wait between one throw and winding up the next, button held2 frames67 msMeasured
"Muzzle blocked" mark fading out4 frames133 msRead, not yet double-checked
Grenade and launched-round flight1 step-Read from the game

The two held frames that add no throw power are seen on recordings of the online patch that are not yet scored. One of the two is read in the disc's code; both are read in the online patch's code, not yet double-checked. See Grenades.

The stick, seen on the original

Runs in which the game saw the centre against Time the stick spent at centre0204060801000255075100125150Time the stick spent at centre (ms)Runs in which the game saw the centre (%)A read once every 33.37 ms predicts: 0 ms, 0 %A read once every 33.37 ms predicts: 33.37 ms, 100 %A read once every 33.37 ms predicts: 150 ms, 100 %Runs that saw the centre, on the original (online patch): 0 ms, 0 %Runs that saw the centre, on the original (online patch): 10 ms, 15 %Runs that saw the centre, on the original (online patch): 20 ms, 60 %Runs that saw the centre, on the original (online patch): 27 ms, 80 %Runs that saw the centre, on the original (online patch): 33 ms, 90 %Runs that saw the centre, on the original (online patch): 50 ms, 100 %Runs that saw the centre, on the original (online patch): 80 ms, 100 %Runs that saw the centre, on the original (online patch): 150 ms, 100 %
  • A read once every 33.37 ms predicts
  • Runs that saw the centre, on the original (online patch)
The stick was flicked from full left to full right (and back) with a timed pause at centre. The dots are the share of runs in which the game noticed the centre, measured on the original (online patch) and scored by a count of the recording; the grey line is what one read a game frame predicts. A 500 ms pause was seen every time too.
The numbers
SeriesTime the stick spent at centre (ms)Runs in which the game saw the centre (%)
A read once every 33.37 ms predicts00
A read once every 33.37 ms predicts33.37100
A read once every 33.37 ms predicts150100
Runs that saw the centre, on the original (online patch)00
Runs that saw the centre, on the original (online patch)1015
Runs that saw the centre, on the original (online patch)2060
Runs that saw the centre, on the original (online patch)2780
Runs that saw the centre, on the original (online patch)3390
Runs that saw the centre, on the original (online patch)50100
Runs that saw the centre, on the original (online patch)80100
Runs that saw the centre, on the original (online patch)150100
Share of full push the game uses against Time after the first step020406080100050100150200Time after the first step (ms)Share of full push the game uses (%)One sixth of full push a frame: 0 ms, 16.7 %One sixth of full push a frame: 33.37 ms, 33.3 %One sixth of full push a frame: 66.73 ms, 50 %One sixth of full push a frame: 100.1 ms, 66.7 %One sixth of full push a frame: 133.47 ms, 83.3 %One sixth of full push a frame: 166.84 ms, 100 %One sixth of full push a frame: 200 ms, 100 %Stick value seen on the original (online patch): 0 ms, 16.7 %Stick value seen on the original (online patch): 35 ms, 33.4 %Stick value seen on the original (online patch): 65 ms, 50 %Stick value seen on the original (online patch): 101 ms, 66.7 %Stick value seen on the original (online patch): 134 ms, 83.4 %Stick value seen on the original (online patch): 167 ms, 100 %Stick value seen on the original (online patch): 0 ms, 16.7 %Stick value seen on the original (online patch): 34 ms, 33.4 %Stick value seen on the original (online patch): 66 ms, 50 %Stick value seen on the original (online patch): 100 ms, 66.7 %Stick value seen on the original (online patch): 133 ms, 83.4 %Stick value seen on the original (online patch): 166 ms, 100 %Stick value seen on the original (online patch): 0 ms, 16.7 %Stick value seen on the original (online patch): 34 ms, 33.4 %Stick value seen on the original (online patch): 67 ms, 50 %Stick value seen on the original (online patch): 108 ms, 66.7 %Stick value seen on the original (online patch): 145 ms, 83.4 %Stick value seen on the original (online patch): 171 ms, 100 %Stick value seen on the original (online patch): 0 ms, 16.7 %Stick value seen on the original (online patch): 35 ms, 33.4 %Stick value seen on the original (online patch): 67 ms, 50 %Stick value seen on the original (online patch): 101 ms, 66.7 %Stick value seen on the original (online patch): 135 ms, 83.4 %Stick value seen on the original (online patch): 169 ms, 100 %Stick value seen on the original (online patch): 0 ms, 16.7 %Stick value seen on the original (online patch): 34 ms, 33.4 %Stick value seen on the original (online patch): 67 ms, 50 %Stick value seen on the original (online patch): 102 ms, 66.7 %Stick value seen on the original (online patch): 135 ms, 83.4 %Stick value seen on the original (online patch): 177 ms, 100 %Stick value seen on the original (online patch): 0 ms, 16.7 %Stick value seen on the original (online patch): 34 ms, 33.4 %Stick value seen on the original (online patch): 67 ms, 50 %Stick value seen on the original (online patch): 100 ms, 66.7 %Stick value seen on the original (online patch): 134 ms, 83.4 %Stick value seen on the original (online patch): 167 ms, 100 %
  • One sixth of full push a frame
  • Stick value seen on the original (online patch)
After a reversal the game climbs to full push in six equal steps, one a game frame, about 0.17 s in all. The dots are six reversals (the first at each of the 80, 150 and 500 ms pauses, both ways), measured on the original (online patch) from the same recording; the grey steps are one sixth a frame.
The numbers
SeriesTime after the first step (ms)Share of full push the game uses (%)
One sixth of full push a frame016.7
One sixth of full push a frame33.3733.3
One sixth of full push a frame66.7350
One sixth of full push a frame100.166.7
One sixth of full push a frame133.4783.3
One sixth of full push a frame166.84100
One sixth of full push a frame200100
Stick value seen on the original (online patch)016.7
Stick value seen on the original (online patch)3533.4
Stick value seen on the original (online patch)6550
Stick value seen on the original (online patch)10166.7
Stick value seen on the original (online patch)13483.4
Stick value seen on the original (online patch)167100
Stick value seen on the original (online patch)016.7
Stick value seen on the original (online patch)3433.4
Stick value seen on the original (online patch)6650
Stick value seen on the original (online patch)10066.7
Stick value seen on the original (online patch)13383.4
Stick value seen on the original (online patch)166100
Stick value seen on the original (online patch)016.7
Stick value seen on the original (online patch)3433.4
Stick value seen on the original (online patch)6750
Stick value seen on the original (online patch)10866.7
Stick value seen on the original (online patch)14583.4
Stick value seen on the original (online patch)171100
Stick value seen on the original (online patch)016.7
Stick value seen on the original (online patch)3533.4
Stick value seen on the original (online patch)6750
Stick value seen on the original (online patch)10166.7
Stick value seen on the original (online patch)13583.4
Stick value seen on the original (online patch)169100
Stick value seen on the original (online patch)016.7
Stick value seen on the original (online patch)3433.4
Stick value seen on the original (online patch)6750
Stick value seen on the original (online patch)10266.7
Stick value seen on the original (online patch)13583.4
Stick value seen on the original (online patch)177100
Stick value seen on the original (online patch)016.7
Stick value seen on the original (online patch)3433.4
Stick value seen on the original (online patch)6750
Stick value seen on the original (online patch)10066.7
Stick value seen on the original (online patch)13483.4
Stick value seen on the original (online patch)167100

The menus

Menu fade to black150.5 sRead from the game
Held direction starts to repeat120.4 sRead from the game
Longest step the menus' animations take-0.05 sRead from the game

How it works

  1. The frame ends on the television's beat. When a frame's work is done the game waits for the next field of the picture. Two fields make a frame. The game measures how long the frame took by counting the television's scan lines: 525 of them in two fields, at 15734 a second.
  2. One step a frame, with the measured time. The game steps once and hands that measured time to everything: movement, timers, animation. There is no smaller step inside it.
  3. The controller is read once. A stick movement or a press that begins and ends between two reads is never seen. In a capture of the original, a stick flicked through centre in 10 ms was seen passing centre only 3 times in 20; at 20 ms, 12 times in 20; at 50 ms and longer, every time.
  4. Timers run down and stop at zero. A weapon's fire timer is set when a round leaves, loses one frame's time each frame, and is held at zero with nothing carried over. So the gap between rounds is the weapon's wait rounded up to whole frames. The M4A1's automatic wait of 0.096 s becomes 3 frames, 0.1001 s. See Fire rate.
  5. Speeds are per second; steps are per frame. Run speed and animation speed are scaled by the frame's time, so they do not depend on the frame. But anything the game adds "once a frame", such as the stick ramp, the turn ramp or the reticle's growth, moves in small stairs 29.97 times a second.
  6. Paths are the sum of their steps. A jump and a grenade's flight are worked out one frame at a time. The height of a jump and the spot a grenade lands on are the result of those exact steps.
  7. The network is separate. Incoming network traffic is read on its own thread every 50 ms, not on the frame.

When the original is under load

If a frame's work takes longer than one field, the frame ends a field late: three fields, 0.05 s. The game does not skip anything and does not catch up. It takes one longer step:

  • Timers still lose the real time, so a timed wait stays the same length. Read, not yet double-checked
  • Anything that counts frames slows down: one round a frame at most, one controller read, one movie picture. Read from the game
  • In the menus, an animation step is never longer than 0.05 s, so below 20 frames a second menu animations run slow. Read from the game

How often the original overran in a busy 16-player round has not been measured.

What this means when you play

  • Fire rates are whole frames. Two weapons whose listed waits round up to the same number of frames fire at the same real rate.
  • A very fast tap or flick can be missed. Anything shorter than about 33 ms may fall between two reads.
  • The stick has a short ramp. From rest it takes 6 frames, a fifth of a second, to reach full push; a turn takes 0.43 s to reach full speed.
  • Jumps and throws are repeatable. The same input gives the same arc, frame for frame, which is why learned jump spots and grenade spots work every time.
  • Nothing in the original moves between frames. It shows every frame it steps, on a screen that shows 29.97 a second.

In Legacy

Legacy uses the same game frame, and steps jumps, falls, grenades and launched rounds on it exactly. Everything else runs at your screen's rate with the same amount of change a second, and the controller is read every drawn frame. A browser also has to guard against a page that stops for a while.

What a stutter does, in short: a page frame longer than 0.1 s is treated as 0.1 s, which is two or three game frames. Movement and weapon timers lose the rest, so the game runs slow for that moment instead of jumping ahead. A hitch makes rounds come later, never closer together. Timed holds, such as the hold to pick up a weapon, are the exception: they count the real time.

What we do not know yet

  • How the original behaves under heavy load in a round. The one-long-step rule is read from the code for the menus and carried to the match by reading, not by tracing or measuring. A capture of the original in a full room with the frame time recorded would settle it. Not known yet
  • Whether the menu ever runs frames of one field. The wait at a frame's end sits on a knife edge between 262 and 263 scan lines; if it tips, frames alternate two fields and one. Counting fields over a scripted menu wait on the original settles it. Not known yet
  • The stick's snap thresholds. A stick pushed past a threshold and moving fast jumps to its value instead of ramping. The thresholds are read from the code; the capture used a digital stick and could not separate them.
  • A small fixed delay in the controller read would explain two rows of the capture running low. It is open.

Sources

  • The frame's length, the cap, the two fields, the network thread: research note 208, "The game frame" (208-the-game-frame.md): measured in memory dumps of the original running on an emulator, and read from FUN_001e7040 and FUN_003aff30. The menu's clock: research note 110, "The front-end frame clock" (110-the-frame-clock.md), including what a late frame does.
  • The controller read and the stick ramp: research note 208, section 10: a capture of the online patch running on an emulator, the stick reversed with a timed gap at centre, over 100 runs. The ramp's code is FUN_00586c10. The two stick graphs are that capture, the stick-reversal record of the online patch: its shares by pause length, scored by an independent count of the recording (a count made outside the project's own test tools), and six of its reversals read value by value.
  • The fire timer and the M4A1's spacing: research note 84, "Accuracy and recoil" (84-accuracy-and-recoil.md), section 6: FUN_005c0fd0 and FUN_005c0ae0; the 0.1001 s spacing measured on a rifle-range capture of the online patch.
  • The jump, the turn ramp, the camera, the per-frame table: research note 208, sections 3 and 9. The jump's steps are FUN_0059b440; the turn ramp FUN_002da930.
  • Throw power, the re-arm, the muzzle mark: research note 437, "Five per-frame rules held to the game frame at any page rate" (437-frame-rate-rules-1027.md): FUN_00594cf0, FUN_00215250. That note cites a grenade capture of the original for the two-frame re-arm (one grenade type) and for the first step of the throw power; the rule itself has had one reader.
  • Timed holds and the long frame in Legacy: research note 252, "Timed holds in real time" (252-timed-holds-in-real-time.md), and Legacy's frame loop (frameTime.ts, matchMount.ts, mover.ts, uiClock.ts, gameFrame.ts). The owner's ruling on what runs on the game frame is in the project's record of rulings.

SOCOM II U.S. Navy SEALs © 2003 Sony Computer Entertainment America Inc. Developed by Zipper Interactive. SOCOM and PlayStation are trademarks or registered trademarks of Sony Interactive Entertainment.

An unofficial fan reference, not affiliated with or endorsed by Sony Interactive Entertainment or Zipper Interactive. It hosts no game files, assets or code. Copyright and trademarks

On this page