City Bus Manager

City Bus Manager

Not enough ratings
Update a Repaint on the Steam Workshop
By _T_B_N_
Guide for updating a Repaint on the Steam Workshop

Please note that this guide was translated using ChatGPT. If anything is unclear, feel free to leave a comment.
   
Award
Favorite
Favorited
Unfavorite
Step 1: Download and Set Up SteamCMD (only required once)
To update a repaint for City Bus Manager, you will need SteamCMD.

SteamCMD is a command-line tool provided by Valve that allows you to download and upload Steam content such as mods or repaints. Here's how to install and set up SteamCMD on Windows. You only need to follow these steps once, as your credentials will be saved locally afterwards.

1. Download SteamCMD
  • Download the steamcmd.zip file for Windows.
  • Important: You must extract SteamCMD. Do not run it directly from the ZIP archive or it won't work properly.
  • Extract the ZIP archive to any location, e.g., C:\steamcmd
  • ⚠️ Warning: Do not extract it into folders that are specially protected by Windows, such as C:\Program Files or C:\Program Files (x86) ⚠️

2. Start SteamCMD
  • Open the folder where you extracted SteamCMD.
  • Double-click on steamcmd.exe.
  • A black window (command prompt) will open. SteamCMD will update automatically.
  • After the update is complete, the prompt will appear:
    Steam>
  • SteamCMD is now ready.

3. Log in to SteamCMD
  • Enter the following command at the prompt:
    login YourSteamAccountName
  • Your Steam account name is the username you use to log in.
  • In the screenshot, the Steam account name is "tutorial"
  • You will be asked to enter your password. For security reasons, the characters will not be displayed as you type. Still, type your password fully and confirm with Enter.
  • If Steam Guard is enabled, you will be asked to enter the Steam Guard code. Enter it and press Enter.
  • If it looks like the screenshot, the login was successful.

4. Exit SteamCMD
  • Type:
    quit
  • Press Enter.
  • The window will close.
Step 2: Save the Updated Repaint in City Bus Manager
  • Open the Paint Shop in City Bus Manager.
  • Create your updated repaint. It doesn't matter whether you import a PNG file or assemble the repaint using stickers.
  • Click Save in the top toolbar.
  • ⚠️ Warning: Please make sure that the updated repaint is for the same bus as the original repaint, otherwise errors may occur. ⚠️
  • ⚠️ Warning: The name and description must match your repaint, as they will be shown to your subscribers in the game. ⚠️
  • Recommended: Upload the updated repaint to the Steam Workshop, as this is the only way to generate a new preview image. You can delete the new Workshop entry later if you wish.
  • If you don't need a new preview image, you can also save the repaint locally.
  • You can now exit City Bus Manager.
  • If you followed the recommendation, you should now see the updated repaint in the Steam Workshop.
  • In our example, we will later update the "Repaint für Tutorial" from a white to a blue roof.
Step 3: Open the Repaint in File Explorer and Copy the Folder Path
  • Open File Explorer.
  • Enter the following path into the address bar at the top and press Enter: %AppData%
  • You are now in the Roaming folder. Click on AppData in the address bar to go back to the AppData folder:
  • Now manually navigate to this path:
    AppData\LocalLow\PeDePe GbR\City Bus Manager\Mods\Repaints\Local
  • In this folder, you’ll find several subfolders with long, random names like:
    c9427b22-3f51-4b09-b09a-f8d6bca9e611 (Each folder represents one repaint)
  • Sort the folders in File Explorer by Date modified.
  • The repaint you just created in the game should appear at the top.
  • Open the first folder and check whether it is the repaint you want to update.
  • Inside the folder, there is a file ending with .repaint – in our example, it’s called Repaint für Tutorial.repaint. We’re in the right folder (see Step 2).
  • If you chose to upload to the Steam Workshop in Step 2, you will also see the matching preview image here.
  • If it’s a different repaint, open more folders until you find the correct one.
  • Once everything matches: Copy the path of this folder – we’ll need it later for the upload with SteamCMD.
  • Open Notepad and paste the folder path you just copied. We'll need it later.
  • Everything is now ready for the update process.
Step 4: Run the Upload Script
4.1 Download and Prepare the Upload Script
  • Download the upload script:
    Download[cbm-matrix.de]
  • Extract the Update.bat file into the same folder as SteamCMD.
  • ⚠️ Warning: Be sure to extract this file and do not run it directly from the ZIP, or the script won’t work! ⚠️
  • ⚠️ Warning: Make sure that Update.bat is located in the same folder as SteamCMD! ⚠️

4.2 Run the Script and Choose Language
  • Double-click on Update.bat. The command prompt will open:
  • First, select your language – in our case, choose English.
  • Type E and press Enter.


4.3 Enter the Workshop Link
  • Now you need to enter the Steam Workshop link for your repaint.
  • In the Steam Workshop, click on the address bar (red box) – the link will be copied automatically.
  • Paste it into the program with Ctrl + V and confirm with Enter.
  • Alternatively, you can just enter the ID (highlighted in yellow) and confirm with Enter.

4.4 Set the Version Number
  • Now enter the version number of your update.
  • The initial version of a repaint is always 1.0.0 – so your update must be at least 1.0.1.
  • ⚠️ Warning: If you update a repaint again, the version number must always increase (e.g., 1.0.2, 1.0.3, etc.). ⚠️
  • Confirm with Enter.

4.5 Select the Repaint Folder
  • Now paste the folder path of the repaint folder from Step 3 (Ctrl + V).
  • Confirm with Enter.

4.6 Start the Upload
  • Everything is ready. Press any key to start the update.
  • SteamCMD will start in the background.
  • Enter your Steam account name and press Enter.

4.7 Complete and Verify the Upload
  • If everything worked, the script will display the following message:
    “Upload complete. Visibility has been set to 'hidden'. Please publish the repaint again.”
  • Press Enter to close the script.
  • In the Steam Workshop, you should now see that your repaint has been updated.

4.8 Publish and Set Visibility
  • The changelog will automatically include the new version number.
  • Click “Edit” to add a description of your update if needed.
  • Finally, set the visibility of your repaint to Public.
  • You can now delete the initial upload from the beginning of the tutorial.

Congratulations – your repaint has been successfully updated!

Special thanks to Timo2773_YT_ for extensive testing.