Cargo Export

From Veloren Wiki

The guide will cover how to get the csv of armor-stats via Cargo command on Windows. Step by step, for real beginner as myself. There is 3 commands for getting the game's data :

  • cargo csv-export armor-stats
  • cargo csv-export weapon-stats
  • cargo csv-export all-items
Don't do anything yet, just read those steps

To be able to execute those godsend commands, you need administrator's right and, strictly in this order :

  1. Install Visual Studio Build Tools with :
    • "Desktop development with C++" So windows 10 SDK is installed.
    • English language pack
  2. Install Cargo
  3. And then Install : CMake, Ninja Build System and Python3 using the power shell with this command :
iwr -useb | iex
scoop install cmake ninja python

Once you installed them :

  1. Install Git and Git LFS
  2. Create a folder for your game file : ..../MyDocument/Git
  3. Open the power shell in .../MyDocument/Git
  4. Clone the game's file from git with :
git clone

Once the copy is finished :

  1. go to .../MyDocument/Git/veloren/ and open the PowerShell in .../MyDocument/Git/veloren/
  2. Execute the command and export the table
You can also read Veloren's manual, let's start !

Installing Visual Studio Build Tool

If you tried to install first Cargo, you will get this windows :

Cargo installation's windows when requirements are amiss.

It tells you :

  1. Don't install me yet.
  2. Install Microsoft Visual C++ Build Tool 2019 :
  3. Check its box for "Desktop development with C++" So windows 10 SDK is installed.
  4. Install English language pack

Installing Cargo (Rust)

Once Visual Studio is installed, download :, if your installed visual editor, and the required tools you should get this screen :

Cargo installation's windows when requirements are meet.

Choose the default installation with by typing 1 and pushing enter. If your installation went well you should get this new message :

Congrat ! Cargo is installed !

Install CMake, Ninja and Python3

Now, we will use few commands to speed up installation process. Open the apps list with the touch Windows and search : PowerShell then Enter. In the power shell copy-paste this command :

iwr -useb | iex
scoop install cmake ninja python

You may get a warning :

PowerShell requires an execution policy in [Unrestricted, RemoteSigned, ByPass]to run Scoop.
That warning just mean that windows won't execute any external script or programs that aren't verified. To remove the execution policy, type :
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
and type Y.
Installation of CMake, Ninja, Python3 via Scoop in the PowerShell
Installation of CMake, Python 3, Ninja via Scope ine the PowerShell

Installing Git and Git-lfs

Go there, and install it : The box will ask you lot of things where, if you are not a DEV, you can't tell the difference. Just go for the default and recommended parameters. Install also git-lsf

Exporting csv file

Finally, everything is setup. Open file Explorer, choose a place where you want to copy game's file. Here we chose .../MyDocument/Git Open Git folder. Then go to the button File at the top menu and open PowerShell.

And let's copy the game file from git with :

git clone

It will takes a while. Once the download is finished, let's tell the terminal PowerShell to open the new folder veloren :

cd veloren

From there, in .../MyDocument/Git/veloren you can execute any commands, try :

cargo csv-export "armor-stats"

Cleaning up the csv

And that's the end of the first part of this guide. You got the csv table, the next part will convert how to clean-up the csv to a more pratical tool : a builder
Cookies help us deliver our services. By using our services, you agree to our use of cookies.