Pawscript Download

Guide · Quick start

Quick start

Start here. Nine steps take you from a video to a written .funscript, and each one gives you the key that does it and the mistake people usually make at that step.

If you script by hand today, the change is that the tracker follows the bodies and you check and fix what it gives you. In a script, position 0 is the deepest point of a stroke and 100 is fully out. F1 opens this same page inside the app.

1. Open a video

On the Projects page, click Open video or project… (Ctrl+O) or drop the file on the window. Each project opens in its own tab. The project is clip.pawproj beside the video, and it saves itself about a second after every change, so there is no Save for it and closing never asks.

The Projects page of a fresh install, with the open button, the first-steps card and the recent projects.
  1. Open video or project…: opens a video, or a project you saved before, in a new tab.
  2. First steps: the five-step card a fresh profile shows; its × hides it.
Usual mistakeA video that stutters or will not play. Use the film button under the video and pick Make a proxy (also in the File menu as Make a proxy of this video). The 480p proxy plays smoothly, and the tracker still reads the original.

2. Check the cuts

Ctrl+1 opens the Scenes tab. A video starts as one shot, and Detect in the Actions panel finds the cuts. For live footage from a real camera, turn on Live action (the switch under Detect) before you press Detect.

Then play through and fix what Detect got wrong:

KeyWhat it does
KCuts at the playhead, where a cut was missed.
MMerges a false cut away, joining the shot with the one after it.
Shift+MMerges with the shot before instead.
, / .Moves the nearest cut one frame earlier or later.
Alt+CMarks the shot a cutaway, so it is not tracked.

On the timeline a solid line is a cut and a dotted line is a camera move. The Actions and shots row holds the shots, numbered, with the actions as boxes under them. Click a shot to select it, or click an action's name strip to select that action. A blue pill at the left of the lane toolbar names what is selected, and its × (or Esc) clears the selection.

The Scenes tab after scene detection, with the clip split into numbered shots on the timeline.
  1. Actions: the panel that holds Detect and the Live action switch.
  2. Detect: finds the cuts in the whole video. A second Detect only adds cuts and keeps the ones already there.
  3. Actions and shots: the numbered shots; click one to select it before you track it.
  4. Video: play through here to check each cut.
Usual mistakeA pan or a zoom left as a cut. The tracker starts over at a cut, so the script jumps there. Right-click the cut and tick Camera move. A shot of something else, like a face or the room, is a cutaway instead: Alt+C.

3. Paint the parts on one frame

Ctrl+2 opens the Track tab. The painting is done with the Groups tool:

  1. Click the shot on the timeline and park on a frame where every part is in view.
  2. Press Tab to open the tool (Tab again closes it).
  3. Drag on the video to paint a part. A stroke away from it starts the next part. Shift+drag erases, and an erased bit stays erased until you paint that part over it again. [ and ] make the brush smaller and bigger.
  4. Name each part. Hold the pointer over it, press Shift+A, then 1 for Bottom (the one receiving) or 2 for Top (the one giving), type the first letters of the part and press Enter. Or press A over it and click the part on the figure (A again closes the figure).

Three parts matter most: the Top's part that the depth is read from, the Top's hips for the thrust, and the Bottom's part that the Top's part moves against. The full guide on GitHub names them. K paints a knot as a section inside a part (Shift erases it), and Esc closes the tool.

The Track tab with the Groups tool open and parts painted on the bunny.
  1. Groups: the list of painted parts, opened with Tab.
  2. A painted part: one region you dragged on the video; the tracker follows it.
  3. The part's label: who it belongs to and what it is. An unnamed part shows ? 1, ? 2 and is not tracked.
  4. Tools: the brush and the eraser; [ and ] change the brush size.
Usual mistakeUnnamed parts, shown as ? 1, ? 2, are not tracked. And if Bottom and Top are swapped, the script moves the wrong way.

4. Track

With the shot selected, press T. The status bar shows the progress and Esc cancels. The first run takes a few seconds longer because it loads the model. T again on the same shot replaces its run and keeps its settings.

Track runs on what is selected; with nothing selected it runs on the range you set with I and O, and with no range it runs on the whole video.

