6ef4c40e29
Two-repo monorepo for an offline FUT backend inspired by SPT. openfut-core: game-independent REST API backend (Axum, SQLite, SQLx) - 19 API endpoints: auth, profiles, clubs, cards, packs, squads, objectives, SBCs, match rewards, NPC market, statistics - JSON-driven card/pack/objective/SBC data (fully moddable) - SQLx migrations, weighted pack generator, SBC validation engine - 5 integration tests passing openfut-bridge: FIFA 23 traffic proxy + reverse-engineering scaffold - Catch-all HTTP proxy with request capture to captures/ - Known-route mapper (FUT paths → Core API calls) - Placeholder responses for unknown endpoints - Admin endpoints: captures, unknown endpoint list - 4 unit tests passing cargo fmt ✓ cargo clippy -D warnings ✓ cargo test ✓ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
95 lines
2.8 KiB
Markdown
95 lines
2.8 KiB
Markdown
# OpenFUT
|
|
|
|
**Offline Ultimate Team — like SPT, but for FIFA 23.**
|
|
|
|
OpenFUT replaces EA's retired FUT servers with a fully offline, single-player backend. You own FIFA 23 legitimately. You just want to keep playing after EA shut down the servers.
|
|
|
|
---
|
|
|
|
## Repositories
|
|
|
|
| Repo | Purpose |
|
|
|---|---|
|
|
| [`openfut-core`](./openfut-core) | Game-independent offline FUT backend |
|
|
| [`openfut-bridge`](./openfut-bridge) | FIFA 23 integration layer + reverse-engineering proxy |
|
|
|
|
---
|
|
|
|
## Architecture
|
|
|
|
```
|
|
FIFA 23 client
|
|
│
|
|
▼
|
|
┌─────────────────┐
|
|
│ openfut-bridge │ ← intercepts FUT traffic, maps routes, logs unknown
|
|
└────────┬────────┘
|
|
│
|
|
▼
|
|
┌─────────────────┐
|
|
│ openfut-core │ ← offline FUT backend: profiles, packs, squads, SBCs
|
|
└─────────────────┘
|
|
│
|
|
▼
|
|
SQLite database
|
|
```
|
|
|
|
**Core** is game-independent. It speaks a clean REST API and knows nothing about FIFA 23 internals.
|
|
|
|
**Bridge** is FIFA-specific. It speaks FIFA 23's wire protocol and translates it into Core API calls. Bridge is where all reverse engineering work happens.
|
|
|
|
---
|
|
|
|
## Current Status
|
|
|
|
| Feature | Status |
|
|
|---|---|
|
|
| Local profiles + clubs | ✅ Working |
|
|
| Coin system | ✅ Working |
|
|
| Pack generator | ✅ Working |
|
|
| Card collection | ✅ Working |
|
|
| Squad builder | ✅ Working |
|
|
| Objectives engine | ✅ Working |
|
|
| SBC engine | ✅ Working |
|
|
| Match rewards | ✅ Working |
|
|
| NPC transfer market | ✅ Working |
|
|
| Statistics | ✅ Working |
|
|
| FIFA 23 integration | 🔴 Reverse engineering in progress |
|
|
| Chemistry calculation | 🟡 In progress |
|
|
| Full Draft mode | 🟡 In progress |
|
|
| Squad Battles AI generator | 🟡 In progress |
|
|
| Objectives claim flow | 🟡 In progress |
|
|
|
|
---
|
|
|
|
## Running
|
|
|
|
```bash
|
|
# Start the offline backend
|
|
cd openfut-core
|
|
cargo run
|
|
|
|
# Start the proxy (for traffic capture / FIFA integration)
|
|
cd openfut-bridge
|
|
cargo run
|
|
```
|
|
|
|
Core listens on `http://127.0.0.1:8080` by default.
|
|
Bridge listens on `http://127.0.0.1:8443` by default.
|
|
|
|
---
|
|
|
|
## Design Principles
|
|
|
|
- **Offline-first.** No EA account required. No internet connection needed.
|
|
- **Single-player only.** This is not a multiplayer server emulator.
|
|
- **Data-driven.** All cards, packs, SBCs, and objectives are JSON files. Everything is moddable.
|
|
- **Clean architecture.** Core has zero knowledge of FIFA 23. Bridge has zero game logic.
|
|
- **No copyrighted assets.** No real player images, no EA trademarks in data files.
|
|
|
|
---
|
|
|
|
## Disclaimer
|
|
|
|
This project is not affiliated with EA Sports. You must own FIFA 23 legitimately to use this software. This project does not bypass any ownership verification and is intended only to restore offline playability of a game whose online services have been retired.
|