How to Inspect Community .zip Archives & Protect Your Simulator Installation
Understand safe file types inside train simulator scenario archives, why executable payloads don't belong in activity packs, and how TatkalAct validates ZIP integrity.
1. What Authentic Activity Archives Actually Contain
An authentic MSTS or Open Rails activity pack requires zero executable programs. Scenario files (.act, .srv, .pat, .trf, .con) are plain structured SIMIS text definitions, accompanied only by optional documentation (.txt, .pdf) or preview screenshots.
If a third-party link ever wraps an activity download inside an unexpected .exe, .bat, .ps1, or password-locked script installer without trusted open-source tooling, avoid running it and scan it first before modifying any local game folders.
- Confirm valid ZIP headers and inspect filenames inside the archive before extracting.
- Watch out for double extensions such as Readme.txt.exe or Installer.scr.
- Never allow browser extracts to write outside your intended ROUTES or TRAINS folder (Zip-Slip protection).
- Keep a clean snapshot of your CONSISTS and ACTIVITIES folders so rolling back a broken pack takes seconds.
2. How TatkalAct Safeguards Every Hosted Archive
Every official scenario and custom delivery uploaded through TatkalAct passes through our automated Package Inspector (`src/lib/msts/inspector.ts`). It validates ZIP magic bytes, blocks directory traversal paths, rejects dangerous executable extensions, guards against Zip-Bomb inflation ratios, calculates SHA-256 checksums, and verifies standard MSTS/Open Rails folder hierarchy before publishing.
On top of automated checks, every custom build and Store scenario undergoes manual route-path testing in simulator environments so pilots receive clean, deadlock-free runs without risking corrupt track databases.