Collection of python scripts to easily generate or convert needed mod files, such as types.xml, Trader files ect. expect rough work and bugs
- If you haven't already, install Python on your Windows machine. You can download the latest version from the official Python website.
- Download and install Visual Studio Code (VSCode) from the official VSCode website.
- Open VSCode, go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window (or use the shortcut
Ctrl+Shift+X
). Search for "Python" and install the one provided by Microsoft.
- Place the skript in that folder, you want to convert a file. In VSCode, open the folder containing your Python script. You can do this by selecting "File" > "Open Folder" and choosing the folder or by right-clicking the folder and choosing "open in VS-Code".
- Press
F5
or use the "Run Python File in Terminal" option to start debugging. The script will run, you can inspect variables and step through the code.
- Check the "Debug Console" in VSCode to view any print statements or debugging information from the script.
- Once the script finishes, inspect the generated output file in the specified location (
TraderPlusPriceConfig.json
for example).
- You should see a message in the VSCode terminal indicating that the script has finished. Congratulations!
If you have any feedback, please reach out to me! I would appreciate it very much!
If you are interested in contributing to this project or making adjustments, please feel free to contact me for more information or to discuss ideas and suggestions. (Discord: xscr33m#4443)
I look forward to your collaboration!