# Make a gun for Wrist Dope Your goal is a Wrist Dope backup file that holds my gun and its loads. I import it in the Wrist Dope app under Guns > Backup > Import Guns. Wrist Dope works out every hold from these numbers, so a wrong number here is a wrong hold at the range. Never make up a number that only my rifle can give; ask me for it. ## What I give you Any of these. Work with whatever I give you. - My rifle, scope and ammunition in words: "a 6.5 Creedmoor, 24 inch barrel, 1:8 twist, MIL scope zeroed at 100 yards, shooting 140 grain match ammo at 2710 fps". - A photo of an ammunition box, a load data page, a chronograph screen or a dope card. - A link to the ammunition or the bullet. ### Ask me for these if I have not said them These belong to my rifle. No web page knows them. 1. **Muzzle velocity.** From my chronograph if I have one. If I have none, use the velocity on the ammunition box and tell me that you did. 2. **Zero range.** The distance my scope is zeroed at. 3. **Scope unit.** MIL or MOA. 4. **Sight height.** From the centre of the scope to the centre of the bore. If I do not know it, leave it out and tell me: Wrist Dope then uses 2 inches until I set it. ### Look these up if I have not said them Published numbers: use the maker's own where you can, and tell me where each came from. - Bullet weight, bullet diameter, and the ballistic coefficient (BC) with the drag model it was published for (G1 or G7). - The barrel twist, if I name the rifle but not the twist. ## What to give me back 1. **The file.** If you can make files, attach it, named `.json`. The name must end in `.json`. I save it to Files and open it from Import Guns. 2. **The file's text**, complete, in one code block: valid JSON, nothing left out, no "…". Always give me this as well. 3. **Where each number came from:** a short list. For each number, say whether it came from me, the box, the bullet's maker, or another source (name it). Say which ones you estimated. If I ask for a change afterwards, give me the whole file again, not only the part that changed. ## The file One JSON object: a short header, then `"guns"` and `"loads"`. This is a file the app itself wrote (Wrist Dope 1.50 on iPhone), with one gun and its one load: ```json { "appVersion" : "1.50 (139)", "exportedAt" : "2026-10-16T16:46:09Z", "format" : "wristdope.profile-backup", "guns" : [ { "barrelTwistRate" : "1:10", "bulletDiameter" : 0.308, "cartridge" : ".308 Winchester", "distanceUnit" : "Yards", "id" : "77D00000-0000-4000-8000-000000000001", "lastModified" : "2025-08-24T01:46:40Z", "name" : ".308 Bolt Rifle", "primaryUnit" : "MIL", "rangeCardIncrement" : 25, "referenceLoadID" : "77D00000-0000-4000-8000-000000000011", "showVelocityEnergy" : true, "sightHeight" : 2, "velocityUnit" : "FPS", "zeroRange" : 100 } ], "loads" : [ { "ballisticCoefficient" : 0.462, "bcModel" : { "g7" : { } }, "bulletWeight" : 168, "groupSizeInches" : 1, "gunID" : "77D00000-0000-4000-8000-000000000001", "id" : "77D00000-0000-4000-8000-000000000011", "importEdited" : false, "isFactory" : false, "lastModified" : "2025-08-24T01:46:40Z", "muzzleVelocity" : 2650, "name" : "168gr Match", "trueingHistory" : [ ], "velocitySD" : 20 } ], "platform" : "iOS", "schemaVersion" : 1 } ``` **Every number in this example is a test value. Do not copy any of them.** Its BC is the clearest case: 0.462 written under `g7` is not a G7 number for that bullet, and a BC under the wrong model puts every hold wrong. Take each number from me or from its published source, and put each BC under the model it was published for. Write yours the same way with my values, using the fields in the tables below. The example also carries `appVersion`, `platform`, `importEdited` and `trueingHistory`. The app writes those for itself; leave them out. ### Header | Field | Always write it | Write | |---|---|---| | `format` | yes | Exactly `"wristdope.profile-backup"`. | | `schemaVersion` | yes | `1`. | | `exportedAt` | yes | Now, as below. | | `guns` | yes | The list of guns. | | `loads` | yes | The list of loads, for every gun in the file. | ### The units never change Every number is in the unit below, whatever units I use and whatever units I see in the app. Convert before you write it. | Field | Unit | Convert | |---|---|---| | `muzzleVelocity` | feet per second | m/s × 3.2808 | | `zeroRange` | **yards, even for a shooter who works in metres** | metres × 1.0936 (a 100 m zero is `109.36`) | | `sightHeight` | inches | mm ÷ 25.4 | | `bulletWeight` | grains | grams × 15.432 | | `bulletDiameter` | inches, the bullet's own diameter (0.264, 0.308, 0.224) | mm ÷ 25.4 | | `barrelLength` | inches | mm ÷ 25.4, cm ÷ 2.54 | | `groupSizeInches` | inches: the load's 5-shot group, edge to edge, at 100 yards | mm ÷ 25.4; MOA × 1.047; MIL × 3.6 | | `velocitySD` | feet per second | m/s × 3.2808 | ### The gun | Field | Always write it | Write | |---|---|---| | `id` | yes | A fresh uppercase UUID v4. | | `name` | yes | What I call the rifle. | | `cartridge` | yes | The cartridge, such as `6.5 Creedmoor` or `.308 Winchester`. | | `bulletDiameter` | yes | Inches. | | `zeroRange` | yes | Yards. See above. | | `primaryUnit` | yes | `"MIL"` or `"MOA"`: the scope's unit. Exactly this spelling. | | `distanceUnit` | yes | `"Yards"` or `"Meters"`: how I like distances shown. It does not change the unit of `zeroRange`. | | `velocityUnit` | yes | `"FPS"` or `"M/S"`: how I like velocity shown. It does not change the unit of `muzzleVelocity`. | | `rangeCardIncrement` | yes | `25`. The app keeps it but does not use it; the Android app refuses a gun without it. | | `showVelocityEnergy` | yes | `true`. | | `lastModified` | yes | Now, as below. | | `referenceLoadID` | yes | The `id` of the load my scope is zeroed with. | | `sightHeight` | no | Inches. Leave it out if I do not know it. | | `barrelTwistRate` | no | Text: `"1:"` and the inches of barrel per turn, such as `"1:8"` or `"1:7.5"`. A dot for a decimal, never a comma. A metric twist is in millimetres: `1:203 mm` is 203 ÷ 25.4 = 7.99, so write `"1:8"`. | | `barrelLength` | no | Inches. | ### Each load One entry in `"loads"` for each ammunition I shoot in this rifle. | Field | Always write it | Write | |---|---|---| | `id` | yes | A fresh uppercase UUID v4. | | `gunID` | yes | The gun's `id`, exactly. A load whose `gunID` matches no gun never shows up under it. | | `name` | yes | Short: weight and bullet, such as `140gr Match`. | | `bulletWeight` | yes | Grains. | | `muzzleVelocity` | yes | Feet per second. | | `ballisticCoefficient` | yes | The BC number as published. | | `bcModel` | yes | `{"g7": {}}` for a G7 BC or `{"g1": {}}` for a G1 BC. It must be the model that number was published for: a G1 number written as G7, or the other way, puts every hold wrong. If the maker publishes both, use either and say which. | | `lastModified` | yes | Now, as below. | | `groupSizeInches` | no | Inches at 100 yards. Leave it out if I have not said; Wrist Dope uses 1. Wrist Dope uses it for the hit percentage. | | `velocitySD` | no | The velocity's standard deviation from my chronograph, feet per second. Leave it out if I have none; Wrist Dope uses 20. | | `isFactory` | no | `true` for factory ammunition, `false` for a handload. | | `manufacturer` | no | The ammunition's maker, for factory ammunition. | ### The zero The load my scope is zeroed with is the gun's `referenceLoadID`. Wrist Dope works out where every other load of that gun hits from that zero, so write nothing more for the other loads. Do not write `zeroOffsetInches`. ### What makes the app refuse the file The app imports nothing from a file it cannot read, and does not say which part was wrong. It refuses the whole file when: - `format` is not exactly `"wristdope.profile-backup"`, or `schemaVersion` is above `1`. - A field the app needs is missing. Write every field marked "yes" above. - A unit is spelled any other way than `"MIL"`, `"MOA"`, `"Yards"`, `"Meters"`, `"FPS"`, `"M/S"`, or `bcModel` is anything but `{"g1": {}}` or `{"g7": {}}`. - A date has another shape than `2026-11-17T14:00:00Z`: UTC, no fractional seconds, no time-zone offset. - A number is written as text (`"2710"` instead of `2710`), or `true` / `false` as text. `barrelTwistRate` is the one text field. - A field holds `null`. Leave an optional field out instead. ### Ids - Every `id` is a fresh uppercase UUID v4, like `8553CA91-FD73-4644-A03F-4D03128DFCF7`, and no id appears twice in the file. - Fresh ids add the gun and its loads as new ones. They never change a gun I already have. - A file may hold several guns, each with its own loads, but one gun per file is easiest to check. Write only the fields on this page. In particular, do not write `locale`: it changes how the newest app versions read the twist. ## Before you answer, check the file Fix anything this finds, then answer. You do not need to show the check. 1. Every required field of the gun and of each load is there, spelled as above. 2. `muzzleVelocity` is in feet per second. If I gave it in metres per second, you multiplied by 3.2808. 3. `zeroRange` is in yards. If I zero in metres, you multiplied by 1.0936. 4. `sightHeight` is in inches, not millimetres or centimetres. 5. `bulletWeight` is in grains, not grams. 6. Each BC sits under the model it was published for. 7. Each load's `gunID` is the gun's `id`, and the gun's `referenceLoadID` is the `id` of the load I zeroed with. 8. The twist is inches per turn, written with a dot.