RailroadOnlineMapper
Environments
DEV - https://zwackelmann.online/ QA - https://ohnezahn.online/ PROD - https://minizwerg.online/
Getting Started
Run locally
PHP Setup
-
Ensure you have PHP (v<8) installed, or download here
-
Rename
php.ini.developmenttophp.ini -
Set the extension_dir of
php.initoextextension_dir = "ext" -
in ini file enable extensions mb
extension=mbstring
Project setup
- Clone this repo to your local machine
- Copy your save file from
%localappdata%/arr/Saved/SaveGames(or./setup) to the root of the project (eg../slot1.sav) - Run the convertor
php converter.php slot1.sav - Find output html in
./done
Host on webserver
- Copy everything to a folder of your webserver
- Done
Output
xx.json The save in nice readable JSON
db.db A database used for hosting with filename, user, switches, trains, etc.