GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - albertovillaosorno/shar: Pipeline for an Unreal Engine 5 port of The Simpsons: Hit & Run, using a lawful local installation, Rust asset conversion, and a native C++ runtime.

BranchesTags
Open more actions menu

Latest commit

 

History

2,174 Commits
2,174 Commits

Folders and files

NameName
Last commit message
Last commit date
.cargo
.cargo
 
 
.github/config
.github/config
 
 
.jig
.jig
 
 
algorithms
algorithms
 
 
docs
docs
 
 
game/manifest
game/manifest
 
 
skills/unreal
skills/unreal
 
 
src
src
 
 
tests
tests
 
 
tools
tools
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
ROADMAP.md
ROADMAP.md
 
 
TODO.md
TODO.md
 
 

Repository files navigation

SHAR

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.

How the finished game will look

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.

How to play — quick and easy, without installing heavy development tools

This player flow is not finished yet.

TODO: Build the lightweight src/user exporter 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.

  1. 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/
    
  2. Install CPython 3.12 or newer from the official Python downloads page.

  3. Download the newest shar-v<version>.zip from Releases.

  4. 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.sh
    

    The release is produced from src/user/. Helper Python lives under code/ to keep shar.py small. The release convention keeps executable/script construction entry code at the end of its owning .py file.

  5. Run shar.py. You can use the platform helper or a terminal:

    python shar.py
    
  6. A lightweight GUI will ask for the original game installation. You will be able to browse, paste/type the path, or drag Simpsons.exe onto 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.

  7. SHAR performs a fast minimum-source gate and then the deeper deterministic validation/reconstruction checks. Editing game.jsonl is not a way to make an invalid installation valid.

    The exact source requirements include:

    • Simpsons.exe and Simpsons.ico: mandatory.
    • README.rtf and dialog.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 canonical E / ENGLISH text 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 a shar.mod-package.v1 mod.json whose 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 no dialogi.rcf, so Italian generation is rejected until a lawful source actually supplies usable Italian localization evidence.

  8. 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.json remembers the choices; target toggles are on by default until you disable them.

  9. 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.

  10. Results appear under dist/.

Platform outputs

Windows AMD64 / ARM64

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.

Linux AMD64 / ARM64

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.

macOS ARM64

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.

Android ARM64

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.

iOS ARM64

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.

Source-bound reconstruction plans

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.

How to install mods

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.

How to make mods — coding or no coding, it does not matter

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.

How to build SHAR from scratch

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.

  1. Place a lawful source installation directly under game/ with no extra directory layer.
  2. 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.
  3. Run python tools/build/adapter-inbound/dependencies.py.
  4. Ensure the canonical Git LFS open-world map is materialized rather than a pointer file.
  5. Run python tools/build/adapter-inbound/check.py.
  6. Run python tools/build/adapter-inbound/arch.py.
  7. Run python tools/build/adapter-inbound/run.py.
  8. 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.

Release and changelog policy

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.

Project documents

  • TODO.md is the canonical unfinished-work index.
  • ROADMAP.md contains project phases and progress.
  • AGENTS.md contains AI-agent guidance.
  • docs/adr/index.md contains architecture decisions.
  • docs/technical/index.md contains technical specs.
  • docs/legal/index.md contains legal research/scope notes.
  • skills/ contains task and Unreal guidance.

Legal and provenance

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.

README images

Screenshots will be added after the final player GUI and output layout stop moving.

TODO: Add final player-facing README screenshots.

About

Pipeline for an Unreal Engine 5 port of The Simpsons: Hit & Run, using a lawful local installation, Rust asset conversion, and a native C++ runtime.

Topics

asset-pipelinebinary-formatscppdeterministic-buildsgame-portingmoddingp3dreverse-engineeringrustthe-simpsons-hit-and-rununreal-engine-5

Resources

Readme
Apache-2.0 license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.