Open implementation of the Sega Network Application Package (SN@P).
Repo GrenderG/openSNAP, read from GitHub 5 h ago. GrenderG has not joined Take My Repo.
GrenderG/openSNAP is a public repo on GitHub by GrenderG. Open implementation of the Sega Network Application Package (SN@P). It declares the AGPL-3.0 license on GitHub. It is written mainly in Python, has 9 stars and last changed on 2026-11-04. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
An open, clean-room server for SEGA's SN@P online middleware, bringing PlayStation 2 online games back.
| Game | Serial | Plugin | Status |
|---|---|---|---|
| Auto Modellista Public Beta volume 1.0 | SLUS_204.98 |
automodellista_beta1 |
Supported. |
| Auto Modellista Public Beta volume 2.0 | SLUS_280.31 |
automodellista |
Supported (same protocol as the release). |
| Auto Modellista NTSC-U/C | SLUS_206.42 |
automodellista |
Supported. |
| Monster Hunter NTSC-U | SLUS_208.96 |
monsterhunter |
Supported. Plays with PAL. |
| Monster Hunter PAL | SLES_527.07 |
monsterhunter |
Supported. Plays with NTSC-U; accented EU text looks garbled on NTSC-U screens. |
| Monster Hunter PAL demo | SLED_530.83 |
monsterhunter |
Supported. Plays with the releases. DNAS patch required. |
| Monster Hunter PAL test build | TLES_527.07 |
monsterhunter |
Supported. Plays with the releases. DNAS patch required. |
| Monster Hunter NTSC-U public beta | SLUS_291.10 |
monsterhunter_na_beta |
Supported. Separate server: beta players only meet each other. DNAS patch required. |
| Resident Evil Outbreak (File#1) NTSC-U | SLUS_207.65 |
outbreak |
Supported. v1 and v2 play together. |
| Resident Evil Outbreak (File#1) NTSC-U public beta | SLUS_290.89 |
outbreak_beta |
Supported. Separate server: beta players only meet each other. DNAS patch required. |
| Resident Evil Outbreak File#2 NTSC-U | SLUS_209.84 |
outbreak2 |
Supported. Plays with PAL. |
| Resident Evil Outbreak File#2 PAL | SLES_533.19 |
outbreak2 |
Supported. Plays with NTSC-U. |
Monster Hunter and Resident Evil Outbreak also need the Capcom APP service.
openSNAP does not serve DNAS: point the DNAS hostnames (listed in .env.dist) at a DNAS replay server such as
dnasrep-go. The builds marked "DNAS patch required" need a DNAS-patched disc instead, because their DNAS replies
were never captured.
Requirements: git and Python 3.12 or newer.
git clone https://github.com/GrenderG/openSNAP
cd openSNAP
python3 -m venv .venv
source .venv/bin/activate # Windows PowerShell: .\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
cp .env.dist .env # optional: created automatically on first run
All settings live in .env, documented in .env.dist. .env is git-ignored.
openSNAP runs as separate processes. Run the ones your games need, all using the same shared store:
| Command | Service | Default port |
|---|---|---|
python3 run.py bootstrap |
Bootstrap login, used by every game | UDP 9090 (fixed by the games) |
python3 run.py game |
Game server for one plugin (python3 run.py alone does the same) |
UDP 9091 |
python3 run.py web |
Signup pages and rankings | TCP 80 (optional HTTPS 443) |
python3 run.py dns |
DNS that points the games' hostnames at your servers | UDP 53 |
python3 run.py app capcom |
Capcom APP service (Monster Hunter, Resident Evil Outbreak) | TCP 10127 (fixed by the games) |
Open or forward these ports if players connect from outside your network.
Every game logs in on the bootstrap first. The bootstrap identifies the game from the login (its SDK title code and packet footer) and sends the client on to that game's server. One bootstrap serves every game; each game runs its own game server.
OPENSNAP_GAME_PLUGIN: plugin the game server loads (see the table above).OPENSNAP_GAME_SERVER_MAP: where the bootstrap sends each game, e.g.
{"automodellista":"192.168.1.151:9091","monsterhunter":"192.168.1.152:10070"}. A game missing from the map goes
to this machine's game server.OPENSNAP_BOOTSTRAP_GAMES: games this bootstrap accepts: generic (default, all) or a comma-separated list. It
also separates builds that share a title code (see Monster Hunter NA public beta).OPENSNAP_BOOTSTRAP_HOST, OPENSNAP_BOOTSTRAP_PORT: bootstrap bind address (default 0.0.0.0:9090).OPENSNAP_GAME_HOST, OPENSNAP_GAME_PORT: game server bind address (default 0.0.0.0:9091). Any game port
works: the bootstrap tells it to the client.OPENSNAP_BOOTSTRAP_ADVERTISE_HOST, OPENSNAP_GAME_ADVERTISE_HOST: IPv4 given to clients when the bind address
isn't reachable as is (empty: derived from the bind host and routing).OPENSNAP_SERVER_SECRET, OPENSNAP_BOOTSTRAP_KEY (default SNAP-SWAN): bootstrap login secrets.OPENSNAP_MAX_ROOMS_PER_LOBBY, OPENSNAP_MAX_PLAYERS_PER_ROOM: room limits.OPENSNAP_TICK_INTERVAL_SECONDS: housekeeping interval (default 10.0).OPENSNAP_SESSION_MAX_IDLE_SECONDS: end a game session silent this long where its game sets no idle limit
(default 7200, 0 for never), so vanished clients don't stay online forever.Serves account signup for every game, plus game pages and rankings.
OPENSNAP_WEB_HOST, OPENSNAP_WEB_PORT: bind address (default 0.0.0.0:80).OPENSNAP_WEB_HTTPS_HOST, OPENSNAP_WEB_HTTPS_PORT, OPENSNAP_WEB_HTTPS_CERTFILE, OPENSNAP_WEB_HTTPS_KEYFILE:
optional HTTPS listener (port 443), used by Auto Modellista's rankweb uploads.OPENSNAP_WEB_GAME_PLUGIN: generic (default, every game's pages) or one module: automodellista,
automodellista_beta1, monsterhunter, outbreak, outbreak_beta, outbreak2. Also
python3 run.py web --web-plugin <module>.Signup creates the account on first use and logs in afterwards. Usernames are 2-15 letters, digits and single inner
_ (the longest ID the game browsers keep; 7 on the Auto Modellista Beta1 page, whose login breaks longer IDs).
Passwords are 4-15 characters (the in-game keyboard limit). Account creation shows the account's 12-character recovery
code once (only its hash is stored); Recover account sets a new password with it and shows a new code once.
Requests to unknown paths are logged in full, to help with reverse engineering.
For a WSGI server, use opensnap_web.wsgi:app (or application). It reads .env and logs like run.py web; run
it from the repository directory so relative paths in .env resolve.
gunicorn opensnap_web.wsgi:app --bind 0.0.0.0:80
# Apache mod_wsgi: one process, since the app opens one shared-store connection.
WSGIDaemonProcess opensnap processes=1 threads=8 home=/path/to/openSNAP python-home=/path/to/openSNAP/.venv python-path=/path/to/openSNAP
WSGIProcessGroup opensnap
WSGIApplicationGroup %{GLOBAL}
WSGIScriptAlias / /path/to/openSNAP/opensnap_web/wsgi.py
Answers the games' hostnames with your servers' addresses; other names go to the system resolver.
OPENSNAP_DNS_ENTRIES: hostname -> IPv4 map. .env.dist lists every hostname the supported games use, grouped
per game. Wildcards work (*.games.sega.net). @default means OPENSNAP_DNS_DEFAULT_IP, else
OPENSNAP_GAME_ADVERTISE_HOST, else OPENSNAP_GAME_HOST (if an IPv4), else 127.0.0.1.OPENSNAP_DNS_HOST, OPENSNAP_DNS_PORT (default 0.0.0.0:53), OPENSNAP_DNS_TTL (default 60).Port 53 needs root on Linux.
Capcom's games also talk to Capcom's own APP service over TCP, beside SN@P. They all connect to
app01.reo.capcom.sf.yav4.com:10127, so one process serves every Capcom game and tells them apart from each
connection's first answer.
It needs the same storage and game settings as the game servers (OPENSNAP_MH_WORLDS, OPENSNAP_DATA_DIR), and
finds the Monster Hunter game server through OPENSNAP_GAME_SERVER_MAP like the bootstrap does.
OPENSNAP_CAPCOM_APP_HOST, OPENSNAP_CAPCOM_APP_PORT: bind address (default 0.0.0.0:10127).The shared store holds accounts, the bootstrap-to-game login handoff and the records behind the rankings. Every service must use the same one. Lobbies, rooms and sessions live in each process's memory and are lost on restart (players simply log in again).
OPENSNAP_STORAGE_BACKEND: sqlite (default), mariadb or postgresql.OPENSNAP_SQLITE_PATH: SQLite file (default opensnap.db), for services on one machine.OPENSNAP_MARIADB_HOST, _PORT (3306), _USER, _PASSWORD, _DATABASE (opensnap), _SSL_CA (optional):
MariaDB/MySQL, for services on several machines. Needs pip install PyMySQL.OPENSNAP_POSTGRESQL_HOST, _PORT (5432), _USER, _PASSWORD, _DATABASE (opensnap), _SSL_CA (optional,
enables verified TLS): PostgreSQL, the alternative to MariaDB. Needs pip install "psycopg[binary]".Tables are created on first start. Keep the database reachable only by your servers.
OPENSNAP_GAME_PLUGIN=automodellista python3 run.py game # release and public beta 2
OPENSNAP_GAME_PLUGIN=automodellista_beta1 python3 run.py game # public beta 1
After a race the game leaves SN@P for web pages: http://gameweb... for information and https://rankweb... for
the lap-time upload, so run the web service, with HTTPS for uploads. Each account's best lap per course is kept;
the rankings show the 10 fastest per course and 50 on the release's event board.
Public beta 1 decrypts its login reply with the password typed in game, so the server keeps that password
encrypted (with a key derived from OPENSNAP_SERVER_SECRET). It is stored by a login on beta 1's own signup page
(the in-game registration); an account that has not logged in there once is refused, and changing the server
secret makes beta 1 players log in there again.
OPENSNAP_GAME_PLUGIN=monsterhunter python3 run.py game
NA and EU players meet in the same Lands, Towns and quests; the PAL demo and test build join them. Accounts are
created at the monsterhunter web pages (/mhweb/...).
Settings:
OPENSNAP_MH_WORLDS: the Worlds and Lands of the online menu, as JSON:
World name -> {"enabled": true, "host": "...", "description": "...", "lands": [...]}, each Land
{"key": "...", "name": "...", "description": "...", "areas": N, "capacity": N, "color": "#RRGGBB"}..env.dist also lists the official Land
colors and the original Sincere World (disabled).host: the one this server hosts. A World with a host is another game
server, which this server only lists.<key>01..<key>NN and hold up to 63 Towns.OPENSNAP_DATA_DIR (default data): Monster Hunter reads data/monsterhunter/:files/: welcome pages, 02/TOP_INFOR.HTM (NA) and 03/<language>/TOP_INFOR.HTM (EU: 01 English, 02
French, 03 Italian, 04 Spanish, 05 German). Samples are included.events/manifest.json: downloadable Event quests, one per day in index order:
{"events": [{"index": 0, "quest_id": 201, "title": "...", "file": "201.mib"}]}. Quest files (NA/EU, up to
32 KB, quest_id matching the file) are not included; see manifest.json.dist.quests.json: quest names and categories (hunt, gathering, capture, special, event) for the Record
pages. Included.information.json: optional NA Information pages, {"title": "...", "pages": ["page1.txt"]} (1-3 pages, 8 KB
each, game page markup).Behaviour:
GrenderG/openSNAP is a public repo on GitHub by GrenderG. Open implementation of the Sega Network Application Package (SN@P).
It declares the AGPL-3.0 license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-04. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run openSNAP. What is known comes from GitHub. It declares the AGPL-3.0 license on GitHub. Its last change was on 2026-11-04. It has 9 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.