The most authentic Indian railway simulation ever built.
Real routes. Real stations. Real signals. Open source. Forever free.
Rails of India is a 1:1 scale Indian railway simulator built on the Stride Engine (v4.3). We're recreating the entire Indian rail network โ 68,000+ km of track, 7,000+ stations โ with accurate GIS data, authentic signaling, and detailed station models.
Starting with Mumbai's suburban locals and expanding outward to iconic services like Rajdhani, Shatabdi, and Vande Bharat expresses.
๐ค๏ธ Every curve, bridge, junction, and signal is true to life.
| Feature | Description |
|---|---|
| ๐บ๏ธ Real Routes | Accurate GIS data โ every curve, bridge, and junction is true to life |
| ๐ฆ Authentic Signals | Indian signaling systems โ semaphore, color light, automatic block |
| ๐๏ธ Detailed Stations | Howrah, CST Mumbai, New Delhi โ modeled with precision |
| ๐ฅ Multiplayer | Drive with friends or manage entire divisions cooperatively |
| ๐งฉ Mod Support | Full modding API for custom rolling stock, routes, and liveries |
| ๐ป Open Source | Built by the community, for the community |
โ ๏ธ v0.1 Alpha โ Windows 10/11 ยท ~2.5 GB
Rails of India uses a custom patching system to keep downloads small and modular:
1. Download the CORE game (required for first-time players)
2. Apply MINOR PATCHES (.roimip) one by one, in order
3. OR grab a MAJOR PATCH (.roimap) that bundles multiple minor patches
Example: A file named MAP_HWH-NDLS_Route(12-25).roimap bundles minor patches 12 through 25. After applying it, only download minor patches numbered 26+.
| Type | Extension | Description |
|---|---|---|
| Core | โ | Base game, required for all players |
| Minor Patch | .roimip |
Incremental updates, apply in order |
| Major Patch | .roimap |
Bundled updates, includes multiple minor patches |
| Grand Patch | โ | Full milestone releases |
๐ Visit the Download Page for all available files.
| Component | Technology |
|---|---|
| Game Engine | Stride 4.3 (.NET / C#) |
| Website | Vanilla HTML + CSS + JS |
| Auth | Firebase Authentication (Google sign-in) |
| Font | Inter (Google Fonts) |
| Hosting | GitHub Pages (or any static host) |
rails-of-india/
โโโ index.html # Homepage โ hero, features, about, download CTA
โโโ download.html # Download page โ patch system explained + download cards
โโโ style.css # Shared stylesheet (dark theme, gold accents)
โโโ fireauth.js # Firebase Authentication (Google sign-in)
โโโ Images/
โ โโโ Howrah_Birdseye.jpg # Hero background image
โโโ game/
โโโ openme.txt # Placeholder for game files
- Cinematic full-viewport hero with Howrah bird's eye image
- 6-card feature grid
- Vision / About section
- Download CTA with action buttons
- Firebase auth (Sign In / Log Out)
- Short hero page header
- Step-by-step patching instructions (numbered cards)
- Download cards for Core, Minor, Major, and Grand patches
- Same nav, footer, and auth flow as homepage
The site uses Firebase Authentication with Google sign-in via fireauth.js.
Three HTML elements are used across all pages:
<span id="user-name"></span> <!-- Shows logged-in user's name -->
<button id="login-btn">Sign In</button> <!-- Visible when logged out -->
<button id="logout-btn">Log Out</button> <!-- Visible when logged in -->Your fireauth.js script should toggle visibility of these elements based on auth state.
The site follows a consistent dark cinematic theme:
| Token | Value | Usage |
|---|---|---|
| Background | #0b0d10 |
Page background |
| Gold Accent | #f59e0b |
Logo, labels, buttons, highlights |
| Gold Gradient | #fbbf24 โ #f59e0b |
Primary CTA buttons |
| Text Primary | #ffffff |
Headings |
| Text Muted | rgba(255,255,255,0.4) |
Body text, descriptions |
| Card BG | rgba(255,255,255,0.03) |
Feature & download cards |
| Card Border | rgba(255,255,255,0.06) |
Subtle card outlines |
| Font | Inter (400, 600, 800, 900) | All text |
| Class | What it does |
|---|---|
.btn .btn-gold |
Gold gradient CTA button |
.btn .btn-ghost |
Transparent outlined button |
.btn-sm |
Small nav button |
.btn-disabled |
Grayed out, non-clickable |
.feat |
Feature card |
.dl-card |
Download card |
.step + .step-num |
Numbered instruction step |
.label |
Gold uppercase section label |
.heading |
Section heading |
.r |
Scroll-reveal element (add .v to show) |
.hero-short |
50vh hero for sub-pages |
-
Clone the repo
git clone https://github.com/YOUR_USERNAME/rails-of-india.git cd rails-of-india -
Add your Firebase config
Create/update
fireauth.jswith your Firebase project credentials. -
Add your images
Place your images in the
Images/folder:Howrah_Birdseye.jpgโ Hero background
-
Serve locally
# Any static server works: npx serve . # or python -m http.server 8000 # or just open index.html in your browser
-
Deploy
Push to GitHub and enable GitHub Pages from Settings โ Pages โ Deploy from
mainbranch.
We'd love your help! Here's how:
- Fork this repo
- Create a branch โ
git checkout -b feature/amazing-feature - Commit โ
git commit -m "Add amazing feature" - Push โ
git push origin feature/amazing-feature - Open a Pull Request
- ๐บ๏ธ Route data โ GIS coordinates for Indian rail routes
- ๐ 3D Models โ Rolling stock, stations, infrastructure
- ๐ฎ Stride scripting โ Game logic, UI controllers, multiplayer
- ๐จ Website โ New pages (community, mods, contributions)
- ๐ Documentation โ Guides, tutorials, API docs
- ๐ Translations โ Hindi, Tamil, Bengali, and more
- Website โ Homepage & Download page
- Firebase Authentication
- Custom patch system design (
.roimip/.roimap) - Game Core v0.1 Alpha release
- Mumbai Suburban route (first playable route)
- Howrah Junction station model
- Basic signaling system
- Multiplayer prototype
- Modding API v1
- Rajdhani Express route (Delhi โ Howrah)
- Community hub & mod repository
This project is open source under the MIT License. See LICENSE for details.
๐ Website ย ยทย ๐ฌ Discord ย ยทย ๐ GitHub ย ยทย ๐ฃ Reddit
Built with โค๏ธ for Indian Railways
Rails of India ยฉ 2025
