Skip to content
Leif-The-Head edited this page Jan 16, 2022 · 7 revisions

ROSE - v0.3.9

This program is intended to be used as an external tool to Railroads Online server hosts. It will read save files, allow to modify entries within it, and then save the file (creating a backup file in the process).

There are two ways to use the program. You can either:

  • Have a python installation, with required modules, and use the released .pyz files.
    • Advantages: you only have to download the .pyz file to update the program, which is quite light, and you'll be able to use other python programs from other sources.
    • Disadvantages: you need to properly setup your python environment the first time, though once it's done it will be straightforward to add the newly required modules with each update.
  • Use the standalone .exe files.
    • Advantages: only one file to download and execute, theoretically no need to install python or anything else.
    • Disadvantages: the executable is heavier, you'll have to fully download it with each update, it can only run on Windows, and might not run at all depending on your configuration. Windows defender will flag the .exe as containing a virus, while it is not the case. You can reassure yourself by checking the SHA256 hash of the file you downloaded (see below).

See the following wiki pages for detailed instructions:

Checksums

With each release will be included the SHA-256 hash of the .pyz and .exe files. This made to check that the files haven't been tempered with since they were prepared for release (meaning that no one modified them). To check that the hash is correct, open a command prompt (powershell) at the location of the downloaded file, and type: Get-FileHash <filename> -Algorithm SHA256 | Format-List. Compare the result to the hash given with the release notice.

Features

Currently, available features are:

  • Players Menu
    • Editing xp value for each player;
    • Editing money value for each player;
  • Rolling Stock Menu
    • Rename: Editing rolling stock names and numbers
      • Editing is limited to what can be displayed on each rolling stock. Override by starting with \i when entering a new value.
      • This limit might be revised to compare the actual space the writing takes instead of character count at a later point
    • Respawn: Rolling stock respawn:
      • Allows to respawn rolling stock at one of the six spawn points. The rolling stock should be re-railed when respawning at one of the spawn points.
      • If all the points are occupied, an option is available to teleport rolling stock close to the spawn points (behind the deck at the end of the tracks).
      • Detects most cars that fell through the ground and indicates them in the menu.
    • Cargo: Editing cargo on wagons:
      • Changing cargo type
        • Within allowed types for this car and Empty
        • Upon switching to 'Empty', the wagon is emptied. If switching to any cargo, the wagon is filled.
      • Changing cargo amount when not Empty
    • Locomotive Restock: Editing Engine, Tender and Caboose contents:
      • Refill firewood, water, sand (where applicable)
    • Change Attachments: Editing attachments for locomotives
      • Note: Mogul Tender Headlight 2 only persists once, loading the game. The game saves it wrongly as 0 (which you can see in the editor), this bug is known to the game devs.
    • Replace Flatcar Types: Switch your car types around.
      • Only supports Logcars, Stakes, Bulkheads, Hoppers and Tankers
      • Resets loaded cargo. Use the cargo menu to add cargo after changing.
  • Teleport
    • Teleport a player to:
      • Spawn
      • any industry
      • cabooses
      • another player
  • Environment Menu
    • Edit Industry Contents
    • Edit Utility Contents:
      • Can refill water towers
      • Can refill firewood depots
      • Cannot refill sand towers as it is not yet saved by the game.
    • Smart tree reset: replants trees avoiding:
      • Tracks/Groundwork/Bridges
      • Switches
      • Player placed buildings
      • Also cut some ill positioned trees if they're not already cut
      • This feature might take a bit of computation time, but unless the program crashes (and tells you it crashed), it is running. Tested on a save with around 17000 trees for 20000 spline control points, and ran in under 3 seconds.
      • Note: This is right now a very rough feature, especially around buildings, so trees might not be planted as close as you'd expect. This may be revisited in the future.
    • Repaint sheds: change the color of your shed
    • Reset trees to new game state (EXPERIMENTAL): resets trees back to the state they are in when starting a new game, without any check of any sort. Use at your own risks.

Roadmap

Ongoing

  • Jenny is currently unable to continue here, so everything GUI-related will be postponed
  • Leif is working on-off on some features that aren't even on this list
  • If you feel there's the feature missing, pop an issue or tackle it yourself and create a pull request. This is open source after all

Planned features

  • Plotting a map of the network
  • Exporting SVG files of the network
  • Improvements of the UI
  • Better teleportation of rolling stock, as well as rerailing
  • Build new tracks
  • Deletion of rolling stock, tracks, or players
  • A "No cheat" mode, which will allow to take loans, sell unused rolling stock (at a lower price), order refills for water, sand or firewood...
  • GUI

Q&A

  • The program starts, but doesn't find any savefile
    • Check that the program is placed in the right folder, next to your saves
    • If it is, and you're using the .pyz release, then it's most likely an issue with your python installation. Reinstall it from the official download page. Also check you're using a version 3.10+. Installation from Windows Store will not work properly!
  • The program starts, but tells me a module is not found
    • Install the python module that was not found using pip. Check below for detailed instruction.
  • Windows tell me there's a virus in the released .exe file
    • There's no virus.
    • You can check the SHA256 hash to check that the file you downloaded isn't corrupted.
    • Making it so Windows doesn't see a virus in the file would be too much of a hassle at this stage of development.
    • If you really don't want to use the .exe file because of that, you can always use the .pyz version which won't trigger Windows Defender.
  • Anything else is broken, it's showing an error
    • Check you're running the latest version of Rose. Any game update might break this save editor.
    • If it still persists, open an issue here on GitHub or ping us on one of the discords, providing the full output the program is giving you.
    • Give us some time to update, this is our free time dedicated to this program and the game itself.
  • The UI is not yet functional with Unix systems, and hasn't been tested with Mac (probably not working either).
  • If you can't find a solution to your issue, the preferred way is to open an new issue on GitHub (if necessary joining your savefile, changing the extension to .txt so that GitHub allows you to upload it).

Clone this wiki locally