yet another truckersmp cli

yet another truckersmp cli

7 devlogs
18h 5m
•  Ship certified
Created by moonbeeper

It's my try to make a truckersmp cli for launching, updating and more the multiplayer mod, so you don't have to use the official electron app for simple stuff.

Timeline

Fixed a lil' error message that could cause confusion and started using one that was unused before.

Update attachment

added new features, woohoo. i added a command to get the current mod version and another command to get the current game server info. I also fixed a bug where the downloads weren't actually being parallelized (womp)

now we have the typical file download retrying, which you can configure via the args of the update cmd. I also added a flag to skip file verification and to skip download retrying. Plus got a bug fixed where the verifying progress bar wasn't showing up the second time files were being reverified.

Update attachment

woops seems like I forgot to test things before making a release. Had to fix a bug where the hardcoded content folder was being created in the wrong spot. And also, there's a new progress bar for downloads now. beep

Update attachment

Ship 1

1 payout of shell 50.0 shells

moonbeeper

over 1 year ago

moonbeeper • Covers 3 devlogs and 11h 54m

I added the cli part of the whole thing using duct tape to get into MVP territory. yup. At least it works as it should. the part that took the most time was my stupidness to use cargo-dist. AND I'm still using hardcoded paths, gotta love them.

Update attachment

now, if the mod content isn't found, the app will download it and verify it. If it is found, it will verify the files (if a file is bad it will redownload it) and then launch the game. I also added some error handling that lacked before BUT I didn't remove yet the hardcoded things.

the basics are in place. I got the app to find the game on steam and inject the mod's dll. Right now it's still using hardcoded paths for the mod content but I plan to just download the content to a folder next to the app's executable.

plus, it isn't even a cli right now. it just runs the game and injects the dll lol