Tracking the painted parts with T needs an NVIDIA card. Without one, paint the moving part as in step 3 and press Ctrl+T (Track ROI); with no GPU it uses Optical flow (box), which follows the part's bounds on the CPU.

A quick rough pass of a whole video needs no painted parts at all. Pick Flow field (no ML) in the tracker settings (the cog after Track ROI): it reads the motion of the whole picture on the CPU and gives each scene a confidence, so you check the low ones first. For every tracker and its settings, see Tracking.

The Track tab after a run on one shot, with the tracked overlay on the video and the stroke lane below.
  1. Track: runs the tracker on the selection, the same as T.
  2. Actions and shots: select the shot here first, so Track does not run on the whole video.
  3. Tracking: the runs, one per tracked shot.
  4. Stroke lane: the script the run gave, drawn over the tracked signal (the faint line).
  5. The band under the stroke lane, folded to one line in this picture. Unfolded, it holds the source chip, where you pick which part leads (step 5).
Usual mistakeNothing selected. Then T tracks the whole video.

5. Check the script and fix it

The run comes back as one script fused from every named part (Smart stroke), and it is your script straight away, which is what live means here. The stroke lane draws it with the tracked signal faint under it, the machine preview plays it and Publish writes it, so every fix below changes all three.

What is wrongThe fix
Upside downOut where it should be deep: F flips the shot at the playhead.
Depth or timing off in a stretchOn a frame in that stretch, press Alt+0 where it is fully in, Alt+Shift+0 where it is fully out, or Alt+M where it is half way. That section of the shot is solved again to meet the anchors and the rest stays as it was. The same key on the same frame takes the anchor away.
The wrong part leadsThe source chip in the band under the stroke lane picks Fused (the default), Shaft (follows the part the depth is read from) or one single part.
Usual mistakeAnchoring frames that are already right. An anchor there changes nothing, so put them where the script is wrong, two or three per bad stretch.

6. Bake when it is right

Shift+B bakes the selected shot. Its points become permanent, and a re-track or a change to the fusion no longer moves them. Track › Unbake gives a shot back to its run. Under each shot in the Actions and shots row, a baked shot's line is solid and a live shot's line is dashed.

Your hand edits on a live shot stay live as Nudge and Patch modifiers while the setting Edits as modifiers is on (the default), so a re-track keeps them; Flatten writes them into the points. With that setting off, a hand edit on a live shot bakes the shot in the same undo step, and Ctrl+Z takes both back. Editing points covers the hand edits.

Usual mistakeBaking too early. You never have to bake, and a live shot still takes every fix from step 5.

7. Next shot

Click the next shot and do steps 3 to 5 again. Inside one scene the parts carry over a cut by name, and they show dotted with a ? until you check them; Enter in the Groups tool keeps them. C in the Groups tool copies the parts from a similar frame.

Usual mistakeCarrying parts into a new scene where the bodies changed place. Paint them again there.

8. Preview

Space plays. The machine preview beside the video moves the way the device will, live shots included, and M shows or hides it. The Machine panel on the right shows the same preview larger.

Usual mistakeJudging only by the lines on the lane. Watch the preview at full speed.

9. Write the funscript

Ctrl+Alt+S (Publish) writes clip.funscript beside the video, as v1, v2 and so on. If a funscript Pawscript did not write is already there, it is kept as clip.funscript.bak first. The status bar then says "v1 published" and counts your edits since.

The other two keys do not change the funscript. Ctrl+S commits, which is a named point in the project to come back to, with an optional note, and nothing beside the video changes. Ctrl+E exports to another folder, or writes a device-safe copy.

After one more edit, the status bar reads "v1 published · 1 edit since":

To share the whole job, File › Pack project… writes one .paw file with the video, a bean and the funscripts, and File › Open reads it back. File › Export bean writes clip.bean beside the video: the project's script with the video's fingerprint (its length, frame rate, frame count and size), so a player that has the video can find the script for it.

Usual mistakeSharing the .pawproj. Players read the .funscript, and it only changes when you publish (Ctrl+Alt+S) or export.

Stuck? Requirements and troubleshooting covers the usual problems. For every key, press F1 and open Shortcuts, or see Keys.