Rising Kingpin Save Checker

Check a Rising Kingpin save file: valid, which version, and the standings inside.

Try an example: ·

More about this tool

Part of Rising Kingpin

How it works

Validates a .risingkingpin.json save game with the game’s own loader — format, version, every field’s type and range, places, weapons and cars, gang members and cross references — and lists every problem with its path. Valid saves get a summary: week, victory condition, whose turn it is and the standings.

  • The save must be a JSON object { format: "risingkingpin", version, savedAt?, state }. Saves from a newer version are refused instead of guessed; older versions are migrated by the same code the game uses.
  • Every field of the game state is checked: whole numbers in their ranges (cash ≥ 0, heat 0–100, stats 1–99 …), known places, weapons, cars, goods, events and messages, one boss per gang, unique member ids, at most 4 players with distinct colours, and player numbers in rackets and businesses.
  • One error refuses the whole file — the game never loads half a save. Up to 100 problems are listed with their JSON path.

Sources

  • Rising Kingpin rules and balance tables (docs/RISING_KINGPIN.md, engine/data.ts) (UsefulWeb)

Part of Rising Kingpin

How to use the Rising Kingpin Save Checker

Check a Rising Kingpin save file before you load it — format, version, every value — and see the standings inside.

What it is for

Rising Kingpin keeps your games in the browser and lets you save a game as a .risingkingpin.json file, for example to continue on another computer or to keep a famous comeback. The Save Checker tells you whether such a file will load, and what is in it, without opening the game.

It uses the game's own loader. That loader is strict on purpose: a save holds the complete game, including the state of the dice, so a loaded game continues exactly as it would have. One broken value — a negative bank balance, a place that does not exist, two bosses in one gang — and the whole file is refused rather than half loaded. The checker lists every such problem with its exact position in the file.

Worked example

Keep the first example, A fresh two-player game. The answer: Valid Rising Kingpin save (version 2): week 1, 2 players, Vic's turn. The standings table shows the victory condition (Crime boss, target 100) and one row per player: Vic of The Alley Cats (a person) with 1,750 in cash and Big Sal of the Harbor Rats (a computer player on normal) with 2,100. Both are still Nobody, with reputation 0, so their scores are 3 and 4 — the score counts 10 points per reputation plus one point per 500 of net worth.

Now try A damaged save. The same game, but someone edited two values by hand. The tool answers Not a valid save: 2 problems and lists them:

  • state.players[0].cash must be between 0 and 1000000000
  • state.players[0].loc: “moon-base” is not one of the allowed values

Fix those two values (or go back to an older copy) and the file loads again.

How to read the result

  • Valid is Yes only when there is no problem at all.
  • Version is the save format version. Files from a newer version of the game are refused with a clear message instead of being guessed; older versions are converted by the same code the game uses.
  • Week and Round limit show how far the game is; the game ends at the limit at the latest.
  • Standings list every player with control (person or computer level), rank, reputation, cash, net worth, score and status — free, in prison (weeks left) or out of the game.
  • Problems give the JSON path of each error, such as state.players[1].members[0].weapon, so you can find it in any text editor. Up to 100 problems are listed.

Tips and common mistakes

  • Paste the whole file content, starting with { and ending with }. A cut-off copy is “not valid JSON”.
  • Do not edit saves to give yourself money: the checker accepts any value within the rules, but numbers outside them, unknown places, weapons or cars are refused.
  • Player names, gang names and colours must stay unique per seat; four players at most.
  • The checker changes nothing and stores nothing — it only reads the text you paste.
  • Very large files (over 2 MB) are refused; normal saves are far smaller.

FAQ

Where do I find my save file?

In the game, choose save to file; the browser downloads a .risingkingpin.json file. Autosaves stay inside the browser.

Why is a whole save refused for one small error?

Because the save also restores the dice. A half-loaded game would behave differently from the one you saved.

Can I see whose turn it is?

Yes. The summary names the player whose turn it is, or the winner when the game is over.

Does it work for other games' saves?

No. Files without the format “risingkingpin” are rejected straight away.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://risingkingpinsavecheck.usefulweb.app/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://risingkingpinsavecheck.usefulweb.app/mcp · tool name rising_kingpin_save_check
Example request
curl -s -X POST https://risingkingpinsavecheck.usefulweb.app/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{…see OpenAPI examples…}'
Feedback · ideas & bug reports welcome