Skip to content

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Step-by-step Setup and Usage Guide

Navigation:

  1. Download
  2. Setup
  3. Usage
  4. Developer Information and customization

Download

Download the build from the latest release or click here.


Setup

I: Folder Structure Overview

After downloading the latest build and extracting the zip file, your folder should look like this: Folder Structure


II: Editing config.json

Open the config.json with an editor of your choice. I recommend Notepad++.

Config JSON

The relevant section is paths, where you can configure:

  1. Shipped schedules (installation directory)
  2. User-created schedules (documents directory)

If you haven’t created any custom timetables, the documents folder might not exist.


III: Running the Executable

After setting up config.json, run the executable.

Running EXE

If there's an error, like the directory for custom timetables not being found, it's likely because no custom timetables have been created yet.

Note: The console window closes automatically upon execution. To keep it open, run the exe from the terminal.

Once finished, the database file should be visible: Database File


Usage

IV: Opening the Database File

To explore the database file, use a database viewer like sqlite.

SQLite Viewer

Click on the "Browse Data" tab to filter and sort through all drivable jobs in Zusi.

Browse Data Browse Data


V: Example

Route: Hamburg - Kassel
Loco: BR 412 (ICE 4)

Example Route Example Loco Service Details


Dev Info

zugdiensteAktualisieren.bat

"$path\python.exe" "main.py"
pause


zugienstdatenbank.bat

start "" "$path\SQLite.exe" "zugdienste.db"

To open db file, use a db viewer like sqlite


Build executable:

python -m venv zusi

.\zusi\Scripts\activate

pip3 install tqdm

python .\main.py to check if it runs as expected in new virtual environment

pip3 install pyinstaller install the pyinstaller if not done yet

copy "D:\SteamLibrary\steamapps\common\ZUSI 3 - Aerosoft Edition\64bit\ZusiFtdEditor.64.exe" copy the file as icon for the exe

pyinstaller --onefile --icon=ZusiFtdEditor.64.exe main.py create the exe

.\dist\main.exe run the exe !!don't forget to provide the config.json!!


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages