Skip to content

CreatorPoints/Rails-Of-India

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

104 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Rails of India โ€” Howrah Station Bird's Eye View

๐Ÿš‚ Rails of India

The most authentic Indian railway simulation ever built.
Real routes. Real stations. Real signals. Open source. Forever free.

Download Stride 4.3 License Discord


๐ŸŽฏ What is Rails of India?

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.


โœจ Features

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

๐Ÿ“ฅ Download

โš ๏ธ v0.1 Alpha โ€” Windows 10/11 ยท ~2.5 GB

How the patch system works

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.


๐Ÿ—๏ธ Tech Stack

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)

๐Ÿ“ Project Structure

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

๐ŸŒ Website Pages

index.html โ€” Homepage

  • 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)

download.html โ€” Downloads

  • 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

๐Ÿ” Authentication

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.


๐ŸŽจ Design System

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

CSS Classes Cheatsheet

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

๐Ÿš€ Getting Started (Development)

  1. Clone the repo

    git clone https://github.com/YOUR_USERNAME/rails-of-india.git
    cd rails-of-india
  2. Add your Firebase config

    Create/update fireauth.js with your Firebase project credentials.

  3. Add your images

    Place your images in the Images/ folder:

    • Howrah_Birdseye.jpg โ€” Hero background
  4. Serve locally

    # Any static server works:
    npx serve .
    # or
    python -m http.server 8000
    # or just open index.html in your browser
  5. Deploy

    Push to GitHub and enable GitHub Pages from Settings โ†’ Pages โ†’ Deploy from main branch.


๐Ÿค Contributing

We'd love your help! Here's how:

  1. Fork this repo
  2. Create a branch โ€” git checkout -b feature/amazing-feature
  3. Commit โ€” git commit -m "Add amazing feature"
  4. Push โ€” git push origin feature/amazing-feature
  5. Open a Pull Request

Areas we need help with:

  • ๐Ÿ—บ๏ธ 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

๐Ÿ“‹ Roadmap

  • 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

๐Ÿ“œ License

This project is open source under the MIT License. See LICENSE for details.


๐Ÿ’ฌ Community

๐ŸŒ Website ย ยทย  ๐Ÿ’ฌ Discord ย ยทย  ๐Ÿ™ GitHub ย ยทย  ๐Ÿ“ฃ Reddit


Built with โค๏ธ for Indian Railways
Rails of India ยฉ 2025

About

This is the home of a massive open-source project, led by Photon Studios.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors