Project started: July 14, 2026
SHAR rebuilds a lawful local copy of The Simpsons: Hit & Run as a native Unreal Engine game. This repository does not include the original game or its assets.
Status: paused. Development was paused on September 15, 2026. For now, this project will not receive new commits. The repository will remain available and will not be archived.
The lightweight player flow described below is the intended final product. Parts are still pending. Every unfinished surface names its owning TODO so the README can describe the destination without pretending unfinished code exists.
A finished desktop SHAR export is a portable game directory. A Windows AMD64 package is expected to have this general shape:
The Simpsons Hit & Run/
├── shar.exe
├── Engine/ # packaged Unreal runtime files only
├── shar/
│ ├── Binaries/Win64/
│ │ ├── shar-Win64-Shipping.exe
│ │ └── <runtime dependencies selected by packaging>
│ ├── Content/Paks/ # cooked game content
│ └── <other packaged runtime data>
├── mods/ # SHAR mods: folder or .zip
├── NOTICES.txt
└── direct-access-desktop.ps1 # optional convenience helper
Linux and macOS use the same portable-product idea with their native executable or application bundle. Android and iOS publish package files instead of desktop folders.
The exact semantic contract will live in game/manifest/dist.json; it will not
hardcode every incidental Unreal DLL filename.
TODO: Define the portable dist/ layout and game/manifest/dist.json.
This player flow is not finished yet.
TODO: Build the lightweight
src/userexporter and cross-platform GUI.
The most important rule is absolute: SHAR never writes to, overwrites, cleans,
or patches the original installed-game directory. The original installation is
read-only input. Generated state and exports belong to the extracted SHAR tool
and its own dist/ directory.
The reconstruction/export tool itself runs on a desktop-class computer. Mobile outputs are built from that lawful computer-side source workflow and then moved to the phone/tablet; SHAR does not expect the original PC game installation to exist on Android or iOS.
SHAR is open source, so you can inspect the code. Release ZIPs and generated binaries will expose integrity hashes so users can detect unexpected modification and perform their own security checks. A hash is evidence only: it is never reconstruction input and it does not itself prove software is safe.
-
Buy or use a lawful copy of The Simpsons: Hit & Run and install it normally. Leave the files where the installer put them. On Windows this is commonly a path similar to:
C:/Program Files (x86)/Vivendi Universal Games/The Simpsons Hit & Run/ -
Install CPython 3.12 or newer from the official Python downloads page.
-
Download the newest
shar-v<version>.zipfrom Releases. -
Extract the ZIP anywhere you want. The final release tree is intended to look like this:
CHANGELOG.md shar.py NOTICES.md game.jsonl dist.json user.json # created/updated locally algorithms/ game/algorithm/<target>.txt lang/<locale>/algorithm/<target>.txt muckluck/algorithm/<target>.txt code/ *.py mods/ scripts/ windows/shar.ps1 macos-linux/shar.shThe release is produced from
src/user/. Helper Python lives undercode/to keepshar.pysmall. The release convention keeps executable/script construction entry code at the end of its owning.pyfile. -
Run
shar.py. You can use the platform helper or a terminal:python shar.py -
A lightweight GUI will ask for the original game installation. You will be able to browse, paste/type the path, or drag
Simpsons.exeonto the window where the platform GUI supports file dropping. On Windows, if you do not know the location, the original shortcut's Open file location action is usually the easiest way to find it. SHAR rejects a source selection that reaches the installation through a symbolic directory link or Windows junction. -
SHAR performs a fast minimum-source gate and then the deeper deterministic validation/reconstruction checks. Editing
game.jsonlis not a way to make an invalid installation valid.The exact source requirements include:
Simpsons.exeandSimpsons.ico: mandatory.README.rtfanddialog.rcf: mandatory English/base sources.art/frontend/scrooby2/resource/txtbible/srr2.E: mandatory English character-set evidence.art/frontend/scrooby2/resource/txtbible/srr2.txt: mandatory source table containing the canonicalE/ENGLISHtext column.uninst.ico: optional; relevant only to some from-scratch workflows.- Other official original languages: preserved/exported as SHAR language mods, not compiled into the canonical base package.
English is the only canonical base language. Official non-English localization is owned under
src/localization/languages/and is emitted as deterministic content-only SHAR language mods. Each generated language overlay carries ashar.mod-package.v1mod.jsonwhose identity and content revision are independent of its storage location.The Rust implementation covers the complete language surface available in the lawful source: text, dialogue/audio archives, localized UI art, and localized cinematic audio tracks. Missing language content fails closed instead of being invented.
If an expected official language is not emitted, treat that as a source validation result rather than copying another language into its place. For example, the verified source used during development has only
???Italian TextBible values and nodialogi.rcf, so Italian generation is rejected until a lawful source actually supplies usable Italian localization evidence. -
Select any targets you want:
- Android ARM64 — APK
- iOS ARM64 — IPA
- Linux ARM64
- Linux AMD64 / x86-64
- macOS ARM64
- Windows ARM64
- Windows AMD64 / x86-64
The exact host match is labelled
← this is your system, but is not silently selected and no other target is hidden.user.jsonremembers the choices; target toggles are on by default until you disable them. -
SHAR runs the reconstruction/build procedure and shows progress plus an ETA. The algorithm still requires lawful local game input. It is not a bundled copy of the original game. The initial supported flow does not promise saved partial progress/resume state; interrupted work is restarted unless a later TODO explicitly adds resumability.
-
Results appear under
dist/.
dist/<windows-target>/The Simpsons Hit & Run/
Copy or rename The Simpsons Hit & Run/ wherever you want. The packaged
Shipping executable and its Unreal runtime stay inside that portable directory.
An optional direct-access-desktop.ps1 helper can be double-clicked or run to
create a desktop shortcut named The Simpsons Hit & Run™; you can also create a
shortcut manually.
dist/<linux-target>/The Simpsons Hit & Run/
The directory is portable like the Windows package and uses the native Linux entrypoint. Linux users probably do not need a tutorial explaining how to run an executable from a directory, so this section intentionally stays short.
dist/macos-arm64/The Simpsons Hit & Run.app
The final package uses the normal macOS application layout and includes only the runtime data needed by the port. Signing/notarization constraints are documented when they are actually required by the chosen distribution path.
dist/android-arm64/the-simpsons-hit-and-run.apk
Install the APK using Android's normal local APK flow. Platform security settings may require explicitly allowing installation from the app/file manager you use.
dist/ios-arm64/the-simpsons-hit-and-run.ipa
SHAR produces a local/sideload-oriented IPA. It does not provide App Store submission. Installing an unsigned or locally signed IPA depends on Apple's current signing/device requirements; SHAR will document its package output, not pretend those external requirements do not exist.
Public reconstruction plans are grouped by what they build, then by target:
algorithms/game/algorithm/<target>.txt
algorithms/lang/<locale>/algorithm/<target>.txt
algorithms/muckluck/algorithm/<target>.txt
A populated plan uses the implemented shar.algorithm.v1 schema. The generic
algorithm engine binds replay to caller-supplied local source evidence,
validates its embedded source and target descriptors, and refuses wrong or
tampered evidence before writing replay output. Ordinary source records retain
exact SHA-256 binding. A direct-file variant source may instead carry a bounded
projection without a source hash (offset-mask-set-v1).
Replay extracts the common bytes from one authenticated positional layout and derives the source key from those bytes, not from the edition-specific executable hash. There is no parallel integrity file.
The maintainer-only in/, master/, and shared out/ directories described in
algorithms/README.md are authoring workspace state, not public release
payload.
Only reviewed algorithm/*.txt plans and public metadata can cross that
boundary.
For coverage analysis, the maintainer's complete lawful installation is treated as the private internal 100% reference. The current planning estimate treats a traditional minimum installation as roughly 60% of that complete reference, but that estimate must be measured across lawful installations before it becomes a product rule. The current design target is to investigate a 45–55% minimum similarity window for accepting candidate source layouts.
Those numbers are deliberately not production policy. Calibration now defines
reference coverage as shared structural count units divided by private-reference
count units, and evaluates weighted-Jaccard similarity over the same public-safe
obfuscated directory/extension count vectors. The repository-owned calibration
helper at tools/source-similarity/adapter-inbound/main.py accepts reference
and
candidate public JSONL count ledgers and reports those values, but has no
acceptance threshold or pass/fail result.
Similarity can never substitute for required original bytes, exact identities,
deeper structure, hashes, or provenance validation. The algorithm generator
must not serialize or full-tree-diff the private 100% reference into a recipe,
and the published algorithm must not contain a reversible encoding of it. See
docs/technical/security/public-safe-reconstruction-gate.md for the measurable
definitions and publication boundary.
TODO: Define a public-safe reconstruction algorithm gate with bounded similarity.
This section is only for native SHAR mods after SHAR is installed. There is no user mod drop directory in this repository, and mods never participate in source reconstruction or the base-game pipeline.
Desktop installations accept a SHAR mod as either a folder or .zip under the
installed game's own:
mods/
Mobile installations use the installed app's writable container:
Android: /storage/emulated/0/Android/data/<application-id>/files/mods/
iOS: /var/mobile/Containers/Data/Application/<app-uuid>/Documents/mods/
The Android application id and iOS container UUID belong to the installed app; the app resolves its own container at runtime.
TODO: Use one normalized portable mod import contract.
Only install mods from authors/distributors you trust. You are responsible for what you install and for having the rights required to redistribute any content you package. SHAR mods are intended to stay inspectable: assets and source are not intentionally locked or obfuscated. “Inspectable/open” describes the package shape; it does not force GPL or any other specific license on a mod author.
This authoring workflow is still WIP.
Made mods with LMLM and want to migrate them? See
tools/lmlm/. I only built that starter converter for the Jebano and Muckluck packages I needed; fork or extend it if you need more.
Download the SHAR repository ZIP and open it with your preferred coding agent.
Popular examples include Cursor, Antigravity, Codex, and Claude. AGENTS.md is
intended to contain two clearly separated modes: technical repository/build
engineering and a default SHAR mod-authoring personality.
Example prompts:
I am working on a mod. Some imported assets are missing and some missions are
broken.
A useful agent should explain that unsupported legacy behavior may not translate, ask for lawful missing/new assets when necessary, ask how you want the mod to behave, and help rebuild the missing behavior for SHAR rather than pretending that the old package is authoritative.
Other examples:
Yes, I want to make a boss battle after the last mission of level 2.
Yes, I want to unify the map and translate the coordinates of the original
missions.
You iterate by testing the mod and telling the agent what works, what looks wrong, and what you want changed. Repository skills provide the technical game and Unreal knowledge so the agent does not have to rediscover every convention.
Native mod code is C++. Published source should pass the same strict Clang-family validation expected by SHAR. Write it by hand, generate parts of it, or work through AI agents: the important engineering work is the architecture, contracts, invariants, problem modeling, testing, and the result—not how many tokens were entered manually. A package may physically exist without a clean lint result, but the tooling must report that clearly and agents should produce clean code by default.
If somebody calls a mod “slop” or says it lacks soul merely because automation or AI helped make it, that is not a useful engineering criterion. Make things you enjoy, learn from the bugs you create, fix them, and iterate. Manual coding is a perfectly valid craft; it is simply one execution mechanism among many. SHAR is interested in what a mod does, how safely and coherently it is built, and whether its author had fun creating it—not in gatekeeping the author’s keyboard.
Life is too short to turn syntax entry into a purity test.
TODO: Make AGENTS.md default to SHAR mod authoring and validate C++ with
Clang.
This is the developer/expert workflow, not the normal player installation path. It intentionally assumes you already know how to use a terminal, install native compiler/SDK prerequisites, diagnose platform toolchains, and read build logs. If you only want to play, use the lightweight release flow above.
- Place a lawful source installation directly under
game/with no extra directory layer. - Use the repository-pinned Python/toolchain versions and supported Unreal Engine version documented by the build tooling. Linux source-engine builds also require unprivileged user/mount namespaces plus a kernel overlay filesystem.
- Run
python tools/build/adapter-inbound/dependencies.py. - Ensure the canonical Git LFS open-world map is materialized rather than a pointer file.
- Run
python tools/build/adapter-inbound/check.py. - Run
python tools/build/adapter-inbound/arch.py. - Run
python tools/build/adapter-inbound/run.py. - Validate the repository with Jig.
Simpsons.ico is preserved as canonical source identity. Cross-platform icon
reconstruction and export are owned by src/migration/icon/: its local
assets/ and generated out/ trees stay ignored, while the durable
contract/icon_algorithm.txt plan is replayed through the generic Rust
algorithm
foundation. uninst.ico is never icon-reconstruction input.
The public ZIP is built from src/user/ only. It must not contain repository
caches, original game assets, proprietary engine source, or developer-only
state.
Player/modder changelogs are handwritten and intentionally nontechnical; build
manifests and validation evidence remain separate technical artifacts.
TODO: Publish src/user as the versioned SHAR release ZIP.
TODO.mdis the canonical unfinished-work index.ROADMAP.mdcontains project phases and progress.AGENTS.mdcontains AI-agent guidance.docs/adr/index.mdcontains architecture decisions.docs/technical/index.mdcontains technical specs.docs/legal/index.mdcontains legal research/scope notes.skills/contains task and Unreal guidance.
SHAR is an independent interoperability and reimplementation project. It is not affiliated with or endorsed by the original publishers, developers, licensors, platform holders, or Epic Games. You are responsible for obtaining lawful game input and for the licenses/permissions applicable to mods or assets you install, convert, modify, or redistribute.
Original repository-owned material is licensed under the Apache License,
Version 2.0, in LICENSE. Earlier MIT grants remain valid for
previously licensed copies; external software and game materials retain their
independent licenses and rights.
Screenshots will be added after the final player GUI and output layout stop moving.
TODO: Add final player-facing README screenshots.